[Bug 5803] HTML5 serialization is not compatible with XSLT

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


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