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

Re: View Source

From: Rob Sayre <rsayre@mozilla.com>
Date: Mon, 16 Mar 2009 20:57:28 -0400
Message-ID: <49BEF578.2070109@mozilla.com>
To: Doug Schepers <schepers@w3.org>
CC: public-html@w3.org, www-svg@w3.org
On 3/16/09 8:31 PM, Doug Schepers wrote:
> T.V Raman wrote (on 3/16/09 12:58 PM):
>> And this is why in gneral, it would be a good idea for
>> show-source to perhaps show a cleaned-up serialization, rather
>> than the original tag-soup that was authored.
> I think everyone is on board with this idea, not just for SVG and 
> MathML, but even for HTML... if someone out there has a good rationale 
> against it, I'd be curious to know what that is.

If you concatenate two HTML documents, you still get an HTML document. 
If you concatenate two XML documents, you don't get an XML document.

This is just one example of XML's incompatibility with cut and paste, 
and string concatenation in general.

In other words, it won't work.

- Rob
Received on Tuesday, 17 March 2009 00:58:14 UTC

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