xmlrpclib and binary data as normal parameter strings

Richard Brodie R.Brodie at rl.ac.uk
Tue Apr 19 09:03:07 EDT 2005


"Rune Froysa" <rune.froysa at usit.uio.no> wrote in message news:svlacnvhrov.fsf at dresden.uio.no...

> From http://www.xmlrpc.com/spec ::
>   Any characters are allowed in a string except < and &, which are
>   encoded as < and &. A string can be used to encode binary
>   data.

the XMLRPC specification is worded pretty loosely. Obviously characters
forbidden in XML will be problematic.

> From http://www.w3.org/TR/2004/REC-xml11-20040204/#dt-character ::

That's XML 1.1; it's very rarely used in practice. Can XMLRPC use XML 1.1?
In principle, undefined, as far as I know. In practice, not in Python anyway.





More information about the Python-list mailing list