cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vadim Gritsenko" <vgritse...@hns.com>
Subject RE: [C2]: VOTE - The cocoon protocol
Date Mon, 02 Jul 2001 13:42:59 GMT
Carsten,

Would it more intuitive to use:
 - "sitemap://hello.html" : relative to the current sitemap
 - "cocoon://hello.html" : absolute from the root sitemap

It may be confusing if different amount of "/" is used...

Vadim

> -----Original Message-----
> From: Carsten Ziegeler [mailto:cziegeler@sundn.de]
> Sent: Monday, July 02, 2001 6:42
> To: Cocoon-Dev@Xml. Apache. Org
> Subject: [C2]: VOTE - The cocoon protocol
> 
> 
> 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.
> 
> 
> 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


Mime
View raw message