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

From: Liam Quinn (liam@htmlhelp.com)
Date: Sun, Sep 23 2001

  • Next message: Gannon Dick: "Re: Code to show the "validated" image doesn't validate ;))"

    Date: Sun, 23 Sep 2001 13:26:39 -0400 (EDT)
    From: Liam Quinn <liam@htmlhelp.com>
    To: Nick Kew <nick@webthing.com>
    cc: <www-validator@w3.org>
    Message-ID: <Pine.LNX.4.33L2.0109231323000.895-100000@localhost.localdomain>
    Subject: Re: XHTML + <form ...> </form> BUG?
    
    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