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 266 - Unencoded ampersands in markup are an error
Summary: Unencoded ampersands in markup are an error
Status: RESOLVED INVALID
Alias: None
Product: CSSValidator
Classification: Unclassified
Component: Other (show other bugs)
Version: CSS Validator
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Philippe Le Hegaret
QA Contact:
URL: http://habby.net/shop/shop.php
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-10 23:18 UTC by Ray Schooth
Modified: 2004-11-25 21:35 UTC (History)
0 users

See Also:


Attachments

Description Ray Schooth 2003-07-10 23:18:21 UTC
   the link 
<a href=\"/shop/index.php?session=$session&table=$table&scat=unknown\"> OR in 
print
<a href="/shop/index.php?
session=d5225884b728c6cbc955e805b53cc6c0&table=shopping&scat=unknown">

produces the folowing ERROR message:
===
Please, validate your XML document first!

Line 132

Column 97

The reference to entity "table" must end with the ';' delimiter.
===
So, obviously, the validator doesn't get that the & is just a character in a 
string...
Comment 1 Ray Schooth 2003-07-11 00:54:24 UTC
the character & has to be replaced with "&amp;" in the string as well ... and 
off we go :)