Re: [EAI] I-D Action: draft-duerst-eai-mailto-01.txt

Frank Ellermann <hmdmhdfmhdjmzdtjmzdtzktdkztdjz@gmail.com> Wed, 07 September 2011 11:25 UTC

Return-Path: <hmdmhdfmhdjmzdtjmzdtzktdkztdjz@gmail.com>
X-Original-To: ima@ietfa.amsl.com
Delivered-To: ima@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 65DA021F8B3D for <ima@ietfa.amsl.com>; Wed, 7 Sep 2011 04:25:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.803
X-Spam-Level:
X-Spam-Status: No, score=-102.803 tagged_above=-999 required=5 tests=[AWL=-0.004, BAYES_00=-2.599, FROM_LOCAL_NOVOWEL=0.5, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_LOW=-1, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id m9cLIW7WyerA for <ima@ietfa.amsl.com>; Wed, 7 Sep 2011 04:25:03 -0700 (PDT)
Received: from mail-pz0-f45.google.com (mail-pz0-f45.google.com [209.85.210.45]) by ietfa.amsl.com (Postfix) with ESMTP id D379621F8B3A for <ima@ietf.org>; Wed, 7 Sep 2011 04:25:03 -0700 (PDT)
Received: by pzk33 with SMTP id 33so18114126pzk.18 for <ima@ietf.org>; Wed, 07 Sep 2011 04:26:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:cc:content-type; bh=Cy7nY2+l3cu2G7w6Z9zTGTfq9ufmH3S8XA92S9sMoq0=; b=cBBWEbjtG379cchHEWJz2uorbbRtmHRFnV5NQ7N59rFWn9Y161IO+/ATg0tEPl9uos uRwKVBFSVPla6Ry8IBIgFIGdSiszH9cMnBrHHvawBPngTxBkJ35in/1RI9YZVp5BOP6u gHdR18J7mRnSI+9pG9dhs5az78NQc1uXcUJOE=
Received: by 10.68.22.2 with SMTP id z2mr12601026pbe.515.1315394813067; Wed, 07 Sep 2011 04:26:53 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.142.101.15 with HTTP; Wed, 7 Sep 2011 04:26:13 -0700 (PDT)
From: Frank Ellermann <hmdmhdfmhdjmzdtjmzdtzktdkztdjz@gmail.com>
Date: Wed, 07 Sep 2011 13:26:13 +0200
Message-ID: <CAHhFybp3oGXtWYHki8hJumyTZOFUVdjR2AAabZhEQ+Fwnm1obg@mail.gmail.com>
To: "Martin J. Dürst" <duerst@it.aoyama.ac.jp>
Content-Type: text/plain; charset="ISO-8859-1"
Cc: ima@ietf.org
Subject: Re: [EAI] I-D Action: draft-duerst-eai-mailto-01.txt
X-BeenThere: ima@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "EAI \(Email Address Internationalization\)" <ima.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ima>, <mailto:ima-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ima>
List-Post: <mailto:ima@ietf.org>
List-Help: <mailto:ima-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ima>, <mailto:ima-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 07 Sep 2011 11:25:04 -0000

Hi,

draft-duerst-eai-mailto intends to obsolete RFC 6068, I'll
use 6068bis as a shorthand.  In section 2 you write that
<addr-spec-enc> excludes the RFC 5322 <comment>.

I think you actually exclude <comment> *and* <FWS>, i.e.,
(1) you get rid of any <CFWS> or <FWS> in <domain-literal>
    by directly using "[" *dtext-no-obs "]"
(2) you get rid of any <CFWS> or <FWS> in any <dot-atom> on
    both sides by directly using an encoded <dot-atom-text>
    with the name <dot-atom-text-enc>
(3) somehow <quoted-string-enc> avoids the <CFWS> before
    and after <quoted-string>, and it avoids <FWS> within
    <quoted-string>

Points (1) and (2) already solve all CFWS issues in syntax.
For (3) this is also possible:  As for (1) define a new
<qcontent-no-obs-enc> excluding <obs-qp> and <obs-qtext>.

After that 6068bis can improve what might be a subtle bug
in RFC 6068 1.3.  While there is no CFWS or FWS in mailto:
URIs, a space in a <quoted-pair> is okay, but of course it
has to be encoded:  mailto:%22joe%5C%20blogger%22@example

The last example in section 6.2 already covered that, but
a less convoluted <quoted-pair> example might be clearer,
"joe\ blogger"@example (ok.), "joe blogger"@example (bad).

If the latter is really "bad" in RFC 5322, section 3.2.4
can be improved in 5322bis.  But it is certainly "bad" in
6068 and 6068bis, no matter what 5322 says or doesn't say.

The idnits tool wants a fresher boilerplate, that could be
about s/BSD/simplified BSD/.  Please insert the four lost
spaces in the last line of <dtext-no-obs> again.

Looking at the diff you replaced most (but not all) URI by
URI/IRI.  That is rather ugly, why not limit the IRI stuff
to the i18n section and the introduction, and then focus
on URIs as it was?

Please split section 2 in three parts:  The syntax, 2.1 for
prose affecting <addr-spec-enc>, 2.2 for <hfvalue> prose:

The last statement about "#" in <hfvalue> (= proposed 2.2)
also affects any "#" in <addr-spec-enc> (= proposed 2.1),
without these sub-sections that is not completely obvious.

It would be also clearer to move some <qchar> prose to 2.2,
where it does not affect <addr-spec>, e.g., I think that
"&", ";", and "=" do not need to be percent-encoded before
the query part (= outside of <qchar>).

There is no <path> in mailto: URIs, please add "/" and "?"
to <some-delims> (= does not require percent-encoding).

OTOH I fear that a "@" within <quoted-string-enc> MUST be
encoded.  The encoding requirements in 2.1 and 2.2 should
be slightly different and discussed separately.

The use of <xxx-enc> instead of <xxx> for some 5332 <xxx>
terms is a very good idea.

-Frank