Re: [XBL2] state="" attribute

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 UTC