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

Re: validator chokes on &

From: Harold A. Driscoll <harold@driscoll.chi.il.us>
Date: Thu, 29 Jul 1999 23:19:19 -0500
Message-Id: <199907300420.XAA21832@postal.interaccess.com>
To: Reinout van Schouwen <rmvschou@cs.vu.nl>
Cc: www-validator@w3.org
At 17:18 29-07-99 , you wrote:
>about a problem I have with validating a site made by me: it contains
>links to a banner exchange service and a statistics service, and both of
>these URLs contain a '&' character. 
>
>The w3-validator and also the HTMLHelp-validator mistakenly assume 
>that it is an HTML entity and report an error. 

Why do you suggest "mistakenly?" If it isn't an HTML entity, it shouldn't
be expressed as such. Put simply, when you have an & within a URL within an
HTML page, you'll need to ~quote~ it as &amp (or typically &amp;).

>Is there a way around this so
>that I can put the "HTML 4.0" on this site?

Yep... use &amp (or &amp;) for each & in the URL.

>You can find the page I'm talking about at
>http://clubsupport.info.nl/8106/

Actually not... hints, perhaps, but the actual URL of the page in question
might have been better.

Safe computing,  /Harold
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Harold A. Driscoll                       mailto:harold@driscoll.chi.il.us
#include <std/disclaimer>      http://homepage.interaccess.com/~driscoll/
Received on Friday, 30 July 1999 00:20:56 GMT

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