W3C home > Mailing lists > Public > www-validator@w3.org > January 2004

Re: XHTML validator problems

From: Jukka K. Korpela <jkorpela@cs.tut.fi>
Date: Thu, 22 Jan 2004 12:42:36 +0200 (EET)
To: www-validator@w3.org
Message-ID: <Pine.GSO.4.58.0401221237240.9843@korppi.cs.tut.fi>

On Thu, 22 Jan 2004, Beton, Richard wrote:

> It's no surprise that the W3C Validator (an HTML validator) does not
> validate the HTTP parameters, which are probably considered outside its
> scope.

It's a markup validator (SGML or XML validator); it can be used for
validating HTML documents, but the validator actually knows nothing about
HTML - it simply uses the DTD given. (Or, one might say, as far as it
knows something about HTML, it isn't a [pure] validator any more.)

It is clear, and not just probable or a matter of arbitrary decision,
that a validator processes CDATA declared attributes (such as
http-equiv and content attributes in HTML) simply as strings.

That is, do not expect a validator to give an error message about
http-equiv="something i just invented" content="/%#+", because
there's no reportable markup error.

-- 
Jukka "Yucca" Korpela, http://www.cs.tut.fi/~jkorpela/
Received on Thursday, 22 January 2004 05:42:39 GMT

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