[Bug 25225] No way to convert between XML and HTML documents

https://www.w3.org/Bugs/Public/show_bug.cgi?id=25225

--- Comment #6 from C. Scott Ananian <w3@cscott.net> ---
(In reply to Travis Leithead [MSFT] from comment #5)
> Any browser implementations interested in an HTMLSerializer interface? Seems
> kinda redundant on the web (dominated by text/html documents); though I
> don't know the use cases for this in an XML data pipeline.

As maintainer of a non-browser DOM implementation (domino) I'm certainly
interested in a standard HTMLSerializer class.  Domino already implements this
in an unofficial ad-hoc way as document.outerHTML but there are issues wrt
whitespace preservation in the outer nodes. Jsdom implements a serializer as
well, I believe, probably not the same way.  The Wikimedia Parsoid and Visual
Editor projects also implement their own versions of HTMLSerializer (former in
node, the latter in browser).

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are on the CC list for the bug.

Received on Monday, 20 October 2014 16:27:08 UTC