[XML-SIG] [ pyxml-Bugs-484549 ] ContentHandler chokes on None qname

noreply@sourceforge.net noreply@sourceforge.net
Thu, 22 Nov 2001 05:05:30 -0800


Bugs item #484549, was opened at 2001-11-22 05:05
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=106473&aid=484549&group_id=6473

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Alexandre Fayolle (afayolle)
Assigned to: Nobody/Anonymous (nobody)
Summary: ContentHandler chokes on None qname

Initial Comment:
A Sax2 parser with namespace feature enabled may not
report the qname in startElementNS (and use None
instead). PyExpat is one of these.

This breaks xml.dom.ext.reader.Sax2.Reader which
expects a qname to be reported. 

Other content handlers may choke on this bug. I think
that the pDomlette reader is vulnerable too, but I'd
have to check.

I'll fix xml.dom.Sax2.

Alexandre

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

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=106473&aid=484549&group_id=6473