cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Giacomo Pati <>
Subject Re: Behaviour of mount element in sitemap
Date Wed, 12 Jul 2000 07:08:34 GMT

--- Stefano Mazzocchi <> wrote:
> Ross Burton wrote:
> > 
> > >Now my question: is this 2. snipped correct?
> > 
> > >If it is correct, then we need a way to manipulate the uri of the request
> > when delegating to
> > >sub-sitemaps to strip away the prefix of the parent sitemap. Or we have to
> > pass the requested uri
> > >separately to sitemap components (and thus changing several Interfaces).
> > 
> > IMHO, this is right.  Sub-sitemaps only need to know about their portion of
> > the URI space and need no other knowledge (such as where they are mounted).
> Totally agreed. Just follow the Servlet 2.2 context mapping model.

Do you mean, that a SitemapProcessor should expose some kind of Resolver interface to make
sub-sitemap have resolved any filesystem resource needed to the base of the mounted sitemap
kind of chroot behaviour)? 

And what about links? Should a SitemapProcessor plug itself into the pipeline as a transformer
intercept links to change them according to the "context" it runs in? Puh, this sound like
something I've removed some days ago which was called LinkTranslator, do you remember?


PWR GmbH, Organisation & Entwicklung      Tel:   +41 (0)1 856 2202
Giacomo Pati, CTO/CEO                     Fax:   +41 (0)1 856 2201
Hintereichenstrasse 7           
CH-8166 Niederweningen                    Web:

Do You Yahoo!?
Get Yahoo! Mail  Free email you can access from anywhere!

View raw message