Is there a reason why the ABNF for example the when and must statement has been "restricted" to when-keyword sep string optsep
As "string" can't be tokenized no errors are generated by YANG compilers if this string contains an error, e.g. referred leaf does not exit due to a typo. This problem only exposes itself at run-time. I was wondering why this string was not broken down into a number of specific parts that define the when statement so that these kind of errors can be trapped early in the development process? I am rather new in this so I did not follow all discussions that led to the definition of YANG and hence have no idea whether this was discussed and what were the reasons not to do it this way. Best regards - Vriendelijke groeten, Bart Bogaert
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ netmod mailing list [email protected] https://www.ietf.org/mailman/listinfo/netmod
