[XML-SIG] expat and external DTDs

Martin v. Löwis martin at v.loewis.de
Fri Oct 17 18:19:18 EDT 2003


Alexandre Fayolle <Alexandre.Fayolle at logilab.fr> writes:

> I'm using expat through the SAX interface, and it chokes on relative
> links to the DTD in the DOCTYPE of the documents I parse. How can I tell
> expat not to attempt to read the DTD ?

There are two ways: one is to declare the document standalone (through
the XML header), and the other one is to SetParamEntityParsing to
XML_PARAM_ENTITY_PARSING_NEVER (or some such).

Regards,
Martin




More information about the XML-SIG mailing list