Bug #4031
closed
Generating SEF files via API not available
Fixed in Maintenance Release:
Description
In Saxon/C Java code we have the methods in @net.sf.saxon.option.cpp.XsltProcessor@ to generate SEF files (i.e. @compileFromFileAndSave@, @compileFromStringAndSave@ and @compileFromXdmNodeAndSave@) but we don't have the C/C++ accessor methods for them. Also we need to be able to set the target Saxon edition.
As a workaround Saxon/C can be run from the command line in a similar way to its Java counterpart with the same options available.
See the files Transform.c, Query.c and Validate.c which are available in the directory 'command'. The build.sh script can be executed to build the commandline programs which can be used to create the SEF file and set the Saxon targeted edition.
See the section Getting started with C/C++.
- Status changed from New to In Progress
Added method for XSLT packages to C++ code.
- Status changed from In Progress to Resolved
- % Done changed from 0 to 100
Added the methods to the PHP API code. Not planning to add SEF generation methods to C because we can create SEF files using Transform.c, as suggested in comment #1.
Marking this bug issue as fixed and available for the next maintenance release.
- Status changed from Resolved to Closed
- Fixed in version set to 1.1.2
Bug fix applied in the Saxon/C 1.1.2 maintenance release.
Please register to edit this issue
Also available in: Atom
PDF