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

Re: ISSUE-54: doctype-legacy-compat

From: Jirka Kosek <jirka@kosek.cz>
Date: Fri, 16 Jan 2009 14:42:25 +0100
Message-ID: <49708EC1.2000505@kosek.cz>
To: Anne van Kesteren <annevk@opera.com>
CC: HTML WG <public-html@w3.org>
Anne van Kesteren wrote:

> In light of this comment I do not understand your previous e-mail:
> 
> http://lists.w3.org/Archives/Public/public-html/2009Jan/0151.html

------
>> I think you mean <!DOCTYPE html PUBLIC ""> as what you mention triggers
>> quirks mode in e.g. Firefox and is not well-formed XML.
> 
> I think that we are talking about DOCTYPE for HTML serialization only,
> so there is no reason to stay inside boards of XML wellformdness.
-------

Probably I wasn't clear enough, sorry about that. My point is that there
is no problem with

<!DOCTYPE html PUBLIC "">

because it is not XML well-formed as there is no need for DOCTYPE in XML
serialization of HTML5. For HTML serialization we can use anything which
switches standards mode in the current browsers and can be produced by
existing tools (including XSLT).

-- 
------------------------------------------------------------------
  Jirka Kosek      e-mail: jirka@kosek.cz      http://xmlguru.cz
------------------------------------------------------------------
       Professional XML consulting and training services
  DocBook customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
 OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member
------------------------------------------------------------------


Received on Friday, 16 January 2009 13:42:58 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:39:00 UTC