Actions
Bug #5055
closedsetCatalog not included in python API
Start date:
2021-08-02
Due date:
% Done:
100%
Estimated time:
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Found in version:
1.2.1
Fixed in version:
11.1
SaxonC Languages:
SaxonC Platforms:
SaxonC Architecture:
Description
The setCatalog method is missing from the Saxon/C Python API. This method is already available in the C++ and PHP APIs.
Reported by user here: https://saxonica.plan.io/boards/2/topics/8239?r=8241
Files
Updated by O'Neil Delpratt over 3 years ago
- File saxonc.pyx saxonc.pyx added
- File saxoncClasses.pxd saxoncClasses.pxd added
- Status changed from New to Resolved
- % Done changed from 0 to 100
Bug fixed and available for the next release.
Also the set_catalog function has been patched into the Saxon/C 1.2.1 release file attached to this bug issue. You will need to replace both the saxoncClasses.pxd and the saxon.pyx files with the ones attached.
Example:
with PySaxonProcessor(license=False) as saxonproc2:
saxonproc2.set_catalog('catalog.xml')
trans = saxonproc2.new_xslt30_processor()
.....
set_catalog(str file_name) - The file_name argument requires a full path to the file, but should also look into the current directory too.
Updated by O'Neil Delpratt almost 3 years ago
- Status changed from Resolved to Closed
- Fixed in version set to 11.1
Bug fix patched in SaxonC 11.1 release
Please register to edit this issue
Actions