Re: [salud] New version of the ABNF-syntax

worley@ariadne.com (Dale R. Worley) Fri, 08 March 2013 16:51 UTC

Return-Path: <worley@shell01.TheWorld.com>
X-Original-To: salud@ietfa.amsl.com
Delivered-To: salud@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D751021F84F5 for <salud@ietfa.amsl.com>; Fri, 8 Mar 2013 08:51:46 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.919
X-Spam-Level:
X-Spam-Status: No, score=-2.919 tagged_above=-999 required=5 tests=[AWL=0.061, BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1, RCVD_IN_SORBS_WEB=0.619]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fhyv4I8vda4c for <salud@ietfa.amsl.com>; Fri, 8 Mar 2013 08:51:46 -0800 (PST)
Received: from TheWorld.com (pcls5.std.com [192.74.137.145]) by ietfa.amsl.com (Postfix) with ESMTP id B261421F84F1 for <salud@ietf.org>; Fri, 8 Mar 2013 08:51:45 -0800 (PST)
Received: from shell.TheWorld.com (svani@shell01.theworld.com [192.74.137.71]) by TheWorld.com (8.14.5/8.14.5) with ESMTP id r28Gpa2r013634; Fri, 8 Mar 2013 11:51:38 -0500
Received: from shell01.TheWorld.com (localhost.theworld.com [127.0.0.1]) by shell.TheWorld.com (8.13.6/8.12.8) with ESMTP id r28GpaAh029563; Fri, 8 Mar 2013 11:51:36 -0500 (EST)
Received: (from worley@localhost) by shell01.TheWorld.com (8.13.6/8.13.6/Submit) id r28GpZrq029552; Fri, 8 Mar 2013 11:51:35 -0500 (EST)
Date: Fri, 08 Mar 2013 11:51:35 -0500
Message-Id: <201303081651.r28GpZrq029552@shell01.TheWorld.com>
From: worley@ariadne.com
Sender: worley@ariadne.com
To: Laura Liess <laura.liess.dt@googlemail.com>
In-reply-to: <CACWXZj0nsvE0ey2H=a0azN+eWSPq2oJnbC6VxyRKA0bEhkPQjg@mail.gmail.com> (laura.liess.dt@googlemail.com)
References: <CACWXZj2WhAsmQ3Ku7bVpiNhbFxX7-vx9d9wWzzKgiVLSeKk__g@mail.gmail.com> <201302132105.r1DL5BM01801234@shell01.TheWorld.com> <CACWXZj0Qq=Q=7necdgCPLeFAMbr3gg-WmBb-8UzegseEd_b_Qw@mail.gmail.com> <201302181854.r1IIsNFG2067515@shell01.TheWorld.com> <CACWXZj2P58HXJUAYQyB_mp9z_-qCCVwKD1jHhcJg6kGxJ5xVng@mail.gmail.com> <201302212027.r1LKRU4D2297154@shell01.TheWorld.com> <CACWXZj1txwpeCFqAJrJQpL845BNswyvm651WABGULr0DuEwF3A@mail.gmail.com> <201302221824.r1MIOpqh2386335@shell01.TheWorld.com> <CACWXZj0nsvE0ey2H=a0azN+eWSPq2oJnbC6VxyRKA0bEhkPQjg@mail.gmail.com>
Cc: salud@ietf.org
Subject: Re: [salud] New version of the ABNF-syntax
X-BeenThere: salud@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Sip ALerting for User Devices working group discussion list <salud.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/salud>, <mailto:salud-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/salud>
List-Post: <mailto:salud@ietf.org>
List-Help: <mailto:salud-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/salud>, <mailto:salud-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 08 Mar 2013 16:51:47 -0000

[as an individual]

The current syntax is:

      alert-URN         = "urn:alert:" alert-identifier
      alert-identifier  = alert-category ":" alert-indication
      alert-category    = alert-name
      alert-indication  = alert-name *(":" alert-name)
      alert-name        = alert-label / private-name

One source of difficulty I am having is that I would like a
nonterminal that means "an <alert-name> that is part of an
<alert-indication> (but not an <alert-category>".  I have been
incorrectly using the term <alert-indication> for this nonterminal.

There are alternative ways to provide this nonterminal.  We could
introduce a new nonterminal:

      alert-URN         = "urn:alert:" alert-identifier
      alert-identifier  = alert-category ":" alert-indication
      alert-category    = alert-name
      alert-indication  = xxx *(":" xxx)
      xxx               = alert-name
      alert-name        = alert-label / private-name

Or we could change the meaning of alert-indication:

      alert-URN         = "urn:alert:" alert-identifier
      alert-identifier  = alert-category ":" alert-indication *(":" alert-indication)
      alert-category    = alert-name
      alert-indication  = alert-name
      alert-name        = alert-label / private-name

But I do not know what change would cause the fewest problems with the
rest of the draft text.

What do you recommend?

Dale