[Patches] [ python-Patches-613256 ] add unescape method to xml.sax.saxutils

noreply@sourceforge.net noreply@sourceforge.net
Sun, 13 Oct 2002 05:53:18 -0700


Patches item #613256, was opened at 2002-09-23 17:47
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=613256&group_id=5470

Category: XML
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Matthew Boedicker (mboedick)
>Assigned to: Martin v. Löwis (loewis)
Summary: add unescape method to xml.sax.saxutils

Initial Comment:
This patch adds an unescape() method to saxutils to
convert an xml-escaped string back to its original form

It also modifies the escape() method so that the core
escaping takes places after any additional escaping
passed in via the dictionary.  This will guarantee that
returned string is properly escaped for xml no matter
what is passed in via the dictionary.

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

>Comment By: Martin v. Löwis (loewis)
Date: 2002-10-13 14:53

Message:
Logged In: YES 
user_id=21627

Can you please provide documentation and test cases?

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

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