W3C home > Mailing lists > Public > www-validator@w3.org > February 2007

Re: [VE][25] Validator Picks Out PHP Variables in Link URL

From: David Dorward <david@dorward.me.uk>
Date: Wed, 21 Feb 2007 08:19:33 +0000
Message-ID: <45DC0095.7090908@dorward.me.uk>
To: pjm <pjm@nac.net>, www-validator@w3.org

pjm wrote:
> Validating http://rhe.pehjota.com/
> Error [25]: "general entity X not defined and no default entity"
> I tried to validate my page for XHTML 1.0 Strict, but the validator 
> picked out a PHP variable in one of my links (a link to a PHP file with 
> variables defined in the URL) and said the variable was undefined, 
> possibly due to and "undefined entity reference" or an "unencoded 
> ampersand."

Yes, this is correct behaviour. The error message then goes on to 
explain how to fix it (in short, say "&amp;" when you mean "&" and not 
"start of entity").

David Dorward
Received on Wednesday, 21 February 2007 08:19:45 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:59:00 UTC