Re: Case-sensitive doctype-tag?

On Fri, 19 Sep 2003, Unym Anym wrote:

> <!doctype html public "-//W3C//DTD HTML 4.01//EN"
> "http://www.w3.org/TR/html4/strict.dtd">
>
> instead of the above doctype gets only "This Page Is
> Valid!"

And writing DOCTYPE and PUBLIC in upper case gives

This Page Is Valid -//W3C//DTD HTML 4.01 Strict//EN!

The validator is very confused. It tries to extract some identification of
the "HTML version", which is a worse than pointless attempt anyway,
and its heuristics (i.e., guesswork) around this seems to give very
strange results.

What a validator should do is to report whether the document is valid,
i.e. complies with a DTD, and if not, report the violations of the DTD.
Validity is defined in terms of a DTD, not any "version" or identifier.

-- 
Jukka "Yucca" Korpela, http://www.cs.tut.fi/~jkorpela/

Received on Friday, 19 September 2003 16:24:46 UTC