W3C home > Mailing lists > Public > www-validator@w3.org > May 2007

Possible validator bug with JavaScript

From: <shen@cse.ust.hk>
Date: Wed, 9 May 2007 01:54:20 +0800 (HKT)
Message-ID: <1454.>
To: www-validator@w3.org
Cc: shen@cse.ust.hk
Dear Ted,

I asked about the HTML validator problem at the AC meeting.

The attached HTML file should be valid, but the validator
reached into the JavaScript literal and found a problem,
when there is none. Sample code is attached for your testing.

I have fixed the code to get around the problem (see

This get around is difficult to explain to students.

I think the validator should skip JavaScript code completely,
unless it has a built-in JavaScript interpretor.

Thanks for your consideration.


Received on Tuesday, 8 May 2007 17:54:46 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 November 2015 11:01:29 UTC