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
document":

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

http://www.w3.org/TR/REC-html32#html

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)*">

[snip]

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

http://www.w3.org/TR/REC-html32#dtd

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 GMT

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