private static void checkSvgInputSource(InputSource is) throws Exception {
        if (!"http://s.validator.nu/svg-xhtml5-rdf-mathml.rnc".equals(
                validator.getMainSchemaUrl()) && !hasSchemaOption) {
            setSchema("http://s.validator.nu/svg-xhtml5-rdf-mathml.rnc");
        }
        validator.checkXmlInputSource(is);
    }
Simple command-line validator for HTML/XHTML files.
src/nu/validator/client/SimpleCommandLineValidator.java