Re: HTML 5 Error - The select element cannot have...

Sean Fraser, Mon, 5 Apr 2010 23:08:48 -0500:

> Error Message - "The select element cannot have more than one selected
> option descendant unless the multiple attribute is specified."
> This error occurs at *Line 462, Column 81 -*
> [See:
> ]
> The Validator has not made allowances for multiple "Optgroup" elements
> having multiple option elements being "selected". In my case, it is the
> second and third "Optgroups" which are causing invalidity.

It does indeed seem like you have tracked down a bug in the HTML5 
validation service. The validator recognizes the 'multiple' attribute. 
But when you actually do set more than one option as 'selected', then 
it reports that this is not permitted, unless you use the 'multiple' 

Let's hope that Henri is paying attention. Otherwise, you could perhaps 
report the bug at the HTML5 validator's own bugzilla:
leif halvard silli

Received on Tuesday, 6 April 2010 11:37:21 UTC