I have idea currently. Can you send me your Domain.xml file.
Stefan
Eirikur Hrafnsson wrote:
On 10.1.2005, at 18:34, Stefan L�tzkendorf wrote:
Do you have your <u:Author/> property declared to be a text-property in out domain.xml.
e.g. <property name="Author" namespace="your namespace here">
<text/>
</property>
see my favorite page http://wiki.apache.org/jakarta-slide/DaslConfiguration for details :-).
Stefan
I didn't but I have now but I still get the error
10 Jan 2005 18:53:38 - org.apache.slide.common.Domain - WARNING - operator <http://jakarta.apache.org/slide/:property-contains> is an unprocessable entity
http8090-Processor23, 10-Jan-2005 18:51:18, Administrator, SEARCH, 422 "Unprocessable Entity", 140677 ms, /
So it never even gets to my namespace...
-Eirikur, idega.
Eirikur Hrafnsson wrote:
On 10.1.2005, at 17:31, Stefan L�tzkendorf wrote:
The namespace S is not defined.
Add xmlns:S=xmlns:S="http://jakarta.apache.org/slide/" to your searchrequest element.
Ok, saw that right after I posted the mail and changed my xml to
"<D:searchrequest xmlns:D =\"DAV:\" xmlns:S=\"http://jakarta.apache.org/slide/\" xmlns:u=\"http://www.idega.com/\" >" +
"<D:basicsearch>" +
...
And now I get the error
10 Jan 2005 17:58:48 - org.apache.slide.common.Domain - WARNING - operator <http://jakarta.apache.org/slide/:property-contains> is an unprocessable entity
http8090-Processor22, 10-Jan-2005 17:58:11, Administrator, SEARCH, 422 "Unprocessable Entity", 44997 ms, /
what now...
-Eirikur, idega.
Stefan
Eirikur Hrafnsson wrote:
Any idea why this DASL property search fails? A content search works with the same "path" and "scope" :D
String path = "/content";
String query =
"<D:searchrequest xmlns:D =\"DAV:\">" +
"<D:basicsearch>" +
"<D:select>" +
"<D:prop>" +
"<D:getcontentlength/>" +
"</D:prop>" +
"</D:select>" +
"<D:from>" +
"<D:scope>" +
"<D:href>files</D:href>" +
"<D:depth>infinity</D:depth>" +
"</D:scope>" +
"</D:from>" +
"<D:where>" + "<S:property-contains>" +
"<D:prop><u:Author/></D:prop>" +
"<D:literal>Laufey</D:literal>" +
"</S:property-contains>" +
"</D:where>" +
"</D:basicsearch>" +
"</D:searchrequest>";
SearchMethod method = new SearchMethod(path, query);
The servlet gives the error:
http8090-Processor18, 10-Jan-2005 16:58:15, Administrator, SEARCH, 207 "Multi-Status", 2340 ms, /
http8090-Processor14, 10-Jan-2005 16:59:11, Administrator, SEARCH, 400 "Bad Request", 35 ms, /
Cheers
Eirikur, Idega.
-- Stefan L�tzkendorf -- [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Best Regards Eirikur S. Hrafnsson, [EMAIL PROTECTED] Chief Software Engineer Idega Software http://www.idega.com
-- Stefan L�tzkendorf -- [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Best Regards
Eirikur S. Hrafnsson, [EMAIL PROTECTED] Chief Software Engineer Idega Software http://www.idega.com
-- Stefan L�tzkendorf -- [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
