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

[Bug 10793] New: Make the DOCTYPE by default XML-compatible: lowercase 'html'

From: <bugzilla@jessica.w3.org>
Date: Tue, 28 Sep 2010 14:32:56 +0000
To: public-html@w3.org
Message-ID: <bug-10793-2495@http.www.w3.org/Bugs/Public/>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=10793

           Summary: Make the DOCTYPE by default XML-compatible: lowercase
                    'html'
           Product: HTML WG
           Version: unspecified
          Platform: All
               URL: http://dev.w3.org/html5/spec/syntax#the-doctype
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P3
         Component: HTML5 spec (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: xn--mlform-iua@xn--mlform-iua.no
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-wg-issue-tracking@w3.org,
                    public-html@w3.org


Spec says:
    ]]  In other words, <!DOCTYPE HTML>, case-insensitively.  [[

Proposal: 

Use 'html' instead of 'HTML':
    ]]  In other words, <!DOCTYPE html>, case-insensitively.  [[

And add that when used for XHTML, then the DOCTYPE is a case-_sensitive_ match
of the string '<!DOCTYPE html>'.

The proposal was suggested by Maciej in April (which I then unwisely rejected):
http://lists.w3.org/Archives/Public/public-html/2010Apr/1199

Motivation 1: Make more people (unknowingly) do it right when they try to be
XHTML-compaptible/polyglot. 

Motivation 2: According to Sam, HTML5 "lowercases element and non-namespaced
attribute names"
http://intertwingly.net/slides/2010/ws-rest/html5-15
Thus it should be more consistent to lowerase the 'html' string.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Received on Tuesday, 28 September 2010 14:32:58 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:39:19 UTC