Hello,
I have developped a XMLRPC server, which runs under Gnu/Linux with
python2.3.
This server receives method calls from Windows client. The server got some
parameters which are string, which contains carriage return characters,
just after the line feed character; like "bla\n\rbla".
The probl
Jonathan Ballet wrote:
> The problem is, xmlrpclib "eats" those carriage return characters when
> loading the XMLRPC request, and replace it by "\n". So I got "bla\n\nbla".
>
> When I sent back those parameters to others Windows clients (they are
> doing some kind of synchronisation throught the X
Jonathan Ballet wrote:
> The problem is, xmlrpclib "eats" those carriage return characters when
> loading the XMLRPC request, and replace it by "\n". So I got "bla\n\nbla".
>
> When I sent back those parameters to others Windows clients (they are
> doing some kind of synchronisation throught the XM
Jonathan Ballet wrote:
> The problem is, xmlrpclib "eats" those carriage return characters when
> loading the XMLRPC request, and replace it by "\n". So I got "bla\n\nbla".
>
> When I sent back those parameters to others Windows clients (they are
> doing some kind of synchronisation throught the XM
Le Sat, 18 Mar 2006 02:17:36 -0800, Ben Cartwright a écrit :
> Jonathan Ballet wrote:
>> The problem is, xmlrpclib "eats" those carriage return characters when
>> loading the XMLRPC request, and replace it by "\n". So I got "bla\n\nbla".
>>
>> When I sent back those parameters to others Windows cl
Le Sat, 18 Mar 2006 08:54:49 +0100, Fredrik Lundh a écrit :
> Jonathan Ballet wrote:
>
[snip]
>
> XMLRPC is XML, and XML normalizes line feeds:
>
> http://www.w3.org/TR/2004/REC-xml-20040204/#sec-line-ends
>
> relying on non-standard line terminators in text is fragile and horridly out-
>