Project

Profile

Help

Bug #4031

closed

Generating SEF files via API not available

Added by O'Neil Delpratt about 6 years ago. Updated almost 6 years ago.

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

100%

Estimated time:
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Found in version:
1.1.0
Fixed in version:
1.1.2
SaxonC Languages:
SaxonC Platforms:
SaxonC Architecture:

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.

Actions #1

Updated by O'Neil Delpratt about 6 years 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++.

Actions #2

Updated by O'Neil Delpratt almost 6 years ago

  • Status changed from New to In Progress

Added method for XSLT packages to C++ code.

Actions #3

Updated by O'Neil Delpratt almost 6 years 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.

Actions #4

Updated by O'Neil Delpratt almost 6 years 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