Validator BUG report

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 UTC