X-Mozilla-Status: 0001
X-Mozilla-Status2: 00000000
Delivered-To: barryleiba.mailing.lists@gmail.com
Received: by 10.58.181.71 with SMTP id du7csp38936vec;
        Wed, 6 Aug 2014 10:10:47 -0700 (PDT)
X-Received: by 10.66.161.169 with SMTP id xt9mr12629021pab.102.1407345047139;
        Wed, 06 Aug 2014 10:10:47 -0700 (PDT)
Return-Path: <abnf-discuss-bounces@ietf.org>
Received: from mail.ietf.org (mail.ietf.org. [2001:1900:3001:11::2c])
        by mx.google.com with ESMTPS id ht8si1375580pbc.41.2014.08.06.10.10.46
        for <multiple recipients>
        (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Wed, 06 Aug 2014 10:10:47 -0700 (PDT)
Received-SPF: pass (google.com: domain of abnf-discuss-bounces@ietf.org designates 2001:1900:3001:11::2c as permitted sender) client-ip=2001:1900:3001:11::2c;
Authentication-Results: mx.google.com;
       spf=pass (google.com: domain of abnf-discuss-bounces@ietf.org designates 2001:1900:3001:11::2c as permitted sender) smtp.mail=abnf-discuss-bounces@ietf.org;
       dkim=pass header.i=@ietf.org
Received: from ietfa.amsl.com (localhost [IPv6:::1])
	by ietfa.amsl.com (Postfix) with ESMTP id 298B91A03E1;
	Wed,  6 Aug 2014 10:10:46 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ietf.org; s=ietf1;
	t=1407345046; bh=2X2Hm7PEiq44CFx7Fvfo00TP7h7VXC3yRY+dl5l/vAc=;
	h=Message-ID:Date:From:MIME-Version:To:Subject:List-Id:
	 List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe:
	 Content-Transfer-Encoding:Content-Type:Sender;
	b=sHLwc1tiQEAMwhUPdIIutr0Y2H4n8e4uSO8VlhUWvnlokOJfY43ddsZBp0R20giKs
	 9bMRYT5/CLdvXJHCHYJ6kTFCFVSY1IHmA9y1d2uxfuafYeY98xZ+5ATaMKPKY8lZTL
	 95dwHkZJ5WDqp61SrmfooQ/ri9GwOTB+9tMn2Gs0=
X-Original-To: abnf-discuss@ietfa.amsl.com
Delivered-To: abnf-discuss@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1])
 by ietfa.amsl.com (Postfix) with ESMTP id B19D41A03E1
 for <abnf-discuss@ietfa.amsl.com>; Wed,  6 Aug 2014 10:10:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.235
X-Spam-Level: 
X-Spam-Status: No, score=-1.235 tagged_above=-999 required=5
 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
 SPF_SOFTFAIL=0.665] 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 r9VW-taA1RvI for <abnf-discuss@ietfa.amsl.com>;
 Wed,  6 Aug 2014 10:10:42 -0700 (PDT)
Received: from qmta03.westchester.pa.mail.comcast.net
 (qmta03.westchester.pa.mail.comcast.net [IPv6:2001:558:fe14:43:76:96:62:32])
 by ietfa.amsl.com (Postfix) with ESMTP id 666111A0397
 for <abnf-discuss@ietf.org>; Wed,  6 Aug 2014 10:10:42 -0700 (PDT)
Received: from omta01.westchester.pa.mail.comcast.net ([76.96.62.11])
 by qmta03.westchester.pa.mail.comcast.net with comcast
 id bRzV1o0050EZKEL53VAhUM; Wed, 06 Aug 2014 17:10:41 +0000
Received: from Paul-Kyzivats-MacBook-Pro.local ([50.138.229.164])
 by omta01.westchester.pa.mail.comcast.net with comcast
 id bV9g1o00a3ZTu2S3MV9grq; Wed, 06 Aug 2014 17:09:41 +0000
Message-ID: <53E26154.8020308@alum.mit.edu>
Date: Wed, 06 Aug 2014 13:09:40 -0400
From: Paul Kyzivat <pkyzivat@alum.mit.edu>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7;
 rv:24.0) Gecko/20100101 Thunderbird/24.6.0
MIME-Version: 1.0
To: "abnf-discuss@ietf.org" <abnf-discuss@ietf.org>
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net;
 s=q20140121; t=1407345042;
 bh=w1CKpXmqILTRWa7gPDqK6IujIKlGgOnmPcfVV0ScXeE=;
 h=Received:Received:Message-ID:Date:From:MIME-Version:To:Subject:
 Content-Type;
 b=a16zl9QTswpQrPyNQTwI7K7lVHa2feXqCbTUnmYH3J4qHpuQGF4O0012JD2Ju5OUd
 hxmd65rJTYJe1Rmejw0KfS/T2/t5Nee7LDxUfFIiJ/dZzRXqk95aGSb5t535IFUI6u
 FxQZTp9eaCtbn65yNERUojj231XPM9MIP6OK2tsDQILIT6Pk7ncjzlaFp2Hhs2zg22
 7p/Xlw9ZuiM3vI+HgVFOnBZ0ZWzu32iT3uDi/vjtOwhOukYv9mfsvIPc2w48TM68mp
 DjIeINxXeU4uRDvlX7piIu7lc0NccW8W+EanN4pujbT8L6ie/3c9RUWBeO6IawB2Ft
 UNumOlP2Uk9HQ==
Archived-At: http://mailarchive.ietf.org/arch/msg/abnf-discuss/oZzWBiA94lYG5LrK0xUjxLiuzXQ
Subject: [abnf-discuss] Case-sensitive string constants in ABNF?
X-BeenThere: abnf-discuss@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "General discussion about tools,
 activities and capabilities involving the ABNF meta-language"
 <abnf-discuss.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/abnf-discuss>,
 <mailto:abnf-discuss-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/abnf-discuss/>
List-Post: <mailto:abnf-discuss@ietf.org>
List-Help: <mailto:abnf-discuss-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/abnf-discuss>,
 <mailto:abnf-discuss-request@ietf.org?subject=subscribe>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Errors-To: abnf-discuss-bounces@ietf.org
Sender: "abnf-discuss" <abnf-discuss-bounces@ietf.org>

Has there ever been consideration of supporting case-sensitive string 
constants in ABNF?

While the case-insensitive ones are more often than not what is needed, 
some protocol designs have places where case-sensitivity is desired. It 
is possible to accomplish this now, using numeric byte values. But it is 
hard, both to read and to write.

I see no *technical* problem with supporting both kinds. The only 
questions are:
- Is it a good idea to support both? (Or is *not* supporting them
   intentional, to discourage case-sensitive syntaxes?)

- What syntax to use in ABNF to denote the two types, while remaining
   backward compatible.

Regarding the syntax, a straightforward approach would be to define 
case-sensitive strings using a new delimiter. Single quote is a likely 
candidate since it is currently unused.

Another possibility for syntax would be to allow an optional prefix on 
char-val. For example: %S"abc", %I"abc".

	Thanks,
	Paul

_______________________________________________
abnf-discuss mailing list
abnf-discuss@ietf.org
https://www.ietf.org/mailman/listinfo/abnf-discuss

