XML Schema 1.1 Conformance

Saxon includes a complete implementation of the proposed specification of XSD 1.1. At the time of release of Saxon 9.4, the specification is very close to becoming a Recommendation, and there is a test suite that is believed to cover all new features of the specification. Saxon achieves 100% pass rate againts these tests. Saxonica has worked closely with other implementors of XSD 1.1 to ensure that implementations are fully interoperable. There is still, however, a possibility that the treatment of some edge cases in the specification will change, or that new tests will be added which Saxon does not pass.

XSD 1.1 features are available only if explicitly requested by using the -xsdversion:1.1 option on the command line, or equivalent options in the API.

The rules for valid type derivation follow the XML Schema 1.1 specification, regardless of this option setting. This is because the rules in the 1.0 specification do not meet the stated intent, namely that type derivation is valid in all cases where the restricted type allows a subset of the instances permitted by the base type.

An outline of the changes between XSD 1.0 and XSD 1.1 can be found in Appendix G of the specification.

Implementation-defined features

Appendix E1 of XSD 1.1 (Part 1) provides a checklist of implementation-defined and implementation-dependent features. The following list describes how these are implemented in Saxon.

A similar checklist appears in appendix H.1 of XSD 1.1 Part 2. The corresponding answers for Saxon-EE are given below.