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: [EMAIL PROTECTED]
> ================================================================
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]