cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruno Dumon <br...@outerthought.org>
Subject Re: [CForms] - No @id generation for <wd:output>
Date Wed, 18 Feb 2004 16:31:35 GMT
On Wed, 2004-02-18 at 14:10, Daniel Fagerstrom wrote:
> Somewhat OT, I think that the current use of the id attribute in the 
> Woody widget definition (WD) file is unfortunate. Id attributes are 
> supposed to be unique in an XML document according to the standard,

I don't think so. An attribute called "id" has no special meaning in
XML.

>  and 
> as id in WD files rather describe a relative position in a widget 
> hierarchy, there are no reason for them to be unique. IMO it would be 
> better to use the attribute name "ref" for refering to relative 
> positions as in XForms. See also 
> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25300.
> 
> What about replaceing "id" with "ref" in the WD files when we rename 
> Woody to CForms?

I'm not really convinced. The "id" attribute defines the id for the
widget, and does not reference it, as "ref" seems to suggest.

<snip/>

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


Mime
View raw message