This release of Saxon implements the full XPath 2.0 grammar as defined in the working draft of 29 October 2004, with changes to operator precedences agreed subsequently in response to public comments. Saxon supports all the built-in data types.
The known restrictions in XPath 2.0 support include the following:
The state of implementation of all the standard functions is as described in functions.html
Support for the type xs:duration
goes beyond what the specification allows.
Ordering is implemented as a total order over all durations, based on the average length of a month
(one year = 365.242199 days).
Timezone offsets are limited to the range -12:00 to +12:00. XML Schema specifies -14:00 to +14:00. This limit is apparently imposed by the JDK 1.4 implementation, though it is not documented.
The error codes defined in the specification are not always used.
The construct document-node(element(N, T))
is not supported within
an AxisStep
In the construct element(N, T)
or element(*, T)
the optional
question mark after the type name (previously the keyword "nillable") is not supported.
In regular expressions, the metacharacter "." matches a Unicode character whose codepoint is above 65535 only if JDK 1.5 is used. With JDK 1.4, it does not match.