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

From: Sebastian Boschert (sebi@foo.dyndns.org)
Date: Sun, Sep 23 2001

  • Next message: Sean B. Palmer: "Re: XHTML + <form ...> </form> BUG?"

    Message-Id: <200109231538.f8NFc0f02025@foo.dyndns.org>
    Date: Sun, 23 Sep 2001 17:46:13 +0200
    From: Sebastian Boschert <sebi@foo.dyndns.org>
    To: www-validator@w3.org
    Subject: XHTML + <form ...> </form> BUG?
    
    Hello!
    
    For hours I have tried to get the following for validate, but for some
    reason, I always get an "element 'input' not allowed here; possible cause is
    an inline element containing a block-level element" error. Am I just too
    dumb or is it a bug in the validator?
    
    Oh, here's the piece of code that I can't get validated:
    
    --------------------
    
    <?xml version="1.0" encoding="iso-8859-1" ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
      <title>Some weird test that does not work</title>
    
      <link rel="stylesheet" type="text/css" href="./stylesheet.css" />
    </head>
    <body>
    
    <div class="notes">Some text here...</div>
    
    <form action="test" method="post">
    <input type="text" name="a" ></input>
    </form>
    
    </body>
    </html>
    
    --------------------
    
    Please send me a private Cc e-mail if you know what the problem is since I
    need to solve this problem as soon as possible.
    Thank you very much in advance!
    
    Sebastian