Saxonica: SaxonC product information

SaxonC

XML document processing for C/C++, PHP and Python

SaxonC is a cross-compiled variant of Saxon from the Java platform to the C/C++ platform, with extensions for PHP and Python. All features of Saxon have been ported, other than those (such as collations) that are necessarily platform dependent. In particular, SaxonC provides processing in XSLT, XQuery and XPath, and Schema validation. It therefore makes these processing capabilities available to a plethora of other languages that are strongly coupled to C/C++ such as PHP, Perl, Python, and Ruby.

Releases

The latest release is SaxonC 11.2, built from SaxonJ 11.2 (using Excelsior JET Enterprise 15.3 MP1), released 18 February 2022, on Linux, MacOS and Windows.

SaxonC 11 is the first major release of SaxonC in over two years, released at the same time as the SaxonJ 11 Java product from which it is built. For the first time, this brings Saxon on C/C++, PHP, and Python up to date with the latest releases on the Java and .NET platforms. Note that the version numbering has been changed to reflect this: for SaxonC, series 11 follows series 1.2.

SaxonC 11 offers the main Saxon products Saxon-HE, Saxon-PE and Saxon-EE for the C/C++, PHP and Python programming languages. APIs are available to run XSLT 3.0, XQuery 3.1, XPath 3.1 and Schema Validation 1.0/1.1 from C/C++, PHP and Python applications.

SaxonC-PE and SaxonC-EE provide support for user defined functions in C++ and PHP: allowing users to write functions in C++ or PHP and invoke them in XSLT, XQuery and XPath.

SaxonC 11 is built from the SaxonJ 11 Java product using the Excelsior JET tool.

For detailed information on all SaxonC releases, see the Release notes.

Download

Separate download files are available for the three product editions of SaxonC, namely: SaxonC-HE (open-source), SaxonC-PE and SaxonC-EE (commercial products).

DOWNLOAD

Download the latest SaxonC releases from the C/C++, PHP and Python download page.

For older releases (including releases in the previous 1.2 series), go to Archive.

Return to top of page

License

The products SaxonC-PE and SaxonC-EE are commercial products, and require a license key. By downloading the software, you agree to the terms and conditions published at http://www.saxonica.com/license/eval-license.pdf (for use with a free evaluation license) or http://www.saxonica.com/license/paid-license.pdf (in the case of paid-up licenses, purchased from our online store).

Location of the Saxon license file for commercial products: SaxonC looks in the path relative to where the main library has been installed. For example, in '/usr/lib', if this is where libsaxon[EDITION]c.so has been installed. Alternatively, Saxon also looks for the license according to the environment variable SAXONC_HOME, if this has been set. The license file can also be placed in the same directory as the stylesheet, but we advise against this for PHP servers where the license might be compromised.

The product SaxonC-HE is open-source. The primary license is the Mozilla Public License version 2.0. In most cases, the source files are marked as being "incompatible with secondary licenses", which means that the code cannot be combined with code issued under a GPL license (the reason for this is the difficulty of contacting all past contributors to gain their assent).

Some components are licensed under the Apache version 2.0 license or under BSD-style licenses. For more information see Licenses.

Return to top of page

Documentation

Full documentation for SaxonC 11 is available. The SaxonC 11 documentation contains information specific to SaxonC - including instructions for installing and configuring the product, details of the SaxonC C/C++ API, PHP API and Python3 API, and sample code. Meanwhile, the main Saxon 11 documentation contains further information relevant to SaxonC.

Documentation for previous versions is available as below:

Saxon/C 1.2 documentation see also C/C++ API, PHP API and Python3 API

Saxon/C version 1.1 see also PHP API

Saxon/C version 1.0 see also PHP API

Return to top of page

Support

Please use the help forums and bug trackers at saxonica.plan.io if you need help or advice. For more details see Support.

Return to top of page

Archive

The latest SaxonC series is 11 (for the latest downloads see C/C++, PHP and Python platforms downloads). This section contains downloads for earlier series releases.

The latest release in the previous 1.2 series is Saxon/C 1.2.1, built from Saxon 9.9.1.5 (using Excelsior JET Enterprise 15.3 MP1), released 28 October 2019, on Linux, Mac OS X and Windows.

The first release in the 1.2 series, Saxon/C 1.2.0, was released 16 October 2019, on Linux, Mac OS X and Windows.

Saxon-EE/C Saxon-PE/C Saxon-HE/C

Linux binary

64-bit versions
1.2.1
64-bit
(29.2Mb)
1.2.1
64-bit
(21.0Mb)
1.2.1
64-bit
(18.3Mb)
Saxon-EE/C Saxon-PE/C Saxon-HE/C

Mac OS X

64-bit versions
1.2.1
64-bit
(47.7Mb)
1.2.1
64-bit
(34.5Mb)
1.2.1
64-bit
(35.7Mb)
Saxon-EE/C Saxon-PE/C Saxon-HE/C

Windows

64-bit versions
1.2.1
64-bit
(27.8Mb)
1.2.1
64-bit
(20.0Mb)
1.2.1
64-bit
(17.4Mb)

Series 1.1, latest maintenance release 1.1.2 on 21 February 2019 (and 1.1.3 Windows only release on 11 April 2019):

Saxon-EE/C Saxon-PE/C Saxon-HE/C

Linux binary

64-bit versions
1.1.2
64-bit
(32.1Mb)
1.1.2
64-bit
(25.8Mb)
1.1.2
64-bit
(17.3Mb)
Saxon-EE/C Saxon-PE/C Saxon-HE/C

Mac OS X

64-bit versions
1.1.2
64-bit
(49.3Mb)
1.1.2
64-bit
(38.0Mb)
1.1.2
64-bit
(39.2Mb)
Saxon-EE/C Saxon-PE/C Saxon-HE/C

Windows

64-bit versions
1.1.3
64-bit
(26.1Mb)
1.1.3
64-bit
(18.3Mb)
1.1.3
64-bit
(15.8Mb)

Series 1.0, latest maintenance release 1.0.2, released 5 August 2016:



Linux binary

32-bit and 64-bit versions
Saxon-HE/C Saxon-PE/C Saxon-EE/C
1.0.2
32-bit
(15.5Mb)
1.0.2
32-bit
(18.6Mb)
1.0.2
32-bit
(19.3Mb)
1.0.2
64-bit
(25.9Mb)
1.0.2
64-bit
(29.9Mb)
1.0.2
64-bit
(30.6Mb)


Mac OS X

64-bit versions
Saxon-HE/C Saxon-PE/C Saxon-EE/C
1.0.2
64-bit
(42Mb)
1.0.2
64-bit
(48.7Mb)
1.0.2
64-bit
(49.7Mb)

Return to top of page

18 February 2022