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

Re: View Source

From: Robin Berjon <robin@berjon.com>
Date: Tue, 17 Mar 2009 12:01:03 +0100
Cc: public-html@w3.org, www-svg@w3.org
Message-Id: <A84B2DC1-B290-417E-9D89-85AC18ADF209@berjon.com>
To: Doug Schepers <schepers@w3.org>
On Mar 17, 2009, at 02:38 , Doug Schepers wrote:
> Rob Sayre wrote (on 3/16/09 8:57 PM):
>> 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.
>>
> I guess that depends on your definition of document.  This:
>
> <fooML>
>  <blah />
> </fooML>
>
> <barML>
>  <baz>
>    <fweep/>
>  </baz>
> </barML>
>
> Would have 2 document roots, I suppose, but could be contained in  
> the same file, and could be output that way.

Having two document roots means it's not an XML document. It won't  
parse. You can represent using some XML tools, notably XQuery, but  
this ain't XML anymore.

-- 
Robin Berjon - http://berjon.com/
     Feel like hiring me? Go to http://robineko.com/
Received on Tuesday, 17 March 2009 11:01:45 GMT

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