ABNF (was: New draft)

Frank Ellermann <nobody@xyzzy.claranet.de> Fri, 02 February 2007 14:15 UTC

Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com) by megatron.ietf.org with esmtp (Exim 4.43) id 1HCzC1-0007aK-SW; Fri, 02 Feb 2007 09:15:10 -0500
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1HCzBz-0007YX-HH for discuss@apps.ietf.org; Fri, 02 Feb 2007 09:15:07 -0500
Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1HCz9f-0001Gh-KX for discuss@apps.ietf.org; Fri, 02 Feb 2007 09:12:45 -0500
Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HCz8L-0005bG-Al for discuss@apps.ietf.org; Fri, 02 Feb 2007 15:11:21 +0100
Received: from d252203.dialin.hansenet.de ([80.171.252.203]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <discuss@apps.ietf.org>; Fri, 02 Feb 2007 15:11:21 +0100
Received: from nobody by d252203.dialin.hansenet.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <discuss@apps.ietf.org>; Fri, 02 Feb 2007 15:11:21 +0100
X-Injected-Via-Gmane: http://gmane.org/
To: discuss@apps.ietf.org
From: Frank Ellermann <nobody@xyzzy.claranet.de>
Subject: ABNF (was: New draft)
Date: Fri, 02 Feb 2007 15:07:37 +0100
Organization: <URL:http://purl.net/xyzzy>
Lines: 28
Message-ID: <45C345A9.1589@xyzzy.claranet.de>
References: <875A124D75A8B481E176CF06@p3.JCK.COM> <20070202113853.GW7742@finch-staff-1.thus.net> <20070202125012.GA18307@nic.fr>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Complaints-To: usenet@sea.gmane.org
X-Gmane-NNTP-Posting-Host: d252203.dialin.hansenet.de
X-Mailer: Mozilla 3.0 (OS/2; U)
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 9466e0365fc95844abaf7c3f15a05c7d
X-BeenThere: discuss@apps.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: general discussion of application-layer protocols <discuss.apps.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/discuss>, <mailto:discuss-request@apps.ietf.org?subject=unsubscribe>
List-Post: <mailto:discuss@apps.ietf.org>
List-Help: <mailto:discuss-request@apps.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/discuss>, <mailto:discuss-request@apps.ietf.org?subject=subscribe>
Errors-To: discuss-bounces@apps.ietf.org

Stephane Bortzmeyer wrote:

> RFC 4234 is a good example of a format whose i18n rules are unclear.

| NOTE:
|
|     ABNF strings are case-insensitive and the character set for these
|     strings is us-ascii.

That's clear.  A tricky part could be <name> in chapter 2.2, because...

|     rulename       =  ALPHA *(ALPHA / DIGIT / "-")

...in chapter 4 could be interpreted as different from <name>.  Now I've
found a typo in 4234 chapter 2.4:

   although Appendix A (Core) provides definitions for a 7-bit US-ASCII
   environment as has been common to much of the Internet.

It's Appendix B, not Appendix A (Acknowledgements).  Chapter 4 is based
on Appendix B, a <rulename> is clearly ASCII.  IMO RFC 4234 is fine, its
LWSP is an exception, FWS as in RFC 2822 (excl. obs-FWS) would be better.

Unlike an utter dubious variant in RFCs 2068, 2069, 2616, 2617, and 2831,
where nobody sees the potential damage caused by <LWS> hidden in a #rule.

Frank