Please see the mail I sent yesterday; the trick is to provide your own SAX EntityResolver to the SAXReader so that the underlying SAX parser can load the DTD from whereever you wish; like from the JAR or classpath from where your code came.
 

James
----- Original Message -----
Sent: Thursday, May 16, 2002 7:30 PM
Subject: [dom4j-user] disable DTD validation ?

Hi there,

I am just experimenting with the dom4j parser and I am wondering, if there is an easy way to diable the DTD validation ?

My problem is, that my document contains a DOCTYPE with a non existing DTD, which dom4j tries to retrieve...


thanx Mike


Join Excite! - http://www.excite.com
The most personalized portal on the Web!

Reply via email to