Re: Language of a node and HTML+RDFa JavaScript implementations

I am willing to go along with this small wording change.


On Thu, Jun 6, 2013 at 12:16 PM, Peter Occil <poccil14@gmail.com> wrote:

> 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<http://www.w3.org/International/questions/qa-html-language-declarations>
>
>


-- 
Shane P. McCarron
Managing Director, Applied Testing and Technology, Inc.

Received on Thursday, 6 June 2013 17:43:06 UTC