W3C home > Mailing lists > Public > public-html@w3.org > November 2008

Re: The compatibility DOCTYPE

From: Jirka Kosek <jirka@kosek.cz>
Date: Tue, 11 Nov 2008 10:41:10 +0100
Message-ID: <49195336.8070404@kosek.cz>
To: Leif Halvard Silli <lhs@malform.no>
CC: HTMLWG <public-html@w3.org>
Leif Halvard Silli wrote:

> Proposal: Recursive doctype.
> 
>     <!DOCTYPE html public "DOCTYPE html">
> 
> Alternative proposal: The even more recursive, and very difficult to
> hand author doctype.
> 
>     <!DOCTYPE html public "&lt;!DOCTYPE html&gt;">
> 
> This doctype would be super non-cool since you could only safely use it
> with the help of an automatic tool, because:

With respect, such doctype is not "super non-cool" but simply silly as
it doesn't follow neither rules for proper public identifier nor it
shows that its in HTML5 only to accommodate legacy content producers.

> Would XSLT tools etc have problems generating such a doctype?

I suppose that there might be differencies in serializing < and >
characters between implementations as such characters are usually not
part of public identifier.

				Jirka

-- 
------------------------------------------------------------------
  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 Tuesday, 11 November 2008 09:41:54 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:24 GMT