W3C home > Mailing lists > Public > www-validator@w3.org > October 2000

Re: Validator problem

From: Terje Bless <link@tss.no>
Date: Tue, 17 Oct 2000 16:33:02 +0200
To: W3C Validator <www-validator@w3.org>
cc: psp@mindpass.com
Message-ID: <20001017163353-r01010600-f9545de9@10.0.0.2>
On 17.10.00 at 09:58, psp@mindpass.com wrote:

>I get an error because the word "document" is part of an URL - why?

Sorry, that error message is a bit misleading. You are using ampersands to
separate parameters to a CGI program, but you haven't encoded the
amperstands in your HTML. In HTML, the amperstand introduces an entity
reference so the Validator is in effect telling you that it doesn't know
any "&document;" entity.

To fix this problem, encode all the amperstands in your URLs as "&amp;".
E.g.

/addcounter.asp?id=7288&amp;document=Ingen_Script
                       ^^^^^

Browsers will internally decode the "&amp;" into just "&" before it sends
the request.


>I tried to read the FAQ from http://validator.w3.org/feedback.html
>but I can't get access.

Hmm, seems WDG is down again. The FAQs should probably be hosted locally on
w3.org. Thanks for reminding me.


-- 
As a cat owner, I know this for a fact...
Nothing says "I love you" like a decapitated gopher on your front porch.
Received on Tuesday, 17 October 2000 10:34:02 GMT

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