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:36:06 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1KBm1W-0003Gx-PV@wiggum.w3.org>


Henri Sivonen <hsivonen@iki.fi> changed:

           What    |Removed                     |Added
                 CC|                            |hsivonen@iki.fi

--- Comment #7 from Henri Sivonen <hsivonen@iki.fi>  2008-06-26 07:36:06 ---
I think the HTML output mode of XSLT has a far bigger problem than the doctype:
It is designed to work with XSLT programs that output elements in no namespace.
However, especially with MathML and SVG support, it makes sense to write the
XSLT programs to output elements in the (X)HTML, MathML and SVG namespaces so
that the decision whether to serialize to XML 1.0 or HTML5 doesn't leak inside
the XSLT program and is isolated to the serializer.

I think the right way to proceed is to avoid using the built-in serializer of
an XSLT processor (until XSLT processors are updated to support HTML5) and to
take SAX events out of the XSLT processor and stick a SAX-to-HTML5 serializer
between the XSLT processor and the output stream.

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:36:41 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 16:30:34 UTC