Re: HTML 4.0 and SGML ... RTFM? (was Re: XMP)

On Tue, 12 Aug 1997, Rob wrote:

> It wasn't so much that browser makers didn't read the docs; they just 
> made HTML readers (buggy & incomplete ones at that), not SGML+
> HTML readers.   If the specs clearly noted the use of CDATA, INCLUDE, 
> IGNORE etc. there'd have been support added.
> 
> Which comes to mind. These and other SGML markers should be
> _explicitly_ discussed in the HTML 4.0 specification.

I think it would be great to define your own enitites in the DOCTYPE.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" [
<!ENTITY foo CDATA "<TITLE>Self Printing HTML</TITLE>
<BODY><PRE>
&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; [
&lt;!ENTITY foo CDATA &quot;&foo;&quot;&gt;]&gt;
&foo;</PRE>">]>
<TITLE>Self Printing HTML</TITLE>
<BODY><PRE>
&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; [
&lt;!ENTITY foo CDATA &quot;&foo;&quot;&gt;]&gt;
&foo;</PRE>

:-)

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

Received on Tuesday, 12 August 1997 11:08:00 UTC