Re: XHTML's reception

At 12:21 2001-06-25 +0200, Clover Andrew wrote:
>Arjun Ray <aray@q2.net> wrote:
>
> > the only way to inline scripts is put them in CDATA marked sections,
> > which in turn is guaranteed *not* to work in existing "HTML user
> > agents".
>
>On a non-political practical note, how about:
>
>   <script type="text/javascript"><!-- // --><![CDATA[
>     ...
>   //]]></script>
>
>Granted, it's aesthetically ghastly, but it would seem to satisfy
>HTML, XHTML and TagSoup parsers simultaneously. Can anyone see any
>technical problems with this construct?

Would even

   <script type="text/javascript">//<![CDATA[
     ...
   //]]></script>

be enough and specs following (with the same aesthetical reservations)?

Received on Tuesday, 26 June 2001 05:11:32 UTC