W3C home > Mailing lists > Public > www-validator@w3.org > April 2010

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

From: Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no>
Date: Tue, 6 Apr 2010 13:36:46 +0200
To: Sean Fraser <wileyluxe@gmail.com>
Cc: www-validator@w3.org
Message-ID: <20100406133646444347.21996ffb@xn--mlform-iua.no>
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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:59:17 UTC