[Bug 20993] To facilitate migration, <!DOCTYPE html> should be recommended for the XHTML5 syntax.

https://www.w3.org/Bugs/Public/show_bug.cgi?id=20993

Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|XHTML5 syntax should        |To facilitate migration,
                   |require valid DOCTYPE       |<!DOCTYPE html> should be
                   |declaration (<!DOCTYPE      |recommended for the XHTML5
                   |root> should match root     |syntax.
                   |element)                    |

--- Comment #3 from Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no> ---
Robin, here is a concrete text proposal:

<INS>
DOCTYPE declarations used with documents conforming to this specfication MUST
be shaped according to the following rules:

1. The name part MUST be an ASCII case-insensitive match for the
   string 'html'.

2. It is OPTIONAL whether there is a DTD associated with the
   DOCTYPE.

3. When there is no associated DTD, the DOCTYPE MUST match
   the DOCTYPE of the HTML syntax.

NOTE: A DOCTYPE declaration without an associated DTD does not
      have any effect on XML parsers and is only allowed in order
      to facilitate migration to and from HTML.

4. The associated DTD, if any, MUST define this specification’s
   list of named character references. Other character references
   MUST NOT be defined.

NOTE: Thus there is no requirement that the DTD is a complete <a
      href="http://www.w3.org/TR/xml/#dt-markupdecl">markup 
      declaration</a> that defines other aspecs of the language
      than the character references.
</INS>

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Thursday, 21 February 2013 03:28:12 UTC