Project

Profile

Help

Bug #4031

Generating SEF files via API not available

Added by O'Neil Delpratt 5 months ago. Updated 2 months ago.

Status:
Closed
Priority:
Normal
Category:
C++ API
Start date:
2018-11-16
Due date:
% Done:

100%

Found in version:
1.1.0
Fixed in version:
1.1.2

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.

History

#1 Updated by O'Neil Delpratt 5 months ago

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++.

#2 Updated by O'Neil Delpratt 3 months ago

  • Status changed from New to In Progress

Added method for XSLT packages to C++ code.

#3 Updated by O'Neil Delpratt 3 months ago

  • 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.

#4 Updated by O'Neil Delpratt 2 months ago

  • 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