[OpenSER-Users] OpenXCAP: no percent-encoded URI allowed? can't fetch element that beneath multiple-folded elements?

KevinKinnan kinnan2224 at hotmail.com
Wed Jan 9 02:54:29 CET 2008


The OpenXCAP 0.9.7(version 0.9.7) allows the HTTP URI that is not percent-encoded while the 
percent-encoded URI is rejected by the server. There is no problem of installation. Two types of 
http URIs are shown below:

Accept: http://xcap-root/resource-lists/users/sip:alice@example.com/index/~~/resource-lists/list[@name="friends"]
Reject: http://xcap-root/resource-lists/users/sip:alice@example.com/index/~~/resource-lists/list%5b@name=%22friends%22%5d

Another problem is about fetching element that within multiple-folded elements, for example:

<list name="friend">
    <entry uri="sip:alice at example.com">
        <display-name>Alice</display-name>
    </entry>
    <entry uri="sip:bob at example.com">

        <display-name>Bob</display-name>

    </entry>
</list>
<list name="closefriends">

    <entry uri="sip:tom at example.com">

        <display-name>Tom</display-name>

    </entry>

    <entry uri="sip:mike at example.com">


        <display-name>Mike</display-name>


    </entry>

</list>

If fetching the element of "mike", the responsed to the following URI is "404 Not found".

http://xcap-root/resource-lists/users/sip:alice@example.com/index/~~/resource-lists/list%5b@name=%22closefriends%22%5d\entry%5b@uri=%22sip:mike@example.com%22%5d

However, an alternative way of uing element sequence number works.

http://xcap-root/resource-lists/users/sip:alice@example.com/index/~~/resource-lists/list[2]\entry[2]


Hope anyone can give me some clues, thanks a billion

Regards,
Kevin


_________________________________________________________________
MSN 中文网,最新时尚生活资讯,白领聚集门户。
http://cn.msn.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kamailio.org/pipermail/users/attachments/20080109/e45e2611/attachment.htm 


More information about the Users mailing list