Hi all.

I have read the specs on dasl search 
(http://greenbytes.de/tech/webdav/draft-reschke-webdav-search-latest.html) 
and got ( on slide ) some funny behaviours . Here's my test case  : 

create, under /slide/files, a collection tree of depth 4 (+1) : eg 0/1/2/3/4 
and then submit the following dasl search string :
<d:searchrequest xmlns:d="DAV:">
  <d:basicsearch>
    <d:select>
      <d:allprop/>
    </d:select>
    <d:from>
      <d:scope>
        <d:href>0</d:href>
        <d:depth>$DEPTH</d:depth>
      </d:scope>
    </d:from>
  </d:basicsearch>
</d:searchrequest>

where you have to substitute $DEPTH with 0,1,2,3,infinity . 
What I get is

$DEPTH = 0              |  hits = 0                     CORRECT
$DEPTH = 1              |  hits = 0,1                   CORRECT
$DEPTH = 2              |  hits = 0,1,2,3               INCORRECT (should be 
0,1,2 )
$DEPTH = 3              |  hits = 0,1,2,3               CORRECT
$DEPTH = infinity       |  hits = 0,1,2,3               INCORRECT (should be 
0,1,2,3,4 )

I have tested on hypersonic and mySQL stores, getting the same results, so it 
doesn't seem to be a store problem . I tried to look @ the bug database on 
apache but didn't find anything like this .

Is there something that I am missing here or should I submit a bug report ??

TIA 

Marco 



-- 
Thus spake the master programmer:
        "Without the wind, the grass does not move.  Without software,
        hardware is useless."
                -- Geoffrey James, "The Tao of Programming"

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to