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

Re: [VE][325] Error Message Feedback

From: David Dorward <david@dorward.me.uk>
Date: Wed, 8 Dec 2004 16:48:13 +0000
To: Evan Goldschmidt <egoldschmidt@riverdale.edu>
Cc: www-validator@w3.org
Message-ID: <20041208164813.GC25014@us-lot.org>

On Wed, Dec 08, 2004 at 09:01:08AM -0500, Evan Goldschmidt wrote:
> I run a PHP website and wanted to use the W3C Validator to check my HTML
> syntax. The problem is when I use sessions in PHP it adds
> &PHPSESSID

I have no idea why PHP defaults to using & instead of &amp; (or even
;) as, as you noted, it is invalid in all versions of HTML and
XHTML. The PHP authors obviously know about the issue as it describes
how to fix it in the PHP manual in the sessions chapter. Look for some
handwaving about "Full XHTML conformance" or similar.

-- 
David Dorward                                      http://dorward.me.uk
Received on Wednesday, 8 December 2004 16:48:17 GMT

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