Saxonica: Saxon/C release notes

Saxon/C Release Notes

Maintenance release version 1.2.1 of the 1.2 series

Released on 28 October 2019

This is a maintenance release of Saxon/C on Linux, Mac OS X and Windows. We have made a number of changes and fixed several bugs in the new release.

Documented changes in the release:

  • Bug #4189: Error message does not indicate the Saxon/C method it was called from
  • Bug #4348: SaxonC-1.2.0 for Python does not return expected attribute value
  • Bug #4349: TypeError: expected bytes, str found in make_string_value
  • Bug #4351: set_parameter failing under PyXPathProcessor
  • Bug #4352: JET RUNTIME HAS DETECTED UNRECOVERABLE ERROR: system exception at 0x0000000000428b82
  • Bug #4355: The version incorrectly shows up Saxon-HE 9.9.1.5J
  • Bug #4356: XPathProcessor missing methods
  • Bug #4360: isSchemaAware method in the SaxonProcessor is missing an implementation

Major release version 1.2.0

Released on 16 October 2019

This is a major release of Saxon/C on Linux, Mac OS X and Windows. We have made a number of changes and fixed several bugs in the new release. With this release, support for the Python language is also now available, in addition to the C/C++ and PHP languages already supported. Saxon/C is available in the following products: Saxon-HE/C, Saxon-PE/C and Saxon-EE/C

Documented changes in the release:

  • Updated the core XSLT processor to the Java Saxon 9.9.1.5 version. Please see Latest Releases: Saxon/C for details
  • Updated APIs: Support for XSLT 3.0, XQuery 3.1, XPath 3.1 and Schema Validation 1.0/1.1
  • Added a feature rich XSLT30 processor API to the languages: C++, PHP 7.2 and Python. Therefore we now have two XSLT Processor classes for each language supported:
  • Support for Python. Implemented using Cython.
  • Updated to Excelsior JET Enterprise 15.3 (MP1) - cross compiler tool of Saxon
  • Additional methods in the APIs for XSLT, XQuery in C++ and PHP. Also supported in Python
  • XML Catalog file support in Saxon/C
  • Support of Saxon's XSLT export SEF file
  • Bug #2055: Apache allocates a lot of memory without releasing it
  • Bug #3837: Cannot locate the built PHP extension in Saxon/HE for Mac OS X
  • Bug #3952: SchemaValidator 'lax' option causes crash
  • Bug #4147: module php setProperty('m',xxxx) ?
  • Bug #4151: support of compileFromStringAndSave / compileFromFileAndSave + PHP5 build
  • Bug #4156: Just-In-Time compilation cannot be switched on and off
  • Bug #4170: Wrong version information displayed for Saxon PHP module
  • Bug #4177: SchemaValidator setParameter has no effect
  • Bug #4180: getTypedValue is missing from XdmNode
  • Bug #4188: incorrect jni file link Dockerfile
  • Bug #4195: Windows samples run without outputting anything
  • Bug #4274: Using a catalog file with Saxon in PHP
  • Bug #4292: PHP5 segmentation error when call setParameter with NULL value
  • Bug #4302: High memory usage with Saxon/C + PHP
  • Bug #4318: cannot combine with previous 'int' declaration specifier typedef int bool; - Mac OS X

Maintenance release version 1.1.2 of the 1.1 series

Released on 21 February 2019

This is a maintenance release of Saxon/C on Linux, Mac OS X and Windows. We have made a number of changes and fixed several bugs in the new release. In this release we have the following Saxon/C products: Saxon-HE/C, Saxon-PE/C and Saxon-EE/C

Documented changes in the release:

  • Updated the core XSLT processor to the Java Saxon 9.8.0.15 version. Please see Latest Releases: Saxon/C for details
  • Updated to Excelsior JET 15.3 - cross compiler tool of Saxon
  • Bug #3597: XdmValue::getUnderlyingValue does not return a value
  • Bug #3816: SaxonCGlue.c: enc_len undeclared identifier
  • Bug #3847: Unable to load /usr/local/lib/libsaxonpec.dylib on Mac OSX
  • Bug #3848: addUnderlyingValue does not return anything
  • Bug #3924: The 'it' option in the setProperty does not accept string with prefix
  • Bug #3952: SchemaValidator 'lax' option causes crash
  • Bug #3953: Error: Processor is not licensed for schema processing!
  • Bug #3961: checkException() method sometimes returns NULL
  • Bug #3963: exceptionOccurred does not return true when exceptionCount() > 1 for XsltProcessor
  • Bug #3977: XdmAtomicValue problems when deleting object - JET RUNTIME HAS DETECTED UNRECOVERABLE ERROR
  • Bug #4031: Generating SEF files via API not available
  • Bug #4063: Fix Saxon/C compile warnings

Major release version 1.1.0

Released on 27 September 2017

This is a major release of Saxon/C on Linux, Mac OS X and Windows. We have made a number of changes and fixed several bugs in the new release. In this release we have the following Saxon/C products: Saxon-HE/C, Saxon-PE/C and Saxon-EE/C

Documented changes in the release:

  • Updated the core XSLT processor to the Java Saxon 9.8.0.4 version. Please see Latest Releases: Saxon/C for details
  • Updated APIs: Support for XSLT 3.0, XQuery 3.1, XPath 2.0/3.0 and Schema Validation 1.0/1.1
  • Added XDM Data Model API in support of the specs XPath, XQuery, XSLT and Schema Validation
  • Support for user defined functions. Users can now write their functions in C++/PHP and invoke them in XSLT, XQuery and XPath.
  • Support for PHP7 distribution
  • Windows Saxon/C builds
  • Updated to Excelsior JET 11.3 (MP1) - cross compiler tool of Saxon
  • Revised API for Xslt, XQuery in C, C++ and PHP
  • Bug #2907: php saxon.so is looking for libsaxonhec.so without so extension in both /usr/lib64 and /usr/lib and failing
  • Feature #3084: Must be built for PHP5.6 and 7.x
  • Bug #3117: Unable to load libsaxoneec. with missing .so extension

Maintenance release version 1.0.2 of the 1.0 series

Released on 5 August 2016

This release is a significant one in that the Mac OS X release is out in addition to the Linux version.

The Windows version will follow shortly. We have made a number of changes and fixed several bugs in this release. The fixes applies to the products Saxon-HE/C, Saxon-PE/C and Saxon-EE/C

Bug fixes in this release:

  • Applied the maintenance pack 3 (MP3) to Excelsior JET 11 - cross compiler tool of Saxon
  • Bug #2137 - error: unknown type name 'TCHAR' on Mac OS X
  • Bug #2706 - Unlicensed SchemaValidator segmentation error
  • Bug #2772 - Static variable environ resetting its value to zero and crashes Python test
  • Bug #2847 - C properties and parameters array null and never initialised by default

Maintenance release version 1.0.1 of the 1.0 series

Released on 7 April 2016

This is the first maintenance release of the Saxon/C 1.0 series on Linux only. Windows version will follow shortly. We have made a number of changes and fixed several bugs in this release. The fixes applies to the products Saxon-HE/C, Saxon-PE/C and Saxon-EE/C

Bug fixes in this release:

  • Applied the maintenance pack 2 (MP2) to Excelsior JET 11 - cross compiler tool of Saxon
  • Bug #2636 - XdmValue.h: ISO C++ forbids initialization of member valueType
  • Bug #2637 - PHP build config still using old library naming: libsaxon.so
  • Bug #2640 - Sample files in release referencing local machine
  • Bug #2649 - Compilation with DEBUG defined
  • Bug #2652 - cast from ‘jobject {aka __jobject*}’ to ‘jint {aka int}’ loses precision [-fpermissive]
  • Bug #2657 - Command line tool: Transform, Query, Validate
  • Support #2670 - JET RUNTIME HAS DETECTED UNRECOVERABLE ERROR: system exception at 0x009165e9
  • Bug #2672 - validating with validateToNode
  • Bug #2673 - returning validation with getValidationReport
  • Bug #2675 - Validation report properties missing from documentation
  • Bug #2677 - Saxon/C PHP API getErrorMessage does not report useful error
  • Bug #2680 - JNI DeleteLocalRef: tried to delete non local reference
  • Bug #2690 - saxon.so file missing from 64-bit version and wrong library reference in config.m4
  • Bug #2691 - longer custom path to

Major release version 1.0.0

Released on 5 February 2016

This is the first major Release of Saxon/C on Linux only. Windows version will follow shortly. We have made a number of changes and fixed several bugs in the new release. What is important in this release is the addition of the commercial products to Saxon/C. Namely Saxon-PE/C and Saxon-EE/C

Documented changes in the release:

  • This release now has in addition to Saxon-HE/C commercial products available under Saxon/C: Saxon-PE/C and Saxon-EE/C
  • Updated to Excelsior JET 11 (MP1) - cross compiler tool of Saxon
  • Updated the core XSLT processor to the Java Saxon 9.6.0.9 version
  • New APIS: Support for XPath 2.0/3.0 and Schema Validation 1.0/1.1
  • Added XDM Data Model API in support of the specs XPath, XQuery, XSLT and Schema Validation
  • Improved memory handling of XDM data model and internal code structure both in C++ and PHP
  • Revised API for Xslt, XQuery in C, C++ and PHP
  • Bug #2072 - Saxon/C PHP doesn't (properly) keep a reference in a loop
  • Bug #2115 - transformToFile appends to file if it exists
  • Bug #2142 - setSourceFile does not work with absolute paths
  • Bug #2143 - setResourcesDirectory method not directly available in the PHP API
  • Bug #2156 - Environment variable for Saxon library
  • Bug #2380 - XsltProcessor name clash with libxsl
  • Bug #2473 - Incorrect assumption that 'o' property is relative filename
  • Bug #2477 - Saxon/C set absolute path to Stylesheets is not possible

Beta release version 0.3.1

Released on 28 June 2014

We have made a number of changes and fixed several bugs in the new release. This release is a much more stable and robust product than previous releases therefore we have deemed it a beta release.

Documented changes in the release:

  • Updated the core XSLT processor to the Java Saxon-HE 9.5.1.5 version
  • Improved memory handling and internal code structure both in C++ and PHP
  • Bug #2045 - Resolving resource files on Windows not workings
  • Bug #2046 - XQuery file and source files does not use the CWD
  • Bug #2047 - PHP API: setParameter still has the unused namespace argument
  • Bug #2053 - Strange text strings "test1" and "test2" in the error log
  • Bug #2054 - Web server aborts page loading - Extensive work has been done here in the PHP extension - Java VM preserved between requests
  • Bug #2072 - Saxon/C PHP doesn't (properly) keep a reference in a loop
  • Bug #2073 - Can't use XML from string
  • Bug #2074 - NullPointerException when setting Serialization property.
  • Bug #2088 - Namespace argument in setParameter and in setProperty has been dropped in favour of the JAXP solution. For example, we use a single parameter in the form "{uri}local" or just "local"
  • Bug #2089 - Unable to read normalizationData.xml file

Alpha release version 0.2

Released on 14 March 2014

We have made a number of changes and fixed several bugs in the new release. In some cases a complete redesign of classes and structure. We hope this release is much more robust and closer to a usable product. We have added some handy use cases in the samples directory primarily as PHP code.

Documented changes in the release:

  • Added XQuery 1.0 support
  • Change of C/C++ and PHP APIs.
  • Bug fixed #1963 - Show SAXON and Excelsior JET versions from phpinfo()
  • Bug fixed #1959 - Files should be resolved relative to CWD instead of file path

First alpha release version 0.1

Released on 28 November 2013

Please use the help forums and bug trackers at saxonica.plan.io if you need help or advice. Also email list: saxon-help@lists.sourceforge.net

16 October 2019