Should I be using XSD 1.1 to build an open standard?

651 views Asked by At

We have been asked to put together a set of schemas for an open XML standard.

XSD 1.0 would cope with most of the rules, but it would be a bit messy in places (especially to allow for extensibility) it would also rely on implementers reading free text descriptions of some rules in the form of annotations.

Pretty much all of the rules could be implemented using XSD 1.1, however we are not sure if this would limit implementers unduly.

So my question, is XSD 1.1 mature enough to be used in the wild?

1

There are 1 answers

8
kjhughes On BEST ANSWER

Reasons to use XSD 1.0

  • Least restrictive requirement argument: Maximize interoperability between systems and teams by requiring the lowest common denominator standard, XSD 1.0.
  • Broader tool and library support: JAXB and xsd.exe (.NET), for example, still do not support XSD 1.1.

Reasons to use XSD 1.1

Recommendation

If all parties involved with building and interacting your system are prepared to move to XSD 1.1 and have no dependencies on tools or libraries that only support XSD 1.0, then move to XSD 1.1. Otherwise, stick with XSD 1.0.