[XML-SIG] pyexpatreader default namespace feature setting
Alexandre Fayolle
Alexandre.Fayolle@logilab.fr
Fri, 16 Nov 2001 12:08:53 +0100 (CET)
I've given a look at the code, and it looks like the fix for the bug is
trivial:
-----------------8<----------------------------------
diff -u -r1.15 expatreader.py
--- expatreader.py 2001/08/28 23:10:25 1.15
+++ expatreader.py 2001/11/16 11:06:03
@@ -35,7 +35,7 @@
class ExpatParser(xmlreader.IncrementalParser, xmlreader.Locator):
"SAX driver for the Pyexpat C module."
- def __init__(self, namespaceHandling=0, bufsize=2**16-20):
+ def __init__(self, namespaceHandling=1, bufsize=2**16-20):
xmlreader.IncrementalParser.__init__(self, bufsize)
self._source = xmlreader.InputSource()
self._parser = None
------------------------8<----------------------------------
I can commit this, but I'd like to get a green flag before I do so,
because this will most probably break code depending on the bug.
Alexandre Fayolle
--
LOGILAB, Paris (France).
http://www.logilab.com http://www.logilab.fr http://www.logilab.org
Narval, the first software agent available as free software (GPL).