9

Is there any existing C++ implementation of the XML Schema XSD 1.1?

I found xerces-c++-3.1.1, but it only implements XSD 1.0. The java counterpart of this project does implement XSD 1.1.

I am notably looking for a way to implement the 'assert' functionality.

Petru Gardea
  • 21,373
  • 2
  • 50
  • 62
wpb
  • 113
  • 6
  • Are you sure? According to the [xerces website](http://xerces.apache.org/): _Xerces-C++ is faithful to the XML 1.0 **and 1.1** recommendations and many associated standards._ – David Oct 24 '12 at 20:43
  • 1
    Yes that is confusing indeed but that is about the xml 1.1 standard not the xsd 1.1 (XML Schema 1.1). On the same page, you will see the wanted feature in the java section. – wpb Oct 24 '12 at 20:47
  • I am also looking for a c++ library. Have you found any? – Kethiri Sundar Nov 15 '18 at 06:17
  • Is expensive, but try in https://www.saxonica.com/products/feature-matrix-9-9.xml – Ignotus May 14 '19 at 23:18
  • Try too https://www.altova.com/manual/RaptorXML/dotnetapiv2/html/html/R_Project_Documentation.htm – Ignotus May 14 '19 at 23:21
  • You can vote for XSD 1.1 in Xerces-C++ here: https://issues.apache.org/jira/browse/XERCESC-2198 – stackprotector Sep 20 '21 at 07:30

1 Answers1

2

The only released XSD 1.1 processors I am aware of are Xerces-J and Saxon-EE, which are both Java-based (though Saxon-EE is also released on .NET).

(EDIT, SIX YEARS LATER)

There is also an implementation from Altova.

Michael Kay
  • 156,231
  • 11
  • 92
  • 164