[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 21:07:45 CET 2011


On 12/14/11 21:35, Kevin Samuel wrote:
> from soaplib.core._base import Application, _parse_xml_string
>
> def parse_xml_string_monkey_patch(self, xml_string, charset=None):
>     return _parse_xml_string(xml_string, charset=None)
>
> Application.parse_xml_string = parse_xml_string_monkey_patch
>
> It works fine, so I suppose it can be removed from the source code. 
> Should I fill a ticket on github ? Should I make a clone and a pull 
> request just for that ?

no need, i removed the call to unescape. you did notice that warning 
about how soaplib is not maintained though, yes?

best,
burak



More information about the Soap mailing list