[whatwg] Allowed characters in attribute names (was: Re: Steps for finding one or two numbers in a string)

Simon Pieters zcorpan at gmail.com
Wed Jun 13 00:27:23 PDT 2007


On Wed, 13 Jun 2007 09:11:31 +0200, Thomas Broyer <t.broyer at gmail.com>  
wrote:

> Why?
> Inconsistent maybe, but not incorrect.

Conformance checkers have to follow the parsing section. <embed  
smörgåsbord="" src="foo"> is thus conforming. The #writing section is  
strictly speaking not necessary, it is merely a reverse engineered version  
of the parsing section taking the rest of the specification into account.  
In this case, it seems it didn't take the "any attribute" rule for <embed>  
into account.

> I'd rather change the #tokenisation section to generate more parse  
> errors.

Why? What if you want to pass a paramater to a plugin with non-ASCII  
characters using <embed>?

> Or maybe change the #creating section to drop such attributes, if we
> choose to follow the Safari/Opera/Firefox path.

Yeah, indeed.

-- 
Simon Pieters



More information about the whatwg mailing list