W3C home > Mailing lists > Public > www-validator@w3.org > May 2004

[VE][338] New Error Message Suggestion

From: Robert Holst <roho02@student.bth.se>
Date: Sat, 22 May 2004 13:13:32 +0200
Message-ID: <000601c43fed$d152f390$03190a0a@roblibob>
To: <www-validator@w3.org>
in my opinon '&' chars should be allowed in links..
/Roblibob

 
Line 31, column 557: cannot generate system identifier for general entity "stad"
...class="right" href="index.php?val=25&stad=Karlskrona&omrade=68&hus=V%E4lj%20h

An entity reference was found in the document, but there is no reference by that name defined. Often this is caused by misspelling the reference name, unencoded ampersands, or by leaving off the trailing semicolon (;). The most common cause of this error is unencoded ampersands in URLs as described by the WDG in "Ampersands in URLs". 

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!). Be careful to end entity references with a semicolon or your entity reference may get interpreted in connection with the following text. Also keep in mind that named entity references are case-sensitive; &Aelig; and &aelig; are different characters. 

Note that in most documents, errors related to entity references will trigger up to 5 separate messages from the Validator. Usually these will all disappear when the original problem is fixed. 
Received on Saturday, 22 May 2004 07:40:05 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:13 GMT