Error message does not indicate the Saxon/C method it was called from.
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