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 <>     Programmer - Excel, AppleScript,
          Mountain View, CA                         ProTERM, FoxPro, HTML     Musician - Guitarist, Songwriter

Received on Thursday, 25 July 1996 00:05:14 UTC