From: Martin v. Löwis Date: Thu, 6 May 2004 02:03:13 +0000 (+0000) Subject: Properly delegate startElementNS in saxutils.XMLFilterBase. Fixes #936637. X-Git-Tag: v2.3.4c1~38 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c7111723dfee6ecbcaf73f3f5c426b5f839a3e1c;p=thirdparty%2FPython%2Fcpython.git Properly delegate startElementNS in saxutils.XMLFilterBase. Fixes #936637. --- diff --git a/Lib/xml/sax/saxutils.py b/Lib/xml/sax/saxutils.py index 6544f171d9c8..4737d76aa03b 100644 --- a/Lib/xml/sax/saxutils.py +++ b/Lib/xml/sax/saxutils.py @@ -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) diff --git a/Misc/NEWS b/Misc/NEWS index 00cca3cb3cff..8319ae0af568 100644 --- 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