#1 Encoding problem

open
nobody
None
5
2006-06-08
2006-06-08
No

Hello,

we were using ocaml-xml-rpc version 0.2.6 witch patch
from rev. 16 until now for a XML-RPC server in OCaml,
the client is written in Python, and everything was fine.

Today, I just upgrade my ocaml-xml-rpc version, to use
the latest one which can be found here (0.2.8), and
when my Python client send a XML-RPC request to the
OCaml server, the following exception is raised on the
server :
=========================
Fatal error: exception Failure("Pxp_lexers: This type
of internal encoding is not supported: ISO-8859-1 -
maybe missing lexing module?")
=========================

Here is the HTTP request, captured with Ethereal :

POST / HTTP/1.0

Host: localhost:6543

User-Agent: xmlrpclib.py/1.0.1 (by www.pythonware.com)

Content-Type: text/xml

Content-Length: 235

<?xml version='1.0' encoding='utf8'?>
<methodCall>
<methodName>graphe_subscribe</methodName>
<params>
<param>
<value><string>192.168.0.2</string></value>
</param>
<param>
<value><int>6544</int></value>
</param>
</params>
</methodCall>
=======================

I tried with ocaml-xml-rpc 0.2.7 (my code was the
same), no problem at all.
I can't find what changes between 0.2.7 and 0.2.8 cause
this problem to occurs :/

So, what happens ?

Thanks for ocaml-xml-rpc :)
Jonathan Ballet

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks