public void checkXmlFile(File file) throws IOException, SAXException {
        validator.reset();
        InputSource is = new InputSource(new FileInputStream(file));
        is.setSystemId(file.toURI().toURL().toString());
        checkAsXML(is);
    }
@param allowCss
           The allowCss to set.
src/nu/validator/validation/SimpleDocumentValidator.java