<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    On 4/25/12 2:04 PM, Fabian Bernhard wrote:
    <blockquote
cite="mid:CAEgBpcBXHLtxNF3AwHn_poEyv804F_LS5rqtqAZT2nT9Z322uA@mail.gmail.com"
      type="cite">
      <div>Dear list,</div>
      <div><br>
      </div>
      <div>we are running Kamailio 3.2 together with the included
        OpenXcap server.</div>
    </blockquote>
    by the "included openxcap" server do you mean the xcap_server
    module?<br>
    <br>
    &nbsp; *
    <a class="moz-txt-link-freetext" href="http://kamailio.org/docs/modules/stable/modules_k/xcap_server.html">http://kamailio.org/docs/modules/stable/modules_k/xcap_server.html</a><br>
    <blockquote
cite="mid:CAEgBpcBXHLtxNF3AwHn_poEyv804F_LS5rqtqAZT2nT9Z322uA@mail.gmail.com"
      type="cite">
      <div><br>
      </div>
      <div>I try to retrieve only part of a certain resource list using
        XPath, but the server always returns the full list, see example
        below. I was so far not able to retrieve only part of a resource
        list, independent of the XPath expression I'm using.</div>
      <div><br>
      </div>
      <div>Do I make something wrong or is this a bug?</div>
    </blockquote>
    <br>
    Can you try with the master branch (which is upcoming 3.3.0,
    development being frozen already and we are in testing phase for
    it)? Just to be sure it is not a feature we added afterwards - I
    cannot look right now in the sources.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <blockquote
cite="mid:CAEgBpcBXHLtxNF3AwHn_poEyv804F_LS5rqtqAZT2nT9Z322uA@mail.gmail.com"
      type="cite">
      <div><br>
      </div>
      <div>Thanks and regards,</div>
      <div><br>
      </div>
      <div>Fabian</div>
      <div><br>
      </div>
      <div><br>
      </div>
      <div>
        <div>fubeh@orion:~$ curl --digest -u test4:XXXX <a
            moz-do-not-send="true"
href="http://192.168.1.134:5060/xcap-root/resource-lists/users/sip:test4@192.168.1.134/index/%7E%7E/resource-lists/list%5b@name=Family%5d">http://192.168.1.134:5060/xcap-root/resource-lists/users/sip:test4@192.168.1.134/index/~~/resource-lists/list%5b@name=Family%5d</a></div>
        <div>&lt;?xml version="1.0"?&gt;</div>
        <div>&lt;resource-lists
          xmlns="urn:ietf:params:xml:ns:resource-lists"&gt;</div>
        <div><span class="Apple-tab-span" style="white-space:pre"> </span>&lt;list
          name="Business"&gt;</div>
        <div><span class="Apple-tab-span" style="white-space:pre"> </span>&lt;entry
          uri="<a moz-do-not-send="true"
            href="mailto:sip%3Atest1@192.168.1.134">sip:test1@192.168.1.134</a>"&gt;</div>
        <div><span class="Apple-tab-span" style="white-space:pre"> </span>&lt;display-name&gt;Test
          1&lt;/display-name&gt;</div>
        <div><span class="Apple-tab-span" style="white-space:pre"> </span>&lt;/entry&gt;</div>
        <div><span class="Apple-tab-span" style="white-space:pre"> </span>&lt;entry
          uri="<a moz-do-not-send="true"
            href="mailto:sip%3Atest122@192.168.1.134">sip:test122@192.168.1.134</a>"&gt;</div>
        <div><span class="Apple-tab-span" style="white-space:pre"> </span>&lt;display-name&gt;Test
          1&lt;/display-name&gt;</div>
        <div><span class="Apple-tab-span" style="white-space:pre"> </span>&lt;/entry&gt;</div>
        <div><span class="Apple-tab-span" style="white-space:pre"> </span>&lt;/list&gt;</div>
        <div><span class="Apple-tab-span" style="white-space:pre"> </span>&lt;list
          name="Family"&gt;</div>
        <div><span class="Apple-tab-span" style="white-space:pre"> </span>&lt;entry
          uri="<a moz-do-not-send="true"
            href="mailto:sip%3Atest2@192.168.1.134">sip:test2@192.168.1.134</a>"&gt;</div>
        <div><span class="Apple-tab-span" style="white-space:pre"> </span>&lt;display-name&gt;Test
          2&lt;/display-name&gt;</div>
        <div><span class="Apple-tab-span" style="white-space:pre"> </span>&lt;/entry&gt;</div>
        <div><span class="Apple-tab-span" style="white-space:pre"> </span>&lt;entry
          uri="<a moz-do-not-send="true"
            href="mailto:sip%3Atest222@192.168.1.134">sip:test222@192.168.1.134</a>"&gt;</div>
        <div><span class="Apple-tab-span" style="white-space:pre"> </span>&lt;display-name&gt;Test
          2&lt;/display-name&gt;</div>
        <div><span class="Apple-tab-span" style="white-space:pre"> </span>&lt;/entry&gt;</div>
        <div><span class="Apple-tab-span" style="white-space:pre"> </span>&lt;/list&gt;</div>
        <div><span class="Apple-tab-span" style="white-space:pre"> </span>&lt;list
          name="Friends"&gt;</div>
        <div><span class="Apple-tab-span" style="white-space:pre"> </span>&lt;entry
          uri="<a moz-do-not-send="true"
            href="mailto:sip%3Atest3@192.168.1.134">sip:test3@192.168.1.134</a>"&gt;</div>
        <div><span class="Apple-tab-span" style="white-space:pre"> </span>&lt;display-name&gt;Test
          3&lt;/display-name&gt;</div>
        <div><span class="Apple-tab-span" style="white-space:pre"> </span>&lt;/entry&gt;</div>
        <div><span class="Apple-tab-span" style="white-space:pre"> </span>&lt;entry
          uri="<a moz-do-not-send="true"
            href="mailto:sip%3Atest322@192.168.1.134">sip:test322@192.168.1.134</a>"&gt;</div>
        <div><span class="Apple-tab-span" style="white-space:pre"> </span>&lt;display-name&gt;Test
          3&lt;/display-name&gt;</div>
        <div><span class="Apple-tab-span" style="white-space:pre"> </span>&lt;/entry&gt;</div>
        <div><span class="Apple-tab-span" style="white-space:pre"> </span>&lt;/list&gt;</div>
        <div><span class="Apple-tab-span" style="white-space:pre"> </span>&lt;list
          name="Blocked" /&gt;</div>
        <div>&lt;/resource-lists&gt;</div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a></pre>
  </body>
</html>