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
71 stars 39 forks source link

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

Open paulehoffman opened 1 year ago

paulehoffman commented 1 year 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 1 year 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 1 year 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 5 months ago

Yes, this is clearly a bug.