Re: XHTML validator problems

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 UTC