http://www.w3.org/Bugs/Public/show_bug.cgi?id=5803
Summary: HTML5 serialization is not compatible with XSLT
Product: HTML WG
Version: unspecified
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: Spec bugs
AssignedTo: dave.null@w3.org
ReportedBy: jirka@kosek.cz
QAContact: public-html-bugzilla@w3.org
CC: ian@hixie.ch, jirka@kosek.cz, mike@w3.org, public-
html@w3.org
HTML5 requires !DOCTYPE declaration in the following form:
<!DOCTYPE HTML>
ie. without any public or system identifier. The trouble is that such !DOCTYPE
can'be generated with XSLT. XSLT language can either generate no !DOCTYPE
(default behaviour) or you have to specify public/system identifer which has to
be appended to !DOCTYPE and which actually triggers generating of !DOCTYPE.
In order to make it possible to use widely deployed XSLT language to generate
HTML5 content, HTML5 spec should allow optional public identifier in !DOCTYPE.
It should be allowed to start HTML5 document by either:
<!DOCTYPE HTML>
or by something like
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML5//EN">
The later !DOCTYPE can be generated in XSLT by:
<xsl:output method="html" doctype-public="-//W3C//DTD HTML5//EN"/>
Older discussion about this topic can be found at
http://lists.w3.org/Archives/Public/public-html/2007JanMar/0432.html
--
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.