[Zope] Problems with xml-rpc

Juan Carlos Coru˝a jcoruna@ibdosnorte.com
Mon, 21 May 2001 15:58:17 +0200

Hi all,

The last problem I was having with xmlrpc and Zope was "Growing Refcounts"
(you can review it in this mailing list). I resolved the problem applying
the patch to xmlrpclib.py referenced in
http://www.pythonware.com/products/xmlrpc/bug-xmlrpc1.htm. ┐Why, you, people
of DC do not apply this patch?

But now there seems to appear another problem related to xml-rpc.
I'm using a python xmlrpc client to talk to a Zope server.

The problem appears if I pass a string argument containing the symbol "&".
> s = xmlrpclib.Server('http://localhost/RPC')
> s.anymethod('string & parameter')

The zope server responds:

xmlrpclib.Fault: <Fault -2: 'Unexpected Zope error value:  <unknown>:1:0:
not well-formed\012\012\012'>

I am using Zope-2.3.2.