W3C home > Mailing lists > Public > www-validator@w3.org > July 2003

Re: http-equiv="refresh" redirects ignored in markup validator

From: Olivier Thereaux <ot@w3.org>
Date: Mon, 28 Jul 2003 22:21:15 +0900
Cc: <www-validator@w3.org>
To: <lholst@robotics.lu.se>
Message-Id: <5DB47ED4-C0FE-11D7-9EF4-000393A63FC8@w3.org>

Greetings Lars,


On Monday, Jul 28, 2003, at 18:43 Asia/Tokyo, Lars Holst wrote:
> Under the root directory, I have an "index.shtml" file that redirects 
> the
> visitor to another directory where the actual index file resides as a 
> php
> file, as follows:
>
> <meta http-equiv="Refresh" Content="0; 
> URL=http://www.inug.nu/en/home/" />

Please read <http://www.w3.org/2001/06tips/reback>: <meta 
http-equiv="Refresh"> is not a recommended (i.e, it's ugly) way to do a 
redirect. The Markup validator does supports the recommended HTTP-based 
redirects.

> If the validator could be made to follow these kinds of redirects it 
> would
> be helpful.

Not sure about this either. If someone tries to validate a file, the 
validator should probably validate this file, not whatever it refreshes 
to after n seconds (I know, the case n=0 is a limit case but better 
forget this practice anyway).

cheers,
-- 
olivier Thereaux - W3C - QA : http://www.w3.org/QA/
http://www.w3.org/People/olivier | http://yoda.zoy.org
Received on Monday, 28 July 2003 09:23:09 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:58:35 UTC