Re: Case-sensitive doctype-tag?

I /think/ that what you've forgotten is that it
can't be parsed as HTML (and hence have the 
case-insensitivity rule applied) until /after/
the DOCTYPE has been read and processed ...

Philip Taylor
--------
Unym Anym wrote:


[snip]

> [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. (-:

Received on Friday, 19 September 2003 10:33:54 UTC