Version 1.1
XSD 1.1 became a W3C Recommendation in April 2012, which means it is an approved W3C specification.
Significant new features in XSD 1.1 are:
- The ability to define assertions against the document content by means of XPath 2.0 expressions (an idea borrowed from Schematron)
- The ability to select the type against which an element will be validated based on the values of the element's attributes ("conditional type assignment")
- Relaxing the rules whereby explicit elements in a content model must not match wildcards also allowed by the model
- The ability to specify wildcards (for both elements and attributes) that apply to all types in the schema, so that they all implement the same extensibility policy
Until the Proposed Recommendation draft, XSD 1.1 also proposed the addition of a new numeric data type, precisionDecimal. This proved controversial, and was therefore dropped from the specification at a late stage of development.
Read more about this topic: XML Schema (W3C)
Famous quotes containing the word version:
“Remember that you were a slave in the land of Egypt, and the LORD your God brought you out from there with a mighty hand and an outstretched arm; therefore the LORD your God commanded you to keep the sabbath day.”
—Bible: Hebrew, Deuteronomy 5:15.
See Exodus 22:8 for a different version of this fourth commandment.