[VE][388] New Error Message Suggestion


I'm having troubles with the validator, on pages that successfully 
validated as XHTML 1.0 Strict a few days ago, and now have numerous errors.

Basically, it seems the validator is now taking JavaScript code, that 
was previously rightfully ignored.
Since the validator was updated a few days ago, my guess is that its 
behaviour changed during that update.

Here is an example:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"

<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">



<script type="text/javascript"><!--

//------------------------------ JS Variables 

var testAmpersand = "This & that";



On that code, I get errors like:

Line 15, column 6: multiple comments in comment declaration
//------------------------------ JS Variables 

Line 17, column 26: character "&" is the first character of a delimiter 
but occurred as data
var testAmpersand = "This & that";

Hope this helps,

Laurent Blume

Received on Thursday, 3 June 2004 09:29:27 UTC