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

[VE][338] New Error Message Suggestion

From: Kim Steinhaug <kim@steinhaug.com>
Date: Sun, 23 May 2004 13:06:32 +0200
Message-ID: <004101c440b6$03ae32f0$6401a8c0@steinhaug>
To: <www-validator@w3.org>
How can I avoid this error?

Below are the results of attempting to parse this document with an SGML parser. 

  1.. Line 36, column 161: cannot generate system identifier for general entity "PHPSESSID"

  ... - <a href="storefront.php?page=news&PHPSESSID=4454637f43504000ccc956c668d5c1

  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. 

  (Send feedback on message #338) 

Problem is that it is the PHP enginne which adds this &PHPSESSID into the code. How can I avoid this, since its really messing up the validation from really 0 errors to 250 occurencies of the above...

Mvh,
Kim Steinhaug
kim@steinhaug.com
www.steinhaug.com
 
_____________________________________
- - - - - -    Steinhaug Webutvikling  - - - - - - - -
- - - - - -  Hverdager 10.00 - 16.00 - - - - - - - -
 
Telefon : 88 00 92 45   -   Telefaks : 88 00 92 46
 
    Nettadresse : http://www.steinhaug.com/
     E-post adresse : firma@steinhaug.com
______________________________________
Received on Sunday, 23 May 2004 07:03:24 GMT

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