Validating xml against xsd
There are no options in the "XML Tools" plugin dropdown that provides for specifying an XSD file.The XML plugin is installed properly in the plugins subdir and the 3 DLLs are copied to the Notepad EXE subdirectory.Permissions beyond the scope of this license may be available at [email protected] the XML string/file against the specified XSD string/file.The validation operation is applied to the file specified in the scenario.XML document that also conforms to the rules of a schema that defines the legal elements of an XML document.
If I use "Extern Validation" everything works fine.
XML Schema or Relax NG schema also allows you to embed Schematron rules.
For Schematron validations you can also select the validation phase.
To know about the subsequent errors, we need to fix the previous error and validate the file again and again till no exception is thrown.
Now to list all errors in one go, we need to populate list of errors by overriding error handling behaviour of the validate().