W3C home > Mailing lists > Public > www-validator@w3.org > October 2006

Re: [VE][63] Wrong character in meta element ?

From: Jukka K. Korpela <jkorpela@cs.tut.fi>
Date: Sat, 7 Oct 2006 15:12:34 +0300 (EEST)
To: Egon Frerich <e.frerich@nord-com.net>
cc: www-validator@w3.org
Message-ID: <Pine.GSO.4.64.0610071501260.16996@mustatilhi.cs.tut.fi>

On Sat, 7 Oct 2006, Egon Frerich wrote:

> Validating Error [63]: "character data is not allowed here"

I hope David's explanation cleared this up. But there is another
thing that I'd like to note, although it doesn't relate to validation 
proper except that it is an error that one might expect a validator 
to catch up but cannot be caught by it:

>> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">

No problem with specifying the document content language that way - it's 
technically correct and recommended, and there's little we can do with the 
issue that very few programs _utilize_ the information there.

>>   <meta http-equiv="language" content="de" />

This, in turn, is incorrect, since there is no "language" header specified 
in the HTTP protocol. You could use "Content-Language" instead, as some 
authoring programs do, but this entire meta tag is probably quite useless.

A validator _cannot_ check that the http-equiv="" value is correct, 
because by the formalized HTML syntax, the value is CDATA, which means 
"anything goes".

Jukka "Yucca" Korpela, http://www.cs.tut.fi/~jkorpela/
Received on Saturday, 7 October 2006 12:12:48 UTC

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