/[suikacvs]/markup/rfc/dtd/module/rfc2629.dms
Suika

Contents of /markup/rfc/dtd/module/rfc2629.dms

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide annotations) (download)
Tue Jan 13 11:13:48 2004 UTC (20 years, 10 months ago) by wakaba
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +24 -9 lines
Some descriptions added

1 wakaba 1.1 #?SuikaWikiConfig/2.0
2    
3     ModuleSet:
4     @Name: Markup Language for IETF RFCs
5     @Version: (RFC 2629)
6 wakaba 1.3 @Description:
7     This is a XML based markup language for IETF RFC documents.
8 wakaba 1.1 @ID: rfc2629
9     @BaseURI:
10     http://suika.fam.cx/gate/cvs/*checkout*/markup/rfc/dtd/2629/
11    
12     @Namespace:
13     @@Name:
14     urn:x-suika-fam-cx:markup:ietf:rfc:2629:
15     @@DefaultPrefix: rfc
16     @@UsePrefix: -1
17    
18     @Copyright: Wakaba <w@suika.fam.cx>
19 wakaba 1.3 @RCSDate: $Date: 2003/10/30 07:06:48 $
20 wakaba 1.1
21     Datatype:
22     @Type:
23     @@Name: NUMBER
24 wakaba 1.3 @@XMLType: CDATA
25     # NMTOKEN
26 wakaba 1.1 @@Description: [0-9]+
27     @Type:
28     @@Name: NUMBERS
29     @@XMLType: CDATA
30     @@Description: [NUMBER *("," NUMBER)]
31    
32     @Type:
33     @@Name: DAY
34 wakaba 1.3 @@XMLType: CDATA
35     # NMTOKEN
36 wakaba 1.1 @@Description: "1" / "2" / ... / "31"
37     @Type:
38     @@Name: MONTH
39 wakaba 1.3 @@XMLType: CDATA
40     # (January|February|March|April|May|June|July
41     # |August|September|October|November|December)
42 wakaba 1.1 @@Description: 'January' / 'February' / ... / 'December'
43     @Type:
44     @@Name: YEAR
45 wakaba 1.3 @@XMLType: CDATA
46     # NMTOKEN
47 wakaba 1.1 @@Description: 4DIGIT
48    
49     @Type:
50     @@Name:
51     :URI
52     @@XMLType: CDATA
53     @@Description: URI Reference
54    
55     @Type:
56     @@Name: ATEXT
57     @@XMLType: CDATA
58     @@Description: [U+0020-U+007E]+ (attribute value)
59     @Type:
60     @@Name: CTEXT
61     @@XMLType: #PCDATA
62     @@Description: [U+0020-U+007E]+ (content of element)
63     @Type:
64     @@Name: TEXT
65     @@XMLType: #PCDATA
66     @@Description: *CHAR (content of mixed context element)
67    
68     @Type:
69     @@Name: country
70     @@XMLType: #PCDATA
71     @@Description: should be a two-letter code from ISO 3166
72    
73     @Type:
74 wakaba 1.2 @@Name: list-style
75 wakaba 1.3 @@XMLType: CDATA
76     # (numbers|symbols|hanging|empty)
77 wakaba 1.2
78     @Type:
79     @@Name: series-name
80     @@XMLType: CDATA
81     @@Description: 'RFC' / ...
82    
83     @Type:
84 wakaba 1.1 @@Name: truefalse
85     @@XMLType: (true|false)
86    
87     Attribute:
88     @Attribute:
89     @@Name: anchor
90    
91     @@Attribute:
92     @@@Name: "anchor"
93     @@@Type: "ID"
94 wakaba 1.2 @@@Description: Cross-referencing with the xref element
95 wakaba 1.1
96     @Attribute:
97     @@Name: abbrev
98    
99     @@Attribute:
100     @@@Name: "abbrev"
101     @@@Type: ATEXT
102 wakaba 1.2
103     @Attribute:
104     @@Name: section-title
105    
106     @@Attribute:
107     @@@Name: "title"
108     @@@Type: ATEXT
109     @@@Default: #REQUIRED
110    
111     @Attribute:
112     @@Name: target-uri
113    
114     @@Attribute:
115     @@@Name: "target"
116     @@@Type:
117     :URI
118 wakaba 1.1
119     Module:
120     @Name: Block Structual
121     @ID: blkstruct
122    
123     @Element:
124     @@Name: section
125     @@Content:
126     ($:Block.mix)*
127    
128     @@Attribute:
129     @@@ref: anchor
130 wakaba 1.2 @@@ref: section-title
131     @@Description:
132     A section of the document
133 wakaba 1.1
134     @Element:
135     @@Name: t
136     @@Content:
137     (
138     $TEXT.datatype
139     | $list
140     | $:Inline.mix
141     | vspace
142     $blockcontent
143 wakaba 1.2 $t-figure
144 wakaba 1.1 )*
145    
146     @@Attribute:
147     @@@Attribute:
148     @@@@Name: "hangText"
149     @@@@Type: ATEXT
150    
151     @Element:
152     @@Name: vspace
153     @@Content: "EMPTY"
154    
155     @@Attribute:
156     @@@Attribute:
157     @@@@Name: "blankLines"
158     @@@@Type: NUMBER
159     @@@@Default: "0"
160 wakaba 1.2 @@@@Description:
161     A physical linebreak is specified by "0".
162 wakaba 1.1
163     @Element:
164     @@Name: abstract
165     @@Content: (t)+
166    
167     @Element:
168     @@Name: note
169     @@Content: (t)+
170    
171     @@Attribute:
172     @@@Attribute:
173     @@@@Name: "title"
174     @@@@Type: ATEXT
175     @@@@Default: #REQUIRED
176 wakaba 1.2 @@Description:
177     In general, the note element contains text from the IESG
178 wakaba 1.1
179     @Element:
180     @@Name: list
181     @@Content: (t)+
182    
183     @@Attribute:
184     @@@Attribute:
185     @@@@Name: "style"
186 wakaba 1.2 @@@@Type: list-style
187     # @@@@Default: "empty"
188     @@@@Description:
189     Default value is inherited from parent list, if any, or "empty".
190     (DTD shown in RFC 2629 is incorrect.)
191 wakaba 1.1
192     Module:
193 wakaba 1.3 @Name: Figures
194 wakaba 1.1 @ID: figure
195    
196 wakaba 1.3 @Description:
197     This module provides markup to support figure embedding.
198    
199 wakaba 1.1 @Element:
200     @@Name: figure
201     @@Content:
202     (
203     preamble?,
204     artwork,
205     postamble?
206     )
207     @@Attribute:
208     @@@ref: anchor
209     @@@Attribute:
210     @@@@Name: "title"
211     @@@@Type: ATEXT
212     @@@@Default: ""
213    
214     @Element:
215     @@Name: preamble
216     @@Content:
217     (
218     $TEXT.datatype
219     | $:Inline.mix
220     $blockcontent
221     )*
222    
223     @Element:
224     @@Name: postamble
225     @@Content:
226     (
227     $TEXT.datatype
228     | $:Inline.mix
229     $blockcontent
230     )*
231    
232     @Element:
233     @@Name: artwork
234     @@Content: ($TEXT.datatype)*
235     @@Attribute:
236     @@@Attribute:
237     @@@@Name:
238     "xml:space"
239     @@@@Type: "(default|preserve)"
240     @@@@Default: "preserve"
241 wakaba 1.2 @@Description: Contains "ASCII artwork"
242 wakaba 1.1
243     Module:
244     @Name: Metainformational
245     @ID: metainfo
246    
247 wakaba 1.3 @Description:
248     This module provides markup to describe information about document or person.
249    
250 wakaba 1.1 @Element:
251     @@Name: title
252     @@Content: $metaterm.content
253     @@Attribute:
254     @@@ref: abbrev
255 wakaba 1.2 @@Description:
256     The title of the document
257     \
258     abbrev should also be provided if the title is more than 42 characters
259 wakaba 1.1
260     @Element:
261     @@Name: author
262     @@Content:
263     (
264     organization,
265     address?
266     )
267     @@Attribute:
268     @@@Attribute:
269     @@@@Name: "initials"
270     @@@@Type: ATEXT
271     @@@Attribute:
272     @@@@Name: "surname"
273     @@@@Type: ATEXT
274     @@@Attribute:
275     @@@@Name: "fullname"
276     @@@@Type: ATEXT
277 wakaba 1.2 @@Description:
278     A document author
279     \
280     Attributes initials, surname and fullname must be present
281     if the author is a person
282 wakaba 1.1
283     @Element:
284     @@Name: organization
285     @@Content: $metaterm.content
286     @@Attribute:
287     @@@ref: abbrev
288    
289     @Element:
290     @@Name: address
291     @@Content:
292     (
293     postal?,
294     phone?,
295     facsimile?,
296     email?,
297     uri?
298     )
299    
300     @Element:
301     @@Name: postal
302     @@Content:
303     (
304     street+,
305     (
306     city
307     | region
308     | code
309     | country
310     )*
311     )
312     @@Description:
313 wakaba 1.2 At most one of each the city, region, code, and country
314 wakaba 1.1 elements may be present
315    
316     @Element:
317     @@Name: street
318     @@Content: $metaterm.content
319     @Element:
320     @@Name: city
321     @@Content: $metaterm.content
322     @Element:
323     @@Name: region
324     @@Content: $metaterm.content
325 wakaba 1.2 @@Description: State or province
326 wakaba 1.1 @Element:
327     @@Name: code
328     @@Content: $metaterm.content
329 wakaba 1.2 @@Description: Zipcode or postal code
330 wakaba 1.1 @Element:
331     @@Name: country
332     @@Content: ($country.datatype)
333 wakaba 1.2 @@Description:
334     The value should be a two-letter code from ISO 3166
335 wakaba 1.1
336     @Element:
337     @@Name: phone
338     @@Content: $metaterm.content
339     @Element:
340     @@Name: facsimile
341     @@Content: $metaterm.content
342     @Element:
343     @@Name: email
344     @@Content: $metaterm.content
345     @Element:
346     @@Name: uri
347     @@Content: $metaterm.content
348    
349     @Element:
350     @@Name: date
351     @@Content: "EMPTY"
352     @@Attribute:
353     @@@Attribute:
354     @@@@Name: "day"
355     @@@@Type: DAY
356     @@@Attribute:
357     @@@@Name: "month"
358     @@@@Type: MONTH
359     @@@@Default: #REQUIRED
360     @@@Attribute:
361     @@@@Name: "year"
362     @@@@Type: YEAR
363     @@@@Default: #REQUIRED
364 wakaba 1.2 @@Description:
365     The publication date of the document
366 wakaba 1.1
367     @Element:
368     @@Name: area
369     @@Content: $metaterm.content
370 wakaba 1.2 @@Description:
371     A general category for the document (e.g., one of "Applications",
372     "General", "Internet", "Management", "Operations", "Routing",
373     "Security", "Transport", or "User")
374 wakaba 1.1 @Element:
375     @@Name: workgroup
376     @@Content: $metaterm.content
377 wakaba 1.2 @@Description:
378     The IETF working groups that produced the document
379 wakaba 1.1
380     @Element:
381     @@Name: keyword
382     @@Content: $metaterm.content
383 wakaba 1.2 @@Description: Useful search terms
384 wakaba 1.1
385     @Element:
386     @@Name: seriesInfo
387     @@Content: "EMPTY"
388     @@Attribute:
389     @@@Attribute:
390     @@@@Name: "name"
391 wakaba 1.2 @@@@Type: series-name
392 wakaba 1.1 @@@@Default: #REQUIRED
393 wakaba 1.2 @@@@Description: The document series
394 wakaba 1.1 @@@Attribute:
395     @@@@Name: "value"
396     @@@@Type: ATEXT
397     @@@@Default: #REQUIRED
398 wakaba 1.2 @@@@Description: Series entry
399 wakaba 1.1
400     Module:
401     @Name: Reference
402     @ID: reference
403 wakaba 1.3
404     @Description:
405     This module provides markup to support referring or hyperlinking.
406 wakaba 1.1
407     @Element:
408     @@Name: references
409     @@Content: (reference+)
410 wakaba 1.2 @@Description:
411     The document's bibliography
412 wakaba 1.1
413     @Element:
414     @@Name: reference
415     @@Content:
416     (
417     front,
418     seriesInfo*
419     )
420     @@Attribute:
421     @@@ref: anchor
422 wakaba 1.2 @@@ref: target-uri
423 wakaba 1.1
424     @Element:
425     @@Name: xref
426     @@Content: ($CTEXT.datatype)*
427     @@Attribute:
428     @@@Attribute:
429     @@@@Name: "target"
430     @@@@Type: "IDREF"
431     @@@@Default: #REQUIRED
432     @@@Attribute:
433     @@@@Name: "pageno"
434     @@@@Type: truefalse
435     @@@@Default: "false"
436 wakaba 1.2 @@Description: Cross-reference sections, figures, tables, and references
437 wakaba 1.1 @Element:
438     @@Name: eref
439     @@Content: ($CTEXT.datatype)*
440     @@Attribute:
441     @@@Attribute:
442     @@@@Name: "target"
443     @@@@Type:
444     :URI
445     @@@@Default: #REQUIRED
446 wakaba 1.2 @@Description: Reference external documents
447 wakaba 1.1
448     @Element:
449     @@Name: iref
450     @@Content: "EMPTY"
451     @@Attribute:
452     @@@Attribute:
453     @@@@Name: "item"
454     @@@@Type: ATEXT
455     @@@@Default: #REQUIRED
456 wakaba 1.2 @@@@Description: The primary key the information is stored under
457 wakaba 1.1 @@@Attribute:
458     @@@@Name: "subitem"
459     @@@@Type: ATEXT
460     @@@@Default: ""
461 wakaba 1.2 @@@@Description: The secondary key
462     @@Description: Indexing of text
463 wakaba 1.1
464     Module:
465     @ID: struct
466    
467     @Element:
468     @@Name: rfc
469     @@Content:
470     (
471     front,
472     middle,
473     back?
474     )
475     @@Attribute:
476     @@@Attribute:
477     @@@@Name: "number"
478     @@@@Type: NUMBER
479     @@@Attribute:
480     @@@@Name: "obsoletes"
481     @@@@Type: NUMBERS
482     @@@@Default: ""
483     @@@Attribute:
484     @@@@Name: "updates"
485     @@@@Type: NUMBERS
486     @@@@Default: ""
487     @@@Attribute:
488     @@@@Name: "category"
489     @@@@Type: "(std|bcp|info|exp|historic)"
490     @@@@Default: "info"
491     @@@Attribute:
492     @@@@Name: "seriesNo"
493     @@@@Type: NUMBER
494     @@@Attribute:
495     @@@@Name: "ipr"
496     @@@@Type: "(full2026|noDerivativeWorks2026|none)"
497     @@@Attribute:
498     @@@@Name: "docName"
499     @@@@Type: ATEXT
500 wakaba 1.2 @@@@Description:
501     The document (not file) name associated with this Internet-Draft
502 wakaba 1.1
503     @Element:
504     @@Name: front
505     @@Content:
506     (
507     $front-title,
508     author+,
509     date,
510     area*,
511     workgroup*,
512     keyword*,
513     abstract?,
514     note*
515     )
516    
517     @Element:
518     @@Name: middle
519     @@Content: (section)+
520    
521     @Element:
522     @@Name: back
523     @@Content:
524     (
525     references*,
526     section*
527     )

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24