XML Schema 1.1 implementation

The XSD 1.1 specification mandates support for XPath 2.0 in XPath expressions such as assertions. Saxon enforces conformance to XPath 2.0 by default, but also allows support for later versions to be configured. This can be achieved by setting the configuration option XPATH_VERSION_FOR_XSD, for example setting the option to the integer value 31 enables support for XPath 3.1. (It is also possible, as in previous releases, to set the attribute saxon:extensions="any-xpath-version" on the xs:schema element.)