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

Walter Ian Kaye (boo@best.com)
Sat, 27 Jul 1996 00:42:09 -0700


Message-Id: <v03007806ae1f7352c308@[205.149.180.135]>
In-Reply-To: <199607270408.VAA18376@server.livingston.com>
Date: Sat, 27 Jul 1996 00:42:09 -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 (fwd)

At 9:08p -0700 07/26/96, MegaZone wrote:
>Once upon a time Arne Knudson shaped the electrons to say...
>So?  At least let them/us have the choice to do it this way.
>>scripting parser will have to know to discard it. Furthermore, if the
>>programmer should want to (God forbid) put a "]]>" into the document,
>>they're just as screwed as they were back when they were trying to put
>>end-tags into CDATA elements.
>
>Likely?  Probably not.  At least the 99.99% of people doing scripts would
>have a way to inline them.

But why would one want to? Because the [broken] method was available first?
If I edit an HTML document, I want to edit HTML. If I edit a JavaScript,
that is an entirely different animal and I want it in an entirely different
document. Besides, having it separate will inspire people to write generic
scripts that can be used with more than one HTML document. The thought of
inserting that typical seed/statusline code in multiple locations makes me
shake my head and wonder whatever happened to shared libraries...

As long as every JavaScript-enabled browser supports external scripts,
I see no reason to support inline scripts. None at all.

I also hate the idea of inline style markup -- I would MUCH prefer that
a STYLE= attribute take *only* stylenames defined in the head or in an
external stylesheet.

Why? Because I do all my HTML editing by hand in a text editor, and so
anything which will clutter my HTML code is A Bad Thing. Look at the source
of my <http://www.natural-innovations.com/boo/as-snippets.html> page, and
you will see why HTML code needs to become uncluttered! I did that page in
the only currently possible way, and the code is awful. A better, cleaner
way is needed! Gotta eliminate clutter from HTML. Please.

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