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

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

From: Felix Sasaki <fsasaki@w3.org>
Date: Mon, 28 Jan 2013 20:40:49 +0100
Message-ID: <5106D441.5070401@w3.org>
To: Shaun McCance <shaunm@gnome.org>
CC: Jirka Kosek <jirka@kosek.cz>, "public-multilingualweb-lt@w3.org" <public-multilingualweb-lt@w3.org>
Am 28.01.13 20:27, schrieb Shaun McCance:
> <html xml:lang="en" ...>...
> > >><its:langRule selector="//h:p" langPointer="@class">
> > >>...
> > >><body lang="ja"> ...
> > >><p class="de">...
> > >></html>
Thanks for the feedback, Shaun. At Leroy, I think the below might sense 
as a test file (at least the Japanese part) - just see what you want to use.

Best,

Felix

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
     <head>
         <title>Document with MANY languages</title>
         <script type="application/its+xml">
             <its:rules xmlns:its="http://www.w3.org/2005/11/its" 
version="2.0">
              <its:langRule selector="//h:p" langPointer="@class" 
xmlns:h="http://www.w3.org/1999/xhtml"/>
             </its:rules>
         </script>
     </head>
     <body lang="ja">
         <h1>このファイルはITS2.0のテストスイートに属する。</h1>
         <p class="de">Diese Datei gehört zur <em>ITS 2.0 
Testsuite.</em></p>
     </body>
</html>
Received on Monday, 28 January 2013 19:41:16 UTC

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