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

Re: [VE] [html5] spurious "must have child option" when all options in optgroups

From: David Dorward <david@dorward.me.uk>
Date: Wed, 16 Apr 2014 15:15:58 +0100
To: "Philip Taylor" <P.Taylor@Rhul.Ac.Uk>
Cc: "Ken Geis" <kgeis@berkeley.edu>, www-validator@w3.org
Message-ID: <1FF93EA8-FDA8-4E7E-9464-44260EE1C37D@dorward.me.uk>
On 16 Apr 2014, at 15:12, Philip Taylor wrote:

> Mr Geis, on the other hand, specifically cited the HTML 4.01
> specification, so a valid comparison would require an HTML 4.01
> compliant example with appropriate DOCTYPE.

The error message he quoted was

> Error [html5]: " A select element with a required attribute and 
> without a multiple attribute, and whose size is 1, must have a child 
> option element."

That indicates the validator was in HTML 5 mode, so whatever document 
triggered the error must have triggered HTML 5 mode.

David Dorward
Received on Wednesday, 16 April 2014 14:16:27 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:18:10 UTC