Re: CSS/XHTML Validators weirdness

From: Terje Bless (link@tss.no)
Date: Mon, Jul 16 2001

  • Next message: Terje Bless: "Re: Validator compatibility"

    Date: Mon, 16 Jul 2001 22:43:30 +0200
    From: Terje Bless <link@tss.no>
    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>
    Subject: Re: CSS/XHTML Validators weirdness
    
    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! :-)