[ python-Bugs-936637 ] XMLFilterBase has bogus startElementNS

SourceForge.net noreply at sourceforge.net
Wed May 5 22:05:12 EDT 2004


Bugs item #936637, was opened at 2004-04-17 00:05
Message generated for change (Comment added) made by loewis
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=936637&group_id=5470

Category: XML
Group: Python 2.3
>Status: Closed
>Resolution: Fixed
Priority: 7
Submitted By: Magnus Lie Hetland (mlh)
Assigned to: Martin v. Löwis (loewis)
Summary: XMLFilterBase has bogus startElementNS

Initial Comment:
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.

----------------------------------------------------------------------

>Comment By: Martin v. Löwis (loewis)
Date: 2004-05-06 04:05

Message:
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.

----------------------------------------------------------------------

Comment By: Magnus Lie Hetland (mlh)
Date: 2004-04-17 00:06

Message:
Logged In: YES 
user_id=20535

Err.. Make that: "not in my 2.3 standard libraries"

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=936637&group_id=5470



More information about the Python-bugs-list mailing list