ietf-tools / xml2rfc

Generate RFCs and IETF drafts from document source in XML according to the IETF xml2rfc v2 and v3 vocabularies
https://ietf-tools.github.io/xml2rfc/
BSD 3-Clause "New" or "Revised" License
64 stars 35 forks source link

Some drafts don't get a "Internet-Draft:" in their header block in HTML #1046

Open paulehoffman opened 9 months ago

paulehoffman commented 9 months ago

Describe the issue

Some drafts don't have "Internet-Draft:" in their header block. For example, see https://www.ietf.org/archive/id/draft-bray-unichars-06.html; https://www.ietf.org/archive/id/draft-ietf-dnsop-rfc8109bis-00.html has it correctly.

Code of Conduct

kesara commented 9 months ago

This is because of the lack of seriesinfo element [1] under the rfc -> front. But text output doesn't seem to care about this attribute add Internet-Draft to the header. So this might be a possible bug in text output.

[1] https://ietf-tools.github.io/xml2rfc/#name-seriesinfo

paulehoffman commented 9 months ago

It seems like a bug in the output, and seriesInfo is not yet required. That needs to be fixed in RFCXML 3.1.

reschke commented 1 month ago

Yes, this is clearly a bug.