[Bug 10152] [polyglot] i18n comment 5 : Mention lang and xml:lang

http://www.w3.org/Bugs/Public/show_bug.cgi?id=10152

--- Comment #16 from Richard Ishida <ishida@w3.org> 2011-03-09 18:37:12 UTC ---
The polyglot document is fairly laconic, so Elliot may think that it is enough
to say 'when defining the default language for the document use the language
attributes' and leave it to others to explain the ins and outs.  If not, then
as HTML5 currently stands, I think it may be better to have a note that says
something like:

"If you do not use language attributes on the html element, you should not have
a <meta type=content-language content=*> element with a single language value
for the content attribute. This is because HTML5 interprets this as setting the
default language for the root element, but XML does not."

or 

"If you have a <meta type=content-language content=*> element with a single
language value for the content attribute, you must use language attributes on
the html element. Otherwise HTML5 interprets this as setting the default
language for the root element, but XML does not."

However, I actually think that we need to push for resolution of ISSUE-88
before worrying about the content-language meta in the polyglot document, since
the current behaviour of content-language meta is currently under doubt.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Wednesday, 9 March 2011 18:37:15 UTC