XPath 2.0 conformance

This release of Saxon implements the full XPath 2.0 grammar as defined in the working draft of 12 November 2003, with changes to operator precedences agreed subsequently in response to public comments.

The known restrictions in XPath 2.0 support include the following:

The syntax for SequenceTypes incorporates some changes agreed by the W3C Working Groups but not yet published. Specifically, element(N) matches any element named N whether or not N is declared in a schema; element(*) matches any element; element(N, T) matches any element named N whose type annotation is T, where T is a simple or global type defined in a schema, or a built-in type; schema-element(N) matches an element whose name is N, or a name in the substitution group of N, where N is a global element declaration in the schema, and whose type matches the type of this global element. And similarly for attributes.

Expand

Next