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

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

From: Elliotte Harold <elharo@metalab.unc.edu>
Date: Tue, 01 May 2007 07:28:37 -0400
Message-ID: <46372465.6070005@metalab.unc.edu>
To: "Jukka K. Korpela" <jkorpela@cs.tut.fi>
CC: Kati <kati.pe@comhem.se>, www-validator@w3.org

Jukka K. Korpela wrote:
> On Tue, 1 May 2007, Kati wrote:
>> It would be nice if the validator just took a glance at the META 
>> refresh directive.
> No, that would be quite incorrect. A validator is supposed to check the 
> conformance of a document against the DTD it purports to comply with. 
> Nothing more, nothing less. It is quite agnostic about the meaning of 
> any element.

No. A validator can do quite a bit more than that. While a pure XML 
validator might only check against a DTD, an *HTML* validator should 
check a document for conformance to the HTML specification. This 
specification(s) has some constraints that are not and indeed cannot be 
expressed in a DTD. For instance, there is the constraint that a 
elements are not nested.

I am not sure if the META refresh directive is defined in the spec, but 
if it is we should check it.

If it's not, we might still want to check it if there is a decent spec 
for that element and consensus on what should be there. The validator 
already checks some accessibility issues that are not spelled out in the 
  HTML spec. We could check this too.

Elliotte Rusty Harold  elharo@metalab.unc.edu
Java I/O 2nd Edition Just Published!
Received on Tuesday, 1 May 2007 11:28:45 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:52 UTC