Open becarpenter opened 2 years ago
P.S. I checked, and cat: BCP is not allowed, but the rendering should be BCP: 39 as in published RFCs. If I patch the XML as <seriesInfo name="BCP" value="39"/> the HTML renders correctly. So that'll be a separate kramdown issue.
Series information in the title page header only gets populated when xml2rfc
is producing an RFC.
(This is identified by number
attribute in rfc
element.)
Showing series information in the header in HTML output might be a bug in xml2rfc.
I think the correct approach is like Updates: and Obsoletes:, i.e. BCP: 39 (if approved)
name (for Internet-Drafts). Another <seriesInfo> element determines
the "maturity level" (defined in [RFC2026]), using values of "std"
for "Standards Track", "bcp" for "BCP", "info" for "Informational",
"exp" for "Experimental", and "historic" for "Historic". The "name"
attributes of those multiple <seriesInfo> elements interact as
xml2rfc is following RFC7991 when generating the seriesInfo from the seriesno <rfc attribute. If we want a different display, this is a rendering issue.
OK, thanks for the clarification.
This kramdown: cat: bcp seriesNo: "39" becomes <seriesInfo name="bcp" value="39"/> in XML. In the html rendering, this displays as bcp: 39 in the document header, but it is not rendered in txt or any other format. (It should really be upper case BCP, but I assume that's user error.) The current example is draft-carpenter-rfced-iab-charter-06