W3C home > Mailing lists > Public > www-validator@w3.org > May 2004

Re: Bug report: HTML validator

From: David Dorward <david@dorward.me.uk>
Date: Sat, 15 May 2004 16:33:26 +0100
To: Bill Meier <bill@insulators.com>
Cc: www-validator@w3.org
Message-Id: <1084635206.2145.9.camel@localhost>

On Sat, 2004-05-15 at 15:58, Bill Meier wrote:
> When validating both with 4.01 transitional and 4.01 strict, a missing
>          </body>
>          </html>
> 
> at the end of the file does NOT produce any errors... Seems like that is a 
> pretty basic error?

>From the spec:

7.5.1 The BODY element
Start tag: optional, End tag: optional
http://www.w3.org/TR/html4/struct/global.html#h-7.5.1

So no, this isn't a bug in the validator, it just knows HTML better then
you do.

> But for some reason, 4.01 Frameset DOES produce the expected error!! 
> (although that is clearly not the validator you want to use) i.e.

Validator? Does you mean DTD?

> Line 97, column 9: "HTML" not finished but document ended
> 
> </table> ...

Its difficult to see where you went wrong as you failed to provide a
complete document as an example. 

My guess would be that you forgot the </noframes> tag, which isn't
optional.

-- 
David Dorward       <http://blog.dorward.me.uk/>   <http://dorward.me.uk/>
Received on Saturday, 15 May 2004 11:30:09 GMT

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