W3C home > Mailing lists > Public > www-validator@w3.org > July 2001

Re: CSS/XHTML Validators weirdness

From: Terje Bless <link@tss.no>
Date: Mon, 16 Jul 2001 22:43:30 +0200
To: salo <salo@Xtrmntr.org>
cc: Bjoern Hoehrmann <derhoermi@gmx.net>, www-validator-css@w3.org, www-validator@w3.org
Message-ID: <20010716225846-r01010700-83de8092-0910-010c@192.168.1.6>
On 16.07.01 at 21:29, salo <salo@Xtrmntr.org> wrote:

>On Mon, Jul 16, 2001 at 01:59:46AM +0200, Terje Bless wrote:
>>
>> <!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
>> s/HTML/html/;
>
>yes, that was it. i had to overlook it before, but i know why i did this
>mistake, -> error from HTML validator:
>
>  You should make the first line of your HTML document a DOCTYPE
declaration,
>  for example, for a typical HTML 4.01 document:
>
>  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
>            ^^^^

Yes, HTML 4 is case-insensitive whereas XHTML 1 is case-sensitive. The root
element ("html") in XHTML is in lower-case. Perhaps this should be clearer
in Validator output. Thanks for pointing this out! :-)
Received on Monday, 16 July 2001 16:58:48 GMT

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