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

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 "&" when you mean "&" and not 
"start of entity").

-- 
David Dorward

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