cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruno Dumon <br...@outerthought.org>
Subject Re: [Woody] ids or refs ?
Date Fri, 01 Aug 2003 13:53:27 GMT
On Fri, 2003-08-01 at 15:04, Sylvain Wallez wrote:
> While reviewing the file formats, I was wondering...
> 
> Currently, Woody uses the "id" attribute everywhere for identifiers be 
> there on a defining element (e.g. <wd:field>) or a referring element 
> (e.g. <wi:widget>).
> 
> Now that we will start to mix namespaces and have format & datatype 
> dictionaries referred to by other files, it seems to me cleaner and more 
> understandable to differentiate defining and referring attribute.
> 
> For this, I propose to keep the current "id" on defining elements and 
> use "ref" attribute on referring elements.
> 
> Thoughts ? Is it nitpicking ?

No, ref is better.

-- 
Bruno Dumon                             http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
bruno@outerthought.org                          bruno@apache.org


Mime
View raw message