[sipcore] draft-barnes-sipcore-rfc4244bis

"Dale Worley" <dworley@nortel.com> Thu, 02 July 2009 18:17 UTC

Return-Path: <dworley@nortel.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 B590028C269 for <sipcore@core3.amsl.com>; Thu, 2 Jul 2009 11:17:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level:
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[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 W18qieG7v2aN for <sipcore@core3.amsl.com>; Thu, 2 Jul 2009 11:17:14 -0700 (PDT)
Received: from zcars04e.nortel.com (zcars04e.nortel.com [47.129.242.56]) by core3.amsl.com (Postfix) with ESMTP id 222053A6B61 for <sipcore@ietf.org>; Thu, 2 Jul 2009 11:17:14 -0700 (PDT)
Received: from zrtphxs1.corp.nortel.com (zrtphxs1.corp.nortel.com [47.140.202.46]) by zcars04e.nortel.com (Switch-2.2.0/Switch-2.2.0) with ESMTP id n62HmBZ00377 for <sipcore@ietf.org>; Thu, 2 Jul 2009 17:48:11 GMT
Received: from [47.141.31.172] ([47.141.31.172]) by zrtphxs1.corp.nortel.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 2 Jul 2009 13:49:42 -0400
From: Dale Worley <dworley@nortel.com>
To: SIPCORE <sipcore@ietf.org>
Content-Type: text/plain
Organization: Nortel Networks
Date: Thu, 02 Jul 2009 13:49:41 -0400
Message-Id: <1246556981.10099.65.camel@victoria-pingtel-com.us.nortel.com>
Mime-Version: 1.0
X-Mailer: Evolution 2.12.3 (2.12.3-5.fc8)
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 02 Jul 2009 17:49:42.0531 (UTC) FILETIME=[7A9AC530:01C9FB3D]
Subject: [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:17:15 -0000

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