I have downloaded Apache XML-RPC 1.2-b1, and tried to invoke a remote
service with the following code:
XmlRpc.setEncoding("UTF8");
XmlRpcClient client = new XmlRpcClient(url);
Object[] args = new Object[] { "__STRING__" };
client.execute("remote.method", new Vector(Arrays.asList(args)));
If __STRING__ contains non-ASCII(c < 0x20 || c > 0xff)-character, it
fails with a error "Invalid character data corresponding to XML
entity" at XMLWriter.chardata(String).
At XMLWriter.chardata(String) of CVS revision 1.2, it seems to just
pass the character to OutputStreamWriter.write(). Is that behaves
wrong? Why has it changed in 1.3 and 1.4?
Or is there another way to pass non-ASCII string for <string> value?
--
Shirai,Kaoru <[EMAIL PROTECTED]>
Korinkan Ltd. - http://www.korinkan.co.jp/