RFC 7950, "The YANG 1.1 Data Modeling Language", August 2016Source of RFC: netmod (ops)
Errata ID: 5617
Reported By: Marek Michalak, Pawel Koch
Date Reported: 2019-01-30
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.