[XML-SIG] supress DTD reading

Martin v. Löwis martin at v.loewis.de
Thu Nov 27 14:17:42 EST 2003


"Roman Kennke" <roman at interview-machine.com> writes:

> When I'm trying to parse an XML document into DOM, is there a way to tell
> the parser, that it may not read an internal or external DTD?

Yes: You need to create a SAX parser, and disable external general
entities, and external parameter entities.

Regards,
Martin




More information about the XML-SIG mailing list