[jdom-interest] Ignoring undeclared entities?

george georgovassilis georgeg at open.gr
Tue Dec 21 01:08:42 PST 2004

Dear All

I'm using jdom 0.9 and have sometimes to parse XML with undeclared 
entities. The parsing aborts then with an exception which is also a 
fatal error (so I can't just ignore it by implementing my own lenient 
ErrorHandler). Since there is no way I can get hold of the missing DTDs 
anyway, I was wondering if the SaxBuilder (or whichever part I am 
missing here) can be instructed not to resolve entities it doesn't know?

Thanks in advance
George Georgovassilis

More information about the jdom-interest mailing list