Case-sensitivity of DOCTYPEs (was Re: My humble comments on the HTML 4.0 draft)

Gerald Oskoboiny (gerald@impressive.net)
Wed, 9 Jul 1997 17:32:01 -0600 (MDT)


Date: Wed, 9 Jul 1997 17:32:01 -0600 (MDT)
From: Gerald Oskoboiny <gerald@impressive.net>
To: www-html@w3.org
Subject: Case-sensitivity of DOCTYPEs (was Re: My humble comments on the HTML 4.0 draft)
In-Reply-To: <Pine.SOL.3.95q.970708181645.1687C-100000@wronski.math.uwaterloo.ca>
Message-ID: <19970709231130.9225@impressive.net>

On Tue, 8 Jul 1997, Russell Steven Shawn O'Connor wrote:

> 8. Is DOCTYPE case sensitive?
 
I believe part of it is, and part of it isn't: the
"DOCTYPE HTML PUBLIC" part is NOT case sensitive, but the
public identifier (e.g., "-//W3C//DTD HTML 4.0//EN") is.

At least that's what I assume based on the results of attempting to
validate a document with a doctype that's completely lower case.

This works:

    <!doctype html public "-//W3C//DTD HTML 4.0//EN">

but this does not:

    <!doctype html public "-//w3c//dtd html 4.0//en">

(I tested this with the KGV [*], which now supports HTML 4.0.)

Gerald
p.s. I'm on vacation for the next month, so I won't see replies for a while.

[*] http://ugweb.cs.ualberta.ca/~gerald/validate/