W3C home > Mailing lists > Public > www-validator@w3.org > December 2004

Validator BUG report

From: <bbarak@uwo.ca>
Date: Wed, 29 Dec 2004 16:23:38 -0500
Message-ID: <1104355418.41d3205a27392@mail.uwo.ca>
To: www-validator@w3.org

Hi,

I am writing to report a bug with the validator script. I am trying to validate
my site to XHTML 1.0 strict. The site is: http://www.spiritelf.com

I validate at http://validator.w3.org/check?uri=www.spiritelf.com

I get a few errors complaining about & in url's such as:

Line 225, column 39: cannot generate system identifier for general entity
"deletedoc"

if( confirm($text) ) location.href='/&deletedoc='+$id;


However, this occurs in a location.href which occurs in a <script
type="text/javascript"></script> code region. The validator should NOT be
looking for &amp; within JavaScript because &amp; is translated into & in HTML,
not in JavaScript. Please resolve this problem.

Thank you for your time,
  Boaz
Received on Friday, 31 December 2004 06:45:36 GMT

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