[netmod] Y18: fix "when" expression context problem

Martin Bjorklund <mbj@tail-f.com> Wed, 21 January 2015 12:24 UTC

Return-Path: <mbj@tail-f.com>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D3A301A1A33 for <netmod@ietfa.amsl.com>; Wed, 21 Jan 2015 04:24:05 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.011
X-Spam-Level:
X-Spam-Status: No, score=-0.011 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
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 MNtj38ORXfgY for <netmod@ietfa.amsl.com>; Wed, 21 Jan 2015 04:24:03 -0800 (PST)
Received: from mail.tail-f.com (mail.tail-f.com [83.241.162.140]) by ietfa.amsl.com (Postfix) with ESMTP id C46FC1A1A36 for <netmod@ietf.org>; Wed, 21 Jan 2015 04:23:08 -0800 (PST)
Received: from localhost (unknown [193.13.112.215]) by mail.tail-f.com (Postfix) with ESMTPSA id CF7781280052 for <netmod@ietf.org>; Wed, 21 Jan 2015 13:23:07 +0100 (CET)
Date: Wed, 21 Jan 2015 13:24:33 +0100
Message-Id: <20150121.132433.1505626678838099831.mbj@tail-f.com>
To: netmod@ietf.org
From: Martin Bjorklund <mbj@tail-f.com>
X-Mailer: Mew version 6.5 on Emacs 24.3 / Mule 6.0 (HANACHIRUSATO)
Mime-Version: 1.0
Content-Type: Text/Plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/netmod/rIX0BUVxdmlcDZ_IlduexivrEtw>
Subject: [netmod] Y18: fix "when" expression context problem
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod/>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 21 Jan 2015 12:24:06 -0000

Hi,

I had an action point to clarify the evaluation order of when
expressions, in Y18.

I have updated Y18 with this proposal, in 7.19.5:

  OLD:

  The result of the XPath expression is converted to a boolean value
  using the standard XPath rules.

  NEW:

  The result of the XPath expression is converted to a boolean value
  using the standard XPath rules.

  If the XPath expression references any node that also has associated
  "when" statements, these "when" expressions MUST be evaluated first.
  There MUST NOT be any circular dependencies in these "when"
  expressions.



/martin