<div dir="ltr">I found this <a href="http://tools.ietf.org/html/draft-daboo-caldav-extensions-01">http://tools.ietf.org/html/draft-daboo-caldav-extensions-01</a> and test=anyof works on the comp-filter eg.<div><br></div><div>
<div style="font-family:arial,sans-serif;font-size:13px">&lt;ns0:comp-filter name=&quot;VCALENDAR&quot;&gt;</div><div style="font-family:arial,sans-serif;font-size:13px"> &lt;ns0:comp-filter name=&quot;VEVENT&quot; test=&quot;anyof&quot;&gt;</div>
<div style="font-family:arial,sans-serif;font-size:13px">    &lt;ns0:time-range start=&quot;20140621T000000Z&quot; end=&quot;20140809T000000Z&quot; /&gt;</div><div style="font-family:arial,sans-serif;font-size:13px">    &lt;ns0:prop-filter name=&quot;LOCATION&quot;&gt;</div>
<div style="font-family:arial,sans-serif;font-size:13px">        &lt;ns0:text-match collation=&quot;i;octet&quot;&gt;1&lt;/ns0:text-match&gt;</div><div style="font-family:arial,sans-serif;font-size:13px">    &lt;/ns0:prop-filter&gt;</div>
<div style="font-family:arial,sans-serif;font-size:13px">    &lt;ns0:prop-filter name=&quot;LOCATION&quot;&gt;</div><div style="font-family:arial,sans-serif;font-size:13px">        &lt;ns0:text-match collation=&quot;i;octet&quot;&gt;2&lt;/ns0:text-match&gt;</div>
<div style="font-family:arial,sans-serif;font-size:13px">    &lt;/ns0:prop-filter&gt;</div><div style="font-family:arial,sans-serif;font-size:13px"> &lt;/ns0:comp-filter&gt;</div><div style="font-family:arial,sans-serif;font-size:13px">
&lt;/ns0:comp-filter&gt;</div></div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">But that implies that I get events for LOCATION 1 and 2 regardless of time-range.</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">I tried to put the test=&quot;anyof&quot; param on the prop-filters but that didn&#39;t work, even when I added multiple text-match elements to the same prop-filter like so</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">   &lt;ns0:comp-filter name=&quot;VEVENT&quot;&gt;<br></div><div style="font-family:arial,sans-serif;font-size:13px">
      &lt;ns0:time-range start=&quot;20140621T000000Z&quot; end=&quot;20140809T000000Z&quot; /&gt;</div><div style="font-family:arial,sans-serif;font-size:13px">      &lt;ns0:prop-filter name=&quot;CATEGORIES&quot; test=&quot;anyof&quot;&gt;</div>
<div style="font-family:arial,sans-serif;font-size:13px">            &lt;ns0:text-match collation=&quot;i;octet&quot;&gt;1&lt;/ns0:text-match&gt;</div><div style="font-family:arial,sans-serif;font-size:13px">            &lt;ns0:text-match collation=&quot;i;octet&quot;&gt;2&lt;/ns0:text-match&gt;</div>
<div style="font-family:arial,sans-serif;font-size:13px">      &lt;/ns0:prop-filter&gt;</div><div style="font-family:arial,sans-serif;font-size:13px">   &lt;/ns0:comp-filter&gt;</div><div style="font-family:arial,sans-serif;font-size:13px">
<br></div><div style="font-family:arial,sans-serif;font-size:13px">That causes an error on the server:</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">
Too many children of type {urn:ietf:params:xml:ns:caldav}text-match for {urn:ietf:params:xml:ns:caldav}prop-filter</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">
So I&#39;m still stumped...</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">Atli</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On 4 July 2014 12:34, Atli Thorbjornsson <span dir="ltr">&lt;<a href="mailto:atlithorn@gmail.com" target="_blank">atlithorn@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi guys, is there a way to &quot;OR&quot; prop-filters?<div><br></div><div>I&#39;m looking for all events that occur in either LOCATION 1 or 2.</div><div><br></div><div>This is what I have been trying:</div>

<div><br></div><div><div>&lt;ns0:comp-filter name=&quot;VCALENDAR&quot;&gt;</div><div> &lt;ns0:comp-filter name=&quot;VEVENT&quot;&gt;</div><div>    &lt;ns0:time-range start=&quot;20140621T000000Z&quot; end=&quot;20140809T000000Z&quot; /&gt;</div>

<div>    &lt;ns0:prop-filter name=&quot;LOCATION&quot;&gt;</div><div>        &lt;ns0:text-match collation=&quot;i;octet&quot;&gt;1&lt;/ns0:text-match&gt;</div><div>    &lt;/ns0:prop-filter&gt;</div><div>    &lt;ns0:prop-filter name=&quot;LOCATION&quot;&gt;</div>

<div>        &lt;ns0:text-match collation=&quot;i;octet&quot;&gt;2&lt;/ns0:text-match&gt;</div><div>    &lt;/ns0:prop-filter&gt;</div><div> &lt;/ns0:comp-filter&gt;</div><div>&lt;/ns0:comp-filter&gt;</div></div><div><br>
</div>
<div><br></div><div>But this ANDs the prop-filters. Is there no way to OR or is there another way to achieve what I&#39;m trying to do here?</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Atli.</div>
</font></span></div>
</blockquote></div><br></div>