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

Case-sensitive doctype-tag?

From: Unym Anym <anymunym@yahoo.com>
Date: Fri, 19 Sep 2003 07:24:04 -0700 (PDT)
Message-ID: <20030919142404.19606.qmail@web20204.mail.yahoo.com>
To: www-validator@w3.org

Hi all,

a syntactically correct document with

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

validates just like the same document with

<!doctype html public "-//W3C//DTD HTML 4.01
Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">

The Validator outputs "This Page Is Valid HTML 4.01
Transitional!" for both.

However, 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. (-:


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
Received on Friday, 19 September 2003 10:27:18 GMT

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