On Jun 2, 2009, at 10:24 AM, kereszt_hu wrote:
> According to XML-RPC spec, parameter value of <string> cannot
> contain < or &. This means, sending XML as a parameter should be
> escaped. Even though, it is going to be part of another XML. Am I
> right?
> Maybe, I've gone too far. Please, clarify me either how to pass XML
> as a parameter value or XML-RPC is not for this use and I must crack
> down to simpler parameters or encoded (xml or base64) values.
The safest approach is to taken encoded XML and base-64 encode it as a
binary payload. This way you don't have to know or are about the
encoding of the payload XML.
-Fred
--
Fred Drake <fdrake at acm.org>