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

[Bug 5803] New: HTML5 serialization is not compatible with XSLT

From: <bugzilla@wiggum.w3.org>
Date: Wed, 25 Jun 2008 15:00:45 +0000
To: public-html@w3.org
Message-ID: <bug-5803-2495@http.www.w3.org/Bugs/Public/>


           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-

HTML5 requires !DOCTYPE declaration in the following form:


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:


or by something like


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

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.
Received on Wednesday, 25 June 2008 15:01:21 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 9 October 2021 18:44:33 UTC