Re: [MMUSIC] draft-ejzak-mmusic-data-channel-sdpneg and draft-ejzak-mmusic-msrp-usage-data-channel

Paul Kyzivat <pkyzivat@alum.mit.edu> Wed, 12 November 2014 19:45 UTC

Return-Path: <pkyzivat@alum.mit.edu>
X-Original-To: mmusic@ietfa.amsl.com
Delivered-To: mmusic@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A113D1ACFF4 for <mmusic@ietfa.amsl.com>; Wed, 12 Nov 2014 11:45:32 -0800 (PST)
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, 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 sMxC8D0RRb2D for <mmusic@ietfa.amsl.com>; Wed, 12 Nov 2014 11:45:31 -0800 (PST)
Received: from resqmta-po-10v.sys.comcast.net (resqmta-po-10v.sys.comcast.net [IPv6:2001:558:fe16:19:96:114:154:169]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 886C61ACFF2 for <mmusic@ietf.org>; Wed, 12 Nov 2014 11:45:31 -0800 (PST)
Received: from resomta-po-01v.sys.comcast.net ([96.114.154.225]) by resqmta-po-10v.sys.comcast.net with comcast id Ejkc1p0034s37d401jlXMX; Wed, 12 Nov 2014 19:45:31 +0000
Received: from dhcp-a55a.meeting.ietf.org ([31.133.165.90]) by resomta-po-01v.sys.comcast.net with comcast id EjjN1p00A1xLjbz01jjQJc; Wed, 12 Nov 2014 19:43:29 +0000
Message-ID: <5463B85B.1090100@alum.mit.edu>
Date: Wed, 12 Nov 2014 09:43:23 -1000
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: mmusic@ietf.org
References: <949EF20990823C4C85C18D59AA11AD8B26950D@FR712WXCHMBA11.zeu.alcatel-lucent.com> <5462D156.2080100@nteczone.com> <5463B04C.9090409@alcatel-lucent.com>
In-Reply-To: <5463B04C.9090409@alcatel-lucent.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: http://mailarchive.ietf.org/arch/msg/mmusic/cfXF9MO7jTfm-bWvDNLBFFFL_2I
Subject: Re: [MMUSIC] draft-ejzak-mmusic-data-channel-sdpneg and draft-ejzak-mmusic-msrp-usage-data-channel
X-BeenThere: mmusic@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Multiparty Multimedia Session Control Working Group <mmusic.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mmusic>, <mailto:mmusic-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/mmusic/>
List-Post: <mailto:mmusic@ietf.org>
List-Help: <mailto:mmusic-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mmusic>, <mailto:mmusic-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 12 Nov 2014 19:45:32 -0000

On 11/12/14 9:09 AM, Juergen Stoetzer-Bradler wrote:

> On 12.11.2014 04:17, Christian Groves wrote:
>> Hello
>>
>> I had a chance to look over the latest draft in more details. Some
>> comments/questions:
>>
>> 5.1.1.1: To enforce the text about dcmap-opt the ABNF could be updated:
>>    dcmap-opt       = ordering-opt / subprotocol-opt / label-opt
>>                      / ( maxretr-opt / maxtime-opt )
>
> [Juergen] Actually, I am not sure if this would formally prevent
> maxretr-opt and maxtime-opt  from both being present simultaneously, as
> we would still have
>      dcmap-value = dcmap-stream-id [ SP dcmap-opt *(";" dcmap-opt) ]
> (allowing an arbitrary number of "dcmap-opt").
> My understanding of RFC 5234's definition of "alternation" has so far
> been that
>       dcmap-opt = ordering-opt / subprotocol-opt / label-opt /
> maxretr-opt / maxtime-opt
> and
>      dcmap-opt = ordering-opt / subprotocol-opt / label-opt / (
> maxretr-opt / maxtime-opt )
> are actually equivalent.
> Right now don't see a "compact" way of strengthening the actual ABNF
> rules without having to list all possible parameter combinations and
> permutations.

Yes. I agree. There is no good way to do this in ABNF. One could get 
"closer", with something like:

    dcmap-value     = dcmap-stream-id
                      *(";" dcmap-non-max-opt)
                      [dcmap-max-opt]
                      *(";" dcmap-non-max-opt)
    dcmap-non-max-opt = ordering-opt / subprotocol-opt / label-opt
    dcmap-max-opt     = maxretr-opt / maxtime-opt

Note that this separates the stream-id from the opts with ";" rather 
than " ". (It would be much harder while preserving the space.)

But this still syntactically allows multiple use of the non-max-opts 
(e.g. multiple occurrences of ordering-opt.) So there is still a need 
for normative text to forbid that. IMO it is more straightforward to do 
all of these constraints in text.

	Thanks,
	Paul