RFC Errata System <[email protected]> wrote:
> The following errata report has been submitted for RFC7950,
> "The YANG 1.1 Data Modeling Language".
> 
> --------------------------------------
> You may review the report below and at:
> http://www.rfc-editor.org/errata/eid5642
> 
> --------------------------------------
> Type: Editorial
> Reported by: Peter Loborg <[email protected]>
> 
> Section: 9.6.4
> 
> Original Text
> -------------
> It takes as an argument a string that is the assigned name. 
> 
> Corrected Text
> --------------
> It takes as an argument an unquoted string that is the assigned name.

This is not correct.  The enum argument is not different from any
other keyword's arguments in YANG.  See e.g. the example in 9.12.4:

       type enumeration {
         enum "unbounded";
       }

The following is also legal:

         enum "unb" + 'ounded';


This errata should be rejected.



/martin


> 
> Notes
> -----
> Readers are not beeing made aware that careful reading of section 6.1.3 and 
> the detailed definition of string in section 14 must be consulted.
> For comming versions of this RFC it would be preferable to use a more 
> specialized grammar token for these cases (e.g. unquoted-string).
> 
> Instructions:
> -------------
> This erratum is currently posted as "Reported". If necessary, please
> use "Reply All" to discuss whether it should be verified or
> rejected. When a decision is reached, the verifying party  
> can log in to change the status and edit the report, if necessary. 
> 
> --------------------------------------
> 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              : Network Modeling
> Area                : Operations and Management
> Stream              : IETF
> Verifying Party     : IESG
> 

_______________________________________________
netmod mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/netmod

Reply via email to