[ python-Bugs-1371937 ] minidom namespace problems

SourceForge.net noreply at sourceforge.net
Fri Dec 2 20:47:07 CET 2005


Bugs item #1371937, was opened at 2005-12-02 14:47
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1371937&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Python Library
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: A.M. Kuchling (akuchling)
Assigned to: Nobody/Anonymous (nobody)
Summary: minidom namespace problems

Initial Comment:
Noted on c.l.py: the minidom writexml() function
doesn't tidy up namespace declarations, so you can
output documents that have incorrect namespace
declarations.

DOM Level 3, appendix B, specifies an algorithm for
normalizing namespaces; see
http://www.w3.org/TR/DOM-Level-3-Core/namespaces-algorithms.html
.  minidom probably needs to acquire the
normalizeNamespace method, and then writexml() can call
it before doing its work.




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

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


More information about the Python-bugs-list mailing list