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
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">...

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
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.4.0 : Friday, 17 January 2020 16:32:00 UTC