Re: XHTML validator problems

On Thu, 22 Jan 2004, Bjoern Hoehrmann wrote:

> * Jukka K. Korpela wrote:
> >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.
>
> http-equiv is actually a NAME attribute.

I stand corrected. In HTML 4, it is indeed a NAME attribute, so
a validator will report
http-equiv="something i just invented"
as an error. But naturally
http-equiv="something-i-just-invented"
will pass validation.

And in XHTML, http-equiv is CDATA, since there is no NAME in XML.

-- 
Jukka "Yucca" Korpela, http://www.cs.tut.fi/~jkorpela/

Received on Thursday, 22 January 2004 08:29:20 UTC