cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Crossley <cross...@indexgeo.com.au>
Subject Re: windows vs. file protocol paths
Date Sat, 11 Oct 2003 02:08:35 GMT
Joerg Heinicke wrote:
> <map:match pattern="jh/**">
>    <map:mount check-reload="yes" src="file:///D:/xml/sitemap.xmap" 
> uri-prefix="jh"/>
> </map:match>
> 
> finds the sitemap and searches for referenced stylesheets in this 
> sitemap relative to *D:/xml* and so *finds* the stylesheets.
> 
> <map:match pattern="jh/**">
>    <map:mount check-reload="yes" src="D:\xml\sitemap.xmap" uri-prefix="jh"/>
> </map:match>
> 
> finds the sitemap and searches for referenced stylesheets in this 
> sitemap relative to *webapp's context* and *does not find* them.
> 
> I don't know if this is a new "feature", but at least the behaviour 
> should be consistent: either Windows paths are allowed (and do work) or 
> not. I guess somebody knows where to fix it?
> 
> Joerg

Nothing new, it has always been like that - you must use file:// URLs
See explanation here:
http://cocoon.apache.org/2.1/userdocs/concepts/sitemap.html#File%3A+URLs

--David



Mime
View raw message