[XML-SIG] Bug with XML file having a doctype declaration

Martin v. L÷wis martin@v.loewis.de
26 Mar 2003 20:04:51 +0100

Uche Ogbuji <uche.ogbuji@fourthought.com> writes:

> expat.XML_PARAM_ENTITY_PARSING_NEVER should probably be a parameter to the 
> relevant readers.  Anyone object if I make a backwards-compatible change in 
> this direction?

Yes. I cannot believe that a patch to simply replace
XML_PARAM_ENTITY_PARSING_NEVER will be backwards compatible; this
setting was specifically introduced to fix a bug.

If you want to make it optional, you should use a SAX feature instead.