you also could try to switch to a non-validating parser, xerces for example is 
non-validating by default.

hth,
markus

[EMAIL PROTECTED] wrote:

> Hi, 
> 
> I am trying to parse an xml file in my application, where the DOCTYPE
> declaration points to a DTD which does not exist. The SAXReader therefor throws
> Exceptions at me, being annoyed by this. How can I prevent this and let the
> SAXReader parse the document without checking for the existence of the DTD file?
> 
> Thanks,
> Olav
> 
> 



_______________________________________________
dom4j-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dom4j-user

Reply via email to