Re: HTML Architecture (Was: Future of HTML)

Russell Steven Shawn O'Connor (roconnor@wronski.math.uwaterloo.ca)
Sat, 21 Mar 1998 00:58:28 -0500 (EST)


Date: Sat, 21 Mar 1998 00:58:28 -0500 (EST)
From: "Russell Steven Shawn O'Connor" <roconnor@wronski.math.uwaterloo.ca>
To: www-html@w3.org, Brian Kelly <lisbk@ukoln.ac.uk>
In-Reply-To: <Pine.SOL.3.96.980320145339.9599C-100000@anansi.w3.org>
Message-ID: <Pine.SOL.3.95q.980321004834.13331A-100000@wronski.math.uwaterloo.ca>
Subject: Re: HTML Architecture (Was: Future of HTML)

On Fri, 20 Mar 1998, Gerald Oskoboiny wrote:

> I was hoping we would be able to use OBJECT for this, but as far
> as I know none of the popular browsers support transclusion of
> HTML objects. This might be a good thing for someone to hack into
> Netscape once the source is released.

Transclusion using enitites and objects are actually different in
signifigant ways.  An html file inserted with an OBJECT element is a stand
alone document.  It has it's own URL resolution heirarchy.  It has it's
own style sheet.  It has it's own grove.  An html segment inserted with an
entity becomes part of the root document.  The root document's style sheet
applies to it.  It's insertion affects the grove structure of the root
documents.

These subtle diffrences can have major consequences when the document is
affected by CSS and DOM.  I don't think one method is better than the
other. I think each has it's place depending on the situation. 

-- 
Russell O'Connor                           roconnor@uwaterloo.ca
    <URL:http://www.undergrad.math.uwaterloo.ca/%7Eroconnor/>
"And truth irreversibly destroys the meaning of its own message"
-- Anindita Dutta, "The Paradox of Truth, the Truth of Entropy"