W3C home > Mailing lists > Public > www-svg@w3.org > March 2009

Re: View Source

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Tue, 17 Mar 2009 10:57:51 -0400
Message-ID: <49BFBA6F.9080208@mit.edu>
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:17 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:41 GMT