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

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

From: Larry Masinter <masinter@adobe.com>
Date: Sat, 2 Jan 2010 13:49:59 -0800
To: Jirka Kosek <jirka@kosek.cz>
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>
Message-ID: <C68CB012D9182D408CED7B884F441D4D309098@nambxv01a.corp.adobe.com>
I understand the XSLT use case. I am asking very specifically
about the XML-editor-being-used-for-XHTML-then-served-as-html
use case, and gave seven URLs for documentation about (different?)
XML editors which allude to using the DOCTYPE declaration to
control the XML editor's behavior.

>  Welcome in a real world ;-)

My "real world" includes 
XML-editor-being-used-for-XHTML-then-served-as-html.

Larry
--
http://larry.masinter.net


-----Original Message-----
From: Jirka Kosek [mailto:jirka@kosek.cz] 
Sent: Saturday, January 02, 2010 12:25 PM
To: Larry Masinter
Cc: Henry S. Thompson; Toby Inkster; David Carlisle; julian.reschke@gmx.de; public-html@w3.org
Subject: Re: polyglot XHTML/HTML and <!DOCTYPE html about:legacy-compat>

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">

using

<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

-- 
------------------------------------------------------------------
  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 21:51:07 GMT

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