You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by Karl Øie <ka...@gan.no> on 2005/11/24 12:13:21 UTC

Scope DASL search

Hei there!

I have HEAD version of Slide running with the supplied web.xml and  
Domain.xml config files. Only thing i have changed is scope in  
web.xml to "/files".

Everything is working fine, i access the webdav server on http:// 
metis/files (apache redirect to tomcat via mod.jk). But when i search  
for files with DASL i have to doubbely add the scope to get the href  
right, like this:

	"<D:searchrequest xmlns:D =\"DAV:\">" +
		"<D:basicsearch>" +
			"<D:select>" +
				"<D:prop>" +
					"<D:displayname/>" +
					"<D:getcontenttype/>" +
				"</D:prop>" +
			"</D:select>" +
			"<D:from>" +
				"<D:scope>" +
					"<D:href>/files/files/gan/Prospekter/</D:href>" +
					"<D:depth>Infinity</D:depth>" +
				"</D:scope>" +
			"</D:from>" +
			"<D:where>" +
				"<D:contains>salg</D:contains>" +
			"</D:where>" +
		"</D:basicsearch>" +
	"</D:searchrequest>";
	
In the wedav server i got

/
/gan/
/gan/prospekter/

as sublevels and documents in them, why do i have to repeate the  
scope twice? is this a config error on my hand?

Karl

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org