The validator checks for well formedness first, meaning that your XML file must be parsable using a DOM/SAX parser, and only then does it validate your XML against the XML Schema.
The validator will report fatal errors, non-fatal errors and warnings.
XML Schema 1.1 Part 2: Datatypes and XML Schema 1.1 Part 1: Structures are available.
You can apply constraints on an instance by adding validation keywords to the schema.
I've created a small Java project on github to validate from the command line using the default JRE parser, which is normally Xerces. There is also a C version of Xerces available if you'd rather use that.
The Std In Parse utility can be used to call it from the command line.
Permissions beyond the scope of this license may be available at [email protected]
If you are on a personal connection, like at home, you can run an anti-virus scan on your device to make sure it is not infected with malware.
The XML Schema Working Group is closed, having completed its work successfully.Our development language is C if that makes any difference, although I don't think it should as we could generate the xml file and then do validation by calling a separate program in the test.After some research, I think the best answer is Xerces, as it implements all of XSD, is cross-platform and widely used.XML Schema 1.1 (in two parts) is a W3C Recommendation.It is intended to be mostly compatible with XML Schema 1.0 and to have approximately the same scope, but also to fix bugs and make whatever improvements we can, consistent with the constraints on scope and compatibility.The specifications are now maintained by the W3C XML Core Working Group.