Validating xml file against xsd
In this page you can check the validity of your XML Schema (XSD) file. The library used in this page is jaxp, Java API for XML Processing, version 1.4, from Java(TM) SE Runtime Environment (build 1.7.0_06-b24).by Domenico Briganti is licensed under a Creative Commons Attribuzione 3.0 Unported License.
There are no options in the "XML Tools" plugin dropdown that provides for specifying an XSD file.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.XML XSD Schema has the power of possibility to provide the standard structure for XML attributes and elements, through its support for namespaces and datatypes.You have to validate your XML file to make sure it fits to your application's needs to prevent any exception in your code.