RE: Regarding update of language declaration tests (I81NWG)

CE Whitehead, Mon, 19 Apr 2010 19:47:57 -0400:
> I looked at your proposal Leif:
> http://www.w3.org/html/wg/wiki/ChangeProposals/lang_versus_contentLanguage
> "The value of the content attribute of the last occurring meta 
> content-language element must be the empty string."
> { MY COMMENT:  no not really;
> I think it should optionally be lang="" and some single language 
> declaration tag;

Yes. Thanks to your mention of the QA article about "no language", I 
think I will make some drastic changes to it.

  [...]
>> Thanks for the pointer. Since XHTML5 and HTML5 support the empty 
>> string, the consequence of the advice in that article, must be that one 
>> should *not* use "und" in XHTML5 and HTMl5.
>> The problem, however, is browser support ... They do not seem to care 
>> about the so called "schema". 'und' has better support than the empty 
>> string.
> So -- if the emptry string is disallowed for the meta 
> content-language element -- 
> lang='und' will be the best option?

Absolutely. As I said, I will make some drastic changes to my Change 
Proposal. It is much easier for me to agree with the *current* text in 
HTML5, as long as I can use "und". Thanks for bringing that into the 
debate!

> (It sort of bugs me to declare the language as 'und' when there are 
> two known document languages -- neither having preference of course 
> or that could be the language declaration in the meta 
> content-language element in this case --; but if 'und' works . . .)

If you do

<meta http-equiv="Content-Language" content="und" />

then all you do is that you defines the *audience* language (because 
*that* is what - oddly enough - "Content-Language" refers to) as 
undefined.

So this,

<!DOCTYPE html>
<html 
    lang="<whatever-including-empty-or-deleted>"
     >
<meta http-equiv="Content-Language" content="und" />
<!--  et cetera -->

would be super for me. It basically gives me all I want and need.
-- 
leif halvard silli

Received on Tuesday, 20 April 2010 22:48:22 UTC