pb with xmlrpclib

Skip Montanaro skip at pobox.com
Mon Jul 9 10:45:48 EDT 2001


    >> if you disable the catch-all except in xmlrpcserver.py [1], what error
    >> message do you get?

    ...
    Alexandre>   File "/usr/lib/python2.1/xmllib.py", line 794, in syntax_error
    Alexandre>     raise Error('Syntax error at line %d: %s' % (self.lineno, message))
    Alexandre> Error: Syntax error at line 6: illegal character in content

Take a look at the relevant bits of xmllib, but I suspect you are passing a
character (\231 as I recall) that is not valid UTF-8, the default encoding
for XML.

-- 
Skip Montanaro (skip at pobox.com)
(847)971-7098




More information about the Python-list mailing list