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

[Bug 5803] HTML5 serialization is not compatible with XSLT

From: <bugzilla@wiggum.w3.org>
Date: Thu, 26 Jun 2008 07:45:40 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1KBmAm-00040K-Qo@wiggum.w3.org>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=5803





--- Comment #9 from Henri Sivonen <hsivonen@iki.fi>  2008-06-26 07:45:40 ---
(In reply to comment #2)
> (In reply to comment #1)
> > Can't XSLT output arbitrary text, too?
> > 
> 
> No. Although it is possible to use <xsl:text
> disable-output-escaping="yes">&lt;!DOCTYPE ...&gt;</xsl:text>,
> disable-output-escaping feature is only optional in XSLT language, it is not
> supported by all processors and it is working only when the output of XSLT
> transformation is directly serialized which is not always case.

If you aren't directly serializing the output of the XSLT program, surely XSLT
is the wrong stage to worry about the doctype. You wouldn't micromanage the XML
declaration, either, at that point.


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Thursday, 26 June 2008 07:46:18 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 June 2008 07:46:19 GMT