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


           Summary: Make the DOCTYPE by default XML-compatible: lowercase
           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,

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


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):

Motivation 1: Make more people (unknowingly) do it right when they try to be

Motivation 2: According to Sam, HTML5 "lowercases element and non-namespaced
attribute names"
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