cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gianugo Rabellino <>
Subject Re: Promotion of [XPath]TraversableGenerators to main trunk
Date Fri, 01 Aug 2003 10:38:38 GMT
Stephan Michels wrote:

>>Mmmh... "collection" it a bit too vague IMO. Why not keeping the current
>>"directory" namespace ?
> At least, we should agree on one name
> SourceHierarchyGenerator ->
> SourceCollectionGenerator ->
> SourceDirectoryGenerator ->
> or DirectoryGenerator.

Makes sense. I'm a bit against using "directory" since it's definitely 
filesystem oriented. Both WebDAV and XML:DB have the more generic 
concept of "collection" and "resource", which I like. I now tend to 
think that, semantically, the best option is to use "hierarchy" and have 
the output as:

   <hierarchy:collection name="cocoon-2.1">
      <hierarchy:resource name="build.xml"/>
      <hierarchy:collection name="src">
         <hierarchy:resource name=""/>

How does it sound?
Gianugo Rabellino
Pro-netics s.r.l. -
Orixo, the XML business alliance -
     (Now blogging at:

View raw message