W3C home > Mailing lists > Public > public-html@w3.org > January 2009

Re: ISSUE-54: doctype-legacy-compat

From: Thomas Broyer <t.broyer@ltgt.net>
Date: Mon, 26 Jan 2009 12:31:55 +0100
Message-ID: <a9699fd20901260331r6a91b03fp7d04afae67ef8504@mail.gmail.com>
To: public-html <public-html@w3.org>

On Mon, Jan 26, 2009 at 12:06 PM, Anne van Kesteren wrote:
> On Mon, 26 Jan 2009 06:03:15 +0100, Leif Halvard Silli wrote:
>> [...] And it is easy to explain that some old tools expect old doctype
>> syntax, and that, for them, the HTML 5 specification has this SYSTEM variant
>> of the DOCTYPE, with an about:URI in order to formally fulfill the DOCTYPE
>> syntax.
> FWIW, <!DOCTYPE html> also fulfills the DOCTYPE syntax. It's just that some
> tools cannot generate all possible correct DOCTYPEs.

In their defense, <!DOCTYPE html> is completely useless in XML (and
the tools we're talking about are mostly XML tools, even if
serializing as "something that looks like HTML").
But yes, <!DOCTYPE html> fulfills the DOCTYPE syntax, so XML tools
might very well allow you to output it too, whichever the
serialization (XML or HTML).

Thomas Broyer
Received on Monday, 26 January 2009 11:32:32 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 9 October 2021 18:44:41 UTC