W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2008

Re: [widgets] Packaging & Configuration 1.0 pre-CfC comments

From: Jere Kapyaho <jere.kapyaho@nokia.com>
Date: Thu, 11 Dec 2008 08:48:34 +0200
To: ext Marcos Caceres <marcosscaceres@gmail.com>
CC: public-webapps <public-webapps@w3.org>
Message-ID: <C5668462.44F7%jere.kapyaho@nokia.com>

Hi Marcos,

On 10.12.2008 18.40, "ext Marcos Caceres" <marcosscaceres@gmail.com> wrote:
>> - If there ever is a case of the WUA having to iterate all the localized
>> folders, I think it's going to be difficult or impossible to find them all.
> 
> Is this a problem with the way the algorithm in the spec is written?
> or is this a problem with with BCP47?

Neither, really. This could turn out to be mostly a non-issue specifically
because BCP47 was designed to be parsed with just formal understanding. All
subtags can be identified by length and position, so you just need to
iterate all the folder names and check if they could be formally valid
language tags. This could still give you false positives (directories with a
name that is a valid language tag, but which are not 'localized folders'),
which is why I suggested placing them one level down from the root. You
still need to check, but not all top-level dirs. But if you think this is
rare enough not to worry about, then I'll probably agree. :)

--Jere
Received on Thursday, 11 December 2008 06:49:12 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:28 GMT