cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From giacomo <giac...@apache.org>
Subject Re: Interpreted Sitemap?
Date Wed, 06 Feb 2002 23:41:41 GMT
On Wed, 6 Feb 2002, Peter Royal wrote:

> 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.

This explaines the dozends of dbxml exception and the OutOfMemoryError.
Thanks.

Giacomo


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


Mime
View raw message