Versionen von Saxon

Die folgende Tabelle gibt einen Überblick über die Leistungsmerkmale der drei Versionen von Saxon, sortiert nach Verfügbarkeit.

  • HE: Saxon Home Edition (open source)
  • PE: Saxon Professional Edition
  • EE: Saxon Enterprise Edition

Hinweis: Die Angaben stehen hier nur zur allgemeinen Information, relevant für Auswahl einer Produktversion sind nur die Angaben auf saxonica.com, die auch auf unterschiedliche Fassungen der Enterprise Edition eingehen.

Feature HE PE EE Description
XSLT 2.0 (Basic) Der Begriff basic XSLT 2.0 processor ist in Abschnitt 21 der XSLT 2.0 Recommendation definiert: Es handelt sich um die Unterstützung aller XSLT-Funktionen, außer denen die mit Schema-Verarbeitung zu tun haben.
XPath 2.0 (Basic) Der Begriff basic XPath 2.0 processor bezeichnet hier alle XPath-Funktionen, die nicht mit der Schema-Verarbeitung zusammen hängen.
XQuery 1.0 (Basic) Dies unterstützt die folgenden, in Abschnitt 5 der W3C XQuery 1.0 Specification definierten Funktionen: Minimal Conformance, Full Axis Feature, Module Feature, Serialization Feature.
Optimierer Der grundlegende Optimierer aller Saxon-Versionen enthält eine Vielzahl statischer und dynamischer Optimierungen.
DOM-Unterstützung Möglichkeit zur Nutzung eines DOM (Document Object Model) für Ein- und Ausgabe bei Transformationen und Abfragen. Für .NET schließt das die System.XML DOM-Klassen ein.
Erweiterbarkeit durch eigene Routinen Möglichkeit eigener Erweiterungsfunktionen (zur Nutzung in XSLT, XQuery oder XPath) gemäß eines Saxon-spezifischen Interface.
JAXP API Verfügbarkeit des JAXP Interface für XSLT-Transformationen, XPath-Evaluationen und XML Schema-Validierung. Nur für Java verfügbar.
XQJ API Verfügbarkeit des XQJ Interface für XQuery-Verarbeitung. Nur für Java verfügbar.
S9API API Verfügbarkeit des Saxon-eigenen Interface zur Verarbeitung von XSLT, XQuery, XPath und XML Schema, in leicht unterschiedlicher Form für Java und .NET.
HE PE EE
XQuery 1.1 Unterstützung für einige der Funktionen, die im momentanen Arbeitsstand der Spezifikation für XQuery 1.1 angegeben sind.
Saxon-Erweiterungen Erweiterungsfunktionen, die in der Dokumentation angegeben sind, außer den Erweiterungen für Streaming. Darunter befinden sich try/catch, dynamische XPath-Evaluation, Ermittlung von Zeile und Spalte eines Elements im Quelldokument.
EXSLT-Erweiterungen A selection of EXSLT extension functions, as listed in the documentation. Note that although these are only available with Saxon-PE or higher, the implementation is open source and can therefore be extended.
SQ-Erweiterung XSLT extension instructions providing access to SQL databases. Note that although these are only available with Saxon-PE or higher, the implementation is open source and can therefore be extended. Available on the Java platform only (not .NET).
Erweiterbarkeit mit Reflexion Ability to access existing Java or .NET methods dynamically and invoke them as extension functions by means of dynamic loading and reflexion.
XSLT Element Extensibility Ability to implement XSLT extension instructions by implementing a Saxon-defined interface and registering the implementation with the Saxon Configuration.
Unterstützung für JDOM, DOM4J und XOM Ability to use a JDOM, DOM4J, and XOM for the input or output of transformations and queries. Applies to the Java platform only. Note: The code for these interfaces is open source and can be compiled to work with Saxon-HE, but it does not come packaged with the Saxon-HE download.
Binäres XML Saxon’s PTree format is a serialized binary representation of Saxon’s internal tree format. It occupies around the same amount of disk space as the original XML, but is faster to serialize and faster to reparse.
Konfiguration per Datei Ability to define a Saxon configuration in a configuration file.
HE PE EE
XSLT 2.0 (Schema-Aware) Provides a schema-aware XSLT 2.0 processor as defined in section 21 of the XSLT 2.0 Recommendation
XPath 2.0 (Schema-Aware) Provides all the facilities defined in the XPath 2.0 Recommendation, including those that require schema processing
XQuery 1.0 (Schema-Aware) This supports the following features defined in Section 5 of the W3C XQuery 1.0 specification: minimal conformance the full axis feature, the module feature, the serialization feature, the schema import feature, and the schema validation feature (that is, all optional features except the static typing feature).
XQuery Update Support for all the features defined in the current Candidate Recommendation of XQuery Updates. These features are subject to change if the W3C specification changes.
XSD 1.0 (Validierung) This supports the ability to process XSD 1.0 schema documents and use them to validate instance documents. (Note: it does not support the full PSVI, as required by the conformance rules in the W3C Recommendation).
XSD 1.1 (Validierung) This supports the ability to process XSD schema documents that use a subset of the new features in the current working draft of XSD 1.1, and use them to validate instance documents. Implemented features include assertions, conditional type assignment, open content, and the new rules for restriction of complex types and for unique particle attribution. These features are subject to change as the W3C specification develops.
Fortgeschrittener Optimierer The advanced optimizer provided with Saxon Enterprise Edition goes beyond the basic optimizer by providing a range of powerful compile-time rewrites, including join optimization, inlining of functions and variables, extraction of global variables, and xsl:choose optimization.
Streaming großer Dokumente This feature provides Saxon extensions to enable processing of documents that are too large to fit in memory. Some of the extensions are available only in XSLT, some also in XQuery. Schema validation in streaming mode is also supported.
Dokument-Projektion This feature performs static analysis of a query and uses this to filter a document during loading, so that the only parts held in memory are those parts needed to answer the query. For simple queries on large documents this can give substantial memory savings.
Compilierte Stylesheets Saxon-EE can save a serialized representation of the compiled stylesheet on disk. This can be subsequently loaded from disk for execution (by any Saxon edition provided the stylesheet only uses facilities supported in that edition). Note that this feature does not normally deliver performance benefits. There are some restrictions, described in the documentation.
Compilierte Abfragen Saxon-EE can compile XQuery 1.0 queries to Java source code. This typically gives a 25% performance boost, though results can vary. There are some restrictions, for example collations are not supported. Nur für Java verfügbar.