<?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.34 (Ruby 2.6.10) -->


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

]>


<rfc ipr="trust200902" docName="draft-rswg-rfc7990-updates-00" category="info" submissionType="editorial" updates="7990" tocDepth="4" tocInclude="true" sortRefs="true" symRefs="true">
  <front>
    <title abbrev="Format Framework">Updated 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="June" day="02"/>

    
    
    <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>

<t>This draft is part of the RFC Series Working Group (RSWG); see <eref target="https://datatracker.ietf.org/edwg/rswg/documents/">https://datatracker.ietf.org/edwg/rswg/documents/</eref>.
There is a repository for this draft at <eref target="https://github.com/paulehoffman/draft-rswg-rfc7990-updates">https://github.com/paulehoffman/draft-rswg-rfc7990-updates</eref>.
Issues can be raised there, but probably should be on the mailing list instead.</t>



    </abstract>



  </front>

  <middle>


<?line 45?>

<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 that 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>

<t>[[ Jay Daley would like to use "RFCXML" instead of "XML" because we are describing a very specific XML language that is used. ]]</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>[[ Another option: the XML document published by the RFC Editor in the most recent version of the XML format ]]</t>

<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 corrected 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 is the canonical format for RFCs; it is the format that holds all the information intended for an RFC.
The RFC Editor may change the file over time to incorporate changes in the definition of the XML format.</t>
</li></ul>

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

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

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

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

<t>During the development of this document, many other reasons for updating the 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>Section 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 XML changes, the RFC Editor may also regenerate the publication format documents and publish those new versions.</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 XML and the published publication formats.</t>

<t>[[ There was disagreement about the paragraph above about "must" and deciding when the publication format files are archived. ]]</t>

<t>(Separately, 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.
Such regeneration is an operational decision that is not affected by this document.)</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-accessible locations as the current RFCs.
The methods for storage and access will be determined by the RFC Editor in consultation with the technical community.</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, might 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 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 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 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; however, <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 one or more downsides, choosing between them is not bike-shedding.</t>

<t>[[ Martin T. expressed a preference for XML comments. ]]</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>
<section anchor="acknowledegements"><name>Acknowledegements</name>

<t>This document has greatly benefitted from the input or the RSWG.
In particular,
Brian Carpenter,
Jay Daley,
and Martin Thomson
gave significant input on the early draft of this document.</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>


<?line 183?>



  </back>

<!-- ##markdown-source:
H4sIAAAAAAAAA8VZa4/cthX9rl/BroHUBmZmN7bT2OMi6GbtTRzErhFvkAJx
UHAkzgy7kqiS1I6ngf97z70kJWp21nbQD/UX7+jB+zr33Ifm83nhta/VUvzc
VdKrSvx0eSEujW2kF5dWNmpn7HUhVyurbpa3b1SmbPH3UlRWrv3cut1mbtfl
10+fns17PtHNz86KwnnZVv+UtWnxrLe9KnDaoyI+shT0QlHozvJd5x+enT09
e1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