Project

Profile

Help

Bug #6469

closed

SXXP0003 when parsing XHTML file with saxoncee 12.5.0

Added by Gregorio Pellegrino 5 months ago. Updated 4 months ago.

Status:
Resolved
Priority:
Low
Category:
Saxon-C Internals
Start date:
2024-07-04
Due date:
% Done:

0%

Estimated time:
Applies to branch:
12
Fix Committed on Branch:
12
Fixed in Maintenance Release:
Found in version:
Fixed in version:
SaxonC Languages:
All
SaxonC Platforms:
All
SaxonC Architecture:

Description

I'm encountering an error when trying to parse an XHTML file using Python saxoncee version 12.5.0. The error message is as follows:

File "python_saxon/saxonc.pyx", line 935, in saxoncee.PySaxonProcessor.parse_xml
saxoncee.PySaxonApiError: SXXP0003: I/O error reported by XML parser processing file:///test.html. Line number: -1

Steps to reproduce:

  1. Use Python saxoncee 12.5.0
  2. Attempt to parse an XHTML file (attached)

Expected behavior: The XHTML file should be parsed successfully.

Actual behavior: An I/O error is reported by the XML parser, with no specific line number indicated.

Environment:

  • Python version: 3.12
  • Operating System: macOS 14.4.1 (23E224)
  • saxoncee version: 12.5.0

Can you please help investigate this issue?


Files

test.html (256 Bytes) test.html Gregorio Pellegrino, 2024-07-04 18:12

Related issues

Copied to SaxonC - Bug #6475: saxoncee.PySaxonApiError: Source document not found. Line number: -1ResolvedO'Neil Delpratt2024-07-09

Actions

Please register to edit this issue

Also available in: Atom PDF