W3C home > Mailing lists > Public > public-html@w3.org > August 2008

Re: Dealing with conflict in lang and xml:lang

From: Anne van Kesteren <annevk@opera.com>
Date: Tue, 19 Aug 2008 12:11:23 +0200
To: "Richard Ishida" <ishida@w3.org>, public-html@w3.org
Cc: "'Henri Sivonen'" <hsivonen@iki.fi>, "'Toby A Inkster'" <tai@g5n.co.uk>
Message-ID: <op.uf4o89n064w2qv@annevk-t60.oslo.opera.com>

On Tue, 19 Aug 2008 12:04:40 +0200, Richard Ishida <ishida@w3.org> wrote:
> It seems to me that requiring sameness between lang and xml:lang  
> attributes
> leads to:
>
> a. difficulty in establishing what sameness means with things like  
> lang="fr"
> xml:lang="fr-FR" (which actually mean the same) [Note that in the future
> there may be a requirement to see things like en-GB and en-Latin-GB as  
> the
> same by BCP 47 matching rules]

For the purposes of conformance you can just require them to be identical,  
no?


> b. the question of what to do if they are not equal

That's not a conformance question and is already pretty clear from the  
specification. "xml:lang" in the null namespace (not "lang" in the XML  
namespace) is just ignored.


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>
Received on Tuesday, 19 August 2008 10:12:09 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:22 GMT