Hi,

Thanks, but I am using UTF-8 encoding. I am using the Frontier:client perl 
module for this and I set the encoding to UTF-8.

Klemens

-----UrsprÃngliche Nachricht-----
Von: Kurt Ward [mailto:[EMAIL PROTECTED] 
Gesendet: Mittwoch, 11. Dezember 2002 06:42
An: [email protected]
Betreff: Re: XML-RPC problem


I think this is an encoding error.  For your XML-RPC client, set the encoding 
to UTF-8 via:

XmlRpc.setEncoding("UTF8");

This requires Xerces as the XML parser for the Apache XML-RPC client though...

Kurt

----- Original Message -----
From: "Dr. Klemens WaldhÃr" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Wednesday, December 11, 2002 3:24 AM
Subject: XML-RPC problem


Hi,

When running a GetDocument via XML-RPC the rpc-server returns the follwoing 
error (first part is an error message written by my appl, second comes from the 
server:

Error in getDocument for "XuanZang_CN.xml_2002121107:13:07.2640": Fault 
returned from XML RPC Server, fault code 0:
org.apache.xmlrpc.XmlRpcException: Invalid character data corresponding to XML 
entity ç

If I use xindice.bat to retrieve the document it works and the returned 
document looks okay (can be displayed in IE).

I have to add that the document was added using the XML-RPC method 
InsertDocument and it no error was returned and the doucment is in as can be 
seen from xindice.bat.

I am using the Tomcat based version of xindice.

Anyone an idea what could be wrong and what is different between the XML-RPC 
call and when using xindice.bat?

Klemens

Reply via email to