xml2rfc 3.26.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (71) hide show
  1. xml2rfc/__init__.py +68 -0
  2. xml2rfc/boilerplate_id_guidelines.py +28 -0
  3. xml2rfc/boilerplate_rfc_7841.py +575 -0
  4. xml2rfc/boilerplate_tlp.py +258 -0
  5. xml2rfc/data/SVG-1.2-RFC.rnc +1666 -0
  6. xml2rfc/data/SVG-1.2-RFC.rng +7460 -0
  7. xml2rfc/data/Scripts.txt +2693 -0
  8. xml2rfc/data/metadata.js +218 -0
  9. xml2rfc/data/metadata.min.js +1 -0
  10. xml2rfc/data/reference.rnc +955 -0
  11. xml2rfc/data/reference.rng +2158 -0
  12. xml2rfc/data/referencegroup.rnc +16 -0
  13. xml2rfc/data/referencegroup.rng +2180 -0
  14. xml2rfc/data/rfc7991.rnc +955 -0
  15. xml2rfc/data/rfc7991.rng +2143 -0
  16. xml2rfc/data/v2.rnc +309 -0
  17. xml2rfc/data/v2.rng +720 -0
  18. xml2rfc/data/v3.rnc +1144 -0
  19. xml2rfc/data/v3.rng +2538 -0
  20. xml2rfc/data/v3compat.dtd +630 -0
  21. xml2rfc/data/v3compat.rnc +985 -0
  22. xml2rfc/data/xml2rfc-v3-emacs-nxml.rnc +1083 -0
  23. xml2rfc/data/xml2rfc.css +1171 -0
  24. xml2rfc/data/xml2rfc.js +7 -0
  25. xml2rfc/debug.py +221 -0
  26. xml2rfc/log.py +54 -0
  27. xml2rfc/parser.py +815 -0
  28. xml2rfc/run.py +801 -0
  29. xml2rfc/scripts.py +52 -0
  30. xml2rfc/strings.py +26 -0
  31. xml2rfc/templates/address_card.html +21 -0
  32. xml2rfc/templates/base.html +415 -0
  33. xml2rfc/templates/doc.xml +367 -0
  34. xml2rfc/templates/doc.yaml +2138 -0
  35. xml2rfc/templates/rfc2629-other.ent +61 -0
  36. xml2rfc/templates/rfc2629-xhtml.ent +170 -0
  37. xml2rfc/templates/rfc2629.dtd +328 -0
  38. xml2rfc/uniscripts/__init__.py +97 -0
  39. xml2rfc/uniscripts/unidata.py +306 -0
  40. xml2rfc/uniscripts/update/make_unidata.py +94 -0
  41. xml2rfc/util/__init__.py +7 -0
  42. xml2rfc/util/date.py +94 -0
  43. xml2rfc/util/fonts.py +53 -0
  44. xml2rfc/util/name.py +229 -0
  45. xml2rfc/util/num.py +119 -0
  46. xml2rfc/util/postal.py +285 -0
  47. xml2rfc/util/unicode.py +441 -0
  48. xml2rfc/utils.py +672 -0
  49. xml2rfc/walkpdf.py +113 -0
  50. xml2rfc/writers/__init__.py +25 -0
  51. xml2rfc/writers/base.py +2248 -0
  52. xml2rfc/writers/bib.py +43 -0
  53. xml2rfc/writers/doc.py +354 -0
  54. xml2rfc/writers/expand.py +51 -0
  55. xml2rfc/writers/expanded_xml.py +39 -0
  56. xml2rfc/writers/html.py +3110 -0
  57. xml2rfc/writers/legacy_html.py +860 -0
  58. xml2rfc/writers/nroff.py +345 -0
  59. xml2rfc/writers/paginated_txt.py +432 -0
  60. xml2rfc/writers/pdf.py +230 -0
  61. xml2rfc/writers/preptool.py +2428 -0
  62. xml2rfc/writers/raw_txt.py +1453 -0
  63. xml2rfc/writers/text.py +5000 -0
  64. xml2rfc/writers/unprep.py +187 -0
  65. xml2rfc/writers/v2v3.py +1150 -0
  66. xml2rfc-3.26.0.dist-info/LICENSE +29 -0
  67. xml2rfc-3.26.0.dist-info/METADATA +178 -0
  68. xml2rfc-3.26.0.dist-info/RECORD +71 -0
  69. xml2rfc-3.26.0.dist-info/WHEEL +5 -0
  70. xml2rfc-3.26.0.dist-info/entry_points.txt +2 -0
  71. xml2rfc-3.26.0.dist-info/top_level.txt +1 -0
xml2rfc/__init__.py ADDED
@@ -0,0 +1,68 @@
1
+ # Copyright The IETF Trust 2011-2018, All Rights Reserved
2
+ # -*- coding: utf-8 -*-
3
+ from __future__ import unicode_literals, print_function, division
4
+
5
+ # Static values
6
+ __version__ = '3.26.0'
7
+ NAME = 'xml2rfc'
8
+ VERSION = [ int(i) if i.isdigit() else i for i in __version__.split('.') ]
9
+ CACHES = ['/var/cache/xml2rfc', '~/.cache/xml2rfc'] # Ordered by priority
10
+ CACHE_PREFIX = ''
11
+ NET_SUBDIRS = ['bibxml', 'bibxml-misc', 'bibxml-ids', 'bibxml-w3c', 'bibxml-3gpp', 'bibxml-ieee', 'bibxml-rfcsubseries']
12
+ V3_PI_TARGET = 'v3xml2rfc'
13
+
14
+ from xml2rfc.parser import XmlRfcError, CachingResolver, XmlRfcParser, XmlRfc
15
+
16
+ from xml2rfc.writers import ( BaseRfcWriter, RawTextRfcWriter, PaginatedTextRfcWriter,
17
+ HtmlRfcWriter, NroffRfcWriter, ExpandedXmlWriter, RfcWriterError,
18
+ V2v3XmlWriter, PrepToolWriter, TextWriter, HtmlWriter, PdfWriter,
19
+ ExpandV3XmlWriter, UnPrepWriter, DocWriter, DatatrackerToBibConverter,
20
+ )
21
+
22
+ # This defines what 'from xml2rfc import *' actually imports:
23
+ __all__ = ['XmlRfcError', 'CachingResolver', 'XmlRfcParser', 'XmlRfc',
24
+ 'BaseRfcWriter', 'RawTextRfcWriter', 'PaginatedTextRfcWriter',
25
+ 'HtmlRfcWriter', 'NroffRfcWriter', 'ExpandedXmlWriter',
26
+ 'RfcWriterError', 'V2v3XmlWriter', 'PrepToolWriter', 'TextWriter',
27
+ 'HtmlWriter', 'PdfWriter', 'ExpandV3XmlWriter', 'UnPrepWriter',
28
+ 'DocWriter', 'DatatrackerToBibConverter',
29
+ ]
30
+
31
+ try:
32
+ import weasyprint
33
+ HAVE_WEASYPRINT = True
34
+ except (ImportError, OSError, ValueError):
35
+ weasyprint = False
36
+ HAVE_WEASYPRINT = False
37
+ try:
38
+ from weasyprint.text.ffi import pango
39
+ HAVE_PANGO = True
40
+ PANGO_VERSION = pango.pango_version
41
+ except (ImportError, OSError, AttributeError):
42
+ HAVE_PANGO = False
43
+ PANGO_VERSION = None
44
+
45
+
46
+ def get_versions():
47
+ import sys
48
+ versions = []
49
+ try:
50
+ from importlib import metadata
51
+ from re import split
52
+ this = metadata.distribution(NAME)
53
+ for p in [split(r'[\s=<>!]', x)[0] for x in this.requires]:
54
+ try:
55
+ dist = metadata.distribution(p)
56
+ versions.append((dist.metadata['name'], dist.metadata['version']))
57
+ except:
58
+ pass
59
+ except:
60
+ pass
61
+
62
+ versions.sort(key=lambda x: x[0].lower())
63
+ versions = [
64
+ (NAME, __version__),
65
+ ('Python', sys.version.split()[0]),
66
+ ] + versions
67
+
68
+ return versions
@@ -0,0 +1,28 @@
1
+ # Copyright The IETF Trust 2017, All Rights Reserved
2
+ # -*- coding: utf-8 -*-
3
+ from __future__ import unicode_literals, print_function
4
+
5
+ # The following text entries were taken from
6
+ # https://www.ietf.org/ietf-ftp/1id-guidelines.txt
7
+
8
+ boilerplate_draft_status_of_memo = [
9
+ """<t>
10
+ This Internet-Draft is submitted in full conformance with the
11
+ provisions of BCP 78 and BCP 79.
12
+ </t>""",
13
+ """<t>
14
+ Internet-Drafts are working documents of the Internet Engineering Task
15
+ Force (IETF). Note that other groups may also distribute working
16
+ documents as Internet-Drafts. The list of current Internet-Drafts is
17
+ at <eref target="{scheme}://datatracker.ietf.org/drafts/current/"/>.
18
+ </t>""",
19
+ """<t>
20
+ Internet-Drafts are draft documents valid for a maximum of six months
21
+ and may be updated, replaced, or obsoleted by other documents at any
22
+ time. It is inappropriate to use Internet-Drafts as reference
23
+ material or to cite them other than as "work in progress."
24
+ </t>""",
25
+ """<t>
26
+ This Internet-Draft will expire on {expiration_date}.
27
+ </t>""",
28
+ ]
@@ -0,0 +1,575 @@
1
+ # Copyright The IETF Trust 2017,2021 All Rights Reserved
2
+ # -*- coding: utf-8 -*-
3
+ from __future__ import unicode_literals, print_function
4
+
5
+ # The following text entries, derived from RFC 7841, were taken from
6
+ # https://www.rfc-editor.org/materials/status-memos.txt on 01 Feb 2018
7
+ # and updated to match https://www.iab.org/documents/headers-boilerplate/
8
+
9
+ boilerplate_rfc_status_of_memo = {
10
+ 'IETF': {
11
+ 'std': {
12
+ 'true' : ["""<t>
13
+ This is an Internet Standards Track document.
14
+ </t>""",
15
+
16
+ """<t>
17
+ This document is a product of the Internet Engineering Task Force
18
+ (IETF). It represents the consensus of the IETF community. It has
19
+ received public review and has been approved for publication by
20
+ the Internet Engineering Steering Group (IESG). Further
21
+ information on Internet Standards is available in Section 2 of
22
+ RFC 7841.
23
+ </t>""",
24
+
25
+ """<t>
26
+ Information about the current status of this document, any
27
+ errata, and how to provide feedback on it may be obtained at
28
+ <eref target="{scheme}://www.rfc-editor.org/info/rfc{rfc_number}" />.
29
+ </t>""",
30
+ ],
31
+ },
32
+ 'bcp': {
33
+ 'true' : [ """<t>
34
+ This memo documents an Internet Best Current Practice.
35
+ </t>""",
36
+
37
+ """<t>
38
+ This document is a product of the Internet Engineering Task Force
39
+ (IETF). It represents the consensus of the IETF community. It has
40
+ received public review and has been approved for publication by
41
+ the Internet Engineering Steering Group (IESG). Further information
42
+ on BCPs is available in Section 2 of RFC 7841.
43
+ </t>""",
44
+
45
+ """<t>
46
+ Information about the current status of this document, any
47
+ errata, and how to provide feedback on it may be obtained at
48
+ <eref target="{scheme}://www.rfc-editor.org/info/rfc{rfc_number}" />.
49
+ </t>""",
50
+ ],
51
+ },
52
+ 'exp': {
53
+ 'true' : [ """<t>
54
+ This document is not an Internet Standards Track specification; it is
55
+ published for examination, experimental implementation, and
56
+ evaluation.
57
+ </t>""",
58
+
59
+ """<t>
60
+ This document defines an Experimental Protocol for the Internet
61
+ community. This document is a product of the Internet Engineering
62
+ Task Force (IETF). It represents the consensus of the IETF community.
63
+ It has received public review and has been approved for publication
64
+ by the Internet Engineering Steering Group (IESG). Not all documents
65
+ approved by the IESG are candidates for any level of Internet
66
+ Standard; see Section 2 of RFC 7841.
67
+ </t>""",
68
+
69
+ """<t>
70
+ Information about the current status of this document, any
71
+ errata, and how to provide feedback on it may be obtained at
72
+ <eref target="{scheme}://www.rfc-editor.org/info/rfc{rfc_number}" />.
73
+ </t>""",
74
+ ],
75
+ 'false': [ """<t>
76
+ This document is not an Internet Standards Track specification; it is
77
+ published for examination, experimental implementation, and
78
+ evaluation.
79
+ </t>""",
80
+
81
+ """<t>
82
+ This document defines an Experimental Protocol for the Internet
83
+ community. This document is a product of the Internet Engineering
84
+ Task Force (IETF). It has been approved for publication by the
85
+ Internet Engineering Steering Group (IESG). Not all documents
86
+ approved by the IESG are candidates for any level of Internet
87
+ Standard; see Section 2 of RFC 7841.
88
+ </t>""",
89
+
90
+ """<t>
91
+ Information about the current status of this document, any
92
+ errata, and how to provide feedback on it may be obtained at
93
+ <eref target="{scheme}://www.rfc-editor.org/info/rfc{rfc_number}" />.
94
+ </t>""",
95
+ ],
96
+ },
97
+ 'historic': {
98
+ 'true' : [ """<t>
99
+ This document is not an Internet Standards Track specification; it is
100
+ published for the historical record.
101
+ </t>""",
102
+
103
+ """<t>
104
+ This document defines a Historic Document for the Internet
105
+ community. This document is a product of the Internet Engineering
106
+ Task Force (IETF). It represents the consensus of the IETF community.
107
+ It has received public review and has been approved for publication by
108
+ the Internet Engineering Steering Group (IESG). Not all documents
109
+ approved by the IESG are candidates for any level of Internet
110
+ Standard; see Section 2 of RFC 7841.
111
+ </t>""",
112
+
113
+ """<t>
114
+ Information about the current status of this document, any
115
+ errata, and how to provide feedback on it may be obtained at
116
+ <eref target="{scheme}://www.rfc-editor.org/info/rfc{rfc_number}" />.
117
+ </t>""",
118
+ ],
119
+ 'false': [ """<t>
120
+ This document is not an Internet Standards Track specification; it is
121
+ published for the historical record.
122
+ </t>""",
123
+
124
+ """<t>
125
+ This document defines a Historic Document for the Internet
126
+ community. This document is a product of the Internet Engineering Task Force
127
+ (IETF). It has been approved for publication by the Internet
128
+ Engineering Steering Group (IESG). Not all documents approved by the
129
+ IESG are candidates for any level of Internet Standard; see Section 2
130
+ of RFC 7841.
131
+ </t>""",
132
+
133
+ """<t>
134
+ Information about the current status of this document, any
135
+ errata, and how to provide feedback on it may be obtained at
136
+ <eref target="{scheme}://www.rfc-editor.org/info/rfc{rfc_number}" />.
137
+ </t>""",
138
+ ],
139
+ },
140
+ 'info': {
141
+ 'true' : [ """<t>
142
+ This document is not an Internet Standards Track specification; it is
143
+ published for informational purposes.
144
+ </t>""",
145
+
146
+ """<t>
147
+ This document is a product of the Internet Engineering Task Force
148
+ (IETF). It represents the consensus of the IETF community. It has
149
+ received public review and has been approved for publication by the
150
+ Internet Engineering Steering Group (IESG). Not all documents
151
+ approved by the IESG are candidates for any level of Internet
152
+ Standard; see Section 2 of RFC 7841.
153
+ </t>""",
154
+
155
+ """<t>
156
+ Information about the current status of this document, any
157
+ errata, and how to provide feedback on it may be obtained at
158
+ <eref target="{scheme}://www.rfc-editor.org/info/rfc{rfc_number}" />.
159
+ </t>""",
160
+ ],
161
+ 'false': [ """<t>
162
+ This document is not an Internet Standards Track specification; it is
163
+ published for informational purposes.
164
+ </t>""",
165
+
166
+ """<t>
167
+ This document is a product of the Internet Engineering Task Force
168
+ (IETF). It has been approved for publication by the Internet
169
+ Engineering Steering Group (IESG). Not all documents approved by the
170
+ IESG are candidates for any level of Internet Standard; see Section 2
171
+ of RFC 7841.
172
+ </t>""",
173
+
174
+ """<t>
175
+ Information about the current status of this document, any
176
+ errata, and how to provide feedback on it may be obtained at
177
+ <eref target="{scheme}://www.rfc-editor.org/info/rfc{rfc_number}" />.
178
+ </t>""",
179
+ ],
180
+ },
181
+ },
182
+ 'IAB': {
183
+ 'historic': {
184
+ 'true' : [ """<t>
185
+ This document is not an Internet Standards Track specification; it is
186
+ published for the historical record.
187
+ </t>""",
188
+
189
+ """<t>
190
+ This document defines a Historic Document for the Internet
191
+ community. This document is a product of the Internet Architecture
192
+ Board (IAB) and represents information that the IAB has deemed
193
+ valuable to provide for permanent record. It represents the consensus of the
194
+ Internet Architecture Board (IAB). Documents approved for
195
+ publication by the IAB are not candidates for any level of Internet
196
+ Standard; see Section 2 of RFC 7841.
197
+ </t>""",
198
+
199
+ """<t>
200
+ Information about the current status of this document, any
201
+ errata, and how to provide feedback on it may be obtained at
202
+ <eref target="{scheme}://www.rfc-editor.org/info/rfc{rfc_number}" />.
203
+ </t>""",
204
+ ],
205
+ 'false': [ """<t>
206
+ This document is not an Internet Standards Track specification; it is
207
+ published for the historical record.
208
+ </t>""",
209
+
210
+ """<t>
211
+ This document defines a Historic Document for the Internet
212
+ community. This document is a product of the Internet Architecture
213
+ Board (IAB) and represents information that the IAB has deemed
214
+ valuable to provide for permanent record. Documents approved for
215
+ publication by the IAB are not candidates for any level of Internet
216
+ Standard; see Section 2 of RFC 7841.
217
+ </t>""",
218
+
219
+ """<t>
220
+ Information about the current status of this document, any
221
+ errata, and how to provide feedback on it may be obtained at
222
+ <eref target="{scheme}://www.rfc-editor.org/info/rfc{rfc_number}" />.
223
+ </t>""",
224
+ ],
225
+ },
226
+ 'info': {
227
+ 'true' : [ """<t>
228
+ This document is not an Internet Standards Track specification; it is
229
+ published for informational purposes.
230
+ </t>""",
231
+
232
+ """<t>
233
+ This document is a product of the Internet Architecture Board
234
+ (IAB) and represents information that the IAB has deemed valuable
235
+ to provide for permanent record. It represents the consensus of the Internet
236
+ Architecture Board (IAB). Documents approved for publication
237
+ by the IAB are not candidates for any level of Internet Standard; see
238
+ Section 2 of RFC 7841.
239
+ </t>""",
240
+
241
+ """<t>
242
+ Information about the current status of this document, any
243
+ errata, and how to provide feedback on it may be obtained at
244
+ <eref target="{scheme}://www.rfc-editor.org/info/rfc{rfc_number}" />.
245
+ </t>""",
246
+ ],
247
+ 'false': [ """<t>
248
+ This document is not an Internet Standards Track specification; it is
249
+ published for informational purposes.
250
+ </t>""",
251
+
252
+ """<t>
253
+ This document is a product of the Internet Architecture Board
254
+ (IAB) and represents information that the IAB has deemed valuable
255
+ to provide for permanent record. Documents approved for publication
256
+ by the IAB are not candidates for any level of Internet Standard; see
257
+ Section 2 of RFC 7841.
258
+ </t>""",
259
+
260
+ """<t>
261
+ Information about the current status of this document, any
262
+ errata, and how to provide feedback on it may be obtained at
263
+ <eref target="{scheme}://www.rfc-editor.org/info/rfc{rfc_number}" />.
264
+ </t>""",
265
+ ],
266
+ },
267
+ },
268
+ 'IRTF': {
269
+ 'exp': {
270
+ 'true' : [ """<t>
271
+ This document is not an Internet Standards Track specification; it is
272
+ published for examination, experimental implementation, and
273
+ evaluation.
274
+ </t>""",
275
+
276
+ """<t>
277
+ This document defines an Experimental Protocol for the Internet
278
+ community. This document is a product of the Internet Research
279
+ Task Force (IRTF). The IRTF publishes the results of Internet-related
280
+ research and development activities. These results might not be
281
+ suitable for deployment. This RFC represents the consensus of the
282
+ {group_name} Research Group of the Internet Research Task Force
283
+ (IRTF). Documents approved for publication by the IRSG are not
284
+ candidates for any level of Internet Standard; see Section 2 of RFC
285
+ 7841.
286
+ </t>""",
287
+
288
+ """<t>
289
+ Information about the current status of this document, any
290
+ errata, and how to provide feedback on it may be obtained at
291
+ <eref target="{scheme}://www.rfc-editor.org/info/rfc{rfc_number}" />.
292
+ </t>""",
293
+ ],
294
+ 'false': [ """<t>
295
+ This document is not an Internet Standards Track specification; it is
296
+ published for examination, experimental implementation, and
297
+ evaluation.
298
+ </t>""",
299
+
300
+ """<t>
301
+ This document defines an Experimental Protocol for the Internet
302
+ community. This document is a product of the Internet Research Task
303
+ Force (IRTF). The IRTF publishes the results of Internet-related
304
+ research and development activities. These results might not be
305
+ suitable for deployment. This RFC represents the individual
306
+ opinion(s) of one or more members of the {group_name} Research Group
307
+ of the Internet Research Task Force (IRTF). Documents approved for
308
+ publication by the IRSG are not candidates for any level of Internet
309
+ Standard; see Section 2 of RFC 7841.
310
+ </t>""",
311
+
312
+ """<t>
313
+ Information about the current status of this document, any
314
+ errata, and how to provide feedback on it may be obtained at
315
+ <eref target="{scheme}://www.rfc-editor.org/info/rfc{rfc_number}" />.
316
+ </t>""",
317
+ ],
318
+ 'n/a': [ """<t>
319
+ This document is not an Internet Standards Track specification; it is
320
+ published for examination, experimental implementation, and
321
+ evaluation.
322
+ </t>""",
323
+
324
+ """<t>
325
+ This document defines an Experimental Protocol for the Internet
326
+ community. This document is a product of the Internet Research
327
+ Task Force (IRTF). The IRTF publishes the results of Internet-related
328
+ research and development activities. These results might not be
329
+ suitable for deployment. Documents approved for publication by the
330
+ IRSG are not candidates for any level of Internet Standard; see
331
+ Section 2 of RFC 7841.
332
+ </t>""",
333
+
334
+ """<t>
335
+ Information about the current status of this document, any
336
+ errata, and how to provide feedback on it may be obtained at
337
+ <eref target="{scheme}://www.rfc-editor.org/info/rfc{rfc_number}" />.
338
+ </t>""",
339
+ ],
340
+ },
341
+ 'historic': {
342
+ 'true' : [ """<t>
343
+ This document is not an Internet Standards Track specification; it is
344
+ published for the historical record.
345
+ </t>""",
346
+
347
+ """<t>
348
+ This document defines a Historic Document for the Internet
349
+ community. This document is a product of the Internet Research Task Force
350
+ (IRTF). The IRTF publishes the results of Internet-related
351
+ research and development activities. These results might not be
352
+ suitable for deployment. This RFC represents the consensus of
353
+ the {group_name} Research Group of the Internet Research Task Force (IRTF).
354
+ Documents approved for publication by the IRSG are not candidates for
355
+ any level of Internet Standard; see Section 2 of RFC 7841.
356
+ </t>""",
357
+
358
+ """<t>
359
+ Information about the current status of this document, any
360
+ errata, and how to provide feedback on it may be obtained at
361
+ <eref target="{scheme}://www.rfc-editor.org/info/rfc{rfc_number}" />.
362
+ </t>""",
363
+ ],
364
+ 'false': [ """<t>
365
+ This document is not an Internet Standards Track specification; it is
366
+ published for the historical record.
367
+ </t>""",
368
+
369
+ """<t>
370
+ This document defines a Historic Document for the Internet community.
371
+ This document is a product of the Internet Research Task Force
372
+ (IRTF). The IRTF publishes the results of Internet-related
373
+ research and development activities. These results might not be
374
+ suitable for deployment. This RFC represents the individual opinion(s) of one or more
375
+ members of the {group_name} Research Group of the Internet
376
+ Research Task Force (IRTF). Documents approved for
377
+ publication by the IRSG are not candidates for
378
+ any level of Internet Standard; see Section 2 of RFC 7841.
379
+ </t>""",
380
+
381
+ """<t>
382
+ Information about the current status of this document, any
383
+ errata, and how to provide feedback on it may be obtained at
384
+ <eref target="{scheme}://www.rfc-editor.org/info/rfc{rfc_number}" />.
385
+ </t>""",
386
+ ],
387
+ 'n/a': [ """<t>
388
+ This document is not an Internet Standards Track specification; it is
389
+ published for the historical record.
390
+ </t>""",
391
+
392
+ """<t>
393
+ This document defines a Historic Document for the Internet
394
+ community. This document is a product of the Internet Research
395
+ Task Force (IRTF). The IRTF publishes the results of Internet-related
396
+ research and development activities. These results might not be
397
+ suitable for deployment. Documents approved for publication by the
398
+ IRSG are not candidates for any level of Internet Standard; see
399
+ Section 2 of RFC 7841.
400
+ </t>""",
401
+
402
+ """<t>
403
+ Information about the current status of this document, any
404
+ errata, and how to provide feedback on it may be obtained at
405
+ <eref target="{scheme}://www.rfc-editor.org/info/rfc{rfc_number}" />.
406
+ </t>""",
407
+ ],
408
+ },
409
+ 'info': {
410
+ 'true' : [ """<t>
411
+ This document is not an Internet Standards Track specification; it is
412
+ published for informational purposes.
413
+ </t>""",
414
+
415
+ """<t>
416
+ This document is a product of the Internet Research Task Force
417
+ (IRTF). The IRTF publishes the results of Internet-related
418
+ research and development activities. These results might not be
419
+ suitable for deployment. This RFC represents the consensus of the {group_name}
420
+ Research Group of the Internet Research Task Force (IRTF).
421
+ Documents approved for publication by the IRSG are not
422
+ candidates for any level of Internet Standard; see Section 2 of RFC
423
+ 7841.
424
+ </t>""",
425
+
426
+ """<t>
427
+ Information about the current status of this document, any
428
+ errata, and how to provide feedback on it may be obtained at
429
+ <eref target="{scheme}://www.rfc-editor.org/info/rfc{rfc_number}" />.
430
+ </t>""",
431
+ ],
432
+ 'false': [ """<t>
433
+ This document is not an Internet Standards Track specification; it is
434
+ published for informational purposes.
435
+ </t>""",
436
+
437
+ """<t>
438
+ This document is a product of the Internet Research Task Force
439
+ (IRTF). The IRTF publishes the results of Internet-related
440
+ research and development activities. These results might not be
441
+ suitable for deployment. This RFC represents the individual opinion(s) of one or more
442
+ members of the {group_name} Research Group of the Internet
443
+ Research Task Force (IRTF). Documents approved for publication by the IRSG are not
444
+ candidates for any level of Internet Standard; see Section 2 of RFC 7841.
445
+ </t>""",
446
+
447
+ """<t>
448
+ Information about the current status of this document, any
449
+ errata, and how to provide feedback on it may be obtained at
450
+ <eref target="{scheme}://www.rfc-editor.org/info/rfc{rfc_number}" />.
451
+ </t>""",
452
+ ],
453
+ 'n/a': [ """<t>
454
+ This document is not an Internet Standards Track specification; it is
455
+ published for informational purposes.
456
+ </t>""",
457
+
458
+ """<t>
459
+ This document is a product of the Internet Research Task Force
460
+ (IRTF). The IRTF publishes the results of Internet-related
461
+ research and development activities. These results might not be
462
+ suitable for deployment. Documents approved for publication by the
463
+ IRSG are not candidates for any level of Internet Standard; see
464
+ Section 2 of RFC 7841.
465
+ </t>""",
466
+
467
+ """<t>
468
+ Information about the current status of this document, any
469
+ errata, and how to provide feedback on it may be obtained at
470
+ <eref target="{scheme}://www.rfc-editor.org/info/rfc{rfc_number}" />.
471
+ </t>""",
472
+ ],
473
+ },
474
+ },
475
+ 'independent': {
476
+ 'exp': {
477
+ 'n/a' : [ """<t>
478
+ This document is not an Internet Standards Track specification; it is
479
+ published for examination, experimental implementation, and
480
+ evaluation.
481
+ </t>""",
482
+
483
+ """<t>
484
+ This document defines an Experimental Protocol for the Internet
485
+ community. This is a contribution to the RFC Series,
486
+ independently of any other RFC stream. The RFC Editor has chosen to publish this
487
+ document at its discretion and makes no statement about its value
488
+ for implementation or deployment. Documents approved for publication
489
+ by the RFC Editor are not candidates for any level of Internet
490
+ Standard; see Section 2 of RFC 7841.
491
+ </t>""",
492
+
493
+ """<t>
494
+ Information about the current status of this document, any
495
+ errata, and how to provide feedback on it may be obtained at
496
+ <eref target="{scheme}://www.rfc-editor.org/info/rfc{rfc_number}" />.
497
+ </t>""",
498
+ ],
499
+ 'false': [ """<t>
500
+ </t>""",
501
+ ],
502
+ },
503
+ 'historic': {
504
+ 'n/a' : [ """<t>
505
+ This document is not an Internet Standards Track specification; it is
506
+ published for the historical record.
507
+ </t>""",
508
+
509
+ """<t>
510
+ This document defines a Historic Document for the Internet
511
+ community. This is a contribution to the RFC Series, independently of any
512
+ other RFC stream. The RFC Editor has chosen to publish this
513
+ document at its discretion and makes no statement about its value
514
+ for implementation or deployment. Documents approved for
515
+ publication by the RFC Editor are not candidates for any level of
516
+ Internet Standard; see Section 2 of RFC 7841.
517
+ </t>""",
518
+
519
+ """<t>
520
+ Information about the current status of this document, any
521
+ errata, and how to provide feedback on it may be obtained at
522
+ <eref target="{scheme}://www.rfc-editor.org/info/rfc{rfc_number}" />.
523
+ </t>""",
524
+ ],
525
+ 'false': [ """<t>
526
+ </t>""",
527
+ ],
528
+ },
529
+ 'info': {
530
+ 'n/a' : [ """<t>
531
+ This document is not an Internet Standards Track specification; it is
532
+ published for informational purposes.
533
+ </t>""",
534
+
535
+ """<t>
536
+ This is a contribution to the RFC Series, independently of any
537
+ other RFC stream. The RFC Editor has chosen to publish this
538
+ document at its discretion and makes no statement about its value
539
+ for implementation or deployment. Documents approved for
540
+ publication by the RFC Editor are not candidates for any level of
541
+ Internet Standard; see Section 2 of RFC 7841.
542
+ </t>""",
543
+
544
+ """<t>
545
+ Information about the current status of this document, any
546
+ errata, and how to provide feedback on it may be obtained at
547
+ <eref target="{scheme}://www.rfc-editor.org/info/rfc{rfc_number}" />.
548
+ </t>""",
549
+ ],
550
+ },
551
+ },
552
+ 'editorial': {
553
+ 'info': {
554
+ 'n/a' : [ """<t>
555
+ This document is not an Internet Standards Track specification; it is
556
+ published for informational purposes.
557
+ </t>""",
558
+
559
+ """<t>
560
+ This document is a product of the RFC Series Policy Definition
561
+ Process. It represents the consensus of the RFC Series Working
562
+ Group approved by the RFC Series Approval Board. Such documents
563
+ are not candidates for any level of Internet Standard; see
564
+ Section 2 of RFC 7841.
565
+ </t>""",
566
+
567
+ """<t>
568
+ Information about the current status of this document, any errata,
569
+ and how to provide feedback on it may be obtained at
570
+ <eref target="{scheme}://www.rfc-editor.org/info/rfc{rfc_number}" />.
571
+ </t>""",
572
+ ],
573
+ },
574
+ },
575
+ }