RFC Errata
RFC 7951, "JSON Encoding of Data Modeled with YANG", August 2016
Source of RFC: netmod (ops)See Also: RFC 7951 w/ inline errata
Errata ID: 7020
Status: Verified
Type: Technical
Publication Format(s) : TEXT
Reported By: Jernej Tuljak
Date Reported: 2022-07-11
Verifier Name: Rob Wilton
Date Verified: 2023-10-02
Section 6.8 says:
An "identityref" value is represented as a string -- the name of an identity. If the identity is defined in a module other than the leaf node containing the identityref value, the namespace-qualified form (Section 4) MUST be used. Otherwise, both the simple and namespace- qualified forms are permitted.
It should say:
An "identityref" value is represented as a string -- the name of an identity. If the identity is defined in a module other than the leaf or leaf-list node containing the identityref value, the namespace-qualified form (Section 4) MUST be used. Otherwise, both the simple and namespace- qualified forms are permitted.
Notes:
The original text omitted leaf-list nodes, which may also be of "identityref" type.