You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-users@xml.apache.org by Kurt Ward <ku...@yahoo.com> on 2002/12/11 06:41:38 UTC

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" <Wa...@t-online.de>
To: <xi...@xml.apache.org>
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


AW: XML-RPC problem

Posted by "Dr. Klemens Waldhör" <Wa...@t-online.de>.
Hi,

Just to add to this: we made some experiments with regard to Windows 2000 for checking if this error is a general problem for Windows 2000. As it turned out we have this problem only with one Win2000 server. Nevertheless curious ...

Klemens

-----Ursprüngliche Nachricht-----
Von: Dr. Klemens Waldhör [mailto:Waldhoer@t-online.de] 
Gesendet: Donnerstag, 12. Dezember 2002 07:06
An: xindice-users@xml.apache.org
Betreff: AW: XML-RPC problem


Here it is!

Thanks!

BTW: Interestingly enough this does not happen if I store and retrieve it on my local PC (XP) while it happens on our server which runs Win2000.

Klemens

-----Ursprüngliche Nachricht-----
Von: Kurt Ward [mailto:kurtward@yahoo.com] 
Gesendet: Mittwoch, 11. Dezember 2002 16:53
An: xindice-users@xml.apache.org
Betreff: Re: XML-RPC problem


Can you post the XML document?


----- Original Message -----
From: "Dr. Klemens Waldhör" <Wa...@t-online.de>
To: <xi...@xml.apache.org>
Sent: Wednesday, December 11, 2002 3:48 AM
Subject: AW: XML-RPC problem


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:kurtward@yahoo.com]
Gesendet: Mittwoch, 11. Dezember 2002 06:42
An: xindice-users@xml.apache.org
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" <Wa...@t-online.de>
To: <xi...@xml.apache.org>
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


AW: XML-RPC problem

Posted by "Dr. Klemens Waldhör" <Wa...@t-online.de>.
Here it is!

Thanks!

BTW: Interestingly enough this does not happen if I store and retrieve it on my local PC (XP) while it happens on our server which runs Win2000.

Klemens

-----Ursprüngliche Nachricht-----
Von: Kurt Ward [mailto:kurtward@yahoo.com] 
Gesendet: Mittwoch, 11. Dezember 2002 16:53
An: xindice-users@xml.apache.org
Betreff: Re: XML-RPC problem


Can you post the XML document?


----- Original Message -----
From: "Dr. Klemens Waldhör" <Wa...@t-online.de>
To: <xi...@xml.apache.org>
Sent: Wednesday, December 11, 2002 3:48 AM
Subject: AW: XML-RPC problem


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:kurtward@yahoo.com]
Gesendet: Mittwoch, 11. Dezember 2002 06:42
An: xindice-users@xml.apache.org
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" <Wa...@t-online.de>
To: <xi...@xml.apache.org>
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

Re: XML-RPC problem

Posted by Kurt Ward <ku...@yahoo.com>.
Can you post the XML document?


----- Original Message -----
From: "Dr. Klemens Waldhör" <Wa...@t-online.de>
To: <xi...@xml.apache.org>
Sent: Wednesday, December 11, 2002 3:48 AM
Subject: AW: XML-RPC problem


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:kurtward@yahoo.com]
Gesendet: Mittwoch, 11. Dezember 2002 06:42
An: xindice-users@xml.apache.org
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" <Wa...@t-online.de>
To: <xi...@xml.apache.org>
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


AW: XML-RPC problem

Posted by "Dr. Klemens Waldhör" <Wa...@t-online.de>.
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:kurtward@yahoo.com] 
Gesendet: Mittwoch, 11. Dezember 2002 06:42
An: xindice-users@xml.apache.org
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" <Wa...@t-online.de>
To: <xi...@xml.apache.org>
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