Re: View Source

Rob Sayre wrote:

> 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.

Maybe in HTML5 (possibly only in the non-"valid" superset) and in 
practice in many browsers, but that would result in two DOCTYPES and two 
titles in HTML 4, which is a syntax error, and two titles in earlier 
versions (with no real content) which might be allowed by the DTD, but 
is semantically bad.


-- 
David Woolley
Emails are not formal business letters, whatever businesses may want.
RFC1855 says there should be an address here, but, in a world of spam,
that is no longer good advice, as archive address hiding may not work.

Received on Wednesday, 18 March 2009 07:47:19 UTC