Project

Profile

Help

Bug #4189

closed

Error message does not indicate the Saxon/C method it was called from.

Added by O'Neil Delpratt over 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Category:
Saxon-C Internals
Start date:
2019-04-01
Due date:
% Done:

100%

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

Description

Reported by user:

While updating to the new Saxon/C version, I spent quite an hour trying to figure out why I got

Error on line 1 column 1 of file: SXXP0003: Error reported by XML parser: Content is not allowed in prolog. Error: The most recent Stylesheet Object failed or has not been set.

In the end, it turned out I had mixed up compileFromString with compileFromFile. So, you might want to consider changing the error message in this case to something more obvious.

Please register to edit this issue

Also available in: Atom PDF