setCatalog not included in python API
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
Updated by O'Neil Delpratt over 1 year 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.
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.
Please register to edit this issue