Using the w3c validator, I get 'unknown entity' error for URL generated
using $Server->URL().

--
Line 8, column 75: cannot generate system identifier for general entity
"session-id"
  ..."
href="/css/style.css?category=misc&session-id=0aa89fea729d35f3cee8cb638927a
--

comment at:

http://validator.w3.org/docs/errors.html#bad-entity :-
--
A reference to a URI that uses & as a separator between parameters, such as
http://example.org/prog?x=1&y=2.

To solve this problem, simply replace all the &'s in attribute values with
& (user agents will convert them back before following the links.)

Another way to get around this problem is for the author of the CGI program
to allow a different value to be used between arguments, like ';' or '|',
which would allow the link to be coded as e.g. <a
href="http://example.org/prog?x=1;y=2";>
--

I didn't know this was ever a problem, but in light of this, is their anyway
to change the query string seperator or set it to (optional) '&amp;' ? I
find this bizarre, as I have been using plain '&' forever, but I would have
thought that W3C know what they are talking about.

Peter


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to