A generic (even if potentially slow) solution to the parsing issues would be tweaking the DOM glue code of http://livedom.validator.nu/ to work in IE (perhaps with SVG Web for SVG subtrees and Math Player for MathML subtrees), adding a way for the tree builder to attach to an existing DOM (go straight to "in body" and initialize the stack and the head pointer from head, body and html from the tree constructed by the browser's native parser) and conditionally (if an HTML5 parser isn't detected by examining the node produced by document.write("<svg></svg>");) doing document.write("<plaintext>") and then handing the contents of the plaintext element to the GWT- compiled JS version of the V.nu parser.

--
Henri Sivonen
hsivo...@iki.fi
http://hsivonen.iki.fi/


Reply via email to