[XML-SIG] xml.marshal and Unicode

Bart Frackiewicz bf at ypsilon.net
Fri Jan 23 14:34:17 EST 2004


i get an error, when i try to use xml.marshal (pyXML 0.8.3) on a
http-response, which i hold in a variable (i[1]).

response = i[1]
print generic.loads(response)

Traceback (most recent call last):
line 45, in startElement
File "/usr/lib/python2.3/site-packages/_xmlplus/marshal/generic.py", 
line 369, in startElement
    sm, em = self.unmarshal_meth[name]
exceptions.KeyError: u'RESPONSE_CONVERSATION'

The response is unicode, okay, but this should not be a problem. Any 
idea, where i have the mistake?

TIA, Bart

More information about the XML-SIG mailing list