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

Russell Steven Shawn O'Connor (roconnor@wronski.math.uwaterloo.ca)
Tue, 12 Aug 1997 11:07:58 -0400 (EDT)


Date: Tue, 12 Aug 1997 11:07:58 -0400 (EDT)
From: "Russell Steven Shawn O'Connor" <roconnor@wronski.math.uwaterloo.ca>
To: www-html@w3.org
In-Reply-To: <199708121446.KAA24322@unix.asb.com>
Message-ID: <Pine.SOL.3.95q.970812105355.14230B-100000@wronski.math.uwaterloo.ca>
Subject: 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"