W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2009

Re: [WIDGET PC] i18n comment 7: Step not necessary?

From: Marcos Caceres <marcosc@opera.com>
Date: Fri, 10 Jul 2009 17:20:14 +0200
Message-ID: <b21a10670907100820h6e617236v780d3ee7ad907052@mail.gmail.com>
To: "Phillips, Addison" <addison@amazon.com>
Cc: "ishida@w3.org" <ishida@w3.org>, "public-Webapps@w3.org" <public-Webapps@w3.org>, "public-i18n-core@w3.org" <public-i18n-core@w3.org>
On Fri, Jul 10, 2009 at 4:40 PM, Phillips, Addison<addison@amazon.com> wrote:
> (personal response)
>> The WebApps WG believes that removing the redundant repetitions in
>> a
>> standardized way may avoid interop issues. Having said that, in the
>> latest editors' draft, the rightmost occurrences are removed (as
>> suggested above).
> Actually, I don't believe that there are interoperability issues to avoid. If two identical ranges appear in a language priority list, the second occurrence will produce the same results as the first one. If you are processing the second one, presumably the result will be no match.
> Note that, with the lookup algorithm, this also applies to ranges that are prefixes of other ranges. For example, consider the list "en-us-boont,en". The second item (en) mirrors the last match attempted with "en-us-boont".
> It is an optimization to omit these ranges, but won't change the results.

Agreed. You are right, it makes no difference (just the list is
ugly:)) so it is just a tiny editorial change: I've removed "step 4"
and updated examples.

>> Please see for the updated algorithm:
>> http://dev.w3.org/2006/waf/widgets/#step-5--derive-the-user-agents-
>> locale
> Thanks. We'll review it.
> Addison

Marcos Caceres
Received on Friday, 10 July 2009 15:21:10 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:26:17 UTC