@Override
    public XMLReader createXMLReader() throws SAXException {
        XMLReader r = new SAXDriver();
        r.setFeature("http://xml.org/sax/features/external-general-entities",
                true);
        r.setFeature("http://xml.org/sax/features/external-parameter-entities",
                true);
        r.setEntityResolver(this.entityResolver);
        r.setErrorHandler(this.errorHandler);
        return r;
    }
@see com.thaiopensource.xml.sax.XMLReaderCreator#createXMLReader()
src/nu/validator/servlet/VerifierServletXMLReaderCreator.java