[Bug 16489] Retrieve element language

https://www.w3.org/Bugs/Public/show_bug.cgi?id=16489

Manu Sporny <msporny@digitalbazaar.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |msporny@digitalbazaar.com

--- Comment #1 from Manu Sporny <msporny@digitalbazaar.com> ---
This bug affects all JavaScript-based RDFa and Microdata processors. 

If the "de" BCP47 language code is set via the Content-Language HTTP header,
and no language information is set in the HTML document, a JavaScript based
implementation may think that the language is not set.

At present, it is impossible for a JavaScript implementation to
deterministically retrieve an HTML5 element's language if no language
information is provided in the document and the language was set via the
Content-Language HTTP Header.

The HTML+RDFa 1.1 specification states that because of this, all HTML+RDFa 1.1
implementations implemented in JavaScript will be non-conforming in this
specific case until the DOM exposes the language of an element. The guidance
provided at this moment is that all HTML+RDFa and HTML+Microdata authors should
specify the language of the document (if there is one) in the document itself
to ensure that all Microdata/RDFa implementations are capable of retrieving the
language of the element.

Once this bug is fixed, then one can perform a fully-conforming implementation
of RDFa or Microdata in JavaScript.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Thursday, 6 June 2013 14:54:10 UTC