- From: Boris Zbarsky <bzbarsky@MIT.EDU>
- Date: Tue, 17 Mar 2009 10:57:51 -0400
- To: Lachlan Hunt <lachlan.hunt@lachy.id.au>
- CC: www-svg@w3.org, public-html@w3.org
Lachlan Hunt wrote: > Are you asking for the spec to more thoroughly define how to serialise a > given DOM in a way that guarantees well-formedness, even in such cases > where that can't be done losslessly? There are some DOMs that can be > produced by text/html which simply cannot be represented in well-formed > XML documents, so such things would need to be modified in some way. For what it's worth, such DOMs can also be produced via the DOM APIs, once namespaces are involved. Most simply, stick an attribute with the local name "xmlns" and the null namespace onto an element. -Boris
Received on Tuesday, 17 March 2009 14:59:13 UTC