Home > Projects > XML Schema Validation
This is a simple Java program to validate that an XML file against an XML Schema file. Note this program uses the javax.xml.validation package which was added in Java version 1.5.
Example
To run:
java Validate <xml_schema> <xml_file>
Both <xml_schema> and <xml_file> should be files on the local file system.