W3C home > Mailing lists > Public > www-validator@w3.org > November 2007

Re: can't check this doc.

From: Jukka K. Korpela <jkorpela@cs.tut.fi>
Date: Sun, 25 Nov 2007 21:54:56 +0200
Message-ID: <021801c82f9d$0efbe7e0$0500000a@DOCENDO>
To: "Daniel Talbot" <daniel348@comcast.net>, <www-validator@w3.org>

Daniel Talbot wrote:

> How come I cannot check this document
> http://home.comcast.net/~daniels_orchids/  I get an error  ( 301
> Moved Permanently )when I try to check it.

The error message is somewhat misleading, since there is nothing wrong 
with a 301 redirection per se. The problem is that due to server 
misconfiguration, the 301 response redirects to the same URL, causing an 
infinite loop, as you can see e.g. by checking the response headers 
using the http://web-sniffer.net service.

I suppose this is a rare error condition, so it's not particularly 
important how it is handled. Ideally, the validator should report that 
the resource cannot be retrieved due to self-referencing redirection, 
but I'm not sure whether this would really help.

It's not evident from HTTP specifications how a self-referencing 
redirect should be handled.


Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/ 
Received on Sunday, 25 November 2007 19:54:56 GMT

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