cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Royal <pro...@managingpartners.com>
Subject Re: Interpreted Sitemap?
Date Wed, 06 Feb 2002 21:48:39 GMT
On Wednesday 06 February 2002 04:35 pm, Sylvain Wallez wrote:
> >  <map:pipeline>
> >   <map:match pattern="our-app/**">
> >    <map:mount uri-prefix="our-app"
> >               src="our-app/sitemap.xmap"
> >               check-reload="yes"/>
> >   </map:match>
> >
> >   <map:match pattern="**">
> >    <map:mount uri-prefix=""
> >               src="original.sitemap.xmap"
> >               check-reload="yes"/>
> >   </map:match>
> >
> >   <map:handle-errors>
> >    <map:transform src="stylesheets/system/error2html.xsl"/>
> >    <map:serialize status-code="500"/>
> >   </map:handle-errors>
> >  </map:pipeline>
>
> Peter Royal found a bug that affects mounts that have a file and not a
> directory in their "src" attribute, just as in your sitemap. I'll fix it
> ASAP so you can try again. But I'm really surprised this causes such a
> violent death of the JVM !

The bug causes the mount to pick up the sitemap.xmap in the root as the 
sitemap for the mount, thus you will go into an infinite loop if you request 
something that does not match the first match.
-pete

-- 
peter royal -> proyal@managingpartners.com

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message