Subject: [netmod] [Errata Rejected] RFC7950 (5157)

From: RFC Errata System <[email-masked]>
Date: Mon, 23 Oct 2017 14:45:45 -0700 (PDT)

The following errata report has been rejected for RFC7950,
"The YANG 1.1 Data Modeling Language".

--------------------------------------
You may review the report below and at:
http://www.rfc-editor.org/errata/eid5157

--------------------------------------
Status: Rejected
Type: Technical

Reported by: Andy Bierman <[email-masked]>
Date Reported: 2017-10-16
Rejected by: Benoit Claise (IESG)

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]
 --VERIFIER NOTES-- 
 Hi,

To be clear, I am withdrawing this errata because existing implementations
may not accept a numeric literal in an instance-identifier.
I think this should be addressed in YANG 2.0 and this thread should be
recorded in the yang-next issue trac ker.

Andy

--------------------------------------
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