<?xml version="1.0" encoding="UTF-8"?>
  <?xml-stylesheet type="text/xsl" href="rfc2629.xslt" ?>
  <!-- generated by https://github.com/cabo/kramdown-rfc version 1.6.33 (Ruby 2.6.10) -->


<!DOCTYPE rfc  [
  <!ENTITY nbsp    "&#160;">
  <!ENTITY zwsp   "&#8203;">
  <!ENTITY nbhy   "&#8209;">
  <!ENTITY wj     "&#8288;">

]>


<rfc ipr="trust200902" docName="draft-hoffman-rfc7990-updates-03" category="info" submissionType="editorial" updates="7990" tocDepth="4" tocInclude="true" sortRefs="true" symRefs="true">
  <front>
    <title abbrev="Format Framework">RFC Format Framework</title>

    <author initials="P." surname="Hoffman" fullname="Paul Hoffman">
      <organization>ICANN</organization>
      <address>
        <email>paul.hoffman@icann.org</email>
      </address>
    </author>

    <date year="2023" month="May" day="17"/>

    
    
    <keyword>Internet-Draft</keyword>

    <abstract>


<?line 35?>

<t>This document updates RFC 7990 by changing the definition of the "canonical format" for RFCs
and describing the archival versions of RFCs in more depth.</t>



    </abstract>



  </front>

  <middle>


<?line 41?>

<section anchor="introduction"><name>Introduction</name>

<t><xref target="RFC7990"/> defines a framework for how RFCs would be published after that document was published,
including new formats and a new canonical format for archiving RFCs.
It talks about "the XML file" as if there will only be one XML file for an RFC because this was the expectation at the time <xref target="RFC7990"/> was published.</t>

<t>The first RFC to be published using the group of RFCs described in <xref target="RFC7990"/> was <xref target="RFC8651"/>, published in October 2019.
In the time since then, all published RFCs have followed the general plan from <xref target="RFC7990"/>.</t>

<t>After extensive experience with publishing RFCs in the XML format, it has been decided that an RFC's XML file can be updated for narrowly limited purposes.
This document updates <xref target="RFC7990"/> in that it changes the definition of the canonical format for RFCs
and lists the purposes which can cause the RFC Editor to change the contents of the XML file.
This document also specifies how older versions of the XML file for an RFC are archived and made available for historical purposes.</t>

<t>This document explicitly does not update the other documents referenced in <xref target="RFC7990"/>.</t>

</section>
<section anchor="updated-definition-of-canonical-format-and-archive"><name>Updated Definition of "Canonical Format" and "Archive"</name>

<t>Section 3 of <xref target="RFC7990"/> defines the canonical format as:</t>

<ul empty="true"><li>
  <t>Canonical format: the authorized, recognized, accepted, and
archived version of the document</t>
</li></ul>

<t>The definition of "canonical format" in Section 3 of <xref target="RFC7990"/> is updated to be:</t>

<ul empty="true"><li>
  <t>Canonical format: the authorized, recognized, accepted, and
most recent version of the document published by the RFC Editor</t>
</li></ul>

<t>Section 5 of <xref target="RFC7990"/> says:</t>

<ul empty="true"><li>
  <t>The final XML file produced by the RFC Editor will be considered the
canonical format for RFCs; it is the lowest common denominator that
holds all the information intended for an RFC.</t>
</li></ul>

<t>This wording does not take into account the need to later change the XML file to fix XML errors.
XML format errors, and better design choices, have been discovered by the community since
the first RFCs were published using the XML format.
In order to allow the RFC Editor to publish correct XML for all RFCs,
Section 5 of <xref target="RFC7990"/> is updated to say:</t>

<ul empty="true"><li>
  <t>The XML file produced by the RFC Editor will be considered the
canonical format for RFCs; it is the lowest common denominator that
holds all the information intended for an RFC. The RFC Editor may
change the file over time to incorporate changes in the XML format.</t>
</li></ul>

<ul empty="true"><li>
  <t>The RFC Editor must keep archived sets of all versions of the
XML file for an RFC and the published publication formats (HTML, PDF,
and plain text) that were published.
These archived sets must be available using the same access methods
as for the canonical XML and the published publication formats.</t>
</li></ul>

<section anchor="reasons-for-updating-the-canonical-xml-files"><name>Reasons for Updating the Canonical XML Files</name>

<t>The canonical XML file can be updated for the following reasons:</t>

<t><list style="symbols">
  <t>The XML vocabulary in <xref target="RFC7991"/> changes</t>
  <t>An error is discovered in the XML for an RFC</t>
</list></t>

<t>During the development of this document, many other reasons for updating the canonical XML file were suggested.
Those reasons are not in scope for this document, and may be adopted later after the community has experience
with the updating mechanisms described in this document.</t>

</section>
</section>
<section anchor="updating-publication-format-documents"><name>Updating Publication Format Documents</name>

<t>Seciton 7 of <xref target="RFC7990"/> describes the HTML, PDF, and plain text versions of an RFC that are published by the RFC Editor.
The section is titled "Publication Format Documents", so that term is used here to refer to the documents that are derived from the XML for an RFC.
When the canonical XML changes, the RFC Editor will also regenerate the publication format documents and publish those new versions.</t>

<t>The RFC Editor might also regenerate one or more of the publication format documents for an RFC if it sees errors in the generated output.
This has already happened in cases where PDF files had display errors in them.</t>

<t>Whenever the RFC Editor publishes regenerated publication format documents,
it must keep archived sets of all versions of the publication format documents files.
These archived sets must be available using the same access methods
as for the canonical XML and the published publication formats.</t>

</section>
<section anchor="archived-documents"><name>Archived Documents</name>

<t>WHen the RFC Editor archives documents, it does so in a manner that allows them to be found by
people who want the historical (as compared to current) versions of those files.</t>

<t>To make the files easier to find, they should be stored in the same Internet-accessable locations as the current RFCs.
They should be stored in a directory under the directory where the current RFCs are kept
so that replication of the main directory using rsync or FTP will replicate the archival files as well.</t>

<t>The naming of the archival files is a topic perfect for bike-shedding by IETF participants.
Before this document is finished, hundreds (or thousands!) of messages, many with firm opinions of the best naming method, will be published.
Heck, even the name of the directory for archival files is fodder for vigorous bike-shedding.</t>

<section anchor="an-initial-proposal-for-file-naming"><name>An Initial Proposal for File Naming</name>

<t>The file names for archived documents will be appended with a datestamp
indicating the last day that the file was published as the canonical XML or publication format documents.
For example, if the XML for RFC 8888 is updated on March 4, 2024,
the RFC Editor will publish the updated files as
rfc8888.xml, rfc8888.html, rfc8888.pdf, and rfc8888.txt in the normal locations.
It will also publish in the archival directory the files
rfc8888-2024-03-04.xml, rfc8888-2024-03-04.html, rfc8888-2024-03-04.pdf, and rfc8888-2024-03-04.txt.</t>

<t>The same naming scheme is used when just a publication format document is published.
For example, if the PDF of RFC 9432 had rendering issues that the RFC Editor fixes on January 8, 2024,
the RFC Editor will publish tne updated file as rfc9432.pdf.
It will also publish in the archival directory the file rfc9432-2023-01-08.pdf.</t>

</section>
<section anchor="explaining-reasons-for-updating-files"><name>Explaining Reasons for Updating Files</name>

<t>During the development of this document, members of the community said that the archived XML should contain an explanation for why the document was updated.
Some suggested methods include:</t>

<t><list style="symbols">
  <t>An XML comment in the document; except for the fact that <xref target="RFC7990"/> prohibits XML comments.</t>
  <t>A new element such as &lt;comment&gt; this would require an update to <xref target="RFC7991"/></t>
  <t>A &lt;cref&gt; element with a new attribute that would suppress inclusion in the publication format documents; this would require an update to <xref target="RFC7991"/></t>
  <t>An additional file in the archival directory; this would require the reader to find the file when looking at the XML</t>
</list></t>

<t>Because each of these has a downside, choosing between them is not bike-shedding.</t>

</section>
</section>
<section anchor="iana-considerations"><name>IANA Considerations</name>

<t>This document has no IANA considerations.</t>

</section>
<section anchor="security-considerations"><name>Security Considerations</name>

<t>This document has the same security considerations as <xref target="RFC7990"/>. Those are:</t>

<t>Changing the format for RFCs involves modifying a great number of
components to publication.  Understanding those changes and the
implications for the entire tool chain is critical so as to avoid
unintended bugs that would allow unintended changes to text.
Unintended changes to text could in turn corrupt a standard,
practice, or critical piece of information about a protocol.</t>

</section>


  </middle>

  <back>


    <references title='Normative References'>





<reference anchor='RFC7990'>
<front>
<title>RFC Format Framework</title>
<author fullname='H. Flanagan' initials='H.' surname='Flanagan'><organization/></author>
<date month='December' year='2016'/>
<abstract><t>In order to improve the readability of RFCs while supporting their archivability, the canonical format of the RFC Series will be transitioning from plain-text ASCII to XML using the xml2rfc version 3 vocabulary; different publication formats will be rendered from that base document.  With these changes comes an increase in complexity for authors, consumers, and the publisher of RFCs.  This document serves as the framework that provides the problem statement, lays out a road map of the documents that capture the specific requirements, and describes the transition plan.</t></abstract>
</front>
<seriesInfo name='RFC' value='7990'/>
<seriesInfo name='DOI' value='10.17487/RFC7990'/>
</reference>



<reference anchor='RFC7991'>
<front>
<title>The &quot;xml2rfc&quot; Version 3 Vocabulary</title>
<author fullname='P. Hoffman' initials='P.' surname='Hoffman'><organization/></author>
<date month='December' year='2016'/>
<abstract><t>This document defines the &quot;xml2rfc&quot; version 3 vocabulary: an XML-based language used for writing RFCs and Internet-Drafts.  It is heavily derived from the version 2 vocabulary that is also under discussion.  This document obsoletes the v2 grammar described in RFC 7749.</t></abstract>
</front>
<seriesInfo name='RFC' value='7991'/>
<seriesInfo name='DOI' value='10.17487/RFC7991'/>
</reference>




    </references>

    <references title='Informative References'>





<reference anchor='RFC8651'>
<front>
<title>Dynamic Link Exchange Protocol (DLEP) Control-Plane-Based Pause Extension</title>
<author fullname='B. Cheng' initials='B.' surname='Cheng'><organization/></author>
<author fullname='D. Wiggins' initials='D.' surname='Wiggins'><organization/></author>
<author fullname='L. Berger' initials='L.' role='editor' surname='Berger'><organization/></author>
<date month='October' year='2019'/>
<abstract><t>This document defines an extension to the Dynamic Link Exchange Protocol (DLEP) that enables a modem to use DLEP messages to pause and resume data traffic coming from its peer router.</t></abstract>
</front>
<seriesInfo name='RFC' value='8651'/>
<seriesInfo name='DOI' value='10.17487/RFC8651'/>
</reference>




    </references>



  </back>

<!-- ##markdown-source:
H4sIAAAAAAAAA9VZW28buRV+569gHWC7C0iCc9lu4gWKuk6MpNikwa6D7VtB
zVAW6xlySnIkq4v8937nkDPDkeW9tC9tXmKNOOf6ne+cQy2XSxFNbPSF/P76
Sl4736oor71q9d75O6HWa693Fw+/qF1l8feFrL3axOXWbTatsku/qb559ep8
2Xe1ijosz58LEaKy9d9V4yyOR99rAYHPRT5yIekFIUzn+dsQn52fvzp/Ju72
F/KdjdpbHZevSYuoVLyQxm6cCP26NSEYZ28OHcTq2kTnjWqE6MyFkDK66kIe
dEh/1rqL2wv5Ap+C89HrTRi+DYd2+ihUH7fOQ8ASX0EVnn9cybfJO3qUnP6o
+qZ86vwtjL26/PCBPulWmeZCdji0yoH5k6mUtSucE8JyLM1Ok52IOvk//fn0
ArGAi/MzL//wNX2xXC6lWofoVRWFuNmaIJGIvtU2yhxPziOJlOuDrLbK3hp7
K+NWy1pvjDURMZNuw0/OYJSzMK2RSeEZ/U8SgkDO8EaovFkPApSvtmaHwzvt
KfSB5NBhBEq2zpMKxHklkqGtqetGC/GE0uhd3VekW4iffspOf/6cbILRSm4G
aLEJW7dPkveub2q51rLr140JW11LIEF7GAQ8js7vVZhOLBDAqulrstvqffYN
SuCS4ifHfrPO5B69RJpX4l2UUTV3eG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