Re: Case sensitivity of parameter member names

John Wilson <[email protected]> Sat, 20 Sep 2008 08:22:35 +0100
Newsgroups gmane.text.xml.rpc.specification
Message-ID <[email protected]>
On 20 Sep 2008, at 03:08, Jim Eaton wrote:

> I'm calling a XML-RPC remote procedure and I'm finding that the
> application is case sensitive with respect to member names in my
> methodCall.  I was wondering if the XML-RPC spec says anything
> specific about case sensitivity, or if it's simply up to the
> discretion of the application?
>
> For example in the following I find that using 'UserName' instead of
> 'username' fails with this app.
>
> <methodCall>
>   <methodName>getData</methodName>
>   <params>
>     <param>
>       <value><struct>
>         <member>
>           <name>username</name>
>           <value><string>foo</string></value>
>         </member>

Here is the spec http://www.xmlrpc.com/spec

There is nothing in the spec which talks about case sensitivity. It's  
an issue for the application. My experience is that member names are  
nearly always implemented as some sort of hash map. All the hash map  
implementations I have used are case sensitive.

John Wilson


------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/xml-rpc/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/xml-rpc/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[email protected] 
    mailto:[email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/