You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xmlrpc-dev@ws.apache.org by "Jochen Wiedmann (JIRA)" <xm...@ws.apache.org> on 2006/05/09 22:39:05 UTC
[jira] Geschlossen: (XMLRPC-10) XmlRpc$XmlWriter.writeObject()
doesn't enclose Strings params in tags
[ http://issues.apache.org/jira/browse/XMLRPC-10?page=all ]
Jochen Wiedmann closed XMLRPC-10:
---------------------------------
Resolution: Fixed
Assign To: (was: rpc-dev mailing list)
In version 3, this can be done by overwriting TypeFactoryImpl and return a custom subclass of StringSerializer.
> XmlRpc$XmlWriter.writeObject() doesn't enclose Strings params in <string> tags
> ------------------------------------------------------------------------------
>
> Key: XMLRPC-10
> URL: http://issues.apache.org/jira/browse/XMLRPC-10
> Project: XML-RPC
> Type: Bug
> Components: Source
> Versions: unspecified
> Environment: Operating System: All
> Platform: All
> Reporter: Ralf Müller
>
> As far as I'm up to date with it the XML-RPC spec says that paramters of type
> String have to be enclosed in <string> tags. At least when talking to the Skyrix
> skyxmlrpcd this is mandatory.
> Fix:
> *** XmlRpc.java.orig Thu Jul 11 16:13:16 2002
> --- XmlRpc.java Thu Jul 11 16:13:44 2002
> ***************
> *** 695,701 ****
> --- 695,703 ----
> }
> else if (obj instanceof String)
> {
> + startElement("string");
> chardata(obj.toString());
> + endElement("string");
> }
> else if (obj instanceof Integer)
> {
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira