Re: Cougar DTD: Do not use CDATA declared content for SCRIPT

Walter Ian Kaye (boo@best.com)
Wed, 24 Jul 1996 18:10:53 -0700


Message-Id: <v03007810ae1c7918c55e@[205.149.180.135]>
In-Reply-To: <31F60F07.7566@aw.sgi.com>
Date: Wed, 24 Jul 1996 18:10:53 -0700
To: www-html@w3.org
From: Walter Ian Kaye <boo@best.com>
Subject: Re: Cougar DTD: Do not use CDATA declared content for SCRIPT

At 8:54p +0900 07/24/96, Ka-Ping Yee wrote:

>There is NO way to correctly parse existing documents with inline
>scripts that scatter < and > characters all over the place.  Guessing
>what is LiveScript/JavaScript and what is HTML is a parsing nightmare.

>The CDATA marked section syntax that Joe English suggests above
>is easy for an author to type in, easy to parse and distinguish
>from the rest of the document.  The only caveat is that the author,
>i believe, still has to watch out for strings like "]]>" in the
>code -- but that is an awful lot better than < and > everywhere.
>
>This really needs to be fixed, and it should be fixed now.


I still like my idea of putting the foreign stuff at the end,
after the </BODY> closing tag.

However, I too prefer that scripts be in external files. :)

__________________________________________________________________________
    Walter Ian Kaye <boo@best.com>     Programmer - Excel, AppleScript,
          Mountain View, CA                         ProTERM, FoxPro, HTML
 http://www.natural-innovations.com/     Musician - Guitarist, Songwriter