Open kwatsen opened 7 years ago
See my comment on a related issue.
Idea is to convert examples from NC/RC to XML/JSON
This last comment does not make sense. Yes, perhaps there are situations where NETCONF details can be removed, but you do not convert from NC to XML/JSON (and there is no RC anyway). I am also against using different encodings in examples or worse to duplicate examples. This adds noise but not value.
See also #56. The lexicographic representation of instance-identifiers are defined only in terms of XML.
I do not think this rewrite is an improvement at all.
https://www.ietf.org/archive/id/draft-yn-netmod-rfc7950bis-00.html
https://datatracker.ietf.org/doc/html/draft-yn-netmod-yang-xml-00
No need to refactor at all. Add explanation that JSON and CBOR encoding are supported in other RFCs
The YANG RFC is littered with XML encoding rules (see table of contents).
These should be factored out into another document like RFC 7951.