W3C home > Mailing lists > Public > public-multilingualweb-lt@w3.org > January 2013

question on issue-110 (xml:lang vs. lang)

From: Felix Sasaki <fsasaki@w3.org>
Date: Fri, 25 Jan 2013 09:01:19 +0100
Message-ID: <51023BCF.9020906@w3.org>
To: "public-multilingualweb-lt@w3.org" <public-multilingualweb-lt@w3.org>
Hi all,

we had discussed on Wednesday
http://www.w3.org/2013/01/23-mlw-lt-irc#T11-36-22
that xml:lang and lang take precedence over the BCP 47 value conveyed by 
a "langRule". One clarification question: should we state that this 
relation also includes inherited values? e.g.

<html xml:lang="en" ...>...
<its:langRule selector="//h:p" langPointer="@class">
...
<body lang="ja"> ...
<p class="de">...
</html>

In this case the output of processing "langRule" would convey "en": 
xml:lang takes precedence over HTML lang. And xml:lang inherits to "p".

Thoughts? If we do this the above would be the test case Ankit has to 
do, see
https://www.w3.org/International/multilingualweb/lt/track/actions/396
so this would kill two birds with one stone.

- Felix
Received on Friday, 25 January 2013 08:01:44 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:08:26 UTC