W3C home > Mailing lists > Public > www-html@w3.org > June 2001

Re: XHTML's reception

From: Clover Andrew <aclover@1value.com>
Date: Mon, 25 Jun 2001 12:21:37 +0200
Message-ID: <D58B0195B58937489E89124469E57CA20D5029@EX1.1value.com>
To: <www-talk@w3.org>
Cc: <www-html@w3.org>
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?

-- 
Andrew Clover
Technical Consultant
1VALUE.com AG
Received on Monday, 25 June 2001 06:23:36 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:48 GMT