[Zope] Problems with xml-rpc

Eric Balasbas ebalasba@bway.net
Mon, 21 May 2001 10:52:50 -0400 (EDT)


From=20the xml-rpc spec at http://www.xml-rpc.com/spec


 Any characters are allowed in a string except < and &, which are encoded
as &lt; and &amp;. A string can be used to encode binary data.


Eric Balasbas
Senior Developer
eric@virtosi.com

http://www.virtosi.com/
Virtosi Ltd.
Design -- Branding -- Zope


On Mon, 21 May 2001, [iso-8859-1] Juan Carlos Coru=F1a wrote:

> 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. =BFWhy, you, p=
eople
> 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 "&"=
=2E
> Example
> > s =3D 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.
>
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>