X-Mozilla-Status: 0001
X-Mozilla-Status2: 00000000
Delivered-To: barryleiba.mailing.lists@gmail.com
Received: by 10.58.181.71 with SMTP id du7csp60518vec;
        Thu, 7 Aug 2014 17:30:08 -0700 (PDT)
X-Received: by 10.70.93.42 with SMTP id cr10mr20907537pdb.42.1407457807865;
        Thu, 07 Aug 2014 17:30:07 -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 pm7si4700557pac.51.2014.08.07.17.30.07
        for <multiple recipients>
        (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Thu, 07 Aug 2014 17:30:07 -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 9C30D1A0BE8;
	Thu,  7 Aug 2014 17:30:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ietf.org; s=ietf1;
	t=1407457806; bh=3yvkB7A8sms9W3KGKh5eTD5h5qzjY43MbZ9A3t3uJaM=;
	h=MIME-version:Message-id:Date:From:In-reply-to:References:To:Cc:
	 Subject:List-Id:List-Unsubscribe:List-Archive:List-Post:List-Help:
	 List-Subscribe:Content-Type:Content-Transfer-Encoding:Sender;
	b=b4mhUgwrfyhFfFrGzpoTHqwi4l0IOY2b8DEUFje16g85lmUD8NjdcAPKlhYXrjPh9
	 hd8YvQalxcSUQFWycJHe6+kGYvTllwhb/hMO0ioKSo2DPFvjG3hd9tJdIW/IyhQmMg
	 PXTAs7qVtHmk5g687p92jg3cAUNLTi+kDiZGg14E=
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 766181A0AF5
 for <abnf-discuss@ietfa.amsl.com>; Thu,  7 Aug 2014 17:30:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.003
X-Spam-Level: 
X-Spam-Status: No, score=-2.003 tagged_above=-999 required=5
 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
 DKIM_VALID_AU=-0.1, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001] autolearn=ham
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 d3GbRM3FiJKs for <abnf-discuss@ietfa.amsl.com>;
 Thu,  7 Aug 2014 17:30:03 -0700 (PDT)
Received: from mauve.mrochek.com (mauve.mrochek.com [66.159.242.17])
 by ietfa.amsl.com (Postfix) with ESMTP id B53321B2842
 for <abnf-discuss@ietf.org>; Thu,  7 Aug 2014 17:29:44 -0700 (PDT)
Received: from dkim-sign.mauve.mrochek.com by mauve.mrochek.com
 (PMDF V6.1-1 #35243) id <01PB3V7U2T74000K5G@mauve.mrochek.com> for
 abnf-discuss@ietf.org; Thu, 7 Aug 2014 17:24:42 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mrochek.com; s=mauve;
 t=1407457493; bh=yaiMYUAE+2CDngwZkUHSgIRn55yO6FsymwDMu1CPa6k=;
 h=Cc:Date:From:Subject:In-reply-to:References:To;
 b=BxcD1rwQMmCi88kIXO9q/0BFvf3Os9X80asQItyy46KQ2R5X1sjm+IYpY5ouNJ00X
 RoAjbCOi3RfHhLXfqmMmaAxBVJjulIfhe44+JdzraK4xhQ+9qWBNB0ztslQFPvJrmW
 Eqrl8ymi7qyIaaH+zDO4AeazS1mukOqUxHoLhHL8=
MIME-version: 1.0
Received: from mauve.mrochek.com by mauve.mrochek.com (PMDF V6.1-1 #35243)
 id <01PB2RFWCBO00000SM@mauve.mrochek.com>; Thu,
 07 Aug 2014 17:24:39 -0700 (PDT)
Message-id: <01PB3V7RZSXK0000SM@mauve.mrochek.com>
Date: Thu, 07 Aug 2014 17:23:49 -0700 (PDT)
From: Ned Freed <ned.freed@mrochek.com>
In-reply-to: "Your message dated Fri, 08 Aug 2014 00:23:04 +0000"
 <EC991A58-9852-4467-AC89-102E72CFDFEE@cisco.com>
References: <53E3B22E.5000708@alum.mit.edu>
 <01PB3UKRBQA80000SM@mauve.mrochek.com>
 <EC991A58-9852-4467-AC89-102E72CFDFEE@cisco.com>
To: "Joe Hildebrand (jhildebr)" <jhildebr@cisco.com>
Archived-At: http://mailarchive.ietf.org/arch/msg/abnf-discuss/mkHCErHBqIGvONmx2Hh9i3aoqQQ
Cc: Ned Freed <ned.freed@mrochek.com>,
 "abnf-discuss@ietf.org" <abnf-discuss@ietf.org>,
 Paul Kyzivat <pkyzivat@alum.mit.edu>
Subject: Re: [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-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: abnf-discuss-bounces@ietf.org
Sender: "abnf-discuss" <abnf-discuss-bounces@ietf.org>

No formal way that I know of. So publishing a document that makes the changes
either as an addendum or replacement seems like the only way.

				Ned

> (timidly entering back into the conversation, hopefully following what's
> *actually* being talked about this time)

> Is there a generic way to do syntax extensions in ABNF?  For example, if
> we defined that %<foo> was a syntax extension in the core spec, we could
> tell folks to ignore extensions they don't understand, and throw them all
> in a registry.

> On 8/8/14, 12:05 AM, "Ned Freed" <ned.freed@mrochek.com> wrote:

> >I would suggest writing this as an extension, not a revision.
> >
> >				Ned
> >
> >> Here is a concrete proposal for changes to RFC5234 that would add in
> >> case-sensitive strings using a prefix:
> >
> >> 1) Revise the last half of section 2.3 (beginning with "ABNF permits the
> >> specification of literal text strings ") as follows:
> >
> >>     ABNF permits the specification of literal text strings directly,
> >>     enclosed in quotation marks.  Hence:
> >
> >>           command     =  "command string"
> >
> >>     Literal text strings are interpreted as a concatenated set of
> >>     printable characters. The character set for these strings is
> >>     US-ASCII.
> >
> >>     Literal text strings in ABNF may be either case sensitive or case
> >>     insensitive. The form of matching used with a literal text string is
> >>     denoted by a prefix to the quoted string. The following prefixes are
> >>     allowed:
> >
> >>          %s          =  case-sensitive
> >>          %i          =  case-insensitive
> >
> >>     If no prefix is present then the string is case-insensitive.
> >
> >>     Hence:
> >
> >>           rulename = %i"abc"
> >
> >>     and:
> >
> >>           rulename = "aBc"
> >
> >>     will both match "abc", "Abc", "aBc", "abC", "ABc", "aBC", "AbC", and
> >>     "ABC".
> >
> >>     In contrast:
> >
> >>           rulename = %s"aBc"
> >
> >>     will match only "aBc", and will not match "abc", "Abc", "abC",
> >>     "ABc", "aBC", "AbC", or "ABC".
> >> .
> >>     Another way to define a rule that is case sensitive is to specify
> >>     the individual characters numerically.
> >
> >>     For example:
> >
> >>           rulename    =  %d97 %d98 %d99
> >
> >>     or
> >
> >>           rulename    =  %x61.62.63
> >
> >>     will match only the string that comprises only the lowercase
> >>     characters, abc.
> >
> >> 2) Replace the char-val rule in section 4 with the following:
> >
> >>           char-val       =  case-insensitive-string /
> >>                             case-sensitive-string
> >
> >>           case-insensitive-string =
> >>                             [ "%i" ] quoted-string
> >
> >>           case-sensitive-string =
> >>                             "%s" quoted-string
> >
> >>           quoted-string  =  DQUOTE *(%x20-21 / %x23-7E) DQUOTE
> >>                                  ; quoted string of SP and VCHAR
> >>                                  ;  without DQUOTE
> >
> >
> >> Is there an xml2rfc version of RFC5234?
> >
> >> 	Thanks,
> >> 	Paul
> >
> >> _______________________________________________
> >> abnf-discuss mailing list
> >> abnf-discuss@ietf.org
> >> https://www.ietf.org/mailman/listinfo/abnf-discuss
> >
> >_______________________________________________
> >abnf-discuss mailing list
> >abnf-discuss@ietf.org
> >https://www.ietf.org/mailman/listinfo/abnf-discuss
> >


> --
> Joe Hildebrand



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

