XML Schema 1.1
From release 9.5, Saxon-EE includes full support for the XML Schema 1.1 specification, which is a W3C Recommendation. The main changes between XSD 1.0 and XSD 1.1 are listed in the following pages (see XML Schema 1.1 conformance for further information).
From Saxon 9.8, use of XML Schema 1.1 features is enabled by default. To disable use of XML
Schema 1.1 features, set the command line flag -xsdversion:1.0
or the
configuration property XSD_VERSION.
From Saxon 10, selecting XSD 1.0 does not disable all XSD 1.1 features. For example:
The value
+INF
representing positive infinity is accepted as a legalxs:double
value whether or not XSD 1.1 is enabled.Regular expressions in the
pattern
facet follow the XSD 1.1 rules rather than the XSD 1.0 rules (there are no great differences in the syntax, but some ambiguities and errors in the specification were corrected).
The following sections describe some of the new features in XSD 1.1, with a particular focus on how they are implemented in Saxon: