Using property expansion and sets in criteria

Hi,

Consider a question to a server like: "Which VCRs have the
activity x in the activity-set of their checked-in version?"
Two things would be necessary for this. First, where the
"prop" element is expected, a nested prop element should be
allowed as well; something reminiscent of the expand property
report. Second, there should an "in" operator for all those
properties which are in fact sets.

Here is a possible example of the above question:

<d:searchrequest xmlns:d="DAV:">
  <d:basicsearch>
    <d:select>
      <d:prop><d:displayname/></d:prop>
    </d:select>
    <d:from>
      <d:scope>
        <d:href>http://hostname/container1/</d:href>
        <d:depth>infinity</d:depth>
      </d:scope>
    </d:from>
    <d:where>
      <d:in> 
        <d:property name="checked-in">
          <d:property name="activity-set"/>
        </d:property>
        <d:literal>http://hostname/act/my_activity</d:literal>
      </d:in>
    </d:where>
  </d:basicsearch>
</d:searchrequest>

Regards,

Werner.
-- 
Werner Donné  --  Re
Engelbeekstraat 8
B-3300 Tienen
tel: (+32) 486 425803	e-mail: werner.donne@re.be

Received on Saturday, 18 November 2006 22:37:00 UTC