Re: [dispatch] Two week review: Progressing draft-mohali-dispatch-originating-cdiv-parameter as AD sponsored

worley@ariadne.com (Dale R. Worley) Sat, 14 January 2017 01:14 UTC

Return-Path: <worley@alum.mit.edu>
X-Original-To: dispatch@ietfa.amsl.com
Delivered-To: dispatch@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DB272129536 for <dispatch@ietfa.amsl.com>; Fri, 13 Jan 2017 17:14:54 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.934
X-Spam-Level:
X-Spam-Status: No, score=-1.934 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_SOFTFAIL=0.665] autolearn=no autolearn_force=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 S2X0zF-kZ4f6 for <dispatch@ietfa.amsl.com>; Fri, 13 Jan 2017 17:14:53 -0800 (PST)
Received: from resqmta-ch2-08v.sys.comcast.net (resqmta-ch2-08v.sys.comcast.net [IPv6:2001:558:fe21:29:69:252:207:40]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A265B1294FF for <dispatch@ietf.org>; Fri, 13 Jan 2017 17:14:53 -0800 (PST)
Received: from resomta-ch2-20v.sys.comcast.net ([69.252.207.116]) by resqmta-ch2-08v.sys.comcast.net with SMTP id SCvKcz3HvdT7bSCvkcVq3w; Sat, 14 Jan 2017 01:14:52 +0000
Received: from hobgoblin.ariadne.com ([IPv6:2601:192:4603:9471:222:fbff:fe91:d396]) by resomta-ch2-20v.sys.comcast.net with SMTP id SCvjcgLRWeSQaSCvkcCFWs; Sat, 14 Jan 2017 01:14:52 +0000
Received: from hobgoblin.ariadne.com (hobgoblin.ariadne.com [127.0.0.1]) by hobgoblin.ariadne.com (8.14.7/8.14.7) with ESMTP id v0E1EpPT023294; Fri, 13 Jan 2017 20:14:51 -0500
Received: (from worley@localhost) by hobgoblin.ariadne.com (8.14.7/8.14.7/Submit) id v0E1EosN023289; Fri, 13 Jan 2017 20:14:51 -0500
X-Authentication-Warning: hobgoblin.ariadne.com: worley set sender to worley@alum.mit.edu using -f
From: worley@ariadne.com
To: Paul Kyzivat <paul.kyzivat@comcast.net>
In-Reply-To: <70a4090a-5717-c35b-8099-900c24d5faad@comcast.net> (paul.kyzivat@comcast.net)
Sender: worley@ariadne.com
Date: Fri, 13 Jan 2017 20:14:50 -0500
Message-ID: <87eg06tpbp.fsf@hobgoblin.ariadne.com>
X-CMAE-Envelope: MS4wfE84/y+SpPk3a1KkdFlhlrlNdTopTaZyYXVq8VgM69PwtGntogiChdWRaVfP7j6QB426UqqCzarD3M/fGQym/0avJEufqUOcWYHCaOcDgpr3HrrRetVb 6UwC4CxZV0N299lkyUA7BLiTiX1fwaqyJqsDNPjswSBAl05WAS5zE5KzikE2dMMNUYshFsxewMwj1r62XBcZ9vxqys51QZogYJo=
Archived-At: <https://mailarchive.ietf.org/arch/msg/dispatch/d6uc4ioeqISzxN_6JPwAW_3t1jQ>
Cc: dispatch@ietf.org
Subject: Re: [dispatch] Two week review: Progressing draft-mohali-dispatch-originating-cdiv-parameter as AD sponsored
X-BeenThere: dispatch@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: DISPATCH Working Group Mail List <dispatch.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dispatch>, <mailto:dispatch-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dispatch/>
List-Post: <mailto:dispatch@ietf.org>
List-Help: <mailto:dispatch-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dispatch>, <mailto:dispatch-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 14 Jan 2017 01:14:55 -0000

Paul Kyzivat <paul.kyzivat@comcast.net> writes:
>>> registration-state-param = "regstate" EQUAL ["un"] "reg"
>>
>> That's correct, but only slightly simpler.  And I fear that people would
>> mis-read it as allowing (or even requiring)
>>
>>     regstate=un reg
>>
>> Are there other places we've done constructions like this?
>
> I don't know.
>
> Clearly this is a matter of taste.

I tried to get some evidence regarding the styles that have been used in
RFCs.

    grep '[^ ]" *[]] * "' rfc????.txt

turns up a hundred or so situations where BNF has an optional string
literal concatenated with a string literal.  But in almost all of those,
one of the strings is punctuation.

To limit the situation to when two "identifier" string literals are
adjacent, I did 

    grep -i '[a-z]" *[][] * "[a-z]' rfc????.txt

Most of those hits are some sort of e-mail filtering language where
juxtaposition isn't concatenation.  The remaining examples are:

    rfc1014.txt:           [ "unsigned" ] "int"
    rfc1014.txt:         | [ "unsigned" ] "hyper"
    rfc1832.txt:           [ "unsigned" ] "int"
    rfc1832.txt:         | [ "unsigned" ] "hyper"
    rfc4506.txt:           [ "unsigned" ] "int"
    rfc4506.txt:         | [ "unsigned" ] "hyper"

which are versions of the XDR specification, and though the grammar
doesn't state it very clearly, "unsigned" means a *token* not a
*string*, etc., so the first line means that once the text has been
tokenized, there is either "unsigned" followed by "int", or only "int".

Dale