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

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

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:38:55 UTC