pyXML (0.8.1): ignoring DTD part...

Martin v. Löwis loewis at informatik.hu-berlin.de
Tue Oct 8 09:16:45 EDT 2002


"Gillou" <nospam at bigfoot.com> writes:

> I want to carry on parsing even if there's no DTD
> 
> Any hint ?

If you parse using SAX, set a EntityResolver, and resolve the DTD
entity to an empty input stream.

Regards,
Martin




More information about the Python-list mailing list