- From: Asbjørn Ulsberg <asbjorn@ulsberg.no>
- Date: Wed, 28 Mar 2007 02:14:59 +0200
- To: "Jirka Kosek" <jirka@kosek.cz>, "Lachlan Hunt" <lachlan.hunt@lachy.id.au>
- Cc: "Daniel Schattenkirchner" <schattenkirchner.daniel@gmx.de>, public-html@w3.org
On Sun, 25 Mar 2007 10:49:07 +0200, Jirka Kosek <jirka@kosek.cz> wrote: > In XSLT you are not able to output just: > > <!DOCTYPE html> Then don't output a DOCTYPE and serve your documents as XHTML. Or serve HTML4. Or append the DOCTYPE with a print() statement before the XSLT is flushed to the output stream. There are lots of options and none of them requires a public identifier in the HTML5 DOCTYPE. > This is serious limitation of HTML5 as amount of content produced by > XSLT is enormous. The content produced by XSLT today is either XHTML1, XHTML1.1 or HTML4, agree? If that content is going to be upgraded to HTML5, that would require some changes in the code that produces this content. If changes can and will be made to make the content conform to HTML5, then why can't those changes ovecome this limitation in XSLT? > <!DOCTYPE html> should be either optional It is for documents served as XML. For HTML documents it should be preserved to maintain backward compatibility, especially if you want to have your documents rendered in a standard compliant way (e.g. not quirks mode). -- Asbjørn Ulsberg -=|=- http://virtuelvis.com/quark/ «He's a loathsome offensive brute, yet I can't look away»
Received on Wednesday, 28 March 2007 00:12:52 UTC