Re: [sipcore] draft-barnes-sipcore-rfc4244bis

Paul Kyzivat <pkyzivat@cisco.com> Thu, 02 July 2009 18:39 UTC

Return-Path: <pkyzivat@cisco.com>
X-Original-To: sipcore@core3.amsl.com
Delivered-To: sipcore@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id A817028B23E for <sipcore@core3.amsl.com>; Thu, 2 Jul 2009 11:39:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.556
X-Spam-Level:
X-Spam-Status: No, score=-6.556 tagged_above=-999 required=5 tests=[AWL=0.043, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PvWvhjf4Cicy for <sipcore@core3.amsl.com>; Thu, 2 Jul 2009 11:39:27 -0700 (PDT)
Received: from rtp-iport-2.cisco.com (rtp-iport-2.cisco.com [64.102.122.149]) by core3.amsl.com (Postfix) with ESMTP id 52D1E3A6A36 for <sipcore@ietf.org>; Thu, 2 Jul 2009 11:39:27 -0700 (PDT)
X-IronPort-AV: E=Sophos;i="4.42,336,1243814400"; d="scan'208";a="49226982"
Received: from rtp-dkim-2.cisco.com ([64.102.121.159]) by rtp-iport-2.cisco.com with ESMTP; 02 Jul 2009 18:39:47 +0000
Received: from rtp-core-1.cisco.com (rtp-core-1.cisco.com [64.102.124.12]) by rtp-dkim-2.cisco.com (8.12.11/8.12.11) with ESMTP id n62Idlpk030605; Thu, 2 Jul 2009 14:39:47 -0400
Received: from xbh-rtp-201.amer.cisco.com (xbh-rtp-201.cisco.com [64.102.31.12]) by rtp-core-1.cisco.com (8.13.8/8.14.3) with ESMTP id n62IdlFE002521; Thu, 2 Jul 2009 18:39:47 GMT
Received: from xfe-rtp-202.amer.cisco.com ([64.102.31.21]) by xbh-rtp-201.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 2 Jul 2009 14:39:47 -0400
Received: from [161.44.182.248] ([161.44.182.248]) by xfe-rtp-202.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 2 Jul 2009 14:39:46 -0400
Message-ID: <4A4CFEF1.1000006@cisco.com>
Date: Thu, 02 Jul 2009 14:39:45 -0400
From: Paul Kyzivat <pkyzivat@cisco.com>
User-Agent: Thunderbird 2.0.0.22 (Windows/20090605)
MIME-Version: 1.0
To: Dale Worley <dworley@nortel.com>
References: <1246556981.10099.65.camel@victoria-pingtel-com.us.nortel.com>
In-Reply-To: <1246556981.10099.65.camel@victoria-pingtel-com.us.nortel.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 02 Jul 2009 18:39:46.0592 (UTC) FILETIME=[792A1A00:01C9FB44]
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; l=2743; t=1246559987; x=1247423987; c=relaxed/simple; s=rtpdkim2001; h=Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version; d=cisco.com; i=pkyzivat@cisco.com; z=From:=20Paul=20Kyzivat=20<pkyzivat@cisco.com> |Subject:=20Re=3A=20[sipcore]=20draft-barnes-sipcore-rfc424 4bis |Sender:=20 |To:=20Dale=20Worley=20<dworley@nortel.com>; bh=2dxrXS9+GX0BoBZXVNypSwARoZOOfS831URmU4OnqsQ=; b=yRn1TQ0LjgF6SDYB83MDb+YbibOcP9fOOgFMCBkrScBowmtqjiZps6yQfL uuzLb1lOE8TwwUn7XF5s96YF3TSAjMs/1kTq822lsT1xmgnLGfNr8PYu9X3/ hcpa7gTG9G;
Authentication-Results: rtp-dkim-2; header.From=pkyzivat@cisco.com; dkim=pass ( sig from cisco.com/rtpdkim2001 verified; );
Cc: SIPCORE <sipcore@ietf.org>
Subject: Re: [sipcore] draft-barnes-sipcore-rfc4244bis
X-BeenThere: sipcore@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: SIP Core Working Group <sipcore.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/sipcore>, <mailto:sipcore-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/sipcore>
List-Post: <mailto:sipcore@ietf.org>
List-Help: <mailto:sipcore-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sipcore>, <mailto:sipcore-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 02 Jul 2009 18:39:28 -0000

Dale,

I agree with your concern about the BNF. A requirement about the 
ordering of the params is problematic.

OTOH, this is a revision to an existing RFC which had that ordering 
requirement. Its possible that relaxing it might lead to interop problems.

Perhaps the best one can do is put in a recommendation to make the index 
first.

Regarding indicating that the index is required: it can be done in text, 
but it can also be done in the BNF, as follows:

    History-Info = "History-Info" HCOLON hi-entry *(COMMA hi-entry)

    hi-entry = hi-targeted-to-uri hi-param-list

    hi-targeted-to-uri = name-addr

    hi-param-list = *(SEMI hi-option) SEMI hi-index *(hi-option)

    hi-option = hi-target / hi-aor / hi-extension

    hi-index = "index" EQUAL 1*DIGIT *("." 1*DIGIT)

    hi-target = "rc" / "cc" / "mp" / "rt"

    hi-aor = "aor"

    hi-extension = generic-param


	Thanks,
	Paul


Dale Worley wrote:
> Regarding the BNF for the History-Info header (section 4.1 in the draft
> version of -02):
> 
> The current BNF requires that the "index" parameter appear immediately
> after the URI, whereas other parameters appear after it:
> 
>    History-Info = "History-Info" HCOLON hi-entry *(COMMA hi-entry)
> 
>    hi-entry = hi-targeted-to-uri SEMI hi-index *(SEMI hi-param)
> 
>    hi-targeted-to-uri = name-addr
> 
>    hi-index = "index" EQUAL 1*DIGIT *("." 1*DIGIT)
> 
>    hi-param = hi-target/hi-aor/hi-extension
> 
>    hi-target = "rc" / "cc" / "mp" / "rt"
> 
>    hi-aor = "aor"
> 
>    hi-extension = generic-param
> 
> IMHO, this is not a good way to organize the grammar, as it makes it
> difficult to generate hi-entry's with generic code (there needs to be
> some way to constrain the "index" parameter to be first), and violates
> the general rule that the order of parameters is not significant.
> 
> I propose to adjust the BNF to:
> 
>    History-Info = "History-Info" HCOLON hi-entry *(COMMA hi-entry)
> 
>    hi-entry = hi-targeted-to-uri *(SEMI hi-param)
> 
>    hi-targeted-to-uri = name-addr
> 
>    hi-param = hi-index / hi-target / hi-aor / hi-extension
> 
>    hi-index = "index" EQUAL 1*DIGIT *("." 1*DIGIT)
> 
>    hi-target = "rc" / "cc" / "mp" / "rt"
> 
>    hi-aor = "aor"
> 
>    hi-extension = generic-param
> 
> Of course, the "index" parameter is still mandatory per the semantic
> constraints listed earlier in section 4.1.
> 
> I've also inserted into the hi-index BNF some spaces around the
> instances of "/" for better readability.
> 
> Dale
> 
> 
> _______________________________________________
> sipcore mailing list
> sipcore@ietf.org
> https://www.ietf.org/mailman/listinfo/sipcore
>