RE: OBJECT, inheritance, and rendering

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

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML><HEAD>
<META name="author" content="Butterworths">
<BASE target="_parent">
<TITLE>Butterworths Online - Welcome page</TITLE></HEAD>
...
</BODY></HTML>

2. HTML Fragment:

<!DOCTYPE UL PUBLIC "-//W3C//DTD HTML 3.2//EN">
<ul>
<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>.
</ul>

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.

Cheers,

Brooke
==============================================
http://www.butterworths.com.au/profile/people/brooke/bw.htm
+61 412 024 742                                       +61 2 9422 2223
            Butterworths Electronic Publishing Developer

Received on Tuesday, 4 August 1998 19:32:05 UTC