W3C home > Mailing lists > Public > public-appformats@w3.org > August 2006

Re: [XBL2] state="" attribute

From: Ian Hickson <ian@hixie.ch>
Date: Thu, 17 Aug 2006 23:52:52 +0000 (UTC)
To: Anne van Kesteren <annevk@opera.com>
Cc: public-appformats@w3.org
Message-ID: <Pine.LNX.4.62.0608172351280.25313@dhalsim.dreamhost.com>

On Thu, 17 Aug 2006, Anne van Kesteren wrote:
> On Mon, 14 Aug 2006 22:52:16 -0700, Ian Hickson <ian@hixie.ch> wrote:
> > > How is it different from allowing that? Besides of course that one will
> > > "validate" and the other won't. (I agree that people using custom
> > > attributes is painful when extending a specification. We noticed that
> > > when implementing Web Forms 2.)
> > 
> > The difference is the extensibility thing, yeah.
> 
> Perhaps it could be made very clear that using custom attributes is 
> considered harmful. Or we could say that if people do that they either 
> namespace them properly or, dare I say, prefix them with "author-" or 
> something.

I don't think such a warning would do any good. People who read 
specifications already understand that going outside the specification is 
bad, people who ignore the specs and add attributes will either not read 
the spec in the first place, or will do so fully in the knowledge that 
adding a custom attribute is bad. (I fall into the latter camp.)

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Thursday, 17 August 2006 23:53:04 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:10:20 GMT