Re: validator chokes on &

From: Harold A. Driscoll (harold@driscoll.chi.il.us)
Date: Fri, Jul 30 1999


Message-Id: <199907300420.XAA21832@postal.interaccess.com>
Date: Thu, 29 Jul 1999 23:19:19 -0500
To: Reinout van Schouwen <rmvschou@cs.vu.nl>
From: "Harold A. Driscoll" <harold@driscoll.chi.il.us>
Cc: www-validator@w3.org
Subject: Re: validator chokes on &

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/