[jdom-interest] How to turn of DTD validation when using SAXBuilder?
Alex Rosen
arosen at silverstream.com
Mon Aug 26 10:08:13 PDT 2002
Check out the entry in the JDOM FAQ for this (www.jdom.org)
> -----Original Message-----
> From: jdom-interest-admin at jdom.org
> [mailto:jdom-interest-admin at jdom.org]On Behalf Of Zhou Ping
> Sent: Monday, August 26, 2002 1:51 AM
> To: jdom-interest at jdom.org
> Subject: [jdom-interest] How to turn of DTD validation when using
> SAXBuilder?
>
>
> I'm using SAXBuilder to parse an existing XML
> document:
>
> SAXBuilder b = new SAXBuilder();
> b.setValidation(false);
> 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
> http://finance.yahoo.com
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/yo
> uraddr at yourhost.com
More information about the jdom-interest
mailing list