<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 9pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'><div style="text-align: left;">The OpenXCAP 0.9.7(version 0.9.7) allows the HTTP URI that is not percent-encoded while the <br>percent-encoded URI is rejected by the server. There is no problem of installation. Two types of <br>http URIs are shown below:<br><br>Accept: http://xcap-root/resource-lists/users/sip:alice@example.com/index/~~/resource-lists/list[@name="friends"]<br>Reject: http://xcap-root/resource-lists/users/sip:alice@example.com/index/~~/resource-lists/list%5b@name=%22friends%22%5d<br><br>Another problem is about fetching element that within multiple-folded elements, for example:<br><br>&lt;list name="friend"&gt;<br>&nbsp;&nbsp;&nbsp; &lt;entry uri="sip:alice@example.com"&gt;<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;  &lt;display-name&gt;Alice&lt;/display-name&gt;<br>&nbsp;&nbsp;&nbsp; &lt;/entry&gt;<br>&nbsp;&nbsp;&nbsp; &lt;entry uri="sip:bob@example.com"&gt;<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;  &lt;display-name&gt;Bob&lt;/display-name&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;/entry&gt;<br>&lt;/list&gt;<br>&lt;list name="closefriends"&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;entry uri="sip:tom@example.com"&gt;<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;  &lt;display-name&gt;Tom&lt;/display-name&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;/entry&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;entry uri="sip:mike@example.com"&gt;<br>

&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;  &lt;display-name&gt;Mike&lt;/display-name&gt;<br>

&nbsp;&nbsp;&nbsp; &lt;/entry&gt;<br>
&lt;/list&gt;<br><br>If fetching the element of "mike", the responsed to the following URI is "404 Not found".<br><br>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<br><br>However, an alternative way of uing element sequence number works.<br><br>http://xcap-root/resource-lists/users/sip:alice@example.com/index/~~/resource-lists/list[2]\entry[2]<br><br><br>Hope anyone can give me some clues, thanks a billion<br><br>Regards,<br>Kevin<br><br></div><br /><hr />轻松把Hotmail下载到本地,试试 Windows Live Mail。 <a href='http://get.live.com/wl/all' target='_new'>立即尝试!</a></body>
</html>