W3C home > Mailing lists > Public > www-html@w3.org > August 1998

RE: OBJECT, inheritance, and rendering

From: Smith, Brooke <Brooke.Smith@Butterworths.com.au>
Date: Wed, 5 Aug 1998 09:34:19 +1000
Message-ID: <DA0E42CF611BD21187B708002B80BD7004CF41@BW-MAIL>
To: "'braden@endoframe.com'" <braden@endoframe.com>, www-html@w3.org

> -----Original Message-----
> From:	Braden N. McDaniel [SMTP:braden@shadow.net]
> Sent:	Wednesday, August 05, 1998 8:32 AM
> To:	'Todd Fahrner'; 'David Perrell'; www-html@w3.org
> Subject:	RE: OBJECT, inheritance, and rendering

> I don't like the idea of a MIME type just for HTML file fragments.
> Does this
> mean we need MIME types for fragments of other types? Sounds to me
> like this
> solution addresses a very specific problem (importing HTML source into
> an
> HTML document) with a very *general* solution (a MIME type). Why isn't
> a
> specific solution more appropriate?
> > <OBJECT data="http://www.prismaticbooger.com/index.html#chug"
> > type="text/htmf">
> >    <em>Unfortunately, your UA doesn't support OBJECT for
> > inclusion of HTML
> >    fragments, so you're reading this instead.</em>
> > </OBJECT>
If the document is a DTD instance (XML or SGML such as HTML) then the
doctype declaration for the fragment could be used to know where to
start rendering from.  This is standard SGML behaviour.

Such as these fragments:

1. Complete HTML document:

<META name="author" content="Butterworths">
<BASE target="_parent">
<TITLE>Butterworths Online - Welcome page</TITLE></HEAD>

2. HTML Fragment:

<li> <A HREF="QryTems/Pinkrib.htm">Pinkrib query template</A>.
<li> <A HREF="QryTems/ALR.htm">ALR QT</A>.
<li> <A HREF="QryTems/NTR.htm">NTR QT</A>.
<li> <A HREF="QryTems/ACTR.htm">ACTR QT</A>.
<li> <A HREF="QryTems/AFLR.htm">AFLR QT</A>.
<li> <A HREF="QryTems/ACSR.htm">ACSR QT</A>.
<li> <A HREF="QryTems/LGATem.html">LGA QT</A>.
<li><A HREF="QryTems/SetOwn.htm">User Page's Admin's SetOwn.html</A>.

If there is no doctype declaration then the UA would have to infer that
(which happens now anyway however the DOCTYPE of 'HTML' is assumed so
the first element would have to be used).

This would allow for the scope of using XML instances as objects.


+61 412 024 742                                       +61 2 9422 2223
            Butterworths Electronic Publishing Developer
Received on Tuesday, 4 August 1998 19:32:05 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:05:48 UTC