W3C home > Mailing lists > Public > www-validator@w3.org > September 2001

Re: XHTML + <form ...> </form> BUG?

From: Nick Kew <nick@webthing.com>
Date: Sun, 23 Sep 2001 21:10:24 +0100 (BST)
To: Liam Quinn <liam@htmlhelp.com>
cc: www-validator@w3.org
Message-ID: <Pine.BSF.4.21.0109232107010.570-100000@fenris.webthing.com>
On Sun, 23 Sep 2001, Liam Quinn wrote:

> > It seems to me that this error message is not ideal: why not revert
> > to a message that lists the elements <input> can be contained in at
> > this point?
> 
> Do you remember the old 'document type does not allow element "P" here;
> missing one of "APPLET", "OBJECT", "MAP", "IFRAME", "BUTTON" start-tag'?

My best attempt (as implemented at Site Valet) is
 "element %1 must be enclosed in one of %2"

which in the above instance will expand %1 to input and %2 to
div,p,pre,...

-- 
Nick Kew

Site Valet - the essential service for anyone with a website.
<URL:http://valet.webthing.com/>
Received on Sunday, 23 September 2001 16:10:51 GMT

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