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

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 <! 
DOCTYPE HTML>?

Regards,
Maciej

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