Re: Bug report: HTML validator

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 UTC