W3C home > Mailing lists > Public > www-validator@w3.org > October 1999

Re: HTML Validator Bug

From: L. David Baron <dbaron@fas.harvard.edu>
Date: Fri, 8 Oct 1999 17:17:00 -0400 (EDT)
Message-Id: <199910082117.RAA30368@is01.fas.harvard.edu>
To: webpage@depere.k12.wi.us, www-validator@w3.org
On Fri, 8 Oct 1999 16:55:18 -0400 (EDT), "Nathan Miller"
(webpage@depere.k12.wi.us) wrote:

[ long lines repaired ]

> I am writing to inform you of a bug with the validator.

It's not a bug.

> When validating a page with a URI containing and ampersand (for cgi
> purposes), the validator returns an error saying that (the variable
> name following the ampersand) is not a valid entity.

> The validator should not look for entities in (URLs, URIs, URNs,
> etc.) because (to the best of my knowledge) the ampersand is not used
> to indicate an entity when dealing with URIs. (% is used).

You're correct that the ampersand has no meaning in URIs.  However, it
has meaning in HTML, and the URIs are being given in an HTML document.
If you want an ampersand in an HTML document, it must be escaped as
&amp;.  See previous messages on this list:


The latter refers to earlier posts.

Also see:



L. David Baron    Sophomore, Harvard (Physics)    dbaron@fas.harvard.edu
Links, SatPix, CSS, etc.     <URL: http://www.fas.harvard.edu/~dbaron/ >
WSP CSS AC                      <URL: http://www.webstandards.org/css/ >
Received on Friday, 8 October 1999 17:17:01 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:25 UTC