W3C home > Mailing lists > Public > www-html@w3.org > February 2000

FPI case sensitivity in draft-connolly-text-html-02

From: Gerald Oskoboiny <gerald@w3.org>
Date: Mon, 14 Feb 2000 18:16:53 -0500
To: www-html@w3.org
Message-ID: <20000214181652.G5939@w3.org>
http://www.ietf.org/internet-drafts/draft-connolly-text-html-02.txt says:

> 5. Recognizing HTML files
> 
>    Almost all HTML files have the string "<html" or "<HTML" near the
>    beginning of the file.
> 
>    Documents conformant to HTML 2.0, HTML 3.2 and HTML 4.0 will start
>    with a DOCTYPE declaration "<!DOCTYPE HTML" near the beginning,
>    before the "<html". These dialects are case insensitive. [...]

But I believe FPIs are case sensitive. (They are as implemented
in SP, anyway, unless I misconfigured something.)

Sample SP output:

http://validator.w3.org/check?uri=http://validator.w3.org/dev/tests/bogus-fpi.html

Line 1, column 60: 

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

     Error: invalid formal public identifier "-//w3c//dtd html 4.0 transitional//en": invalid public text class

     Line 1, column 61: 

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

     Error: cannot generate system identifier for public text "-//w3c//dtd html 4.0 transitional//en"

[...]

Can anyone confirm that public identifiers are case sensitive?
Or am I reading too much into SP's behavior?

-- 
Gerald Oskoboiny       <gerald@w3.org>  +1 617 253 2920
System Administrator   http://www.w3.org/People/Gerald/
World Wide Web Consortium (W3C)      http://www.w3.org/
Received on Monday, 14 February 2000 18:16:53 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:42 GMT