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

Re: <!DOCTYPE html> vs (polyglot) spec

From: Maciej Stachowiak <mjs@apple.com>
Date: Mon, 26 Apr 2010 11:12:54 -0700
Cc: HTMLwg <public-html@w3.org>, Eliot Graff <eliotgra@microsoft.com>
Message-id: <1FAEE940-9520-4BC1-838D-CEDEB68A9FF2@apple.com>
To: Leif Halvard Silli <xn--mlform-iua@xn--mlform-iua.no>

On Apr 26, 2010, at 9:09 AM, Leif Halvard Silli wrote:

> Chairs, editors, members,
> I suggest the following HTML5 spec changes:
> * make all HTML5 examples use UPPERCASE syntax for <!DOCTYPE HTML> [2]
> * say that editors MAY - or SHOULD - use a XHTML compatible
>  DOCTYPE, in combination with a valid namespace string as
>  an XHTML syntax trigger
> A) Should I file bugs for this?
> B) Can we have polyglot product to file bugs against?
> Background info:
> The HTML5 doctype is defined as an "ASCII case-insensitive match" of
> the uppercased string <!DOCTYPE HTML>.  [1]  The HTML5 spec however
> appears silent on the fact that for XHTML5, then the 'DOCTYPE' string
> must be uppercased. While the 'html' part must be lowercased. This has
> implications for polyglot editing tools.

In that case, shouldn't we recommend <!DOCTYPE html> instead of <! 

Received on Monday, 26 April 2010 18:13:27 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:16:01 UTC