[jdom-interest] How to turn of DTD validation when using SAXBuilder?

Zhou Ping zhouping_jay at yahoo.com.cn
Sun Aug 25 22:51:27 PDT 2002

I'm using SAXBuilder to parse an existing XML

SAXBuilder b = new SAXBuilder();
Document doc = b.build(in);

I've already turned off the validation, but the parser
still tried to find the DTD file declared in the XML
and throwed exceptions when not found. I'd like to
completely turn off this validation, does anyone know
how to do it? Thank you for any help.

Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes

More information about the jdom-interest mailing list