Reproduction steps:
$ gem install kramdown-rfc
$ curl https://www.ietf.org/archive/id/draft-ietf-scitt-architecture-22.xml > draft-ietf-scitt-architecture-22.xml
$ kramdown-rfc-extract-sourcecode draft-ietf-scitt-architecture-22.xml -x cddl
Multiple sourcecodes under cddl: ["cddl-definition-for-signed-.cddl", "cddl-definition-for-a-trans.cddl"]
$ kramdown-rfc-extract-sourcecode draft-ietf-scitt-architecture-22.xml -x cddl-definition-for-signed-.cddl
No sourcecodes under cddl-definition-for-signed-.cddl
It looks like the definitions are truncated somehow. Something looks odd with the cbor diags also:
$ kramdown-rfc-extract-sourcecode draft-ietf-scitt-architecture-22.xml
---
cddl:
- cddl-definition-for-signed-.cddl
- cddl-definition-for-a-trans.cddl
cbor-diag:
- cbor-extended-diagnostic-no.cbor-diag
- cbor-extended-diagnostic-not.cbor-diag
- cbor-extended-diagnostic-nota.cbor-diag
- cbor-extended-diagnostic-notat.cbor-diag
- cbor-extended-diagnostic-notati.cbor-diag
- cbor-extended-diagnostic-notatio.cbor-diag
svg:
- example-ssc-life-cycle-thre.svg
- relationship-of-concepts-in.svg
- signing-large-or-sensitive-.svg
ascii-art:
- example-ssc-life-cycle-thre.ascii-art
- relationship-of-concepts-in.ascii-art
I am not attaching the draft because it's easily downloaded from the archive.
Reproduction steps:
It looks like the definitions are truncated somehow. Something looks odd with the cbor diags also:
I am not attaching the draft because it's easily downloaded from the archive.