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
65 stars 38 forks source link

--add-xinclude should use bib.ietf.org URLs for I-Ds #1008

Open ajeanmahoney opened 1 year ago

ajeanmahoney commented 1 year ago

Description

The --add-xinclude switch creates xi:includes for RFC and I-D reference entries. However, the xi:include URLs for RFCs use bib.ietf.org, while the URLs for I-Ds use datatracker.ietf.org:

        <xi:include href="https://bib.ietf.org/public/rfc/bibxml/reference.RFC.7788.xml"/>
        <xi:include href="https://datatracker.ietf.org/doc/bibxml3/draft-ietf-babel-source-specific.xml"/>

datatracker URLs were preferred when datatracker had better BibXML information. However, it appears that BibXML contents at datatracker and bib.ietf.org are now the same. If that is the case, then the xi:include URLs that xml2rfc creates for I-Ds should use bib.ietf.org.

Code of Conduct