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

Paul Kyzivat <paul.kyzivat@comcast.net> Sat, 14 January 2017 03:53 UTC

Return-Path: <paul.kyzivat@comcast.net>
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 113B91293FE for <dispatch@ietfa.amsl.com>; Fri, 13 Jan 2017 19:53:57 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.899
X-Spam-Level:
X-Spam-Status: No, score=-5.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-3.199, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=comcast.net
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 n7f7-qHMMcfT for <dispatch@ietfa.amsl.com>; Fri, 13 Jan 2017 19:53:55 -0800 (PST)
Received: from resqmta-po-03v.sys.comcast.net (resqmta-po-03v.sys.comcast.net [IPv6:2001:558:fe16:19:96:114:154:162]) (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 5393D129452 for <dispatch@ietf.org>; Fri, 13 Jan 2017 19:53:55 -0800 (PST)
Received: from resomta-po-08v.sys.comcast.net ([96.114.154.232]) by resqmta-po-03v.sys.comcast.net with SMTP id SFOzc5B0DcKypSFPecjXw9; Sat, 14 Jan 2017 03:53:54 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20161114; t=1484366034; bh=Sy5lkXQR/jA9NfntRe4ePbi34wPYbVI7hfFmmRCZMYE=; h=Received:Received:Subject:To:From:Message-ID:Date:MIME-Version: Content-Type; b=oVo7ZqwtUff56WrhSUMsHQXzQnwpOoarY0m3eIdMT9QMJQtbSYBXNtoi4yTKqrZYY f5PO6IrHtdoPzamcIOjjr8vCo8YjHEeyVV5KvsqwhzMAY0vDqZzi6vjbOb/6moHfLV k8936KwRNniGp1AXgA3MTuUYN2hJvSDmqjFVKI8UvrxbvHP5SBb61VyltURbY/lp3V 0smiJzq3JpbLftBCIkS/sgNqRbKfj2a/qQ9F4XMmdCPZcs8AZyj3Rj7uVMZIxafrhE eaHA4zkVvCbSXn41UdsEVZkFkqVNfs6qow2qKjjA7fkKsThUCllKFuLxXqv5SFgdLO 1Bdryr/3nmgEA==
Received: from [192.168.1.110] ([73.186.127.100]) by resomta-po-08v.sys.comcast.net with SMTP id SFPdcaclHud4LSFPdc1KXD; Sat, 14 Jan 2017 03:53:54 +0000
To: dispatch@ietf.org
References: <87eg06tpbp.fsf@hobgoblin.ariadne.com>
From: Paul Kyzivat <paul.kyzivat@comcast.net>
Message-ID: <e64f37e9-657d-b094-c0f4-1dc521f26ba5@comcast.net>
Date: Fri, 13 Jan 2017 22:53:53 -0500
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:45.0) Gecko/20100101 Thunderbird/45.6.0
MIME-Version: 1.0
In-Reply-To: <87eg06tpbp.fsf@hobgoblin.ariadne.com>
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/dispatch/ldmuaADdbyDtSaOLfb-FWswkCEs>
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 03:53:57 -0000

Interesting research. I don't know what to make of it.

IMO it is merely a matter of which people find easiest to understand. I 
personally find them equally clear and easy, so I don't have much of an 
opinion one way or the other.

But I don't have much sympathy for people who think the two mean 
something different. If they don't correctly understand what these mean 
then that is a problem. They will have many more problems understanding 
the rest of sip and sdp. ABNF is *not* difficult. If you can program in 
*any* language (including Javascript, XML, SQL) then should have no 
trouble with it. If you can't, then you also shouldn't be trying to 
interpret specs like this in detail.

	Thanks,
	Paul

On 1/13/17 8:14 PM, Dale R. Worley wrote:
> 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
>
> _______________________________________________
> dispatch mailing list
> dispatch@ietf.org
> https://www.ietf.org/mailman/listinfo/dispatch
>