W3C home > Mailing lists > Public > public-html@w3.org > September 2009

Re: More on SVG within HTML pages

From: Shelley Powers <shelleyp@burningbird.net>
Date: Wed, 09 Sep 2009 21:05:05 -0500
Message-ID: <4AA85ED1.60706@burningbird.net>
To: Boris Zbarsky <bzbarsky@MIT.EDU>
CC: public-html@w3.org
Boris Zbarsky wrote:
> Shelley Powers wrote:
>> Robert O'Callahan wrote:
>>> FWIW if you install the Firefox DOM Inspector extension, select the 
>>> SVG element in its view, and choose "Copy XML" from the context menu 
>>> I think you'll get correct results.
>> Tried it out. Very nice.
>> It also corrects missing end tags, and most other malformed markup. 
>> Does an excellent job of correcting the XML.
> In the interests of full disclosure, all "Copy XML" does is 
> effectively create a range containing that one node and then invoke 
> the normal "copy the selection to the clipboard" command.  And all 
> that does is take the DOM Range and serialize it to a string.  All the 
> fixup has already happened long before this, in the parser.
> -Boris
Well, then, the parser does a very nice job of correcting the XML.

Received on Thursday, 10 September 2009 02:05:34 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 9 October 2021 18:44:56 UTC