Actions
Bug #5918
closedErrors were reported during stylesheet compilation
Start date:
2023-03-13
Due date:
% Done:
100%
Estimated time:
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Found in version:
12.0
Fixed in version:
12.1
SaxonC Languages:
SaxonC Platforms:
SaxonC Architecture:
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.
Updated by O'Neil Delpratt over 1 year ago
- Status changed from New to Resolved
Bug fixed in the SaxonApiException C++ class. The constructor now has a isStaticError flag to indicate if the the exception being handled is static.
Updated by O'Neil Delpratt over 1 year ago
- Status changed from Resolved to Closed
- Fixed in version set to 12.1
Bug fixed applied in the SaxonC 12.1 maintenance release.
Please register to edit this issue
Actions