Re: [netmod] [Technical Errata Reported] RFC7950 (5157)
Martin Bjorklund <mbj@tail-f.com> Mon, 23 October 2017 08:36 UTC
Return-Path: <mbj@tail-f.com>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CFF1013F084 for <netmod@ietfa.amsl.com>; Mon, 23 Oct 2017 01:36:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 qMUdYmbS9Gog for <netmod@ietfa.amsl.com>; Mon, 23 Oct 2017 01:36:44 -0700 (PDT)
Received: from mail.tail-f.com (mail.tail-f.com [46.21.102.45]) by ietfa.amsl.com (Postfix) with ESMTP id 1AEED13F081 for <netmod@ietf.org>; Mon, 23 Oct 2017 01:36:44 -0700 (PDT)
Received: from localhost (unknown [173.38.220.41]) by mail.tail-f.com (Postfix) with ESMTPSA id A3EF51AE012C; Mon, 23 Oct 2017 10:36:39 +0200 (CEST)
Date: Mon, 23 Oct 2017 10:35:13 +0200
Message-Id: <20171023.103513.1336510497564838401.mbj@tail-f.com>
To: bclaise@cisco.com
Cc: warren@kumari.net, kwatsen@juniper.net, lberger@labn.net, andy@yumaworks.com, netmod@ietf.org
From: Martin Bjorklund <mbj@tail-f.com>
In-Reply-To: <67172aec-686f-90ba-0fc8-1ce2bc3dcdb4@cisco.com>
References: <20171016190431.5FA26B80E0F@rfc-editor.org> <67172aec-686f-90ba-0fc8-1ce2bc3dcdb4@cisco.com>
X-Mailer: Mew version 6.7 on Emacs 24.5 / Mule 6.0 (HANACHIRUSATO)
Mime-Version: 1.0
Content-Type: Text/Plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/netmod/ZN7PzJQNxGssP7_4k-R1Po6C0rI>
Subject: Re: [netmod] [Technical Errata Reported] RFC7950 (5157)
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.22
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: <https://mailarchive.ietf.org/arch/browse/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: Mon, 23 Oct 2017 08:36:46 -0000
Benoit Claise <bclaise@cisco.com> wrote: > Dear all, > > Shall I validate this one? No I don't think this is correct. We choose a quoted string to be able to correctly represent all YANG integer and decimal64 values. Note that XPath doesn't have integers, just 64-bit floats. This means that not all 64-bit integers can be expressed as numbers in XPath. /martin > > Regards, Benoit > > The following errata report has been submitted for RFC7950, > > "The YANG 1.1 Data Modeling Language". > > > > -------------------------------------- > > You may review the report below and at: > > http://www.rfc-editor.org/errata/eid5157 > > > > -------------------------------------- > > Type: Technical > > Reported by: Andy Bierman <andy@yumaworks.com> > > > > Section: 14 > > > > Original Text > > ------------- > > key-predicate-expr = node-identifier *WSP "=" *WSP quoted-string > > > > Corrected Text > > -------------- > > key-predicate-expr = node-identifier *WSP "=" *WSP > > (quoted-string / integer-value / decimal-value) > > > > Notes > > ----- > > An instance identifier is forced to specify every key value to be a > > string > > even though the YANG key leaf type could be a numeric type. > > XPath does not require a quoted string here, just YANG. > > > > Old: /top/list[idx="4"] > > New: /top/list[idx=4] > > > > Instructions: > > ------------- > > This erratum is currently posted as "Reported". If necessary, please > > use "Reply All" to discuss whether it should be verified or > > rejected. When a decision is reached, the verifying party > > can log in to change the status and edit the report, if necessary. > > > > -------------------------------------- > > RFC7950 (draft-ietf-netmod-rfc6020bis-14) > > -------------------------------------- > > Title : The YANG 1.1 Data Modeling Language > > Publication Date : August 2016 > > Author(s) : M. Bjorklund, Ed. > > Category : PROPOSED STANDARD > > Source : NETCONF Data Modeling Language > > Area : Operations and Management > > Stream : IETF > > Verifying Party : IESG > > . > > >
- [netmod] [Technical Errata Reported] RFC7950 (515… RFC Errata System
- Re: [netmod] [Technical Errata Reported] RFC7950 … Benoit Claise
- Re: [netmod] [Technical Errata Reported] RFC7950 … Andy Bierman
- Re: [netmod] [Technical Errata Reported] RFC7950 … Vladimir Vassilev
- Re: [netmod] [Technical Errata Reported] RFC7950 … Martin Bjorklund
- Re: [netmod] [Technical Errata Reported] RFC7950 … Martin Bjorklund
- Re: [netmod] [Technical Errata Reported] RFC7950 … Vladimir Vassilev
- Re: [netmod] [Technical Errata Reported] RFC7950 … Ladislav Lhotka
- Re: [netmod] [Technical Errata Reported] RFC7950 … Andy Bierman
- Re: [netmod] [Technical Errata Reported] RFC7950 … Martin Bjorklund
- Re: [netmod] [Technical Errata Reported] RFC7950 … Andy Bierman
- Re: [netmod] [Technical Errata Reported] RFC7950 … Andy Bierman
- Re: [netmod] [Technical Errata Reported] RFC7950 … Kent Watsen
- Re: [netmod] [Technical Errata Reported] RFC7950 … Andy Bierman
- Re: [netmod] [Technical Errata Reported] RFC7950 … Robert Wilton
- Re: [netmod] [Technical Errata Reported] RFC7950 … Jan Lindblad
- Re: [netmod] [Technical Errata Reported] RFC7950 … Ladislav Lhotka
- Re: [netmod] [Technical Errata Reported] RFC7950 … Robert Wilton
- Re: [netmod] [Technical Errata Reported] RFC7950 … Vladimir Vassilev
- Re: [netmod] [Technical Errata Reported] RFC7950 … Andy Bierman
- Re: [netmod] [Technical Errata Reported] RFC7950 … Vladimir Vassilev
- Re: [netmod] [Technical Errata Reported] RFC7950 … Andy Bierman
- Re: [netmod] [Technical Errata Reported] RFC7950 … Ladislav Lhotka