Re: Standardized tag (was: draft-klensin-rfc2821bis-10: ABNF discuss)

SM <sm@resistor.net> Fri, 04 July 2008 08:13 UTC

Received: from balder-227.proper.com (localhost [127.0.0.1]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m648DrDC006835 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 4 Jul 2008 01:13:53 -0700 (MST) (envelope-from owner-ietf-smtp@mail.imc.org)
Received: (from majordom@localhost) by balder-227.proper.com (8.14.2/8.13.5/Submit) id m648Drd0006834; Fri, 4 Jul 2008 01:13:53 -0700 (MST) (envelope-from owner-ietf-smtp@mail.imc.org)
X-Authentication-Warning: balder-227.proper.com: majordom set sender to owner-ietf-smtp@mail.imc.org using -f
Received: from ns1.qubic.net (ns1.qubic.net [208.69.177.116]) by balder-227.proper.com (8.14.2/8.14.2) with ESMTP id m648DpqD006828 for <ietf-smtp@imc.org>; Fri, 4 Jul 2008 01:13:52 -0700 (MST) (envelope-from sm@resistor.net)
Received: from subman.resistor.net ([10.0.0.1]) (authenticated bits=0) by ns1.qubic.net (8.14.3/8.14.3) with ESMTP id m648DZNC008737 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 4 Jul 2008 01:13:43 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=resistor.net; s=mail; t=1215159227; x=1215245627; bh=nVr1nVavsYasWW3CIPrRGIw4Y6pHltkLVf31 S+/oe5I=; h=Message-Id:Date:To:From:Subject:Cc:In-Reply-To: References:Mime-Version:Content-Type; b=h5CwYn37V7SyhkKwZ/NH1qefoW yCaHshkL8PF3y3+I42Id5LClsGSdZJIIfxtU5lSADxVmbPboYtVBP9elDrzOgn4CKRS wYBq7Mbsz3LdvWtH4cJOrggmVIiLwao/+OKAyWmlQwUOim2cVL3Lt58GQ4/vGJMU76s XSkppLiy7BE=
DomainKey-Signature: a=rsa-sha1; s=mail; d=resistor.net; c=simple; q=dns; b=Dg1hPYimPykm+ScEtNxNQUoaw1kIgSMfYB1Qw3rwsp4MoYyeJTIBuUKyOCJOY0/iS GwcnGTGcM/TGz8kUo+ImSSIoTQlHk7EvzKhBlVll3q0cu1C0T2gQzjfU2azrNirX4x0 OkhSvA64jgLR1XtibAcJwpEn9hufjNvVgUfoqpA=
Message-Id: <6.2.5.6.2.20080703230225.02df1900@resistor.net>
X-Mailer: QUALCOMM Windows Eudora Version 6.2.5.6
Date: Fri, 04 Jul 2008 01:12:06 -0700
To: John Leslie <john@jlc.net>, Magnus Westerlund <magnus.westerlund@ericsson.com>
From: SM <sm@resistor.net>
Subject: Re: Standardized tag (was: draft-klensin-rfc2821bis-10: ABNF discuss)
Cc: ietf-smtp@imc.org
In-Reply-To: <20080703211216.GF22671@verdi>
References: <4868AF41.3050409@ericsson.com> <6.2.5.6.2.20080701160023.030cc7d0@resistor.net> <20080703211216.GF22671@verdi>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format="flowed"
Sender: owner-ietf-smtp@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-smtp/mail-archive/>
List-ID: <ietf-smtp.imc.org>
List-Unsubscribe: <mailto:ietf-smtp-request@imc.org?body=unsubscribe>

At 14:12 03-07-2008, John Leslie wrote:
>    At first blush, this seems sufficient if the ABNF says what we need
>(mostly how to parse the "tag").

 From RFC 2821:

   General-address-literal = Standardized-tag ":" 1*dcontent
   Standardized-tag = Ldh-str
             ; MUST be specified in a standards-track RFC
             ; and registered with IANA



   Let-dig = ALPHA / DIGIT
   Ldh-str = *( ALPHA / DIGIT / "-" ) Let-dig


In draft-10:

   General-address-literal  = Standardized-tag ":" 1*dcontent
   Standardized-tag  ; MUST be specified in a standards-track RFC
                     ; and registered with IANA

A few days ago, Frank suggested using:

   Standardized-tag = Let-dig [Ldh-str]

Or we could have:

  Standardized-tag = ALPHA *( ALPHA / DIGIT / "-" )

That should address the "how to parse" question.

>    Obviously, the answer is "maybe". ;^)

Some people are exasperated when they hear the "maybe" answer. :-)

>    Even purest garbage can be "valid". And, a lot of the time, we don't
>even need to process the "address" for the mail system to function. At
>first blush, I'd say it's sufficient to specify how to isolate the
>string which constitutes the "address". We can punt to other document(s)
>how to make sense of it.

Agreed.

>    One shouldn't need to "fully understand the rationale" in order to
>use this spec. But one _should_ find sufficient specification to know
>how to parse the constituent parts.

I agree that the specifications should be clear about the "how to 
parse".  I don't think we would do a good job of revising a 
specification like this one if we don't understand the rationale.  We 
may overlook some specific cases if we do not know why the previous 
WG and those before them took a decision.

At 01:30 01-07-2008, Magnus Westerlund wrote:
>However, my personal objection against this resolution of the error is
>that it leaves use with a undefined rule that is intended for future
>extensions. I see this as a interoperability issue as any parser
>implemented according to the rules in this document will have the
>potential to fail on any future tag. If one could clarify what possible
>syntax that the future tags could have then this would not be an issue.

I posted a suggestion for Standardized-tag.  Note that "there are 
many instances in which provisions in the text constrain or otherwise 
modify the syntax or semantics implied by the grammar".

Regards,
-sm