]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Properly delegate startElementNS in saxutils.XMLFilterBase. Fixes #936637.
authorMartin v. Löwis <martin@v.loewis.de>
Thu, 6 May 2004 02:03:13 +0000 (02:03 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Thu, 6 May 2004 02:03:13 +0000 (02:03 +0000)
Lib/xml/sax/saxutils.py
Misc/NEWS

index 6544f171d9c8b1392ca1705f18c4c830042b458d..4737d76aa03bd8dac112cf10e3b231c2d3536b1e 100644 (file)
@@ -189,7 +189,7 @@ class XMLFilterBase(xmlreader.XMLReader):
         self._cont_handler.endElement(name)
 
     def startElementNS(self, name, qname, attrs):
-        self._cont_handler.startElement(name, attrs)
+        self._cont_handler.startElementNS(name, qname, attrs)
 
     def endElementNS(self, name, qname):
         self._cont_handler.endElementNS(name, qname)
index 00cca3cb3cff6aebb309c87d3b69783d6bcba87a..8319ae0af5685757fbb25d603fc403c69cb7263c 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -42,6 +42,8 @@ Core and builtins
 Library
 -------
 
+- Bug #936637: Properly delegate startElementNS in saxutils.XMLFilterBase.
+
 - Bug #944082: Empty passwords in urllib2 are now supported.
 
 - Bug #926075: Fixed a bug that returns a wrong pattern object