Patches item #1463026, was opened at 2006-04-02 16:53
Message generated for change (Comment added) made by ngrig
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1463026&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: XML
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Nikolai Grigoriev (ngrig)
Assigned to: Nobody/Anonymous (nobody)
Summary: Bugfix for #847665 (XMLGenerator dies in namespace mode)

Initial Comment:
This is a patch for xml.sax.saxutils.XMLGenerator
class. It fixes the ancient bug #847665 - XMLGenerator
dies in namespace-aware mode. Technically, the patch
defines a function _qname() to write QName from (NSURI,
local name) pair, and calls this function where
appropriate inside startElementNS()/endElementNS(). The
patch is applicable to both maintenance branch
(release24-maint) and trunk versions:

python/branches/release24-maint/Lib/xml/sax/saxutils.py
python/trunk/Lib/xmlcore/sax/saxutils.py

More details and a test are available in the bug
tracker: 
http://sourceforge.net/tracker/index.php?func=detail&aid=847665&group_id=5470&atid=105470



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

>Comment By: Nikolai Grigoriev (ngrig)
Date: 2006-04-02 17:13

Message:
Logged In: YES 
user_id=195108

For convenience, I add a simple test for basic cases. This
is for Python 2.4 (it imports xml.sax, rather than
xmlcore.sax). 

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1463026&group_id=5470
_______________________________________________
Patches mailing list
[email protected]
http://mail.python.org/mailman/listinfo/patches

Reply via email to