Re: [precis] Review of current document draft-ietf-precis-framework-20

Patrik Fältström <paf@frobbit.se> Mon, 08 December 2014 05:58 UTC

Return-Path: <paf@frobbit.se>
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 6ACF81A1B23 for <precis@ietfa.amsl.com>; Sun, 7 Dec 2014 21:58:06 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.261
X-Spam-Level:
X-Spam-Status: No, score=-1.261 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_SE=0.35, MIME_8BIT_HEADER=0.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=no
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 smllJlVai5Mz for <precis@ietfa.amsl.com>; Sun, 7 Dec 2014 21:58:05 -0800 (PST)
Received: from mail.frobbit.se (mail.frobbit.se [IPv6:2a02:80:3ffe::176]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5C5001A6F17 for <precis@ietf.org>; Sun, 7 Dec 2014 21:58:05 -0800 (PST)
Received: from [192.168.1.83] (frobbit.cust.teleservice.net [85.30.128.225]) by mail.frobbit.se (Postfix) with ESMTPSA id A56EF21FA2; Mon, 8 Dec 2014 06:58:03 +0100 (CET)
Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\))
Content-Type: multipart/signed; boundary="Apple-Mail=_44C93124-DA30-4A66-92E9-386DF3ED9649"; protocol="application/pgp-signature"; micalg="pgp-sha1"
X-Pgp-Agent: GPGMail 2.5b3
From: Patrik Fältström <paf@frobbit.se>
In-Reply-To: <54851FAD.4040009@andyet.net>
Date: Mon, 08 Dec 2014 06:58:03 +0100
Message-Id: <F66680E5-2DA4-449B-81C3-9A6C0422CF0B@frobbit.se>
References: <13AD33F4-1741-472E-8423-1B0302734325@frobbit.se> <54851FAD.4040009@andyet.net>
To: Peter Saint-Andre - &yet <peter@andyet.net>
X-Mailer: Apple Mail (2.1993)
Archived-At: http://mailarchive.ietf.org/arch/msg/precis/Gdb2KFtgxbU4qm6NHqD-IAh-kvM
Cc: precis@ietf.org
Subject: Re: [precis] 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, 08 Dec 2014 05:58:06 -0000

> On 8 dec 2014, at 04:49, Peter Saint-Andre - &yet <peter@andyet.net> wrote:
> 
>> I would recommend explicitly mentioning the fact (destructive)
>> transformation might occur in this step.
> 
> Destructive transformation doesn't sound good. Do you have examples of what that means?

When you do a transformation that does not have an inverse. For example lowercase.

uppercase(lowercase(cp)) is not cp for all values of cp.

In IDNA2003, the mappings where destructive, which implied that "toascii(unicode string)" (within quotes, because I think you know what I talk about) is not possible to reserve.

In IDNA2008, the ascii version and unicode version of a domain name are 1:1 mappings and the transformation can be done however many times you want.

This because the mapping is _removed_ from IDNA2008, so IF one is interested in doing mappings, that is to be done before IDNA2008 is applied. Anything "inside" IDNA2008 consists of strings either in their ASCII version (xn-- thing) or Unicode version (in Unicode). And it is possible to transform one to the other back and forth.

   Patrik