<div dir="ltr">What xcap (or sip) client are you using? I couldn't find on a quick web search details about such xcap URI. The xpath specs don't allow such format, I mean no ? plus other text after it, but could  be some extension by xcap ietf/itu/gsma guys.<div>
<br></div><div style>What I can do is to trim the xpath path at '?', but the rest might have also some meaning and would be good to see what's that. Now it looks like xmlns specification for the body, which is not really important in this context. But there could be something else eventually.</div>
<div style><br></div><div style>Cheers,</div><div style>Daniel</div><div style><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Sep 5, 2013 at 8:45 AM, Ram Anji <span dir="ltr"><<a href="mailto:raman.chv@gmail.com" target="_blank">raman.chv@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra">Here is the capture from server,</div><div class="gmail_extra"><br></div><div class="gmail_extra">
<div class="gmail_extra">##</div><div class="gmail_extra">T 2013/09/05 12:06:22.298929 <a href="http://192.168.41.60:53983" target="_blank">192.168.41.60:53983</a> -> <a href="http://192.168.41.10:5060" target="_blank">192.168.41.10:5060</a> [AP]</div>

<div class="gmail_extra">GET /xcap-root/pidf-manipulation/users/<a href="http://sip:test@kamailio.com/perm-presence" target="_blank">sip:test@kamailio.com/perm-presence</a> HTTP/1.1^@</div><div class="gmail_extra">Host: <a href="http://kamailio.com" target="_blank">kamailio.com</a>^@</div>

<div class="gmail_extra">Keep-Alive: 115^@</div><div class="gmail_extra">Connection: keep-alive^@</div><div class="gmail_extra">TE: trailers^@</div><div class="gmail_extra">^@</div><div class="gmail_extra">#</div><div class="gmail_extra">

T 2013/09/05 12:06:22.357104 <a href="http://192.168.41.10:5060" target="_blank">192.168.41.10:5060</a> -> <a href="http://192.168.41.60:53983" target="_blank">192.168.41.60:53983</a> [AP]</div><div class="gmail_extra">
HTTP/1.1 200 OK^@</div><div class="gmail_extra">
Via: SIP/2.0/TCP <a href="http://192.168.41.60:53983" target="_blank">192.168.41.60:53983</a>^@</div><div class="gmail_extra">ETag: "sr-1377875323-9520-14"^@</div><div class="gmail_extra">Content-Type: application/pidf+xml^@</div>

<div class="gmail_extra">Server: kamailio (4.0.2 (i386/linux))^@</div><div class="gmail_extra">Content-Length: 683^@</div><div class="gmail_extra">^@</div><div class="im"><div class="gmail_extra"><?xml version = "1.0" encoding = "UTF-8"?><presence xmlns="urn:ietf:params:xml:ns:pidf" xmlns:pdm="urn:ietf:params:xml:ns:pidf:data-model" xmlns:rpid="urn:ietf:params:xml:ns:pidf:rpid" xmlns:op="urn:oma:xml:prs:pidf:oma-pres" xmlns:opd="urn:oma:xml:pde:pidf:ext" xmlns:opd11="urn:oma:xml:pde:pidf:ext:1.1" xmlns:gp="urn:ietf:params:xml:ns:pidf:geopriv10" xmlns:cl="urn:ietf:params:xml:ns:pidf:geopriv10:civicAddr" xmlns:caps="urn:ietf:params:xml:ns:pidf:caps" xmlns:gml="<a href="http://www.opengis.net/gml" target="_blank">http://www.opengis.net/gml</a>" xmlns:gs="<a href="http://www.opengis.net/pidflo/1.0" target="_blank">http://www.opengis.net/pidflo/1.0</a>" xmlns:lt="urn:ietf:params:xml:ns:location-type" entity = "<a href="mailto:sip%3Atest@kamailio.com" target="_blank">sip:test@kamailio.com</a>"><pdm:person id = "aa"></pdm:person></presence></div>

</div><div class="gmail_extra">##</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">^@^@^@^@^@^@</div><div class="gmail_extra">#</div><div class="gmail_extra">T 2013/09/05 12:06:22.389308 <a href="http://192.168.41.60:53985" target="_blank">192.168.41.60:53985</a> -> <a href="http://192.168.41.10:5060" target="_blank">192.168.41.10:5060</a> [AP]</div>

<div class="gmail_extra">PUT /xcap-root/pidf-manipulation/users/<a href="http://sip:test@kamailio.com/perm-presence/~~/presence/pdm:person?xmlns(pdm=urn:ietf:params:xml:ns:pidf:data-model)" target="_blank">sip:test@kamailio.com/perm-presence/~~/presence/pdm:person?xmlns(pdm=urn:ietf:params:xml:ns:pidf:data-model)</a> HTTP/1.1^@</div>

<div class="gmail_extra">Host: <a href="http://kamailio.com" target="_blank">kamailio.com</a>^@</div><div class="gmail_extra">Keep-Alive: 115^@</div><div class="gmail_extra">Connection: TE, Keep-Alive^@</div><div class="gmail_extra">
TE: trailers^@</div>
<div class="gmail_extra">Content-Length: 117^@</div><div class="gmail_extra">Content-Type: application/xcap-el+xml^@</div><div class="gmail_extra">^@</div><div class="gmail_extra"><br></div><div class="gmail_extra">##</div>

<div class="gmail_extra">T 2013/09/05 12:06:22.389576 <a href="http://192.168.41.60:53985" target="_blank">192.168.41.60:53985</a> -> <a href="http://192.168.41.10:5060" target="_blank">192.168.41.10:5060</a> [AP]</div>
<div class="im"><div class="gmail_extra"><pdm:person id = "aa"><op:overriding-willingness><op:basic>closed</op:basic></op:overriding-willingness></pdm:person></div>
</div><div class="gmail_extra">##</div><div class="gmail_extra">T 2013/09/05 12:06:22.403805 <a href="http://192.168.41.10:5060" target="_blank">192.168.41.10:5060</a> -> <a href="http://192.168.41.60:53985" target="_blank">192.168.41.60:53985</a> [AP]</div>

<div class="gmail_extra">HTTP/1.1 500 Server error^@</div><div class="gmail_extra">Via: SIP/2.0/TCP <a href="http://192.168.41.60:53985" target="_blank">192.168.41.60:53985</a>^@</div><div class="gmail_extra">Server: kamailio (4.0.2 (i386/linux))^@</div>

<div class="gmail_extra">Content-Length: 0^@</div><div class="gmail_extra">^@</div><div><br></div></div></div>
<br>_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><div>Daniel-Constantin Mierla - <a href="http://www.asipto.com">http://www.asipto.com</a></div><div><a href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a></div>
<div>Kamailio Advanced Trainings - Berlin, Oct 21-24; Miami, Nov 11-13, 2013</div><div>   - more details about Kamailio trainings at <a href="http://www.asipto.com">http://www.asipto.com</a> -</div></div>
</div>