Re: [Ltru] Eliminating the preposterous ASCII ordering in lookup

Mark Davis <mark.davis@icu-project.org> Wed, 22 February 2006 22:54 UTC

Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com) by megatron.ietf.org with esmtp (Exim 4.43) id 1FC2sD-0004vl-9n; Wed, 22 Feb 2006 17:54:17 -0500
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1FC2sB-0004vO-Qx for ltru@ietf.org; Wed, 22 Feb 2006 17:54:15 -0500
Received: from relay00.pair.com ([209.68.5.9]) by ietf-mx.ietf.org with smtp (Exim 4.43) id 1FC2sA-0008UT-JA for ltru@ietf.org; Wed, 22 Feb 2006 17:54:15 -0500
Received: (qmail 71981 invoked from network); 22 Feb 2006 22:54:14 -0000
Received: from unknown (HELO ?172.24.99.232?) (unknown) by unknown with SMTP; 22 Feb 2006 22:54:14 -0000
X-pair-Authenticated: 216.239.45.4
Message-ID: <43FCEB91.5010305@icu-project.org>
Date: Wed, 22 Feb 2006 14:54:09 -0800
From: Mark Davis <mark.davis@icu-project.org>
User-Agent: Thunderbird 1.5 (Windows/20051201)
MIME-Version: 1.0
To: John Cowan <cowan@ccil.org>
Subject: Re: [Ltru] Eliminating the preposterous ASCII ordering in lookup
References: <20060222205416.GC29410@ccil.org>
In-Reply-To: <20060222205416.GC29410@ccil.org>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 97adf591118a232206bdb5a27b217034
Cc: ltru@ietf.org
X-BeenThere: ltru@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Language Tag Registry Update working group discussion list <ltru.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/ltru>, <mailto:ltru-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/ltru>
List-Post: <mailto:ltru@ietf.org>
List-Help: <mailto:ltru-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/ltru>, <mailto:ltru-request@ietf.org?subject=subscribe>
Errors-To: ltru-bounces@ietf.org

I'm guessing, but only a guess, that this is related to the following text:

> For example, an implementation could return the matching content that 
> is first in ASCII-order. For example, if the language range were 
> "*-CH" and the set of content included "de-CH", "fr-CH", and "it-CH", 
> then the content labeled "de-CH" would be returned.
"preposterous" is a overblown language. And I strongly disagree with 
your proposed change. In the example there clearly *exists* content 
matching *-CH. So returning the default content (which could be, say, 
Japanese) is clearly *not* what I would have expected!

There could, of course, be other strategies for picking a single tag to 
return from lookup when there are multiple matches for a wildcard. But 
whatever example we choose should not return something so clearly 
disconnected from the user's desired outcome. And ASCII is simple to 
explain.

Mark

John Cowan wrote:
> It's really laughable to suggest that implementations might use ASCII
> tag ordering to make fallback decisions on lookup.  IMHO, the behavior
> of extended ranges on lookup should be:
>
> 	If the first subtag of a language range is '*' and it is
> 	followed by other ranges in a priority list, skip it.
> 	If the first subtag is '*' and there are no following
> 	ranges, return the default content.  All other '*' subtags
> 	should be removed before lookup processing is done.
>
> That is simple, clear, to the point, straightforward, and doesn't provide
> preposterous results.
>
>   

_______________________________________________
Ltru mailing list
Ltru@ietf.org
https://www1.ietf.org/mailman/listinfo/ltru