This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 7874 - Isn't entity reference in a href!
Summary: Isn't entity reference in a href!
Alias: None
Product: Validator
Classification: Unclassified
Component: check (show other bugs)
Version: HEAD
Hardware: PC Windows XP
: P2 major
Target Milestone: ---
Assignee: This bug has no owner yet - up for the taking
QA Contact: qa-dev tracking
Depends on:
Reported: 2009-10-10 02:42 UTC by Azo Melano
Modified: 2009-10-10 07:33 UTC (History)
0 users

See Also:


Description Azo Melano 2009-10-10 02:42:29 UTC
The line

<a href=''><img style="border:0;width:88px;height:31px" src="" alt="CSS válido!" /></a>

is generating erros like

Line 19, Column 100: general entity "profile" not defined and no default entity

Here is the full list of errors:;accept=text%2Fhtml%2Capplication%2Fxhtml%2Bxml%2Capplication%2Fxml%3Bq%3D0.9%2C*%2F*%3Bq%3D0.8;accept-language=pt-br%2Cpt%3Bq%3D0.8%2Cen-us%3Bq%3D0.5%2Cen%3Bq%3D0.3;accept-charset=ISO-8859-1%2Cutf-8%3Bq%3D0.7%2C*%3Bq%3D0.7
Comment 1 Ville Skyttä 2009-10-10 07:33:39 UTC
That's right, please read the error explanation given by the validator.  Here's a part of it:

  Entity references start with an ampersand (&) and end with a semicolon (;).
  If you want to use a literal ampersand in your document you must encode it
  as "&amp;" (even inside URLs!).