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

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

From: Liam Quinn <liam@htmlhelp.com>
Date: Sun, 23 Sep 2001 13:26:39 -0400 (EDT)
To: Nick Kew <nick@webthing.com>
cc: <www-validator@w3.org>
Message-ID: <Pine.LNX.4.33L2.0109231323000.895-100000@localhost.localdomain>
On Sun, 23 Sep 2001, Nick Kew wrote:

> On Sun, 23 Sep 2001, Sebastian Boschert wrote:
>
> > <form action="test" method="post">
> > <input type="text" name="a" ></input>
> > </form>
>
> As Sean already said, <input> needs to be enclosed in a suitable
> (block-level) container, and <form> (arguably perversely) isn't one.
>
> 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'?

-- 
Liam Quinn
Received on Sunday, 23 September 2001 13:26:42 GMT

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