- From: Peter Occil <poccil14@gmail.com>
- Date: Thu, 6 Jun 2013 13:16:01 -0400
- To: "Manu Sporny" <msporny@digitalbazaar.com>, "Alex Milowski" <alex@milowski.com>
- Cc: "RDFa WG" <public-rdfa-wg@w3.org>
> To mitigate this issue, we can make a minor editorial change to the > specification that states that authors SHOULD specify the language of > their document in the document if they want to ensure that all RDFa > processors will be capable of discovering the correct language for the > document. > > The premise is that there are not a large percentage of documents out > there that are served in this way (it's a corner case), and addressing > the issue is fairly trivial (specify the document language in the > document itself). > > Peter, Alex - does that solution work for each of you? Adding a note like that would work for me. The Internationalization question on this matter [1] recommends to "[a]lways use a language attribute on the html tag to declare the default language of the text in the page", that is, within the document, not in any HTTP headers. So adding a note recommending this would be sensible to me. In any case, I hope that a DOM attribute to retrieve the language of a node will eventually be added to the DOM specification. --Peter [1]: http://www.w3.org/International/questions/qa-html-language-declarations
Received on Thursday, 6 June 2013 17:16:41 UTC