Actions
Bug #5918
closedErrors were reported during stylesheet compilation
Start date:
2023-03-13
Due date:
% Done:
100%
Estimated time:
Found in version:
12.0
Fixed in version:
12.1
Platforms:
Description
Issue reported by user here: https://saxonica.plan.io/boards/3/topics/9317
Given we try to compile a stylsheeet:
executable = xsltproc.compile_stylesheet(stylesheet_file=stylesheetFilename, lang='3.0')
if xsltproc.exception_occurred:
print(xsltproc.error_code)
print(xsltproc.error_message)
When we check for errors at at the compile stage the following error message is reported:
Errors were reported during stylesheet compilation
The C++ SaxonApiException class has a getCombinedStaticErrorMessages() method for reporting errors found at the compile stage, but currently we are not not passing these messages to the Python API and likewise to the PHP API.
Please register to edit this issue
Actions