cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bruno Dumon <>
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

>  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 
> 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.


Bruno Dumon                   
Outerthought - Open Source, Java & XML Competence Support Center                

View raw message