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,  

> 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
Received on Tuesday, 19 August 2008 10:12:09 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:15:37 UTC