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

Re: polyglot XHTML/HTML and <!DOCTYPE html about:legacy-compat>

From: Jirka Kosek <jirka@kosek.cz>
Date: Sat, 02 Jan 2010 21:25:04 +0100
Message-ID: <4B3FABA0.7090103@kosek.cz>
To: Larry Masinter <masinter@adobe.com>
CC: "Henry S. Thompson" <ht@inf.ed.ac.uk>, Toby Inkster <tai@g5n.co.uk>, David Carlisle <davidc@nag.co.uk>, "julian.reschke@gmx.de" <julian.reschke@gmx.de>, "public-html@w3.org" <public-html@w3.org>
Larry Masinter wrote:

> I'm working on addressing comments on my change proposal for ISSUE-56
> versioning, and  I'm puzzled about the functionality around:
> <!DOCTYPE html SYSTEM "about:legacy-compat">
> which my change proposal had left in as recommended; would like some
> advice here. If one wanted to use a generic XML tool chain to develop
> and deploy such things in polyglot (both XHTML and text/html valid)
> documents, wouldn't the tools hiccup if the URI isn't actually
> resolvable?  If this was discussed before, I can't find it in the
> (extensive) mail archives.

This system identifier was introduced only for HTML serialization, it
doesn't make sense to use it in XHTML. The problem is that in XSLT 1.0
you can't generate just

<!DOCTYPE html>

by using xsl:output instruction. But you can generate

<!DOCTYPE html SYSTEM "foo-bar">


<xsl:output method="html" doctype-system="foo-bar"/>

There were long discussions how "foo-bar" should look like, I think that
probably no one actually likes the current proposal
"about:legacy-compat" but all can live with it. Welcome in a real world ;-)


  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 Saturday, 2 January 2010 20:25:50 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:15:56 UTC