This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: XMLFilterBase has bogus startElementNS
Type: Stage:
Components: XML Versions: Python 2.3
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: loewis Nosy List: loewis, mlh
Priority: high Keywords:

Created on 2004-04-16 22:05 by mlh, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (3)
msg20517 - (view) Author: Magnus Lie Hetland (mlh) Date: 2004-04-16 22:05
The version in XMLFilterBase is:

    def startElementNS(self, name, qname, attrs):
        self._cont_handler.startElement(name, attrs)

It should be:

    def startElementNS(self, name, qname, attrs):
        self._cont_handler.startElementNS(name, qname,
attrs)

I've seen examples using this method, so in some
version somewhere it must work -- but not in my 2.4
standard libraries, at least.
msg20518 - (view) Author: Magnus Lie Hetland (mlh) Date: 2004-04-16 22:06
Logged In: YES 
user_id=20535

Err.. Make that: "not in my 2.3 standard libraries"
msg20519 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2004-05-06 02:05
Logged In: YES 
user_id=21627

Thanks for pointing that out. Fixed in

saxutils.py 1.21.10.1, 1.22
NEWS 1.831.4.104

Fix in PyXML is pending.
History
Date User Action Args
2022-04-11 14:56:03adminsetgithub: 40158
2004-04-16 22:05:25mlhcreate