W3C home > Mailing lists > Public > www-validator@w3.org > September 2003

Re: Case-sensitive doctype-tag?

From: Philip TAYLOR [PC87S-O/XP] <P.Taylor@Rhul.Ac.Uk>
Date: Fri, 19 Sep 2003 15:30:58 +0100
Message-ID: <3F6B1322.54B71AF3@Rhul.Ac.Uk>
To: Unym Anym <anymunym@yahoo.com>
Cc: www-validator@w3.org

I /think/ that what you've forgotten is that it
can't be parsed as HTML (and hence have the 
case-insensitivity rule applied) until /after/
the DOCTYPE has been read and processed ...

Philip Taylor
--------
Unym Anym wrote:


[snip]

> [A] syntactically correct document with
> 
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
> "http://www.w3.org/TR/html4/strict.dtd">
> 
> gets "This Page Is Valid HTML 4.01 Strict!" while the
> very same document with
> 
> <!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!"
> 
> Is this intentional? I think it shouldn't matter as
> HTML (as opposed to XHTML) is case-insensitive. Or did
> I miss something?
> 
> Regards,
> A. U. (-:
Received on Friday, 19 September 2003 10:33:54 GMT

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