XML Schema (W3C) - Version 1.1

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:

    If the only new thing we have to offer is an improved version of the past, then today can only be inferior to yesterday. Hypnotised by images of the past, we risk losing all capacity for creative change.
    Robert Hewison (b. 1943)