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

"Francois Audet" <audet@nortel.com> Thu, 09 July 2009 21:29 UTC

Return-Path: <AUDET@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 4BC923A67FF for <sipcore@core3.amsl.com>; Thu, 9 Jul 2009 14:29:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.318
X-Spam-Level:
X-Spam-Status: No, score=-6.318 tagged_above=-999 required=5 tests=[AWL=0.281, 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 O5NAeC1B16NU for <sipcore@core3.amsl.com>; Thu, 9 Jul 2009 14:29:51 -0700 (PDT)
Received: from zrtps0kp.nortel.com (zrtps0kp.nortel.com [47.140.192.56]) by core3.amsl.com (Postfix) with ESMTP id 046B628C2E3 for <sipcore@ietf.org>; Thu, 9 Jul 2009 14:29:49 -0700 (PDT)
Received: from zrc2hxm0.corp.nortel.com (zrc2hxm0.corp.nortel.com [47.103.123.71]) by zrtps0kp.nortel.com (Switch-2.2.6/Switch-2.2.0) with ESMTP id n69LUCi15423; Thu, 9 Jul 2009 21:30:12 GMT
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Date: Thu, 09 Jul 2009 16:30:10 -0500
Message-ID: <1ECE0EB50388174790F9694F77522CCF1EE8ABC1@zrc2hxm0.corp.nortel.com>
In-Reply-To: <4A4CFEF1.1000006@cisco.com>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: [sipcore] draft-barnes-sipcore-rfc4244bis
thread-index: Acn7RI5uAk88CMxtRaey+j8kR2Ix6QFlQE2A
References: <1246556981.10099.65.camel@victoria-pingtel-com.us.nortel.com> <4A4CFEF1.1000006@cisco.com>
From: Francois Audet <audet@nortel.com>
To: Paul Kyzivat <pkyzivat@cisco.com>, Dale Worley <dworley@nortel.com>
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, 09 Jul 2009 21:29:52 -0000

Dale, Paul,

Good catch.

The intent was not to impose an ordering requirement: the intent was
to impose that the hi-index parameter be present.

Paul: in RFC4244 there was NO ordering requirement.

What we are trying to achieve with the ABNF is:

- No ordering requirement
- There MUST be exactly ONE hi-index
- There MUST be 0 or 1 hi-target parameter
- There MUST be 0 or 1 hi-aor parameter
- There MAY be any number of hi-extension

I now see the current ABNF fails miserably to do this...
But I don't think it's trivial to express in ABNF.

So I think then that Dale's semantic is better, and we
just need to clearly state that index must be present, and
that there can be only 0 or 1 of each of hi-target and hi-aor.

> -----Original Message-----
> From: sipcore-bounces@ietf.org 
> [mailto:sipcore-bounces@ietf.org] On Behalf Of Paul Kyzivat
> Sent: Thursday, July 02, 2009 11:40
> To: Worley, Dale (BL60:9D30)
> Cc: SIPCORE
> Subject: Re: [sipcore] draft-barnes-sipcore-rfc4244bis
> 
> 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
> > 
> _______________________________________________
> sipcore mailing list
> sipcore@ietf.org
> https://www.ietf.org/mailman/listinfo/sipcore
>