[thelist] REFC Delimiter

Christopher Joseph Christopher at ideadesigners.com
Thu Apr 25 06:29:01 CDT 2002


I am using PHP to dynamically output site information. The PHP passes
variables through the name space like so:

....index.php?option=contact&foo=6

I am trying to validate the page with W3C validator and it comes up trumps
except for 2 issues that occur for every dynamic href.

1. "Error:Unknown Entity 'foo'" --> Pointing to the amphersands in the
dynamic URLs
2. "Error:Reference not terminated by an refc delimiter" --> pointing to the
equals sign in the dynamic URLs.

I am validating for XHTML 1.0 Transitional. I think that the validator is
assuming that the '&foo' is an entity like '&amp' and that I am then
incorrectly terminating it (an entity should be terminated with ';')

SO.......how should my PHP produce URLs in order that my site validates OR
is this a bug in the W3C validator?

Chris
http://www.ideadesigners.co.uk/id_co_uk/ a WIP




More information about the thelist mailing list