My slide installation is mapped to the root of the server.

However I found a solution. If I set the uri in the request header to "/" and the scope to "files/docs" then it works. If the uri in the scope starts with a "/" then the request fails.

Is that a bug? - the DASL document does not really specify this.

/jacob

----- Original Message ----- From: "Guido Casper" <[EMAIL PROTECTED]>
To: "Slide Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, September 24, 2004 6:44 PM
Subject: Re: DASL and scope



I believe, your scope should be "/slide/files/docs".

Guido

Jacob Lund wrote:
Hi

I have some problems getting the scope part of my query to work. If I want a search to only search through the /files/docs collection then I set scope to /files/docs/ and the uri in the header to /files/docs (see request below).

Server returns:
23 Sep 2004 12:46:10 - org.apache.slide.common.Domain - WARNING - scope /docs/ is invalid
http-81-Processor23, 23-sep-2004 12:46:10, root, SEARCH, 400 "Bad Request", 16 ms, /files/docs


Client request:
SEARCH /files/docs HTTP/1.1
Host: localhost:82

<D:searchrequest xmlns:D="DAV:">
<D:basicsearch>
<D:select>
<D:allprop/>
</D:select>
<D:from>
<D:scope>
<D:href>/files/docs/</D:href>
<D:depth>infinity</D:depth>
</D:scope>
</D:from>
<D:where>
<SLIDE:propcontains xmlns:SLIDE="http://jakarta.apache.org/slide/";>
<D:prop><D:displayname/></D:prop>
<D:literal>New</D:literal>
</SLIDE:propcontains>
</D:where>
</D:basicsearch>
</D:searchrequest>


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



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



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



Reply via email to