Validating xml schema
Using the exact XML & XSD from this example worked and i realized what i was doing wrong.I didn't realize that the was actually reading the XSD from my hard drive from the same subdir as the XML file and validating. Just an FYI, if you use nested schemas and refer other schema using relative path such as foo\abc.xsd, make sure that you use forward slash(/) instead of backward slash (\) when validating in NPP Xml Tools plugin.The XML Schema specifications XML Schema Part 1: Structures and XML Schema Part 2: Datatypes from the W3C Web site are used for validation.Certain error messages contain a reference to the schema constraints listed in Appendix C of the XML Schema Part 1: Structures document.If you use backward slash, it gives schema parsing error but forward slash works fine.I'm writing an XML schema (an XSD) to describe the format our partners should send us data in.You can set up a project's properties so that different types of project resources are automatically validated when you save them (this is set for all resources by default).
The XML schema support in the XML schema editor is based on the W3C XML Schema Recommendation Specification.
Are there tool or libraries that we can use for automated testing to check that the generated XML matches the schema?