This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
I have the following hyper-link code on my page: <a style="background-color: #3399AA; color: #003366; " href="?css=css1&page=0">style1</a> and the XHTML1.0 validator keeps giving me these errors: >>cannot generate system identifier for general entity 'page' ...A; color: #003366; " href="?css=css1&page=0">style1</a><br /><a style="backgr ________________________________________^ (points to p in 'page') >>general entity "page" not defined and no default entity. (points to p in 'page' again) >>reference not terminated by REFC delimiter. ...olor: #003366; " href="?css=css1&page=0">style1</a><br /><a style="background (points to '=' after 'page') And many more simular errors (pointing to '=', '?', '&'. (total 24 errors) I want to know if my code really contains errors or it's a BUG in the validator. Note: the WEB-COUNTER (error 11, line 134 (warning) to error 62, line 137 are errors that occur because of wrong code and arent validator bug related. Thank You.
(In reply to comment #0) > I want to know if my code really contains errors or it's a BUG in the > validator. In general, if the validator says your code is wrong, you can trust that it *is* wrong. In this case in particular: > I have the following hyper-link code on my page: > <a href="?css=css1&page=0">style1</a> Have you read the explanation that comes with the error message? http://validator.w3.org/docs/errors.html#ve-338 [[ If you want to use a literal ampersand in your document you must encode it as "&" (even inside URLs!). ]] In other words, replace "&" with "&", even in your links.