[jdom-interest] Can't get SAXBuilder to ignore DOCTYPE

Dino Fancellu dino.fancellu at ntlworld.com
Wed Oct 11 11:37:02 PDT 2000

Thanks Brett, here's my solution

   public org.xml.sax.InputSource resolveEntity(java.lang.String
p1,java.lang.String p2) throws org.xml.sax.SAXException, java.io.IOException
    return new InputSource("/dtd/empty.dtd");

Works nicely. No doubt it could be improved, but seems to work for my
limited needs of simply ignoring the dtd.


More information about the jdom-interest mailing list