Skip to content
Jason Mathews edited this page May 17, 2024 · 10 revisions

XmlValidate

XmlValidate is an open source quick & flexible XML validator capable of performing bulk validation of XML documents against XML Schemas as defined in the XML documents or forcing another schema target.

XmlValidate validates individual XML documents by filename or URL or recursively searching directories with a list of target file extensions. First documents are checked as being well-formed XML. If parsing XML with non-validating parser fails then validation for that file stops. XmlValidate runs as a command-line tool with the Java Runtime Environment (JRE).

Most XML validation tools perform validation on a single file or URL. Great if just you're editing a single document, but if you're managing 100's of XML documents and need to validate the whole collection then you need something like XmlValidate. Also, sometimes it's handy to validate an XML document against an XML Schema from another namespace such as an older version. XmlValidate does both of this and more. It's a small and handy tool.

As for validating collections of XML documents, XmlValidate also keeps tracks of statistics and provides a summary of those stats when it is done. This tool was used in a KML survey that validated over 2,000 KML and KMZ files. The results of which were published in a technical paper.

Clone this wiki locally