On Apr 10, 2005 10:17 PM, Sylvain Wallez <[EMAIL PROTECTED]> wrote:
So if we're to enforce something, it should be that a sitemap is a file, or a classpath resource (yes, I have this usecase).
Yep. Tricky, though: I sure can imagine sitemaps stored anywhere (why not a JSR170 repo? or a webdav server?
See [1]:
<map:mount uri-prefix="xmount" src="xmldb:xindice-embed:///db/cocoon/sitemap" check-reload="yes"/>
as long as it's static stuff...), and blocking this possibility just to avoid (ab)use of possibly dynamic protocols such as cocoon or http could be a bit too much. I'd rather go for a big fat warning then...
Vadim
[1] http://svn.apache.org/repos/asf/cocoon/branches/BRANCH_2_1_X/src/blocks/xmldb/samples/sitemap.xmap
