Re: [SR-Users] Problem with xpath updates of XCAP documents

2012-04-05 Thread Peter Dunkley
Hi, The full log helped me see what is going on. Rather embarassingly it is a Linux command line or curl error. This command: curl --digest -u 111:111 -T pidf_modify.xml -H "Content-Type: application/xcap-el+xml" -X PUT http://192.168.0.130:5060/xcap-root/pidf-manipulation/users/sip:1...@multif

Re: [SR-Users] Problem with xpath updates of XCAP documents

2012-04-04 Thread Daniel-Constantin Mierla
Hello, can you give the full log of such operation with debug=3? It may help seeing the values used internally for matching... Otherwise, if it is a valid xpath condition and no match, then could be something to libxml2 implementation. Cheers, Daniel On 4/4/12 7:01 PM, Peter Dunkley wrote:

Re: [SR-Users] Problem with xpath updates of XCAP documents

2012-04-04 Thread Peter Dunkley
Hi, I tried a simplified update URL with curl: curl --digest -u 111:111 -T pidf_modify.xml -H "Content-Type: application/xcap-el+xml" -X PUT http://192.168.0.130:5060/xcap-root/pidf-manipulation/users/sip:111@mydomain/index~~/presence/tuple/note This "correctly" updated the nodes in both nodes

[SR-Users] Problem with xpath updates of XCAP documents

2012-04-04 Thread Peter Dunkley
Hi, I have been experimenting with uploading, and modifying existing, XCAP documents. I have been trying out the example from RFC 4827 and I can't get it to work with Kamailio. To upload the document (this works) I use the command: curl --digest -u 111:111 -T pidf.xml -X PUT http://192.168.0.130