relaton-iso-bib 0.9.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/grammars/basicdoc.rng +12 -56
- data/grammars/biblio.rng +144 -49
- data/grammars/isodoc.rng +592 -29
- data/grammars/isostandard.rng +145 -472
- data/lib/relaton_iso_bib/iso_bibliographic_item.rb +9 -3
- data/lib/relaton_iso_bib/version.rb +1 -1
- data/lib/relaton_iso_bib/xml_parser.rb +10 -17
- data/relaton_iso_bib.gemspec +5 -4
- metadata +4 -4
data/grammars/isodoc.rng
CHANGED
@@ -24,21 +24,99 @@
|
|
24
24
|
<start>
|
25
25
|
<ref name="standard-document"/>
|
26
26
|
</start>
|
27
|
+
<define name="hyperlink">
|
28
|
+
<element name="link">
|
29
|
+
<attribute name="target">
|
30
|
+
<data type="anyURI"/>
|
31
|
+
</attribute>
|
32
|
+
<optional>
|
33
|
+
<attribute name="type">
|
34
|
+
<ref name="ReferenceFormat"/>
|
35
|
+
</attribute>
|
36
|
+
</optional>
|
37
|
+
<optional>
|
38
|
+
<attribute name="alt"/>
|
39
|
+
</optional>
|
40
|
+
<text/>
|
41
|
+
</element>
|
42
|
+
</define>
|
43
|
+
<define name="xref">
|
44
|
+
<element name="xref">
|
45
|
+
<attribute name="target">
|
46
|
+
<data type="IDREF"/>
|
47
|
+
</attribute>
|
48
|
+
<optional>
|
49
|
+
<attribute name="type">
|
50
|
+
<ref name="ReferenceFormat"/>
|
51
|
+
</attribute>
|
52
|
+
</optional>
|
53
|
+
<optional>
|
54
|
+
<attribute name="alt"/>
|
55
|
+
</optional>
|
56
|
+
<optional>
|
57
|
+
<attribute name="case">
|
58
|
+
<choice>
|
59
|
+
<value>capital</value>
|
60
|
+
<value>lowercase</value>
|
61
|
+
</choice>
|
62
|
+
</attribute>
|
63
|
+
</optional>
|
64
|
+
<text/>
|
65
|
+
</element>
|
66
|
+
</define>
|
67
|
+
<define name="example">
|
68
|
+
<element name="example">
|
69
|
+
<attribute name="id">
|
70
|
+
<data type="ID"/>
|
71
|
+
</attribute>
|
72
|
+
<optional>
|
73
|
+
<attribute name="unnumbered">
|
74
|
+
<data type="boolean"/>
|
75
|
+
</attribute>
|
76
|
+
</optional>
|
77
|
+
<optional>
|
78
|
+
<attribute name="subsequence"/>
|
79
|
+
</optional>
|
80
|
+
<optional>
|
81
|
+
<ref name="tname"/>
|
82
|
+
</optional>
|
83
|
+
<oneOrMore>
|
84
|
+
<choice>
|
85
|
+
<ref name="formula"/>
|
86
|
+
<ref name="ul"/>
|
87
|
+
<ref name="ol"/>
|
88
|
+
<ref name="dl"/>
|
89
|
+
<ref name="quote"/>
|
90
|
+
<ref name="sourcecode"/>
|
91
|
+
<ref name="paragraph-with-footnote"/>
|
92
|
+
<ref name="figure"/>
|
93
|
+
</choice>
|
94
|
+
</oneOrMore>
|
95
|
+
<zeroOrMore>
|
96
|
+
<ref name="note"/>
|
97
|
+
</zeroOrMore>
|
98
|
+
</element>
|
99
|
+
</define>
|
27
100
|
<define name="BibDataExtensionType">
|
28
101
|
<ref name="doctype"/>
|
102
|
+
<optional>
|
103
|
+
<ref name="editorialgroup"/>
|
104
|
+
</optional>
|
105
|
+
<zeroOrMore>
|
106
|
+
<ref name="ics"/>
|
107
|
+
</zeroOrMore>
|
29
108
|
<zeroOrMore>
|
30
109
|
<ref name="structuredidentifier"/>
|
31
110
|
</zeroOrMore>
|
32
111
|
</define>
|
33
|
-
|
34
|
-
<text/>
|
35
|
-
</define>
|
112
|
+
<!-- TitleType = text -->
|
36
113
|
<define name="sections">
|
37
114
|
<element name="sections">
|
38
115
|
<oneOrMore>
|
39
116
|
<choice>
|
40
117
|
<ref name="clause"/>
|
41
118
|
<ref name="terms"/>
|
119
|
+
<ref name="term-clause"/>
|
42
120
|
<ref name="definitions"/>
|
43
121
|
</choice>
|
44
122
|
</oneOrMore>
|
@@ -51,21 +129,303 @@
|
|
51
129
|
<data type="ID"/>
|
52
130
|
</attribute>
|
53
131
|
</optional>
|
132
|
+
<optional>
|
133
|
+
<attribute name="obligation">
|
134
|
+
<choice>
|
135
|
+
<value>normative</value>
|
136
|
+
<value>informative</value>
|
137
|
+
</choice>
|
138
|
+
</attribute>
|
139
|
+
</optional>
|
140
|
+
<attribute name="normative">
|
141
|
+
<data type="boolean"/>
|
142
|
+
</attribute>
|
54
143
|
<optional>
|
55
144
|
<ref name="section-title"/>
|
56
145
|
</optional>
|
57
146
|
<zeroOrMore>
|
58
147
|
<ref name="BasicBlock"/>
|
59
148
|
</zeroOrMore>
|
149
|
+
<zeroOrMore>
|
150
|
+
<ref name="note"/>
|
151
|
+
</zeroOrMore>
|
60
152
|
<zeroOrMore>
|
61
153
|
<ref name="bibitem"/>
|
62
154
|
<zeroOrMore>
|
63
155
|
<ref name="note"/>
|
64
156
|
</zeroOrMore>
|
65
157
|
</zeroOrMore>
|
158
|
+
<zeroOrMore>
|
159
|
+
<ref name="references"/>
|
160
|
+
</zeroOrMore>
|
161
|
+
</element>
|
162
|
+
</define>
|
163
|
+
<define name="note">
|
164
|
+
<element name="note">
|
165
|
+
<attribute name="id">
|
166
|
+
<data type="ID"/>
|
167
|
+
</attribute>
|
168
|
+
<oneOrMore>
|
169
|
+
<choice>
|
170
|
+
<ref name="paragraph"/>
|
171
|
+
<ref name="ul"/>
|
172
|
+
<ref name="ol"/>
|
173
|
+
<ref name="dl"/>
|
174
|
+
<ref name="formula"/>
|
175
|
+
</choice>
|
176
|
+
</oneOrMore>
|
177
|
+
</element>
|
178
|
+
</define>
|
179
|
+
<define name="Basic-Section">
|
180
|
+
<optional>
|
181
|
+
<attribute name="id">
|
182
|
+
<data type="ID"/>
|
183
|
+
</attribute>
|
184
|
+
</optional>
|
185
|
+
<optional>
|
186
|
+
<attribute name="language"/>
|
187
|
+
</optional>
|
188
|
+
<optional>
|
189
|
+
<attribute name="script"/>
|
190
|
+
</optional>
|
191
|
+
<optional>
|
192
|
+
<attribute name="obligation">
|
193
|
+
<choice>
|
194
|
+
<value>normative</value>
|
195
|
+
<value>informative</value>
|
196
|
+
</choice>
|
197
|
+
</attribute>
|
198
|
+
</optional>
|
199
|
+
<optional>
|
200
|
+
<ref name="section-title"/>
|
201
|
+
</optional>
|
202
|
+
<group>
|
203
|
+
<oneOrMore>
|
204
|
+
<ref name="BasicBlock"/>
|
205
|
+
</oneOrMore>
|
206
|
+
<zeroOrMore>
|
207
|
+
<ref name="note"/>
|
208
|
+
</zeroOrMore>
|
209
|
+
</group>
|
210
|
+
</define>
|
211
|
+
<define name="li">
|
212
|
+
<element name="li">
|
213
|
+
<group>
|
214
|
+
<optional>
|
215
|
+
<attribute name="id">
|
216
|
+
<data type="ID"/>
|
217
|
+
</attribute>
|
218
|
+
</optional>
|
219
|
+
<oneOrMore>
|
220
|
+
<ref name="BasicBlock"/>
|
221
|
+
</oneOrMore>
|
222
|
+
</group>
|
223
|
+
<!-- exclude figures? -->
|
224
|
+
</element>
|
225
|
+
</define>
|
226
|
+
<define name="dd">
|
227
|
+
<element name="dd">
|
228
|
+
<zeroOrMore>
|
229
|
+
<!-- exclude figures? -->
|
230
|
+
<ref name="BasicBlock"/>
|
231
|
+
</zeroOrMore>
|
232
|
+
</element>
|
233
|
+
</define>
|
234
|
+
<define name="thead">
|
235
|
+
<element name="thead">
|
236
|
+
<oneOrMore>
|
237
|
+
<ref name="tr"/>
|
238
|
+
</oneOrMore>
|
239
|
+
</element>
|
240
|
+
</define>
|
241
|
+
<define name="td">
|
242
|
+
<element name="td">
|
243
|
+
<optional>
|
244
|
+
<attribute name="colspan"/>
|
245
|
+
</optional>
|
246
|
+
<optional>
|
247
|
+
<attribute name="rowspan"/>
|
248
|
+
</optional>
|
249
|
+
<optional>
|
250
|
+
<attribute name="align">
|
251
|
+
<choice>
|
252
|
+
<value>left</value>
|
253
|
+
<value>right</value>
|
254
|
+
<value>center</value>
|
255
|
+
</choice>
|
256
|
+
</attribute>
|
257
|
+
</optional>
|
258
|
+
<choice>
|
259
|
+
<zeroOrMore>
|
260
|
+
<choice>
|
261
|
+
<ref name="TextElement"/>
|
262
|
+
<ref name="fn"/>
|
263
|
+
</choice>
|
264
|
+
</zeroOrMore>
|
265
|
+
<oneOrMore>
|
266
|
+
<choice>
|
267
|
+
<ref name="paragraph-with-footnote"/>
|
268
|
+
<ref name="dl"/>
|
269
|
+
<ref name="ul"/>
|
270
|
+
<ref name="ol"/>
|
271
|
+
<ref name="figure"/>
|
272
|
+
</choice>
|
273
|
+
</oneOrMore>
|
274
|
+
</choice>
|
275
|
+
</element>
|
276
|
+
</define>
|
277
|
+
<define name="th">
|
278
|
+
<element name="th">
|
279
|
+
<optional>
|
280
|
+
<attribute name="colspan"/>
|
281
|
+
</optional>
|
282
|
+
<optional>
|
283
|
+
<attribute name="rowspan"/>
|
284
|
+
</optional>
|
285
|
+
<optional>
|
286
|
+
<attribute name="align">
|
287
|
+
<choice>
|
288
|
+
<value>left</value>
|
289
|
+
<value>right</value>
|
290
|
+
<value>center</value>
|
291
|
+
</choice>
|
292
|
+
</attribute>
|
293
|
+
</optional>
|
294
|
+
<choice>
|
295
|
+
<zeroOrMore>
|
296
|
+
<choice>
|
297
|
+
<ref name="TextElement"/>
|
298
|
+
<ref name="fn"/>
|
299
|
+
</choice>
|
300
|
+
</zeroOrMore>
|
301
|
+
<oneOrMore>
|
302
|
+
<ref name="paragraph-with-footnote"/>
|
303
|
+
</oneOrMore>
|
304
|
+
</choice>
|
305
|
+
</element>
|
306
|
+
</define>
|
307
|
+
<define name="table-note">
|
308
|
+
<element name="note">
|
309
|
+
<optional>
|
310
|
+
<attribute name="id">
|
311
|
+
<data type="ID"/>
|
312
|
+
</attribute>
|
313
|
+
</optional>
|
314
|
+
<ref name="paragraph"/>
|
66
315
|
</element>
|
67
316
|
</define>
|
68
317
|
</include>
|
318
|
+
<!-- end overrides -->
|
319
|
+
<define name="TextElement" combine="choice">
|
320
|
+
<ref name="concept"/>
|
321
|
+
</define>
|
322
|
+
<define name="concept">
|
323
|
+
<element name="concept">
|
324
|
+
<optional>
|
325
|
+
<attribute name="term"/>
|
326
|
+
</optional>
|
327
|
+
<choice>
|
328
|
+
<ref name="eref"/>
|
329
|
+
<ref name="xref"/>
|
330
|
+
<ref name="termref"/>
|
331
|
+
</choice>
|
332
|
+
</element>
|
333
|
+
</define>
|
334
|
+
<define name="BasicBlock" combine="choice">
|
335
|
+
<choice>
|
336
|
+
<ref name="requirement"/>
|
337
|
+
<ref name="recommendation"/>
|
338
|
+
<ref name="permission"/>
|
339
|
+
</choice>
|
340
|
+
</define>
|
341
|
+
<define name="bibliography">
|
342
|
+
<element name="bibliography">
|
343
|
+
<oneOrMore>
|
344
|
+
<choice>
|
345
|
+
<ref name="references"/>
|
346
|
+
<ref name="reference-clause"/>
|
347
|
+
</choice>
|
348
|
+
</oneOrMore>
|
349
|
+
</element>
|
350
|
+
</define>
|
351
|
+
<define name="reference-clause">
|
352
|
+
<element name="clause">
|
353
|
+
<optional>
|
354
|
+
<attribute name="id">
|
355
|
+
<data type="ID"/>
|
356
|
+
</attribute>
|
357
|
+
</optional>
|
358
|
+
<optional>
|
359
|
+
<attribute name="language"/>
|
360
|
+
</optional>
|
361
|
+
<optional>
|
362
|
+
<attribute name="script"/>
|
363
|
+
</optional>
|
364
|
+
<optional>
|
365
|
+
<attribute name="inline-header">
|
366
|
+
<data type="boolean"/>
|
367
|
+
</attribute>
|
368
|
+
</optional>
|
369
|
+
<optional>
|
370
|
+
<attribute name="obligation">
|
371
|
+
<choice>
|
372
|
+
<value>normative</value>
|
373
|
+
<value>informative</value>
|
374
|
+
</choice>
|
375
|
+
</attribute>
|
376
|
+
</optional>
|
377
|
+
<optional>
|
378
|
+
<ref name="section-title"/>
|
379
|
+
</optional>
|
380
|
+
<zeroOrMore>
|
381
|
+
<ref name="BasicBlock"/>
|
382
|
+
</zeroOrMore>
|
383
|
+
<zeroOrMore>
|
384
|
+
<ref name="note"/>
|
385
|
+
</zeroOrMore>
|
386
|
+
<choice>
|
387
|
+
<oneOrMore>
|
388
|
+
<ref name="reference-clause"/>
|
389
|
+
</oneOrMore>
|
390
|
+
<zeroOrMore>
|
391
|
+
<ref name="references"/>
|
392
|
+
</zeroOrMore>
|
393
|
+
</choice>
|
394
|
+
</element>
|
395
|
+
</define>
|
396
|
+
<define name="editorialgroup">
|
397
|
+
<element name="editorialgroup">
|
398
|
+
<oneOrMore>
|
399
|
+
<ref name="technical-committee"/>
|
400
|
+
</oneOrMore>
|
401
|
+
</element>
|
402
|
+
</define>
|
403
|
+
<define name="technical-committee">
|
404
|
+
<element name="technical-committee">
|
405
|
+
<ref name="IsoWorkgroup"/>
|
406
|
+
</element>
|
407
|
+
</define>
|
408
|
+
<define name="IsoWorkgroup">
|
409
|
+
<optional>
|
410
|
+
<attribute name="number">
|
411
|
+
<data type="int"/>
|
412
|
+
</attribute>
|
413
|
+
</optional>
|
414
|
+
<optional>
|
415
|
+
<attribute name="type"/>
|
416
|
+
</optional>
|
417
|
+
<text/>
|
418
|
+
</define>
|
419
|
+
<define name="ics">
|
420
|
+
<element name="ics">
|
421
|
+
<element name="code">
|
422
|
+
<text/>
|
423
|
+
</element>
|
424
|
+
<element name="text">
|
425
|
+
<text/>
|
426
|
+
</element>
|
427
|
+
</element>
|
428
|
+
</define>
|
69
429
|
<define name="standard-document">
|
70
430
|
<element name="standard-document">
|
71
431
|
<ref name="bibdata"/>
|
@@ -89,7 +449,7 @@
|
|
89
449
|
<oneOrMore>
|
90
450
|
<choice>
|
91
451
|
<ref name="content"/>
|
92
|
-
<ref name="
|
452
|
+
<ref name="preface_abstract"/>
|
93
453
|
<ref name="foreword"/>
|
94
454
|
<ref name="introduction"/>
|
95
455
|
<ref name="acknowledgements"/>
|
@@ -156,6 +516,14 @@
|
|
156
516
|
<optional>
|
157
517
|
<attribute name="script"/>
|
158
518
|
</optional>
|
519
|
+
<optional>
|
520
|
+
<attribute name="obligation">
|
521
|
+
<choice>
|
522
|
+
<value>normative</value>
|
523
|
+
<value>informative</value>
|
524
|
+
</choice>
|
525
|
+
</attribute>
|
526
|
+
</optional>
|
159
527
|
<optional>
|
160
528
|
<ref name="section-title"/>
|
161
529
|
</optional>
|
@@ -163,6 +531,9 @@
|
|
163
531
|
<zeroOrMore>
|
164
532
|
<ref name="BasicBlock"/>
|
165
533
|
</zeroOrMore>
|
534
|
+
<zeroOrMore>
|
535
|
+
<ref name="note"/>
|
536
|
+
</zeroOrMore>
|
166
537
|
<ref name="dl"/>
|
167
538
|
</oneOrMore>
|
168
539
|
</element>
|
@@ -202,22 +573,35 @@
|
|
202
573
|
<optional>
|
203
574
|
<attribute name="script"/>
|
204
575
|
</optional>
|
576
|
+
<optional>
|
577
|
+
<attribute name="inline-header">
|
578
|
+
<data type="boolean"/>
|
579
|
+
</attribute>
|
580
|
+
</optional>
|
581
|
+
<optional>
|
582
|
+
<attribute name="obligation">
|
583
|
+
<choice>
|
584
|
+
<value>normative</value>
|
585
|
+
<value>informative</value>
|
586
|
+
</choice>
|
587
|
+
</attribute>
|
588
|
+
</optional>
|
205
589
|
<optional>
|
206
590
|
<ref name="section-title"/>
|
207
591
|
</optional>
|
208
|
-
<
|
592
|
+
<group>
|
209
593
|
<group>
|
210
|
-
<
|
594
|
+
<zeroOrMore>
|
211
595
|
<ref name="BasicBlock"/>
|
212
|
-
</
|
596
|
+
</zeroOrMore>
|
213
597
|
<zeroOrMore>
|
214
598
|
<ref name="note"/>
|
215
599
|
</zeroOrMore>
|
216
600
|
</group>
|
217
|
-
<
|
601
|
+
<zeroOrMore>
|
218
602
|
<ref name="content-subsection"/>
|
219
|
-
</
|
220
|
-
</
|
603
|
+
</zeroOrMore>
|
604
|
+
</group>
|
221
605
|
</define>
|
222
606
|
<define name="clause">
|
223
607
|
<element name="clause">
|
@@ -239,32 +623,97 @@
|
|
239
623
|
<optional>
|
240
624
|
<attribute name="script"/>
|
241
625
|
</optional>
|
626
|
+
<optional>
|
627
|
+
<attribute name="inline-header">
|
628
|
+
<data type="boolean"/>
|
629
|
+
</attribute>
|
630
|
+
</optional>
|
631
|
+
<optional>
|
632
|
+
<attribute name="obligation">
|
633
|
+
<choice>
|
634
|
+
<value>normative</value>
|
635
|
+
<value>informative</value>
|
636
|
+
</choice>
|
637
|
+
</attribute>
|
638
|
+
</optional>
|
242
639
|
<optional>
|
243
640
|
<ref name="section-title"/>
|
244
641
|
</optional>
|
245
|
-
<
|
642
|
+
<group>
|
246
643
|
<group>
|
247
|
-
<
|
644
|
+
<zeroOrMore>
|
248
645
|
<ref name="BasicBlock"/>
|
249
|
-
</
|
646
|
+
</zeroOrMore>
|
250
647
|
<zeroOrMore>
|
251
648
|
<ref name="note"/>
|
252
649
|
</zeroOrMore>
|
253
650
|
</group>
|
254
|
-
<
|
651
|
+
<zeroOrMore>
|
255
652
|
<choice>
|
256
653
|
<ref name="clause-subsection"/>
|
257
654
|
<ref name="terms"/>
|
258
655
|
<ref name="definitions"/>
|
259
656
|
</choice>
|
260
|
-
</
|
261
|
-
</
|
657
|
+
</zeroOrMore>
|
658
|
+
</group>
|
659
|
+
</define>
|
660
|
+
<define name="Annex-Section">
|
661
|
+
<optional>
|
662
|
+
<attribute name="id">
|
663
|
+
<data type="ID"/>
|
664
|
+
</attribute>
|
665
|
+
</optional>
|
666
|
+
<optional>
|
667
|
+
<attribute name="language"/>
|
668
|
+
</optional>
|
669
|
+
<optional>
|
670
|
+
<attribute name="script"/>
|
671
|
+
</optional>
|
672
|
+
<optional>
|
673
|
+
<attribute name="inline-header">
|
674
|
+
<data type="boolean"/>
|
675
|
+
</attribute>
|
676
|
+
</optional>
|
677
|
+
<optional>
|
678
|
+
<attribute name="obligation">
|
679
|
+
<choice>
|
680
|
+
<value>normative</value>
|
681
|
+
<value>informative</value>
|
682
|
+
</choice>
|
683
|
+
</attribute>
|
684
|
+
</optional>
|
685
|
+
<optional>
|
686
|
+
<ref name="section-title"/>
|
687
|
+
</optional>
|
688
|
+
<group>
|
689
|
+
<group>
|
690
|
+
<zeroOrMore>
|
691
|
+
<ref name="BasicBlock"/>
|
692
|
+
</zeroOrMore>
|
693
|
+
<zeroOrMore>
|
694
|
+
<ref name="note"/>
|
695
|
+
</zeroOrMore>
|
696
|
+
</group>
|
697
|
+
<zeroOrMore>
|
698
|
+
<choice>
|
699
|
+
<ref name="annex-subsection"/>
|
700
|
+
<ref name="terms"/>
|
701
|
+
<ref name="definitions"/>
|
702
|
+
<ref name="references"/>
|
703
|
+
</choice>
|
704
|
+
</zeroOrMore>
|
705
|
+
</group>
|
262
706
|
</define>
|
263
707
|
<define name="clause-subsection">
|
264
708
|
<element name="clause">
|
265
709
|
<ref name="Clause-Section"/>
|
266
710
|
</element>
|
267
711
|
</define>
|
712
|
+
<define name="annex-subsection">
|
713
|
+
<element name="clause">
|
714
|
+
<ref name="Annex-Section"/>
|
715
|
+
</element>
|
716
|
+
</define>
|
268
717
|
<define name="annex">
|
269
718
|
<element name="annex">
|
270
719
|
<optional>
|
@@ -278,6 +727,11 @@
|
|
278
727
|
<optional>
|
279
728
|
<attribute name="script"/>
|
280
729
|
</optional>
|
730
|
+
<optional>
|
731
|
+
<attribute name="inline-header">
|
732
|
+
<data type="boolean"/>
|
733
|
+
</attribute>
|
734
|
+
</optional>
|
281
735
|
<attribute name="obligation">
|
282
736
|
<choice>
|
283
737
|
<value>normative</value>
|
@@ -287,19 +741,24 @@
|
|
287
741
|
<optional>
|
288
742
|
<ref name="section-title"/>
|
289
743
|
</optional>
|
290
|
-
<
|
744
|
+
<group>
|
291
745
|
<group>
|
292
|
-
<
|
746
|
+
<zeroOrMore>
|
293
747
|
<ref name="BasicBlock"/>
|
294
|
-
</
|
748
|
+
</zeroOrMore>
|
295
749
|
<zeroOrMore>
|
296
750
|
<ref name="note"/>
|
297
751
|
</zeroOrMore>
|
298
752
|
</group>
|
299
|
-
<
|
300
|
-
<
|
301
|
-
|
302
|
-
|
753
|
+
<zeroOrMore>
|
754
|
+
<choice>
|
755
|
+
<ref name="annex-subsection"/>
|
756
|
+
<ref name="terms"/>
|
757
|
+
<ref name="definitions"/>
|
758
|
+
<ref name="references"/>
|
759
|
+
</choice>
|
760
|
+
</zeroOrMore>
|
761
|
+
</group>
|
303
762
|
</element>
|
304
763
|
</define>
|
305
764
|
<define name="terms">
|
@@ -315,12 +774,36 @@
|
|
315
774
|
<optional>
|
316
775
|
<attribute name="script"/>
|
317
776
|
</optional>
|
777
|
+
<optional>
|
778
|
+
<attribute name="obligation">
|
779
|
+
<choice>
|
780
|
+
<value>normative</value>
|
781
|
+
<value>informative</value>
|
782
|
+
</choice>
|
783
|
+
</attribute>
|
784
|
+
</optional>
|
785
|
+
<optional>
|
786
|
+
<ref name="section-title"/>
|
787
|
+
</optional>
|
318
788
|
<zeroOrMore>
|
319
789
|
<ref name="BasicBlock"/>
|
320
790
|
</zeroOrMore>
|
321
|
-
<
|
322
|
-
<ref name="
|
323
|
-
</
|
791
|
+
<zeroOrMore>
|
792
|
+
<ref name="note"/>
|
793
|
+
</zeroOrMore>
|
794
|
+
<choice>
|
795
|
+
<oneOrMore>
|
796
|
+
<ref name="term"/>
|
797
|
+
</oneOrMore>
|
798
|
+
<group>
|
799
|
+
<zeroOrMore>
|
800
|
+
<ref name="terms"/>
|
801
|
+
</zeroOrMore>
|
802
|
+
<optional>
|
803
|
+
<ref name="definitions"/>
|
804
|
+
</optional>
|
805
|
+
</group>
|
806
|
+
</choice>
|
324
807
|
</element>
|
325
808
|
</define>
|
326
809
|
<define name="term">
|
@@ -413,7 +896,13 @@
|
|
413
896
|
</define>
|
414
897
|
<define name="definition">
|
415
898
|
<element name="definition">
|
416
|
-
<
|
899
|
+
<oneOrMore>
|
900
|
+
<choice>
|
901
|
+
<ref name="paragraph"/>
|
902
|
+
<ref name="figure"/>
|
903
|
+
<ref name="formula"/>
|
904
|
+
</choice>
|
905
|
+
</oneOrMore>
|
417
906
|
</element>
|
418
907
|
</define>
|
419
908
|
<define name="termnote">
|
@@ -421,7 +910,15 @@
|
|
421
910
|
<attribute name="id">
|
422
911
|
<data type="ID"/>
|
423
912
|
</attribute>
|
424
|
-
<
|
913
|
+
<oneOrMore>
|
914
|
+
<choice>
|
915
|
+
<ref name="paragraph"/>
|
916
|
+
<ref name="ul"/>
|
917
|
+
<ref name="ol"/>
|
918
|
+
<ref name="dl"/>
|
919
|
+
<ref name="formula"/>
|
920
|
+
</choice>
|
921
|
+
</oneOrMore>
|
425
922
|
</element>
|
426
923
|
</define>
|
427
924
|
<define name="termexample">
|
@@ -448,7 +945,10 @@
|
|
448
945
|
</define>
|
449
946
|
<define name="origin">
|
450
947
|
<element name="origin">
|
451
|
-
<
|
948
|
+
<choice>
|
949
|
+
<ref name="erefType"/>
|
950
|
+
<ref name="termref"/>
|
951
|
+
</choice>
|
452
952
|
</element>
|
453
953
|
</define>
|
454
954
|
<define name="modification">
|
@@ -456,6 +956,15 @@
|
|
456
956
|
<ref name="paragraph"/>
|
457
957
|
</element>
|
458
958
|
</define>
|
959
|
+
<define name="termref">
|
960
|
+
<element name="termref">
|
961
|
+
<attribute name="base"/>
|
962
|
+
<attribute name="target"/>
|
963
|
+
<optional>
|
964
|
+
<text/>
|
965
|
+
</optional>
|
966
|
+
</element>
|
967
|
+
</define>
|
459
968
|
<define name="structuredidentifier">
|
460
969
|
<element name="structuredidentifier">
|
461
970
|
<optional>
|
@@ -511,4 +1020,58 @@
|
|
511
1020
|
</optional>
|
512
1021
|
</element>
|
513
1022
|
</define>
|
1023
|
+
<define name="preface_abstract">
|
1024
|
+
<element name="abstract">
|
1025
|
+
<ref name="Basic-Section"/>
|
1026
|
+
</element>
|
1027
|
+
</define>
|
1028
|
+
<define name="term-clause">
|
1029
|
+
<element name="clause">
|
1030
|
+
<optional>
|
1031
|
+
<attribute name="id">
|
1032
|
+
<data type="ID"/>
|
1033
|
+
</attribute>
|
1034
|
+
</optional>
|
1035
|
+
<optional>
|
1036
|
+
<attribute name="language"/>
|
1037
|
+
</optional>
|
1038
|
+
<optional>
|
1039
|
+
<attribute name="script"/>
|
1040
|
+
</optional>
|
1041
|
+
<optional>
|
1042
|
+
<attribute name="inline-header">
|
1043
|
+
<data type="boolean"/>
|
1044
|
+
</attribute>
|
1045
|
+
</optional>
|
1046
|
+
<optional>
|
1047
|
+
<attribute name="obligation">
|
1048
|
+
<choice>
|
1049
|
+
<value>normative</value>
|
1050
|
+
<value>informative</value>
|
1051
|
+
</choice>
|
1052
|
+
</attribute>
|
1053
|
+
</optional>
|
1054
|
+
<optional>
|
1055
|
+
<ref name="section-title"/>
|
1056
|
+
</optional>
|
1057
|
+
<zeroOrMore>
|
1058
|
+
<ref name="BasicBlock"/>
|
1059
|
+
</zeroOrMore>
|
1060
|
+
<zeroOrMore>
|
1061
|
+
<ref name="note"/>
|
1062
|
+
</zeroOrMore>
|
1063
|
+
<zeroOrMore>
|
1064
|
+
<choice>
|
1065
|
+
<ref name="term-clause"/>
|
1066
|
+
<ref name="terms"/>
|
1067
|
+
<ref name="definitions"/>
|
1068
|
+
</choice>
|
1069
|
+
</zeroOrMore>
|
1070
|
+
</element>
|
1071
|
+
</define>
|
1072
|
+
<define name="termdocsource">
|
1073
|
+
<element name="termdocsource">
|
1074
|
+
<ref name="CitationType"/>
|
1075
|
+
</element>
|
1076
|
+
</define>
|
514
1077
|
</grammar>
|