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

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