1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241
|
<?xml version='1.0' encoding='utf-8'?>
<rfc xmlns:xi="http://www.w3.org/2001/XInclude" version="3" sortRefs="true" category="exp" submissionType="independent" ipr="trust200902" docName="sourcecode-00" prepTime="2024-08-19T02:51:42" indexInclude="true" scripts="Common,Latin" symRefs="true" tocDepth="3" tocInclude="true">
<!-- xml2rfc v2v3 conversion 3.22.0 -->
<front>
<title>xml2rfc sourcecode tests</title>
<seriesInfo name="Internet-Draft" value="sourcecode-00" stream="independent"/>
<author fullname="Human Person" initials="H" surname="Person" role="editor">
<address>
<postal>
<postalLine>line 1</postalLine>
<postalLine>line 2</postalLine>
<postalLine>line 3</postalLine>
</postal>
</address>
</author>
<date day="19" month="08" year="2024"/>
<boilerplate>
<section anchor="status-of-memo" numbered="false" removeInRFC="false" toc="exclude" pn="section-boilerplate.1">
<name slugifiedName="name-status-of-this-memo">Status of This Memo</name>
<t indent="0" pn="section-boilerplate.1-1">
This Internet-Draft is submitted in full conformance with the
provisions of BCP 78 and BCP 79.
</t>
<t indent="0" pn="section-boilerplate.1-2">
Internet-Drafts are working documents of the Internet Engineering Task
Force (IETF). Note that other groups may also distribute working
documents as Internet-Drafts. The list of current Internet-Drafts is
at <eref target="https://datatracker.ietf.org/drafts/current/" brackets="none"/>.
</t>
<t indent="0" pn="section-boilerplate.1-3">
Internet-Drafts are draft documents valid for a maximum of six months
and may be updated, replaced, or obsoleted by other documents at any
time. It is inappropriate to use Internet-Drafts as reference
material or to cite them other than as "work in progress."
</t>
<t indent="0" pn="section-boilerplate.1-4">
This Internet-Draft will expire on 20 February 2025.
</t>
</section>
<section anchor="copyright" numbered="false" removeInRFC="false" toc="exclude" pn="section-boilerplate.2">
<name slugifiedName="name-copyright-notice">Copyright Notice</name>
<t indent="0" pn="section-boilerplate.2-1">
Copyright (c) 2024 IETF Trust and the persons identified as the
document authors. All rights reserved.
</t>
<t indent="0" pn="section-boilerplate.2-2">
This document is subject to BCP 78 and the IETF Trust's Legal
Provisions Relating to IETF Documents
(<eref target="https://trustee.ietf.org/license-info" brackets="none"/>) in effect on the date of
publication of this document. Please review these documents
carefully, as they describe your rights and restrictions with
respect to this document.
</t>
</section>
</boilerplate>
<toc>
<section anchor="toc" numbered="false" removeInRFC="false" toc="exclude" pn="section-toc.1">
<name slugifiedName="name-table-of-contents">Table of Contents</name>
<ul bare="true" empty="true" indent="2" spacing="compact" pn="section-toc.1-1">
<li pn="section-toc.1-1.1">
<t indent="0" keepWithNext="true" pn="section-toc.1-1.1.1"><xref derivedContent="1" format="counter" sectionFormat="of" target="section-1"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-less-than-50-lines">Less than 50 lines</xref></t>
</li>
<li pn="section-toc.1-1.2">
<t indent="0" keepWithNext="true" pn="section-toc.1-1.2.1"><xref derivedContent="2" format="counter" sectionFormat="of" target="section-2"/>. <xref derivedContent="" format="title" sectionFormat="of" target="name-references">References</xref></t>
</li>
<li pn="section-toc.1-1.3">
<t indent="0" keepWithNext="true" pn="section-toc.1-1.3.1"><xref derivedContent="" format="none" sectionFormat="of" target="section-appendix.a"/><xref derivedContent="" format="title" sectionFormat="of" target="name-index">Index</xref></t>
</li>
<li pn="section-toc.1-1.4">
<t indent="0" pn="section-toc.1-1.4.1"><xref derivedContent="" format="none" sectionFormat="of" target="section-appendix.b"/><xref derivedContent="" format="title" sectionFormat="of" target="name-authors-address">Author's Address</xref></t>
</li>
</ul>
</section>
</toc>
</front>
<middle>
<section numbered="true" removeInRFC="false" toc="include" pn="section-1">
<name slugifiedName="name-less-than-50-lines">Less than 50 lines</name>
<sourcecode name="49lines.py" markers="false" pn="section-1-1">print("01")
print("02")
print("03")
print("04")
print("05")
print("06")
print("07")
print("08")
print("09")
print("10")
print("11")
print("12")
print("13")
print("14")
print("15")
print("16")
print("17")
print("18")
print("19")
print("20")
print("21")
print("22")
print("23")
print("24")
print("25")
print("26")
print("27")
print("28")
print("29")
print("30")
print("31")
print("32")
print("33")
print("34")
print("35")
print("36")
print("37")
print("38")
print("39")
print("40")
print("41")
print("42")
print("43")
print("44")
print("45")
print("46")
print("47")
print("48")
print("49")
</sourcecode>
<sourcecode name="50lines.py" markers="false" pn="section-1-2">print("01")
print("02")
print("03")
print("04")
print("05")
print("06")
print("07")
print("08")
print("09")
print("10")
print("11")
print("12")
print("13")
print("14")
print("15")
print("16")
print("17")
print("18")
print("19")
print("20")
print("21")
print("22")
print("23")
print("24")
print("25")
print("26")
print("27")
print("28")
print("29")
print("30")
print("31")
print("32")
print("33")
print("34")
print("35")
print("36")
print("37")
print("38")
print("39")
print("40")
print("41")
print("42")
print("43")
print("44")
print("45")
print("46")
print("47")
print("48")
print("49")
print("50")
</sourcecode>
</section>
</middle>
<back>
<references pn="section-2">
<name slugifiedName="name-references">References</name>
<reference anchor="ref0" quoteTitle="true" derivedAnchor="ref0">
<front>
<title>Reference</title>
<author fullname="Reference Q. Author"/>
</front>
<annotation>
<iref item="annotation" pn="iref-annotation-1"/>
This is a reference not in a reference group.
</annotation>
</reference>
</references>
<section numbered="false" removeInRFC="false" toc="include" pn="section-appendix.a">
<name slugifiedName="name-index">Index</name>
<t anchor="rfc.index.index" indent="0" pn="section-appendix.a-1">
<xref format="none" sectionFormat="of" target="rfc.index.u65" derivedContent="">A</xref>
</t>
<ul bare="false" empty="true" indent="3" spacing="normal" pn="section-appendix.a-2">
<li pn="section-appendix.a-2.1">
<t anchor="rfc.index.u65" indent="0" keepWithNext="true" pn="section-appendix.a-2.1.1">
<xref format="none" sectionFormat="of" target="rfc.index.u65" derivedContent="">A</xref>
</t>
<ul bare="false" empty="true" indent="3" spacing="compact" pn="section-appendix.a-2.1.2">
<li pn="section-appendix.a-2.1.2.1">
<dl indent="3" newline="false" spacing="compact" pn="section-appendix.a-2.1.2.1.1">
<dt pn="section-appendix.a-2.1.2.1.1.1">annotation</dt>
<dd pn="section-appendix.a-2.1.2.1.1.2">
<t indent="0" pn="section-appendix.a-2.1.2.1.1.2.1">
<xref format="default" sectionFormat="of" target="ref0" derivedContent="ref0">Reference</xref>
</t>
</dd>
</dl>
</li>
</ul>
</li>
</ul>
</section>
<section anchor="authors-addresses" numbered="false" removeInRFC="false" toc="include" pn="section-appendix.b">
<name slugifiedName="name-authors-address">Author's Address</name>
<author fullname="Human Person" initials="H" surname="Person" role="editor">
<address>
<postal>
<postalLine>line 1</postalLine>
<postalLine>line 2</postalLine>
<postalLine>line 3</postalLine>
</postal>
</address>
</author>
</section>
</back>
</rfc>
|