[Soap-Python] How make soaplib to accept an escaped XML literal as string data ?
Burak Arslan
burak.arslan at arskom.com.tr
Wed Dec 14 20:32:11 CET 2011
On 12/14/11 20:25, Kevin Samuel wrote:
> The problem is that __it does the same with an escaped XML string__
> because in core._base.py happens this:
>
> def parse_xml_string(self, xml_string, charset=None):
> from xml.sax.saxutils import unescape, escape
> x = unescape(xml_string, {"'": "'", """: '"'})
> return _parse_xml_string(x, charset)
Hi Kevin,
This came up before. I don't have the faintest idea about why that code
is there. My two kuruşes say you can just get rid of it.
Burak
More information about the Soap
mailing list