W3C home > Mailing lists > Public > www-validator@w3.org > July 2008

Example minimal HTML 3.2 document from HTML 3.2 specification does not validate

From: Benjamin Hawkes-Lewis <bhawkeslewis@googlemail.com>
Date: Mon, 28 Jul 2008 19:33:06 +0100
Message-ID: <488E10E2.1040603@googlemail.com>
To: www-validator@w3.org

The HTML 3.2 specification includes an example of a "minimal HTML 3.2

 > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
 > <TITLE>A study of population dynamics</TITLE>


If I paste that markup into the validator, it recognizes the document as
HTML 3.2 but offers the following error:

'Line 2, Column 45: "HTML" not finished but document ended.'

Unlike in HTML 4.01, the content of BODY is optional in the DTD:

 > <!ENTITY % body.content "(%heading | %text | %block | ADDRESS)*">


 > <!ELEMENT BODY O O  %body.content>


Is this a bug in the HTML 3.2 Specification, a bug in the HTML 3.2 DTD,
a bug in the validator, or simply a misunderstanding on my part?

(Before anybody asks, I'm not using HTML 3.2! Just curious why this
doesn't validate.)

Benjamin Hawkes-Lewis
Received on Monday, 28 July 2008 18:34:01 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:56 UTC