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@example.com">
       <display-name>Alice</display-name>
    </entry>
    <entry uri="sip:bob@example.com">
       <display-name>Bob</display-name>
    </entry>
</list>
<list name="closefriends">
    <entry uri="sip:tom@example.com">
       <display-name>Tom</display-name>
    </entry>
    <entry uri="sip:mike@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



轻松把Hotmail下载到本地,试试 Windows Live Mail。 立即尝试!