On 4 May 2005 08:17:07 -0700, "Chris Curvey" <[EMAIL PROTECTED]> wrote:
>Here is the solution. Incidentally, the client is Cold Fusion.
>
I suspect your solution may be not be general, though it would seem to
satisfy your use case. It seems to be true for python's latin-1 that
all the first 256 c
On 3 May 2005 08:07:06 -0700, "Chris Curvey" <[EMAIL PROTECTED]> wrote:
>I'm writing an XMLRPC server, which is receiving a request (from a
>non-Python client) that looks like this (formatted for legibility):
>
>
>
>echo
>
>
>
>Le Martyre de Saint André
avec inscription
>'Le Dominiquain.' et
Here is the solution. Incidentally, the client is Cold Fusion.
import re
import logging
import logging.config
import os
import SimpleXMLRPCServer
logging.config.fileConfig("logging.ini")
class
LoggingXMLRPCRequestHandler(S
yep, I'm using SimpleRPCServer, but something is getting messed up
between the receipt of the XML stream and the delivery to my function.
The "normal" entity references (like < and &) are handled OK,
but the character references are not working. For instance,
"André" is received by the server, bu
Chris Curvey wrote:
> I'm writing an XMLRPC server, which is receiving a request (from a
> non-Python client) that looks like this (formatted for legibility):
>
>
>
> echo
>
>
>
> Le Martyre de Saint André
avec inscription
> 'Le Dominiquain.' et 'Le tableau fait par le dominicain,
> d'ap
Chris Curvey wrote on Tue, 03 May 2005 08:10:50 -0700:
> Can anyone give me a lead on how to convert the entity references
> into something that will make it through to my method call?
The xmllib module has a function for doing this:
>>> import xmllib
>>> xmllib.XMLParser().translate_references(
I'm writing an XMLRPC server, which is receiving a request (from a
non-Python client) that looks like this (formatted for legibility):
echo
Le Martyre de Saint André
avec inscription
'Le Dominiquain.' et 'Le tableau fait par le dominicain,
d'après son dessein à... est à Rome, à
l'église