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

Re: xhtml+javascript. bug?

From: Peter K. Sheerin <pete@petesguide.com>
Date: Mon, 11 Jun 2001 16:16:22 -0700
Message-ID: <000b01c0f2cc$87a48450$9865fea9@cadencesheerin>
To: "Liam Quinn" <liam@htmlhelp.com>
Cc: <www-validator@w3.org>
I had the same problem, but solved it using the combination of HTML and
Javascript comment tags, as in:

<!--
js code
//-->

Can you explain the difference between why each one of these methods works,
and if there are any problems with the one I used?

Do I *really* need to use the CDATA marking?

----- Original Message -----
From: "Liam Quinn" <liam@htmlhelp.com>
>
> It's your XHTML; see <http://www.w3.org/TR/xhtml1/#h-4.8>.
>
> --
> Liam Quinn
>
>
Received on Monday, 11 June 2001 19:16:49 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:13:58 GMT