W3C home > Mailing lists > Public > www-validator-css@w3.org > March 2002

Re: Ununderstood error during validation

From: Philippe Le Hegaret <plh@w3.org>
Date: 25 Mar 2002 18:32:26 -0500
To: www-validator-css@w3.org
Cc: Hervé Renouard <renouard@bigfoot.com>
Message-Id: <1017099147.12043.200.camel@jfouffa>
> I'm trying to have my web site (http://le.coin.free.fr) validated but
> I encountered a problem.
> 
> The following line (my web counter) can not be validated :
> <img
>
src="http://perso0.free.fr/cgi-bin/wwwcount.cgi?df=le.coin.dat&ft=0&dd=blkre
> fl" alt="compteur">
> 
> I don't understand why this part causes the following errors :
> Error: unknown entity "ft"
> Error: unknown entity "dd"
> 
> It seems to be an error parsing the IMG entity because the first
> argument (df) doesn't produce the same error.

& is a special character in HTML and XHTML. You should escape it, except
insite a comment (<!-- -->). Use &amp; instead in order to have the &
character.

Philippe
Received on Monday, 25 March 2002 18:32:29 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 June 2012 00:14:10 GMT