Class XmlValidator


  • public class XmlValidator
    extends Object
    Validates XML files passed on the command line against schemas also passed on the command line. Command-line arguments come in pairs: first the name of an XML file, then the name of the XSD file against which it should be validated.

    The exit status of this program is 0 if and only if all of the schemas were successfully validated.