Re: Possible error in Section 18.2.2: Script Content Types

In article <Pine.LNX.4.10.9909232257250.1321-100000@midnight.pipis.com>,
Stephanos Piperoglou <stephanos@webreference.com> writes
>but I
>vaguely recall IE recognizing application/x-javascript as well. My
>Apache distro also came with application/x-javascript as the type for
>JavaScript scripts.

Unfortunately, IE specifically ignores application/x-javascript.

For example, IE 5 does NOT execute
<SCRIPT type="application/x-javascript">
document.write('Hello.');
</SCRIPT>

whereas it does execute
<SCRIPT type="text/javascript">
document.write('Hello.');
</SCRIPT>

It seem to me that the best solution would be for the MIME types to get
registered ASAP. (FWIW I agree that text isn't a good choice of top-
level type.)

How about application/ecmascript?

-- 
George Lund

Received on Friday, 24 September 1999 08:23:32 UTC