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

Bug: "doctype" in lowercase is not recognized

From: Bert Bos <bert@w3.org>
Date: Wed, 4 Sep 2002 19:26:43 +0200
Message-ID: <15734.16979.951262.39959@lanalana.inria.fr>
To: www-validator@w3.org

I tried two (valid) HTML 4.01 files, whose only difference is that
"DOCTYPE" is uppercase in one and lowercase in the other. The
validator only recognizes the uppercase version, the other is declared
valid, but of unknown type.

http://validator.w3.org/check/?uri=http%3A//tux.w3.org/%7Ebbos/test-uc.html
http://validator.w3.org/check/?uri=http%3A//tux.w3.org/%7Ebbos/test-lc.html

In fact, in the second case, the validator fails to find the charset,
probably because it failed to find the DOCTYPE in the first place.



Bert
-- 
  Bert Bos                                ( W 3 C ) http://www.w3.org/
  http://www.w3.org/people/bos/                              W3C/INRIA
  bert@w3.org                             2004 Rt des Lucioles / BP 93
  +33 (0)4 92 38 76 92            06902 Sophia Antipolis Cedex, France
Received on Wednesday, 4 September 2002 13:26:45 GMT

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