- From: Jirka Kosek <jirka@kosek.cz>
- Date: Fri, 25 Jan 2013 11:19:14 +0100
- To: Felix Sasaki <fsasaki@w3.org>
- CC: "public-multilingualweb-lt@w3.org" <public-multilingualweb-lt@w3.org>
Received on Friday, 25 January 2013 10:21:26 UTC
On 25.1.2013 9:01, Felix Sasaki wrote: > 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". My instinct says that inheritence shouldn't be applied here and for p element language should be selected using langRule. -- ------------------------------------------------------------------ Jirka Kosek e-mail: jirka@kosek.cz http://xmlguru.cz ------------------------------------------------------------------ Professional XML consulting and training services DocBook customization, custom XSLT/XSL-FO document processing ------------------------------------------------------------------ OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 rep. ------------------------------------------------------------------ Bringing you XML Prague conference http://xmlprague.cz ------------------------------------------------------------------
Received on Friday, 25 January 2013 10:21:26 UTC