cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From giacomo <giac...@apache.org>
Subject Re: [C2]: VOTE - The cocoon protocol
Date Mon, 02 Jul 2001 20:11:19 GMT
On Mon, 2 Jul 2001, Carsten Ziegeler wrote:

> Hi,
>
> to finish the work on the cocoon: url protocol, we have to
> decide how it should work, e.g. how to address a resource
> of a parent sitemap etc.
>
> Sylvain suggested the following:
> >>>>
> Since "cocoon:" isn't a real URL protocol (host and port have no meaning
> here), it could depend on the number of "/" characters, i.e. :
> - "cocoon:hello.html" : relative to the current URI
> - "cocoon:/hello.html" : relative to the current sitemap
> - "cocoon://hello.html" : absolute from the root sitemap
> <<<<
>
> I think we should keep it as simple as possible. So I would vote
> that we only use this two:
> - "cocoon:/hello.html" : relative to the current sitemap
> - "cocoon://hello.html" : absolute from the root sitemap
>
> Using this notion it is not possible to directly refer to a
> parent sitemap. You can only address the root sitemap or
> the current sitemap.

+1

I'm with Carstens suggestion because the cocoon: protocol refers to the
sitemap not really to an URL since you are able to have any hierarchy in
a sitemap (and I think it is much faster to implement and performs
better :)

Giacomo

>
>
> Carsten
>
> Open Source Group                        sunShine - b:Integrated
> ================================================================
> Carsten Ziegeler, S&N AG, Klingenderstrasse 5, D-33100 Paderborn
> www.sundn.de                          mailto: cziegeler@sundn.de
> ================================================================
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
>
>
>
>


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


Mime
View raw message