Hello, 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" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <title>Title</title> </head> <body> <script type="text/javascript"><!-- //------------------------------ JS Variables ------------------------------// var testAmpersand = "This & that"; //--></script> </body> </html> 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 BlumeReceived on Thursday, 3 June 2004 09:29:27 UTC
This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:58:41 UTC