[XML-SIG] [ pyxml-Bugs-829930 ] localName is None for default namespace

SourceForge.net noreply at sourceforge.net
Fri Oct 24 21:12:29 EDT 2003


Bugs item #829930, was opened at 2003-10-24 18:12
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=106473&aid=829930&group_id=6473

Category: pyexpat
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Keith Beattie (ksbeattie)
Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: localName is None for default namespace

Initial Comment:
I believe that for default namespaces, localName should
be set to 'xmlns' not None.  minidom and 4Suite do this
and PyExpat uses None.  Attached is a short script that
demonstrates the difference between minidom, 4Suite and
PyExpat in this respect.

fwiw, this was discovered by noticing that my
regression test for another bug (#825115) in c14n.py
failed to fail on the original code.  See my comment in
patch #829905, if you're curious.

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

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



More information about the XML-SIG mailing list