You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xmlrpc-auto@ws.apache.org by "Till Klampaeckel (JIRA)" <xm...@ws.apache.org> on 2007/05/25 01:50:16 UTC

[jira] Created: (XMLRPC-142) Wrong format of XMLRPC fault

Wrong format of XMLRPC fault
----------------------------

                 Key: XMLRPC-142
                 URL: https://issues.apache.org/jira/browse/XMLRPC-142
             Project: XML-RPC
          Issue Type: Bug
    Affects Versions: unspecified
         Environment: Gentoo Linux (latest stable kernel)
            Reporter: Till Klampaeckel


{code}
<?xml version="1.0"?>
<methodResponse>
<fault>
<value>
<struct>
<member>
<name>faultString</name>
<value>java.lang.ClassCastException: java.lang.Integer</value>
</member>
<member>
<name>faultCode</name>
<value><int>0</int></value>
</member>
</struct>
</value>
</fault>
</methodResponse>
{code}

The part "<value>message</value>" should be "<value><string>message</string></value>"

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (XMLRPC-142) Wrong format of XMLRPC fault

Posted by "Till Klampaeckel (JIRA)" <xm...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/XMLRPC-142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Till Klampaeckel updated XMLRPC-142:
------------------------------------

    Description: 
<?xml version="1.0"?>
<methodResponse>
<fault>
<value>
<struct>
<member>
<name>faultString</name>
<value>java.lang.ClassCastException: java.lang.Integer</value>
</member>
<member>
<name>faultCode</name>
<value><int>0</int></value>
</member>
</struct>
</value>
</fault>
</methodResponse>

The part "<value>message</value>" should be "<value><string>message</string></value>"

  was:
{code}
<?xml version="1.0"?>
<methodResponse>
<fault>
<value>
<struct>
<member>
<name>faultString</name>
<value>java.lang.ClassCastException: java.lang.Integer</value>
</member>
<member>
<name>faultCode</name>
<value><int>0</int></value>
</member>
</struct>
</value>
</fault>
</methodResponse>
{code}

The part "<value>message</value>" should be "<value><string>message</string></value>"


Removed markup since this Jira doesn't support it.

> Wrong format of XMLRPC fault
> ----------------------------
>
>                 Key: XMLRPC-142
>                 URL: https://issues.apache.org/jira/browse/XMLRPC-142
>             Project: XML-RPC
>          Issue Type: Bug
>    Affects Versions: unspecified
>         Environment: Gentoo Linux (latest stable kernel)
>            Reporter: Till Klampaeckel
>
> <?xml version="1.0"?>
> <methodResponse>
> <fault>
> <value>
> <struct>
> <member>
> <name>faultString</name>
> <value>java.lang.ClassCastException: java.lang.Integer</value>
> </member>
> <member>
> <name>faultCode</name>
> <value><int>0</int></value>
> </member>
> </struct>
> </value>
> </fault>
> </methodResponse>
> The part "<value>message</value>" should be "<value><string>message</string></value>"

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (XMLRPC-142) Wrong format of XMLRPC fault

Posted by "Jochen Wiedmann (JIRA)" <xm...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/XMLRPC-142?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12499656 ] 

Jochen Wiedmann commented on XMLRPC-142:
----------------------------------------

Quoting the same source:

    "If no type is indicated, the type is string."


> Wrong format of XMLRPC fault
> ----------------------------
>
>                 Key: XMLRPC-142
>                 URL: https://issues.apache.org/jira/browse/XMLRPC-142
>             Project: XML-RPC
>          Issue Type: Bug
>    Affects Versions: unspecified
>         Environment: Gentoo Linux (latest stable kernel)
>            Reporter: Till Klampaeckel
>
> <?xml version="1.0"?>
> <methodResponse>
> <fault>
> <value>
> <struct>
> <member>
> <name>faultString</name>
> <value>java.lang.ClassCastException: java.lang.Integer</value>
> </member>
> <member>
> <name>faultCode</name>
> <value><int>0</int></value>
> </member>
> </struct>
> </value>
> </fault>
> </methodResponse>
> The part "<value>message</value>" should be "<value><string>message</string></value>"

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (XMLRPC-142) Wrong format of XMLRPC fault

Posted by "Till Klampaeckel (JIRA)" <xm...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/XMLRPC-142?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12499653 ] 

Till Klampaeckel commented on XMLRPC-142:
-----------------------------------------

"<value>s can be scalars, type is indicated by nesting the value inside one of the tags listed in this table:"

Source:
http://www.xmlrpc.com/spec

> Wrong format of XMLRPC fault
> ----------------------------
>
>                 Key: XMLRPC-142
>                 URL: https://issues.apache.org/jira/browse/XMLRPC-142
>             Project: XML-RPC
>          Issue Type: Bug
>    Affects Versions: unspecified
>         Environment: Gentoo Linux (latest stable kernel)
>            Reporter: Till Klampaeckel
>
> <?xml version="1.0"?>
> <methodResponse>
> <fault>
> <value>
> <struct>
> <member>
> <name>faultString</name>
> <value>java.lang.ClassCastException: java.lang.Integer</value>
> </member>
> <member>
> <name>faultCode</name>
> <value><int>0</int></value>
> </member>
> </struct>
> </value>
> </fault>
> </methodResponse>
> The part "<value>message</value>" should be "<value><string>message</string></value>"

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (XMLRPC-142) Wrong format of XMLRPC fault

Posted by "Jochen Wiedmann (JIRA)" <xm...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/XMLRPC-142?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12499583 ] 

Jochen Wiedmann commented on XMLRPC-142:
----------------------------------------

I do not think so. IMO, this is a special case of string values, which *may* use trhe <string> tag, but do not need to do. If you think otherwise, please supply a quote that supports your opinion. Otherwise, I'll close the issue within two weeks.


> Wrong format of XMLRPC fault
> ----------------------------
>
>                 Key: XMLRPC-142
>                 URL: https://issues.apache.org/jira/browse/XMLRPC-142
>             Project: XML-RPC
>          Issue Type: Bug
>    Affects Versions: unspecified
>         Environment: Gentoo Linux (latest stable kernel)
>            Reporter: Till Klampaeckel
>
> <?xml version="1.0"?>
> <methodResponse>
> <fault>
> <value>
> <struct>
> <member>
> <name>faultString</name>
> <value>java.lang.ClassCastException: java.lang.Integer</value>
> </member>
> <member>
> <name>faultCode</name>
> <value><int>0</int></value>
> </member>
> </struct>
> </value>
> </fault>
> </methodResponse>
> The part "<value>message</value>" should be "<value><string>message</string></value>"

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (XMLRPC-142) Wrong format of XMLRPC fault

Posted by "Jochen Wiedmann (JIRA)" <xm...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/XMLRPC-142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jochen Wiedmann resolved XMLRPC-142.
------------------------------------

    Resolution: Won't Fix

> Wrong format of XMLRPC fault
> ----------------------------
>
>                 Key: XMLRPC-142
>                 URL: https://issues.apache.org/jira/browse/XMLRPC-142
>             Project: XML-RPC
>          Issue Type: Bug
>    Affects Versions: unspecified
>         Environment: Gentoo Linux (latest stable kernel)
>            Reporter: Till Klampaeckel
>
> <?xml version="1.0"?>
> <methodResponse>
> <fault>
> <value>
> <struct>
> <member>
> <name>faultString</name>
> <value>java.lang.ClassCastException: java.lang.Integer</value>
> </member>
> <member>
> <name>faultCode</name>
> <value><int>0</int></value>
> </member>
> </struct>
> </value>
> </fault>
> </methodResponse>
> The part "<value>message</value>" should be "<value><string>message</string></value>"

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.