Re: [precis] Directionality rule (Was: Review of current document draft-ietf-precis-framework-20)
Peter Saint-Andre - &yet <peter@andyet.net> Mon, 09 February 2015 18:16 UTC
Return-Path: <peter@andyet.net>
X-Original-To: precis@ietfa.amsl.com
Delivered-To: precis@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 90F471A1B92 for <precis@ietfa.amsl.com>; Mon, 9 Feb 2015 10:16:51 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.601
X-Spam-Level:
X-Spam-Status: No, score=-2.601 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Wh19YS2Az0fs for <precis@ietfa.amsl.com>; Mon, 9 Feb 2015 10:16:49 -0800 (PST)
Received: from mail-ig0-f171.google.com (mail-ig0-f171.google.com [209.85.213.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8D9B11A1B5E for <precis@ietf.org>; Mon, 9 Feb 2015 10:16:49 -0800 (PST)
Received: by mail-ig0-f171.google.com with SMTP id h15so18196362igd.4 for <precis@ietf.org>; Mon, 09 Feb 2015 10:16:48 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=KCVygkLN8sDESt20FKmtlMy/Ynz9iyFSN5sILm2gonY=; b=mclhR/5qj2qv0QMxgH3HVyaZvGLEmp++NGNUZfBa/i6zj2okNzEthUwZQE5882UwgW 3HWdXjxsnsNj9aaqjRsncxLVYSoP/GcILuuXCjzUK9sxH1UNnUpjYY+kejbtXh/AV2zP UhCQXdysUuVPkrcWD0KV4aPLtEdkoPp3WfMiHgYZvT2LRJL1XNZRZ9FeRFW04ZwUGZPF t504WYimx5BTzXKAIzfU3/PbKiPE5SZzpRxbFBVyqRQCXzUeyrThFLTL7+HUQS6n9OXI F97UeXm0XoBlzPjm/QrkY/BgNXeaybir70nNpX2/B/0JYpoZRAV21VNhKa47nu6VnB7D DETg==
X-Gm-Message-State: ALoCoQljWc278L2766LdBj0IXCFNUIrN8ANIkkfEpL+ECicsHrnNLrNTdPjpm/KZOgFZ7T/iQYrT
X-Received: by 10.107.7.93 with SMTP id 90mr13485009ioh.69.1423505808807; Mon, 09 Feb 2015 10:16:48 -0800 (PST)
Received: from aither.local (c-73-34-202-214.hsd1.co.comcast.net. [73.34.202.214]) by mx.google.com with ESMTPSA id f37sm5474855iod.20.2015.02.09.10.16.47 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Feb 2015 10:16:48 -0800 (PST)
Message-ID: <54D8F98F.4050309@andyet.net>
Date: Mon, 09 Feb 2015 11:16:47 -0700
From: Peter Saint-Andre - &yet <peter@andyet.net>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.4.0
MIME-Version: 1.0
To: Pete Resnick <presnick@qti.qualcomm.com>
References: <13AD33F4-1741-472E-8423-1B0302734325@frobbit.se> <54851FAD.4040009@andyet.net> <54D8EC54.8020203@qti.qualcomm.com>
In-Reply-To: <54D8EC54.8020203@qti.qualcomm.com>
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/precis/G7eGdjRcpVXvx3FIob4WHuuZTls>
Cc: precis@ietf.org
Subject: Re: [precis] Directionality rule (Was: Review of current document draft-ietf-precis-framework-20)
X-BeenThere: precis@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Preparation and Comparison of Internationalized Strings <precis.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/precis>, <mailto:precis-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/precis/>
List-Post: <mailto:precis@ietf.org>
List-Help: <mailto:precis-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/precis>, <mailto:precis-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 09 Feb 2015 18:16:51 -0000
On 2/9/15 10:20 AM, Pete Resnick wrote: > Crap. Somehow I missed this discussion back in December, and didn't > notice it before I sent out Last Call. When I went to put in my new > ballot, I saw the change. > > On 12/7/14 9:49 PM, Peter Saint-Andre - &yet wrote: >>>> 5.2.5. Directionality Rule >>>> >>>> >>>> The directionality rule of a profile specifies how to treat >>>> strings containing left-to-right (LTR) and right-to-left (RTL) >>>> characters (see Unicode Standard Annex #9 [ UAX9 ]). A profile >>>> usually specifies a directionality rule that restricts strings to >>>> be entirely LTR >>>> strings or entirely RTL strings and defines the allowable >>>> sequences of characters in LTR and RTL strings. Possible rules >>>> include, but are not limited to, (a) considering any string that >>>> contains a right- to-left code point to be a right-to-left string, >>>> or (b) applying the "Bidi Rule" from [ RFC5893 ]. >>> >>> One can not restrict to only LTR or RTL as some code points are >>> neutral regarding directionality. >>> >>> See RFC5893. This was one of the mistakes in IDNA2003. >> >> I think you're right that the foregoing text is not quite correct. >> >> And in any case, as John Klensin reiterated at the mic in a recent >> PRECIS WG session, if we define something other than the Bidi Rule >> then we'll likely get it wrong. I think that text predates John's >> comments and hasn't been updated.. > > While I agree that the text that I had proposed earlier is not correct > as it stands for the reason Patrik identifies, setting it back to: > > The directionality rule of a profile specifies how to treat strings > that contain right-to-left (RTL) characters (see Unicode Standard > Annex #9 [UAX9]). In general this document recommends applying the > "Bidi Rule" from [RFC5893] to strings that contain RTL characters. > > (i.e., what was there before the AD Evaluation) was not correct. There > was, I thought, agreement on the problem I was pointing out, and text > inserted to address it. Encouraging the use of 5893 is a bad thing > outside of the DNS. I think John Klensin made a good point at the mic at a semi-recent meeting (London?) that, if we try to define a new bidirectionality rule, we are likely to do it wrong. > As we discussed at the time, the only reason that > the 5893 Bidi Rule is so restrictive is because the (a) IDNA is already > extremely restrictive in the characters it allows and (b) for DNS > purposes, they wanted to make the display of labels around "."s more > sane. Recommending 5893 it in other contexts is far too restrictive. Let > me make another attempt to correct the above text without getting the > bit about "only LTR or RTL" wrong: > > The directionality rule of a profile specifies how to treat strings > containing combinations of characters with different directionality > (e.g., left-to-right (LTR) characters, right-to-left (RTL) > characters, and/or neutral directionality characters; see Unicode > Standard Annex #9 [ UAX9 ]). A profile usually specifies a > directionality rule that restricts strings to contain combinations of > either entirely LTR and neutral characters or entirely RTL and > neutral characters. A directionality rule can also define the > allowable sequences of characters in such strings. The "Bidi Rule" > from [RFC5893] is a particularly restrictive example of such a > directionality rule. > > I am not wedded to the above, but what I would hate to see was this > document go out the door with 5893 as the *recommendation*. What I would hate to see is leaving directionality handling up to the profiles without much guidance about what to do. > I am not > about to hold up the document because of this, but if we can come up > with text that does not recommend 5893, it would make me very happy. Agreed on the goal, I think. Peter -- Peter Saint-Andre https://andyet.com/
- [precis] Review of current document draft-ietf-pr… Patrik Fältström
- Re: [precis] Review of current document draft-iet… Peter Saint-Andre - &yet
- Re: [precis] Review of current document draft-iet… Patrik Fältström
- Re: [precis] Review of current document draft-iet… Peter Saint-Andre - &yet
- Re: [precis] Review of current document draft-iet… Patrik Fältström
- Re: [precis] Review of current document draft-iet… Peter Saint-Andre - &yet
- Re: [precis] Review of current document draft-iet… Patrik Fältström
- Re: [precis] Review of current document draft-iet… Peter Saint-Andre - &yet
- Re: [precis] Review of current document draft-iet… Peter Saint-Andre - &yet
- Re: [precis] Review of current document draft-iet… Patrik Fältström
- Re: [precis] Review of current document draft-iet… Peter Saint-Andre - &yet
- Re: [precis] Review of current document draft-iet… Patrik Fältström
- Re: [precis] Review of current document draft-iet… Peter Saint-Andre - &yet
- Re: [precis] Review of current document draft-iet… Patrik Fältström
- Re: [precis] Review of current document draft-iet… Peter Saint-Andre - &yet
- Re: [precis] Review of current document draft-iet… Peter Saint-Andre - &yet
- Re: [precis] Review of current document draft-iet… Peter Saint-Andre - &yet
- [precis] Directionality rule (Was: Review of curr… Pete Resnick
- Re: [precis] Directionality rule (Was: Review of … Peter Saint-Andre - &yet
- Re: [precis] Directionality rule (Was: Review of … Peter Saint-Andre - &yet
- Re: [precis] Directionality rule (Was: Review of … Pete Resnick
- Re: [precis] Directionality rule (Was: Review of … Peter Saint-Andre - &yet
- Re: [precis] Directionality rule (Was: Review of … Pete Resnick
- Re: [precis] Directionality rule (Was: Review of … Bjoern Hoehrmann
- Re: [precis] Directionality rule (Was: Review of … John C Klensin
- Re: [precis] Directionality rule (Was: Review of … Peter Saint-Andre - &yet
- Re: [precis] Directionality rule (Was: Review of … Andrew Sullivan
- Re: [precis] Directionality rule (Was: Review of … Pete Resnick
- Re: [precis] Directionality rule (Was: Review of … Peter Saint-Andre - &yet
- Re: [precis] Directionality rule (Was: Review of … Peter Saint-Andre - &yet
- Re: [precis] Directionality rule (Was: Review of … Bjoern Hoehrmann
- Re: [precis] Directionality rule (Was: Review of … Peter Saint-Andre - &yet
- Re: [precis] Directionality rule (Was: Review of … Pete Resnick
- Re: [precis] Directionality rule (Was: Review of … John C Klensin
- Re: [precis] Directionality rule (Was: Review of … Peter Saint-Andre - &yet
- Re: [precis] Directionality rule (Was: Review of … Black, David
- Re: [precis] Directionality rule (Was: Review of … Peter Saint-Andre - &yet
- Re: [precis] Directionality rule (Was: Review of … Pete Resnick
- Re: [precis] Directionality rule (Was: Review of … Peter Saint-Andre - &yet