Re: <insert> and external entity references

lilley (lilley@afs.mcc.ac.uk)
Tue, 19 Mar 1996 20:34:27 +0000 (GMT)


From: lilley <lilley@afs.mcc.ac.uk>
Message-Id: <20341.9603192034@afs.mcc.ac.uk>
Subject: Re: <insert> and external entity references
To: cmsmcq@uic.edu (C. M. Sperberg-McQueen)
Date: Tue, 19 Mar 1996 20:34:27 +0000 (GMT)
Cc: www-html@w3.org
In-Reply-To: <9603191923.AA17113@www10.w3.org> from "C. M. Sperberg-McQueen" at Mar 19, 96 11:23:06 am

C. M. Sperberg-McQueen suggested replacing:

> > <insert
> >         data="http://www.mysite.com/path/file.html"
> > >
> > </insert>

with:


>   <!DOCTYPE html PUBLIC "-//IETF//DTD HTML 2.0//EN" [
>   <!ENTITY myfile SYSTEM "http://www.mysite.com/path/file.html" SUBDOC>
>   ]>

>   &myfile;

A few problems with this:

1) General practice on the Web is to not ship the DTD around with 
the document instance. Thus, it is tricky to add your own  entities like this.

2) It is not flexible enough. Consider how this example might be coded 
using the proposed syntax:

 <insert
    classid="java:Fishy.class"
    code="http://site/applets/Fishy.class"
    width="4in"
    height="2.7in"
    border="12pt"
    type="application/x-java-bytecode">
       <param name="species" value="guppy">
       <param name="current" value="strong">
  </insert>



-- 
Chris Lilley, Technical Author and JISC representative to W3C 
+-------------------------------------------------------------------+
|  Manchester and North Training & Education Centre   ( MAN T&EC )  |
+-------------------------------------------------------------------+
| Computer Graphics Unit,             Email: Chris.Lilley@mcc.ac.uk |
| Manchester Computing Centre,        Voice: +44 161 275 6045       |
| Oxford Road, Manchester, UK.          Fax: +44 161 275 6040       |
| M13 9PL                            BioMOO: ChrisL                 |
| Timezone: UTC        URI: http://info.mcc.ac.uk/CGU/staff/lilley/ | 
+-------------------------------------------------------------------+