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 15:25:02 +0200 (EET)
To: www-validator@w3.org
Message-ID: <Pine.GSO.4.58.0401221520350.23720@korppi.cs.tut.fi>

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 GMT

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