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/10 13:40:05 UTC

[jira] Geschlossen: (XMLRPC-51) XmlWriter.writeObject doesn't enclose Strings params in tags

     [ http://issues.apache.org/jira/browse/XMLRPC-51?page=all ]
     
Jochen Wiedmann closed XMLRPC-51:
---------------------------------

    Assign To:     (was: rpc-dev mailing list)

Made the XmlWriter public and added an faq entry which describes how to achieve getting "string" tags in the FAQ.


> XmlWriter.writeObject doesn't enclose Strings params in <string> tags
> ---------------------------------------------------------------------
>
>          Key: XMLRPC-51
>          URL: http://issues.apache.org/jira/browse/XMLRPC-51
>      Project: XML-RPC
>         Type: Bug

>   Components: Source
>     Versions: 1.2
>  Environment: Operating System: All
> Platform: All
>     Reporter: Olivier Lagache

>
> The bug 10689 is with Status:RESOLVED and Resolution:INVALID.
> I don't undestand why.
> If I add the startElementend and the endElement("string") in source file all is
> ok. When I called a XML-RPC server (not mine) without this modification I
> obtained an "XmlRpcException:malformed xml: Parsing failed"
> else if (obj instanceof String)
> {
>   startElement("string"); //ADD
>   chardata(obj.toString());
>   endElement("string"); //ADD
> }
> I don't know if it's the best solution but is good in my case.

-- 
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