RFC Errata
RFC 7950, "The YANG 1.1 Data Modeling Language", August 2016
Note: This RFC has been updated by RFC 8342, RFC 8526
Source of RFC: netmod (ops)See Also: RFC 7950 w/ inline errata
Errata ID: 6258
Status: Verified
Type: Technical
Publication Format(s) : TEXT
Reported By: Fred Gan
Date Reported: 2020-08-20
Verifier Name: Robert Wilton
Date Verified: 2024-01-12
Section 5.6.5 says:
For example, with these modules: module a { yang-version 1.1; namespace "urn:example:a"; prefix "a"; import b { revision-date 2015-01-01; } import c; revision 2015-01-01;
It should say:
For example, with these modules: module a { yang-version 1.1; namespace "urn:example:a"; prefix "a"; import b { revision-date 2015-01-01; prefix b; } import c { prefix c; } revision 2015-01-01;
Notes:
As is considered in 7.1.5, The mandatory "prefix" substatement assigns a prefix for the imported module that is scoped to the importing module or submodule.
So, there should be a prefix substatement in the "import b" and "import c" statement respectively.