W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > September 2010

[Bug 9958] The DOCTYPE paragraph must explain and define the DOCTYPE rules better and more generally

From: <bugzilla@jessica.w3.org>
Date: Sat, 04 Sep 2010 00:41:42 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1OrgpC-0005fV-1c@jessica.w3.org>

Eliot Graff <eliotgra@microsoft.com> changed:

           What    |Removed                     |Added
             Status|REOPENED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #5 from Eliot Graff <eliotgra@microsoft.com>  2010-09-04 00:41:41 ---
DOCTYPE section was updated per fixes outlined in response to bug 9958:


Polyglot markup must have a document type declaration (DOCTYPE) specified by
section 8.1.1 of [HTML5]. In addition, the DOCTYPE must conform to the
following rules:

    * The string DOCTYPE is in uppercase letters.
    * The string html is in lowercase letters.
    * The string SYSTEM, if present, is in uppercase letters.
    * The string PUBLIC, if present, is in uppercase letters.
    * A Formal Public Identifier (FPI), if present, is a case-sensitive match
of the registered FPI to which it points.
    * A URI, if present in the document type declaration, is a case-sensitive
match of the URI to which it points.
          o If the URI is the string about:legacy-compat, the string must be in
lowercase, as required by HTML5.
          o If the URI is an http URL, the URI must point to the correct
resource, using case-sensitive letters.

Note that polyglot markup cannot use document type declarations for HTML4,
HTML3, or HTML2, regardless of whether they contain a URI or not and regardless
of their effect in HTML5 parsers, as these document type declarations are not
compatible with XHTML.

Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Saturday, 4 September 2010 00:41:43 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:01:24 UTC