This repository has been archived by the owner on Jun 12, 2021. It is now read-only.
forked from IETF-OPSAWG-WG/draft-ietf-opsawg-pcap
-
Notifications
You must be signed in to change notification settings - Fork 4
/
rfc2629.dtd
284 lines (217 loc) · 7.96 KB
/
rfc2629.dtd
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
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
<!--
revised DTD for the RFC document series, draft of 2004-04-04
-->
<!--
Contents
Character entities
DTD data types
The top-level
Front matter
The Body
Back matter
-->
<!--
Character entities
-->
<!ENTITY % rfc2629-xhtml
PUBLIC "-//IETF//ENTITIES XHTML subset for RFC 2629//EN"
"http://xml.resource.org/authoring/rfc2629-xhtml.ent">
%rfc2629-xhtml;
<!ENTITY % rfc2629-other
PUBLIC "-//IETF//ENTITIES Other for RFC 2629//EN"
"http://xml.resource.org/authoring/rfc2629-other.ent">
%rfc2629-other;
<!--
DTD data types:
entity description
====== ===============================================
NUMBER [0-9]+
NUMBERS a comma-separated list of NUMBER
DAY the day of the month, e.g., "1"
MONTH the month of the year, e.g., "January"
YEAR a four-digit year, e.g., "1999"
URI e.g., "http://invisible.net/"
ATEXT/CTEXT printable ASCII text (no line-terminators)
TEXT character data
-->
<!ENTITY % NUMBER "CDATA">
<!ENTITY % NUMBERS "CDATA">
<!ENTITY % DAY "CDATA">
<!ENTITY % MONTH "CDATA">
<!ENTITY % YEAR "CDATA">
<!ENTITY % URI "CDATA">
<!ENTITY % ATEXT "CDATA">
<!ENTITY % CTEXT "#PCDATA">
<!ENTITY % TEXT "#PCDATA">
<!ENTITY rfc.number "XXXX">
<!--
The top-level
-->
<!--
attributes for the "rfc" element are supplied by the RFC
editor. when preparing drafts, authors should leave them blank.
the "seriesNo" attribute is used if the category is, e.g., BCP.
-->
<!ELEMENT rfc (front,middle,back?)>
<!ATTLIST rfc
number %NUMBER; #IMPLIED
obsoletes %NUMBERS; ""
updates %NUMBERS; ""
category (std|bcp|info|exp|historic)
"info"
seriesNo %NUMBER; #IMPLIED
ipr (full2026|noDerivativeWorks2026|none
|full3667|noModification3667|noDerivatives3667
|full3978|noModification3978|noDerivatives3978)
#IMPLIED
iprExtract IDREF #IMPLIED
docName %ATEXT; #IMPLIED
xml:lang %ATEXT; "en">
<!--
Front matter
-->
<!ELEMENT front (title,author+,date,area*,workgroup*,keyword*,
abstract?,note*)>
<!-- the "abbrev" attribute is used for headers, etc. -->
<!ELEMENT title (%CTEXT;)>
<!ATTLIST title
abbrev %ATEXT; #IMPLIED>
<!ELEMENT author (organization,address?)>
<!ATTLIST author
initials %ATEXT; #IMPLIED
surname %ATEXT; #IMPLIED
fullname %ATEXT; #IMPLIED
role (editor) #IMPLIED>
<!ELEMENT organization
(%CTEXT;)>
<!ATTLIST organization
abbrev %ATEXT; #IMPLIED>
<!ELEMENT address (postal?,phone?,facsimile?,email?,uri?)>
<!-- this content model should be more strict:
at most one of each the city, region, code, and country
elements may be present -->
<!ELEMENT postal (street+,(city|region|code|country)*)>
<!ELEMENT street (%CTEXT;)>
<!ELEMENT city (%CTEXT;)>
<!ELEMENT region (%CTEXT;)>
<!ELEMENT code (%CTEXT;)>
<!ELEMENT country (%CTEXT;)>
<!ELEMENT phone (%CTEXT;)>
<!ELEMENT facsimile (%CTEXT;)>
<!ELEMENT email (%CTEXT;)>
<!ELEMENT uri (%CTEXT;)>
<!ELEMENT date EMPTY>
<!ATTLIST date
day %DAY; #IMPLIED
month %MONTH; #IMPLIED
year %YEAR; #REQUIRED>
<!-- meta-data... -->
<!ELEMENT area (%CTEXT;)>
<!ELEMENT workgroup (%CTEXT;)>
<!ELEMENT keyword (%CTEXT;)>
<!ELEMENT abstract (t)+>
<!ELEMENT note (t)+>
<!ATTLIST note
title %ATEXT; #REQUIRED>
<!--
The body
-->
<!-- later on, may be (section+,appendix*,section*) -->
<!ELEMENT middle (section+)>
<!ELEMENT section (t|figure|texttable|iref|section)*>
<!ATTLIST section
anchor ID #IMPLIED
title %ATEXT; #REQUIRED
toc (include|exclude|default)
"default">
<!--
<!ELEMENT appendix (t|figure|texttable|iref|appendix)*>
<!ATTLIST appendix
anchor ID #IMPLIED
title %ATEXT; #REQUIRED
toc (include|exclude|default)
"default">
-->
<!-- use of <figure/> is deprecated... -->
<!ELEMENT t (%TEXT;|list|figure|xref|eref|iref|cref|spanx|vspace)*>
<!ATTLIST t
anchor ID #IMPLIED
hangText %ATEXT; #IMPLIED>
<!-- the value of the style attribute is inherited from the closest
parent -->
<!ELEMENT list (t+)>
<!ATTLIST list
style %ATEXT; "empty"
hangIndent %NUMBER; #IMPLIED
counter %ATEXT; #IMPLIED>
<!ELEMENT xref (%CTEXT;)>
<!ATTLIST xref
target IDREF #REQUIRED
pageno (true|false) "false"
format (counter|title|none|default)
"default">
<!ELEMENT eref (%CTEXT;)>
<!ATTLIST eref
target %URI; #REQUIRED>
<!ELEMENT iref EMPTY>
<!ATTLIST iref
item %ATEXT; #REQUIRED
subitem %ATEXT; ""
primary (true|false) "false">
<!ELEMENT cref (%CTEXT;)>
<!ATTLIST cref
anchor ID #IMPLIED
source %ATEXT; #IMPLIED>
<!ELEMENT spanx (%CTEXT;)>
<!ATTLIST spanx
style %ATEXT; "emph">
<!ELEMENT vspace EMPTY>
<!ATTLIST vspace
blankLines %NUMBER; "0">
<!ELEMENT figure (preamble?,artwork,postamble?)>
<!ATTLIST figure
anchor ID #IMPLIED
title %ATEXT; "">
<!ELEMENT preamble (%TEXT;|xref|eref|iref|cref|spanx)*>
<!ELEMENT artwork (%TEXT;)*>
<!ATTLIST artwork
xml:space (default|preserve) "preserve"
name %ATEXT; ""
type %ATEXT; ""
src %URI; #IMPLIED
align (left|center|right) "left"
alt %ATEXT; ""
width %ATEXT; ""
height %ATEXT; "">
<!ELEMENT postamble (%TEXT;|xref|eref|iref|cref|spanx)*>
<!ELEMENT texttable (preamble?,ttcol+,c*,postamble?)>
<!ATTLIST texttable
anchor ID #IMPLIED
title %ATEXT; "">
<!ELEMENT ttcol (%CTEXT;)>
<!ATTLIST ttcol
width %ATEXT; #IMPLIED
align (left|center|right) "left">
<!ELEMENT c (%TEXT;|xref|eref|iref|cref|spanx)*>
<!--
Back matter
-->
<!-- sections, if present, are appendices -->
<!ELEMENT back (references*,section*)>
<!ELEMENT references (reference+)>
<!ATTLIST references
title %ATEXT; "References">
<!ELEMENT reference (front,seriesInfo*,format*,annotation*)>
<!ATTLIST reference
anchor ID #IMPLIED
target %URI; #IMPLIED>
<!ELEMENT seriesInfo EMPTY>
<!ATTLIST seriesInfo
name %ATEXT; #REQUIRED
value %ATEXT; #REQUIRED>
<!ELEMENT format EMPTY>
<!ATTLIST format
target %URI; #IMPLIED
type %ATEXT; #REQUIRED
octets %NUMBER; #IMPLIED>
<!ELEMENT annotation (%TEXT;|xref|eref|iref|cref|spanx)*>