El Jueves, 16 de Julio de 2009, Iñaki Baz Castillo escribió:
> I'm trying to fetch an element of the XML document [*]. For example I
> send the following GET request:
>
> GET /xcap-root/pres-rules/users/u...@domain/index/~~/cp:ruleset/cp:rule
>
> Theorically it should retrieve the first rule of the document.
> However OpenXCAP replies "500 Internal Server Error" and logs nothing
> (neither in access.log or error.log)
> Note that I've "log_stacktrace=any".
>
> Does OpenXCAP support it?

opss, it does support it :)

But I was doing a wrong query. The correct one is:

GET /xcap-root/pres-
rules/users/u...@domain/index/~~/cp:ruleset/cp:rule?xmlns(cp=urn:ietf:params:xml:ns:common-
policy)

-- 
Iñaki Baz Castillo <[email protected]>

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to