W3C home > Mailing lists > Public > www-validator@w3.org > April 2003

Re: Validator bug with JavaScript loop code

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Wed, 16 Apr 2003 15:24:30 +0200
To: "Glenn H" <translogik@hotmail.com>
Cc: www-validator@w3.org
Message-ID: <3ed8565d.256712943@smtp.bjoern.hoehrmann.de>

* Glenn H wrote:
>I get an error saying that the page isn't valid. Basically the only error 
>that comes up is on the following line of JavaScript:
>for (var i=0; i<lngNumItems; i++) {
>Basically I think what's happening is that the validator thinks 
>"<lngNumItems" is part of a new tag, when of course it's just JavaScript 
>Is there any possibility of getting this fixed up?

<script ...>
/* <![CDATA[ */
/* ]]> */

or external scripts.
Received on Wednesday, 16 April 2003 09:24:42 GMT

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