W3C home > Mailing lists > Public > www-validator@w3.org > March 2008

Re: [VE][73] Empty <select></select>

From: Nick Kew <nick@webthing.com>
Date: Fri, 7 Mar 2008 04:59:16 +0000
Message-Id: <8FC2BA7F-0108-4630-8FBD-29D670ABFB27@webthing.com>
To: www-validator@w3.org


On 7 Mar 2008, at 00:41, Ezekiel Victor wrote:

>
> Error [73]: "end tag for X which is not finished"
>
> I am getting the above error when attempting to use empty <select></ 
> select> boxes in XHTML Strict. I believe this sort of thing should  
> be considered valid XHTML Strict

What you believe is of no consequence to the validator, which tells  
you what
is valid, but doesn't decide anything.  An HTML working group would  
be the
place to propose changes to the standard.

To achieve what you want, you could use a custom DTD.  Or you could  
modify
your approach.  For example, since the <select> element is presumably  
going
to be populated by a script, use script to generate it in the first  
place (and of
course add a pre-populated version in the corresponding <noscript>).

-- 
Nick Kew
Received on Friday, 7 March 2008 04:59:39 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:28 GMT