Dear all,

I am trying to summarize the conclusions of this email thread, in light of the draft-cardona-claise-onion-yang-coverage <https://datatracker.ietf.org/doc/draft-cardona-claise-onion-yang-coverage/> presentation in the NETMOD meeting:
- We want to have instance examples next to the IETF YANG module. Granted
- We want to have those instance examples WITHIN the same document as the YANG module. I guess so.     This is ideal but is it always possible, because there might be different contexts?     See Rob Wilton's comment in the IETF 124 NETMOD meeting minutes <https://datatracker.ietf.org/doc/minutes-124-netmod-202511071430/> - I understand that the community would like a different tags for the instances (next to CODE BEGINS/END)
    And we have some in XML, great.
- What I am not sure: do we also need the tags for the text draft/RFC (next to XML)?

Where I would appreciate the help (of someone more clever that I): how to practically add those tags, when you start from editing markdown draft.
A (process) example would be ideal.

Thanks and regards, Benoit

On Oct 13, 2025, at 16:30, Kent Watsen<[email protected]> wrote:
I find that the ASCII-armor CODE BEGINS/CODE ENDS is an undesirable relic from 
days before XML-based RFCs.  Now that RFCs are XML-native, better constructs 
are possible.  I do not think that extracting from Text-formatted RFCs is 
necessary.  Being able to extract from just XML is fine.  Therefore I do NOT 
support adding support for code-tags for examples.
RFCXML has markers= and related attributes name= etc. [1]; you never type CODE 
BEGINS/ENDS.
There is no need to ever apply heuristics to pull source from plaintext 
renderings any more.

Try kramdown-rfc-extract-sourcecode on the XML if you need a tool.
Tryhttps://tzi.de/~cabo/i-d or /rfc for a prototype of the “RFC filesystem” I’m 
proposing (not recently updated though).

Grüße, Carsten

[1]:https://authors.ietf.org/rfcxml-vocabulary#markers

_______________________________________________
netmod mailing list [email protected]
To unsubscribe send an email [email protected]
_______________________________________________
netmod mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to