RFC 7950, "The YANG 1.1 Data Modeling Language", August 2016Source of RFC: netmod (ops)
Errata ID: 5617
Status: Held for Document Update
Publication Format(s) : TEXT
Reported By: Marek Michalak, Pawel Koch
Date Reported: 2019-01-30
Held for Document Update by: Joel Jaeggli
Date Held: 2019-10-07
Section 14 says:
path-arg = absolute-path / relative-path
It should say:
path-arg = deref-expr / path-str deref-expr = deref-function-invocation *WSP "/" *WSP relative-path path-str = absolute-path / relative-path deref-function-invocation = deref-keyword *WSP "(" *WSP path-str *WSP ")" deref-keyword = %s"deref"
This is to allow path statement to contain also "deref" function invocation which is supported by pyang and Cisco compiler but for now is not supported by i.e. yanglint validator because of above statement which does not allow for it.