relaton-bipm 1.4.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,1613 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!--
3
+ instantiations of this grammar may replace leaf strings
4
+ with more elaborated types; e.g. title (text) replaced with
5
+ title-main, title-intro, title-part; type replaced with
6
+ enum.
7
+
8
+ some renaming at leaf nodes is permissible
9
+
10
+ obligations can change both from optional to mandatory,
11
+ and from mandatory to optional; optional elements may
12
+ be omitted; freely positioned alternatives may be replaced
13
+ with strict ordering
14
+
15
+ DO NOT introduce a namespace here. We do not want a distinct namespace
16
+ for these elements, and a distinct namespace for any grammar inheriting
17
+ these elements; we just want one namespace for any child grammars
18
+ of this.
19
+ -->
20
+ <grammar xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
21
+ <include href="reqt.rng"/>
22
+ <!-- include "biblio.rnc" { } -->
23
+ <include href="basicdoc.rng">
24
+ <start>
25
+ <ref name="standard-document"/>
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 target { xsd:IDREF }, -->
46
+ <attribute name="target">
47
+ <data type="string">
48
+ <param name="pattern">\i\c*|\c+#\c+</param>
49
+ </data>
50
+ </attribute>
51
+ <optional>
52
+ <attribute name="type">
53
+ <ref name="ReferenceFormat"/>
54
+ </attribute>
55
+ </optional>
56
+ <optional>
57
+ <attribute name="alt"/>
58
+ </optional>
59
+ <optional>
60
+ <attribute name="case">
61
+ <choice>
62
+ <value>capital</value>
63
+ <value>lowercase</value>
64
+ </choice>
65
+ </attribute>
66
+ </optional>
67
+ <optional>
68
+ <attribute name="droploc">
69
+ <data type="boolean"/>
70
+ </attribute>
71
+ </optional>
72
+ <text/>
73
+ </element>
74
+ </define>
75
+ <define name="ul">
76
+ <element name="ul">
77
+ <attribute name="id">
78
+ <data type="ID"/>
79
+ </attribute>
80
+ <optional>
81
+ <attribute name="keep-with-next">
82
+ <data type="boolean"/>
83
+ </attribute>
84
+ </optional>
85
+ <optional>
86
+ <attribute name="keep-lines-together">
87
+ <data type="boolean"/>
88
+ </attribute>
89
+ </optional>
90
+ <oneOrMore>
91
+ <ref name="li"/>
92
+ </oneOrMore>
93
+ <zeroOrMore>
94
+ <ref name="note"/>
95
+ </zeroOrMore>
96
+ </element>
97
+ </define>
98
+ <define name="ol">
99
+ <element name="ol">
100
+ <attribute name="id">
101
+ <data type="ID"/>
102
+ </attribute>
103
+ <optional>
104
+ <attribute name="keep-with-next">
105
+ <data type="boolean"/>
106
+ </attribute>
107
+ </optional>
108
+ <optional>
109
+ <attribute name="keep-lines-together">
110
+ <data type="boolean"/>
111
+ </attribute>
112
+ </optional>
113
+ <attribute name="type">
114
+ <choice>
115
+ <value>roman</value>
116
+ <value>alphabet</value>
117
+ <value>arabic</value>
118
+ <value>roman_upper</value>
119
+ <value>alphabet_upper</value>
120
+ </choice>
121
+ </attribute>
122
+ <oneOrMore>
123
+ <ref name="li"/>
124
+ </oneOrMore>
125
+ <zeroOrMore>
126
+ <ref name="note"/>
127
+ </zeroOrMore>
128
+ </element>
129
+ </define>
130
+ <define name="dl">
131
+ <element name="dl">
132
+ <attribute name="id">
133
+ <data type="ID"/>
134
+ </attribute>
135
+ <optional>
136
+ <attribute name="keep-with-next">
137
+ <data type="boolean"/>
138
+ </attribute>
139
+ </optional>
140
+ <optional>
141
+ <attribute name="keep-lines-together">
142
+ <data type="boolean"/>
143
+ </attribute>
144
+ </optional>
145
+ <oneOrMore>
146
+ <ref name="dt"/>
147
+ <ref name="dd"/>
148
+ </oneOrMore>
149
+ <zeroOrMore>
150
+ <ref name="note"/>
151
+ </zeroOrMore>
152
+ </element>
153
+ </define>
154
+ <define name="example">
155
+ <element name="example">
156
+ <attribute name="id">
157
+ <data type="ID"/>
158
+ </attribute>
159
+ <optional>
160
+ <attribute name="unnumbered">
161
+ <data type="boolean"/>
162
+ </attribute>
163
+ </optional>
164
+ <optional>
165
+ <attribute name="subsequence"/>
166
+ </optional>
167
+ <optional>
168
+ <attribute name="number"/>
169
+ </optional>
170
+ <optional>
171
+ <attribute name="keep-with-next">
172
+ <data type="boolean"/>
173
+ </attribute>
174
+ </optional>
175
+ <optional>
176
+ <attribute name="keep-lines-together">
177
+ <data type="boolean"/>
178
+ </attribute>
179
+ </optional>
180
+ <optional>
181
+ <ref name="tname"/>
182
+ </optional>
183
+ <oneOrMore>
184
+ <choice>
185
+ <ref name="formula"/>
186
+ <ref name="ul"/>
187
+ <ref name="ol"/>
188
+ <ref name="dl"/>
189
+ <ref name="quote"/>
190
+ <ref name="sourcecode"/>
191
+ <ref name="paragraph-with-footnote"/>
192
+ <ref name="figure"/>
193
+ </choice>
194
+ </oneOrMore>
195
+ <zeroOrMore>
196
+ <ref name="note"/>
197
+ </zeroOrMore>
198
+ </element>
199
+ </define>
200
+ <define name="table">
201
+ <element name="table">
202
+ <attribute name="id">
203
+ <data type="ID"/>
204
+ </attribute>
205
+ <optional>
206
+ <attribute name="unnumbered">
207
+ <data type="boolean"/>
208
+ </attribute>
209
+ </optional>
210
+ <optional>
211
+ <attribute name="number"/>
212
+ </optional>
213
+ <optional>
214
+ <attribute name="subsequence"/>
215
+ </optional>
216
+ <optional>
217
+ <attribute name="alt"/>
218
+ </optional>
219
+ <optional>
220
+ <attribute name="summary"/>
221
+ </optional>
222
+ <optional>
223
+ <attribute name="uri">
224
+ <data type="anyURI"/>
225
+ </attribute>
226
+ </optional>
227
+ <optional>
228
+ <attribute name="keep-with-next">
229
+ <data type="boolean"/>
230
+ </attribute>
231
+ </optional>
232
+ <optional>
233
+ <attribute name="keep-lines-together">
234
+ <data type="boolean"/>
235
+ </attribute>
236
+ </optional>
237
+ <optional>
238
+ <ref name="tname"/>
239
+ </optional>
240
+ <optional>
241
+ <ref name="thead"/>
242
+ </optional>
243
+ <ref name="tbody"/>
244
+ <optional>
245
+ <ref name="tfoot"/>
246
+ </optional>
247
+ <zeroOrMore>
248
+ <ref name="table-note"/>
249
+ </zeroOrMore>
250
+ <optional>
251
+ <ref name="dl"/>
252
+ </optional>
253
+ </element>
254
+ </define>
255
+ <define name="figure">
256
+ <element name="figure">
257
+ <attribute name="id">
258
+ <data type="ID"/>
259
+ </attribute>
260
+ <optional>
261
+ <attribute name="unnumbered">
262
+ <data type="boolean"/>
263
+ </attribute>
264
+ </optional>
265
+ <optional>
266
+ <attribute name="number"/>
267
+ </optional>
268
+ <optional>
269
+ <attribute name="subsequence"/>
270
+ </optional>
271
+ <optional>
272
+ <attribute name="keep-with-next">
273
+ <data type="boolean"/>
274
+ </attribute>
275
+ </optional>
276
+ <optional>
277
+ <attribute name="keep-lines-together">
278
+ <data type="boolean"/>
279
+ </attribute>
280
+ </optional>
281
+ <optional>
282
+ <attribute name="class"/>
283
+ </optional>
284
+ <optional>
285
+ <ref name="source"/>
286
+ </optional>
287
+ <optional>
288
+ <ref name="tname"/>
289
+ </optional>
290
+ <choice>
291
+ <ref name="image"/>
292
+ <ref name="video"/>
293
+ <ref name="audio"/>
294
+ <ref name="pre"/>
295
+ <oneOrMore>
296
+ <ref name="paragraph-with-footnote"/>
297
+ </oneOrMore>
298
+ <zeroOrMore>
299
+ <ref name="figure"/>
300
+ </zeroOrMore>
301
+ </choice>
302
+ <zeroOrMore>
303
+ <ref name="fn"/>
304
+ </zeroOrMore>
305
+ <optional>
306
+ <ref name="dl"/>
307
+ </optional>
308
+ <zeroOrMore>
309
+ <ref name="note"/>
310
+ </zeroOrMore>
311
+ </element>
312
+ </define>
313
+ <define name="sourcecode">
314
+ <element name="sourcecode">
315
+ <attribute name="id">
316
+ <data type="ID"/>
317
+ </attribute>
318
+ <optional>
319
+ <attribute name="unnumbered">
320
+ <data type="boolean"/>
321
+ </attribute>
322
+ </optional>
323
+ <optional>
324
+ <attribute name="number"/>
325
+ </optional>
326
+ <optional>
327
+ <attribute name="subsequence"/>
328
+ </optional>
329
+ <optional>
330
+ <attribute name="keep-with-next">
331
+ <data type="boolean"/>
332
+ </attribute>
333
+ </optional>
334
+ <optional>
335
+ <attribute name="keep-lines-together">
336
+ <data type="boolean"/>
337
+ </attribute>
338
+ </optional>
339
+ <optional>
340
+ <attribute name="lang"/>
341
+ </optional>
342
+ <optional>
343
+ <ref name="tname"/>
344
+ </optional>
345
+ <oneOrMore>
346
+ <choice>
347
+ <text/>
348
+ <ref name="callout"/>
349
+ </choice>
350
+ </oneOrMore>
351
+ <zeroOrMore>
352
+ <ref name="annotation"/>
353
+ </zeroOrMore>
354
+ <zeroOrMore>
355
+ <ref name="note"/>
356
+ </zeroOrMore>
357
+ </element>
358
+ </define>
359
+ <define name="formula">
360
+ <element name="formula">
361
+ <attribute name="id">
362
+ <data type="ID"/>
363
+ </attribute>
364
+ <optional>
365
+ <attribute name="unnumbered">
366
+ <data type="boolean"/>
367
+ </attribute>
368
+ </optional>
369
+ <optional>
370
+ <attribute name="number"/>
371
+ </optional>
372
+ <optional>
373
+ <attribute name="subsequence"/>
374
+ </optional>
375
+ <optional>
376
+ <attribute name="keep-with-next">
377
+ <data type="boolean"/>
378
+ </attribute>
379
+ </optional>
380
+ <optional>
381
+ <attribute name="keep-lines-together">
382
+ <data type="boolean"/>
383
+ </attribute>
384
+ </optional>
385
+ <optional>
386
+ <attribute name="inequality">
387
+ <data type="boolean"/>
388
+ </attribute>
389
+ </optional>
390
+ <ref name="stem"/>
391
+ <optional>
392
+ <ref name="dl"/>
393
+ </optional>
394
+ <zeroOrMore>
395
+ <ref name="note"/>
396
+ </zeroOrMore>
397
+ </element>
398
+ </define>
399
+ <define name="ParagraphType">
400
+ <attribute name="id">
401
+ <data type="ID"/>
402
+ </attribute>
403
+ <optional>
404
+ <attribute name="align">
405
+ <ref name="Alignments"/>
406
+ </attribute>
407
+ </optional>
408
+ <optional>
409
+ <attribute name="keep-with-next">
410
+ <data type="boolean"/>
411
+ </attribute>
412
+ </optional>
413
+ <optional>
414
+ <attribute name="keep-lines-together">
415
+ <data type="boolean"/>
416
+ </attribute>
417
+ </optional>
418
+ <zeroOrMore>
419
+ <ref name="TextElement"/>
420
+ </zeroOrMore>
421
+ <zeroOrMore>
422
+ <ref name="note"/>
423
+ </zeroOrMore>
424
+ </define>
425
+ <define name="paragraph-with-footnote">
426
+ <element name="p">
427
+ <attribute name="id">
428
+ <data type="ID"/>
429
+ </attribute>
430
+ <optional>
431
+ <attribute name="align">
432
+ <ref name="Alignments"/>
433
+ </attribute>
434
+ </optional>
435
+ <optional>
436
+ <attribute name="keep-with-next">
437
+ <data type="boolean"/>
438
+ </attribute>
439
+ </optional>
440
+ <optional>
441
+ <attribute name="keep-lines-together">
442
+ <data type="boolean"/>
443
+ </attribute>
444
+ </optional>
445
+ <zeroOrMore>
446
+ <choice>
447
+ <ref name="TextElement"/>
448
+ <ref name="fn"/>
449
+ </choice>
450
+ </zeroOrMore>
451
+ <zeroOrMore>
452
+ <ref name="note"/>
453
+ </zeroOrMore>
454
+ </element>
455
+ </define>
456
+ <define name="quote">
457
+ <element name="quote">
458
+ <attribute name="id">
459
+ <data type="ID"/>
460
+ </attribute>
461
+ <optional>
462
+ <attribute name="alignment">
463
+ <ref name="Alignments"/>
464
+ </attribute>
465
+ </optional>
466
+ <optional>
467
+ <attribute name="keep-with-next">
468
+ <data type="boolean"/>
469
+ </attribute>
470
+ </optional>
471
+ <optional>
472
+ <attribute name="keep-lines-together">
473
+ <data type="boolean"/>
474
+ </attribute>
475
+ </optional>
476
+ <optional>
477
+ <ref name="quote-source"/>
478
+ </optional>
479
+ <optional>
480
+ <ref name="quote-author"/>
481
+ </optional>
482
+ <oneOrMore>
483
+ <ref name="paragraph-with-footnote"/>
484
+ </oneOrMore>
485
+ <zeroOrMore>
486
+ <ref name="note"/>
487
+ </zeroOrMore>
488
+ </element>
489
+ </define>
490
+ <define name="BibDataExtensionType">
491
+ <ref name="doctype"/>
492
+ <optional>
493
+ <ref name="editorialgroup"/>
494
+ </optional>
495
+ <zeroOrMore>
496
+ <ref name="ics"/>
497
+ </zeroOrMore>
498
+ <zeroOrMore>
499
+ <ref name="structuredidentifier"/>
500
+ </zeroOrMore>
501
+ </define>
502
+ <!-- TitleType = text -->
503
+ <define name="sections">
504
+ <element name="sections">
505
+ <oneOrMore>
506
+ <choice>
507
+ <ref name="clause"/>
508
+ <ref name="terms"/>
509
+ <ref name="term-clause"/>
510
+ <ref name="definitions"/>
511
+ </choice>
512
+ </oneOrMore>
513
+ </element>
514
+ </define>
515
+ <define name="references">
516
+ <element name="references">
517
+ <optional>
518
+ <attribute name="id">
519
+ <data type="ID"/>
520
+ </attribute>
521
+ </optional>
522
+ <optional>
523
+ <attribute name="obligation">
524
+ <choice>
525
+ <value>normative</value>
526
+ <value>informative</value>
527
+ </choice>
528
+ </attribute>
529
+ </optional>
530
+ <attribute name="normative">
531
+ <data type="boolean"/>
532
+ </attribute>
533
+ <optional>
534
+ <ref name="section-title"/>
535
+ </optional>
536
+ <zeroOrMore>
537
+ <ref name="BasicBlock"/>
538
+ </zeroOrMore>
539
+ <zeroOrMore>
540
+ <ref name="note"/>
541
+ </zeroOrMore>
542
+ <zeroOrMore>
543
+ <ref name="bibitem"/>
544
+ <zeroOrMore>
545
+ <ref name="note"/>
546
+ </zeroOrMore>
547
+ </zeroOrMore>
548
+ <zeroOrMore>
549
+ <ref name="references"/>
550
+ </zeroOrMore>
551
+ </element>
552
+ </define>
553
+ <define name="note">
554
+ <element name="note">
555
+ <attribute name="id">
556
+ <data type="ID"/>
557
+ </attribute>
558
+ <optional>
559
+ <attribute name="unnumbered">
560
+ <data type="boolean"/>
561
+ </attribute>
562
+ </optional>
563
+ <optional>
564
+ <attribute name="number"/>
565
+ </optional>
566
+ <optional>
567
+ <attribute name="subsequence"/>
568
+ </optional>
569
+ <optional>
570
+ <attribute name="keep-with-next">
571
+ <data type="boolean"/>
572
+ </attribute>
573
+ </optional>
574
+ <optional>
575
+ <attribute name="keep-lines-together">
576
+ <data type="boolean"/>
577
+ </attribute>
578
+ </optional>
579
+ <optional>
580
+ <attribute name="type"/>
581
+ </optional>
582
+ <oneOrMore>
583
+ <choice>
584
+ <ref name="paragraph"/>
585
+ <ref name="ul"/>
586
+ <ref name="ol"/>
587
+ <ref name="dl"/>
588
+ <ref name="formula"/>
589
+ <ref name="quote"/>
590
+ <ref name="sourcecode"/>
591
+ </choice>
592
+ </oneOrMore>
593
+ </element>
594
+ </define>
595
+ <define name="Basic-Section">
596
+ <optional>
597
+ <attribute name="id">
598
+ <data type="ID"/>
599
+ </attribute>
600
+ </optional>
601
+ <optional>
602
+ <attribute name="language"/>
603
+ </optional>
604
+ <optional>
605
+ <attribute name="script"/>
606
+ </optional>
607
+ <optional>
608
+ <attribute name="obligation">
609
+ <choice>
610
+ <value>normative</value>
611
+ <value>informative</value>
612
+ </choice>
613
+ </attribute>
614
+ </optional>
615
+ <optional>
616
+ <ref name="section-title"/>
617
+ </optional>
618
+ <group>
619
+ <oneOrMore>
620
+ <ref name="BasicBlock"/>
621
+ </oneOrMore>
622
+ <zeroOrMore>
623
+ <ref name="note"/>
624
+ </zeroOrMore>
625
+ </group>
626
+ </define>
627
+ <define name="li">
628
+ <element name="li">
629
+ <group>
630
+ <optional>
631
+ <attribute name="id">
632
+ <data type="ID"/>
633
+ </attribute>
634
+ </optional>
635
+ <oneOrMore>
636
+ <ref name="BasicBlock"/>
637
+ </oneOrMore>
638
+ </group>
639
+ <!-- exclude figures? -->
640
+ </element>
641
+ </define>
642
+ <define name="dd">
643
+ <element name="dd">
644
+ <zeroOrMore>
645
+ <!-- exclude figures? -->
646
+ <ref name="BasicBlock"/>
647
+ </zeroOrMore>
648
+ </element>
649
+ </define>
650
+ <define name="thead">
651
+ <element name="thead">
652
+ <oneOrMore>
653
+ <ref name="tr"/>
654
+ </oneOrMore>
655
+ </element>
656
+ </define>
657
+ <define name="td">
658
+ <element name="td">
659
+ <optional>
660
+ <attribute name="colspan"/>
661
+ </optional>
662
+ <optional>
663
+ <attribute name="rowspan"/>
664
+ </optional>
665
+ <optional>
666
+ <attribute name="align">
667
+ <choice>
668
+ <value>left</value>
669
+ <value>right</value>
670
+ <value>center</value>
671
+ </choice>
672
+ </attribute>
673
+ </optional>
674
+ <optional>
675
+ <attribute name="valign">
676
+ <choice>
677
+ <value>top</value>
678
+ <value>middle</value>
679
+ <value>bottom</value>
680
+ <value>baseline</value>
681
+ </choice>
682
+ </attribute>
683
+ </optional>
684
+ <choice>
685
+ <zeroOrMore>
686
+ <choice>
687
+ <ref name="TextElement"/>
688
+ <ref name="fn"/>
689
+ </choice>
690
+ </zeroOrMore>
691
+ <oneOrMore>
692
+ <choice>
693
+ <ref name="paragraph-with-footnote"/>
694
+ <ref name="dl"/>
695
+ <ref name="ul"/>
696
+ <ref name="ol"/>
697
+ <ref name="figure"/>
698
+ </choice>
699
+ </oneOrMore>
700
+ </choice>
701
+ </element>
702
+ </define>
703
+ <define name="th">
704
+ <element name="th">
705
+ <optional>
706
+ <attribute name="colspan"/>
707
+ </optional>
708
+ <optional>
709
+ <attribute name="rowspan"/>
710
+ </optional>
711
+ <optional>
712
+ <attribute name="align">
713
+ <choice>
714
+ <value>left</value>
715
+ <value>right</value>
716
+ <value>center</value>
717
+ </choice>
718
+ </attribute>
719
+ </optional>
720
+ <optional>
721
+ <attribute name="valign">
722
+ <choice>
723
+ <value>top</value>
724
+ <value>middle</value>
725
+ <value>bottom</value>
726
+ <value>baseline</value>
727
+ </choice>
728
+ </attribute>
729
+ </optional>
730
+ <choice>
731
+ <zeroOrMore>
732
+ <choice>
733
+ <ref name="TextElement"/>
734
+ <ref name="fn"/>
735
+ </choice>
736
+ </zeroOrMore>
737
+ <oneOrMore>
738
+ <ref name="paragraph-with-footnote"/>
739
+ </oneOrMore>
740
+ </choice>
741
+ </element>
742
+ </define>
743
+ <define name="table-note">
744
+ <element name="note">
745
+ <optional>
746
+ <attribute name="id">
747
+ <data type="ID"/>
748
+ </attribute>
749
+ </optional>
750
+ <ref name="paragraph"/>
751
+ </element>
752
+ </define>
753
+ </include>
754
+ <!-- end overrides -->
755
+ <define name="TextElement" combine="choice">
756
+ <ref name="concept"/>
757
+ </define>
758
+ <define name="concept">
759
+ <element name="concept">
760
+ <optional>
761
+ <attribute name="term"/>
762
+ </optional>
763
+ <choice>
764
+ <ref name="eref"/>
765
+ <ref name="xref"/>
766
+ <ref name="termref"/>
767
+ </choice>
768
+ </element>
769
+ </define>
770
+ <define name="BasicBlock" combine="choice">
771
+ <choice>
772
+ <ref name="requirement"/>
773
+ <ref name="recommendation"/>
774
+ <ref name="permission"/>
775
+ </choice>
776
+ </define>
777
+ <define name="bibliography">
778
+ <element name="bibliography">
779
+ <oneOrMore>
780
+ <choice>
781
+ <ref name="references"/>
782
+ <ref name="reference-clause"/>
783
+ </choice>
784
+ </oneOrMore>
785
+ </element>
786
+ </define>
787
+ <define name="reference-clause">
788
+ <element name="clause">
789
+ <optional>
790
+ <attribute name="id">
791
+ <data type="ID"/>
792
+ </attribute>
793
+ </optional>
794
+ <optional>
795
+ <attribute name="language"/>
796
+ </optional>
797
+ <optional>
798
+ <attribute name="script"/>
799
+ </optional>
800
+ <optional>
801
+ <attribute name="inline-header">
802
+ <data type="boolean"/>
803
+ </attribute>
804
+ </optional>
805
+ <optional>
806
+ <attribute name="obligation">
807
+ <choice>
808
+ <value>normative</value>
809
+ <value>informative</value>
810
+ </choice>
811
+ </attribute>
812
+ </optional>
813
+ <optional>
814
+ <ref name="section-title"/>
815
+ </optional>
816
+ <zeroOrMore>
817
+ <ref name="BasicBlock"/>
818
+ </zeroOrMore>
819
+ <zeroOrMore>
820
+ <ref name="note"/>
821
+ </zeroOrMore>
822
+ <choice>
823
+ <oneOrMore>
824
+ <ref name="reference-clause"/>
825
+ </oneOrMore>
826
+ <zeroOrMore>
827
+ <ref name="references"/>
828
+ </zeroOrMore>
829
+ </choice>
830
+ </element>
831
+ </define>
832
+ <define name="editorialgroup">
833
+ <element name="editorialgroup">
834
+ <oneOrMore>
835
+ <ref name="technical-committee"/>
836
+ </oneOrMore>
837
+ </element>
838
+ </define>
839
+ <define name="technical-committee">
840
+ <element name="technical-committee">
841
+ <ref name="IsoWorkgroup"/>
842
+ </element>
843
+ </define>
844
+ <define name="IsoWorkgroup">
845
+ <optional>
846
+ <attribute name="number">
847
+ <data type="int"/>
848
+ </attribute>
849
+ </optional>
850
+ <optional>
851
+ <attribute name="type"/>
852
+ </optional>
853
+ <text/>
854
+ </define>
855
+ <define name="ics">
856
+ <element name="ics">
857
+ <element name="code">
858
+ <text/>
859
+ </element>
860
+ <element name="text">
861
+ <text/>
862
+ </element>
863
+ </element>
864
+ </define>
865
+ <define name="standard-document">
866
+ <element name="standard-document">
867
+ <ref name="bibdata"/>
868
+ <optional>
869
+ <ref name="boilerplate"/>
870
+ </optional>
871
+ <optional>
872
+ <ref name="preface"/>
873
+ </optional>
874
+ <ref name="sections"/>
875
+ <zeroOrMore>
876
+ <ref name="annex"/>
877
+ </zeroOrMore>
878
+ <zeroOrMore>
879
+ <ref name="references"/>
880
+ </zeroOrMore>
881
+ </element>
882
+ </define>
883
+ <define name="preface">
884
+ <element name="preface">
885
+ <oneOrMore>
886
+ <choice>
887
+ <ref name="content"/>
888
+ <ref name="abstract"/>
889
+ <ref name="foreword"/>
890
+ <ref name="introduction"/>
891
+ <ref name="acknowledgements"/>
892
+ </choice>
893
+ </oneOrMore>
894
+ </element>
895
+ </define>
896
+ <define name="foreword">
897
+ <element name="foreword">
898
+ <ref name="Content-Section"/>
899
+ </element>
900
+ </define>
901
+ <define name="introduction">
902
+ <element name="introduction">
903
+ <ref name="Content-Section"/>
904
+ </element>
905
+ </define>
906
+ <define name="boilerplate">
907
+ <element name="boilerplate">
908
+ <optional>
909
+ <ref name="copyright-statement"/>
910
+ </optional>
911
+ <optional>
912
+ <ref name="license-statement"/>
913
+ </optional>
914
+ <optional>
915
+ <ref name="legal-statement"/>
916
+ </optional>
917
+ <optional>
918
+ <ref name="feedback-statement"/>
919
+ </optional>
920
+ </element>
921
+ </define>
922
+ <define name="copyright-statement">
923
+ <element name="copyright-statement">
924
+ <ref name="Content-Section"/>
925
+ </element>
926
+ </define>
927
+ <define name="license-statement">
928
+ <element name="license-statement">
929
+ <ref name="Content-Section"/>
930
+ </element>
931
+ </define>
932
+ <define name="legal-statement">
933
+ <element name="legal-statement">
934
+ <ref name="Content-Section"/>
935
+ </element>
936
+ </define>
937
+ <define name="feedback-statement">
938
+ <element name="feedback-statement">
939
+ <ref name="Content-Section"/>
940
+ </element>
941
+ </define>
942
+ <define name="definitions">
943
+ <element name="definitions">
944
+ <optional>
945
+ <attribute name="id">
946
+ <data type="ID"/>
947
+ </attribute>
948
+ </optional>
949
+ <optional>
950
+ <attribute name="language"/>
951
+ </optional>
952
+ <optional>
953
+ <attribute name="script"/>
954
+ </optional>
955
+ <optional>
956
+ <attribute name="type"/>
957
+ </optional>
958
+ <optional>
959
+ <attribute name="obligation">
960
+ <choice>
961
+ <value>normative</value>
962
+ <value>informative</value>
963
+ </choice>
964
+ </attribute>
965
+ </optional>
966
+ <optional>
967
+ <ref name="section-title"/>
968
+ </optional>
969
+ <oneOrMore>
970
+ <zeroOrMore>
971
+ <ref name="BasicBlock"/>
972
+ </zeroOrMore>
973
+ <zeroOrMore>
974
+ <ref name="note"/>
975
+ </zeroOrMore>
976
+ <ref name="dl"/>
977
+ </oneOrMore>
978
+ </element>
979
+ </define>
980
+ <define name="content">
981
+ <element name="clause">
982
+ <ref name="Content-Section"/>
983
+ </element>
984
+ </define>
985
+ <define name="abstract">
986
+ <element name="abstract">
987
+ <ref name="Content-Section"/>
988
+ </element>
989
+ </define>
990
+ <define name="acknowledgements">
991
+ <element name="acknowledgements">
992
+ <ref name="Content-Section"/>
993
+ </element>
994
+ </define>
995
+ <define name="content-subsection">
996
+ <element name="clause">
997
+ <ref name="Content-Section"/>
998
+ </element>
999
+ </define>
1000
+ <define name="Content-Section">
1001
+ <optional>
1002
+ <attribute name="id">
1003
+ <data type="ID"/>
1004
+ </attribute>
1005
+ </optional>
1006
+ <optional>
1007
+ <attribute name="language"/>
1008
+ </optional>
1009
+ <optional>
1010
+ <attribute name="script"/>
1011
+ </optional>
1012
+ <optional>
1013
+ <attribute name="inline-header">
1014
+ <data type="boolean"/>
1015
+ </attribute>
1016
+ </optional>
1017
+ <optional>
1018
+ <attribute name="obligation">
1019
+ <choice>
1020
+ <value>normative</value>
1021
+ <value>informative</value>
1022
+ </choice>
1023
+ </attribute>
1024
+ </optional>
1025
+ <optional>
1026
+ <attribute name="type"/>
1027
+ </optional>
1028
+ <optional>
1029
+ <ref name="section-title"/>
1030
+ </optional>
1031
+ <group>
1032
+ <group>
1033
+ <zeroOrMore>
1034
+ <ref name="BasicBlock"/>
1035
+ </zeroOrMore>
1036
+ <zeroOrMore>
1037
+ <ref name="note"/>
1038
+ </zeroOrMore>
1039
+ </group>
1040
+ <zeroOrMore>
1041
+ <ref name="content-subsection"/>
1042
+ </zeroOrMore>
1043
+ </group>
1044
+ </define>
1045
+ <define name="clause">
1046
+ <element name="clause">
1047
+ <ref name="Clause-Section"/>
1048
+ </element>
1049
+ </define>
1050
+ <define name="Clause-Section">
1051
+ <optional>
1052
+ <attribute name="id">
1053
+ <data type="ID"/>
1054
+ </attribute>
1055
+ </optional>
1056
+ <optional>
1057
+ <attribute name="language"/>
1058
+ </optional>
1059
+ <optional>
1060
+ <attribute name="script"/>
1061
+ </optional>
1062
+ <optional>
1063
+ <attribute name="inline-header">
1064
+ <data type="boolean"/>
1065
+ </attribute>
1066
+ </optional>
1067
+ <optional>
1068
+ <attribute name="obligation">
1069
+ <choice>
1070
+ <value>normative</value>
1071
+ <value>informative</value>
1072
+ </choice>
1073
+ </attribute>
1074
+ </optional>
1075
+ <optional>
1076
+ <attribute name="type"/>
1077
+ </optional>
1078
+ <optional>
1079
+ <ref name="section-title"/>
1080
+ </optional>
1081
+ <group>
1082
+ <choice>
1083
+ <group>
1084
+ <zeroOrMore>
1085
+ <ref name="BasicBlock"/>
1086
+ </zeroOrMore>
1087
+ <zeroOrMore>
1088
+ <ref name="note"/>
1089
+ </zeroOrMore>
1090
+ </group>
1091
+ <ref name="amend"/>
1092
+ </choice>
1093
+ <zeroOrMore>
1094
+ <choice>
1095
+ <ref name="clause-subsection"/>
1096
+ <ref name="terms"/>
1097
+ <ref name="definitions"/>
1098
+ </choice>
1099
+ </zeroOrMore>
1100
+ </group>
1101
+ </define>
1102
+ <define name="Annex-Section">
1103
+ <optional>
1104
+ <attribute name="id">
1105
+ <data type="ID"/>
1106
+ </attribute>
1107
+ </optional>
1108
+ <optional>
1109
+ <attribute name="language"/>
1110
+ </optional>
1111
+ <optional>
1112
+ <attribute name="script"/>
1113
+ </optional>
1114
+ <optional>
1115
+ <attribute name="inline-header">
1116
+ <data type="boolean"/>
1117
+ </attribute>
1118
+ </optional>
1119
+ <optional>
1120
+ <attribute name="obligation">
1121
+ <choice>
1122
+ <value>normative</value>
1123
+ <value>informative</value>
1124
+ </choice>
1125
+ </attribute>
1126
+ </optional>
1127
+ <optional>
1128
+ <ref name="section-title"/>
1129
+ </optional>
1130
+ <group>
1131
+ <group>
1132
+ <zeroOrMore>
1133
+ <ref name="BasicBlock"/>
1134
+ </zeroOrMore>
1135
+ <zeroOrMore>
1136
+ <ref name="note"/>
1137
+ </zeroOrMore>
1138
+ </group>
1139
+ <zeroOrMore>
1140
+ <choice>
1141
+ <ref name="annex-subsection"/>
1142
+ <ref name="terms"/>
1143
+ <ref name="definitions"/>
1144
+ <ref name="references"/>
1145
+ </choice>
1146
+ </zeroOrMore>
1147
+ </group>
1148
+ </define>
1149
+ <define name="clause-subsection">
1150
+ <element name="clause">
1151
+ <ref name="Clause-Section"/>
1152
+ </element>
1153
+ </define>
1154
+ <define name="annex-subsection">
1155
+ <element name="clause">
1156
+ <ref name="Annex-Section"/>
1157
+ </element>
1158
+ </define>
1159
+ <define name="annex">
1160
+ <element name="annex">
1161
+ <optional>
1162
+ <attribute name="id">
1163
+ <data type="ID"/>
1164
+ </attribute>
1165
+ </optional>
1166
+ <optional>
1167
+ <attribute name="language"/>
1168
+ </optional>
1169
+ <optional>
1170
+ <attribute name="script"/>
1171
+ </optional>
1172
+ <optional>
1173
+ <attribute name="inline-header">
1174
+ <data type="boolean"/>
1175
+ </attribute>
1176
+ </optional>
1177
+ <attribute name="obligation">
1178
+ <choice>
1179
+ <value>normative</value>
1180
+ <value>informative</value>
1181
+ </choice>
1182
+ </attribute>
1183
+ <optional>
1184
+ <ref name="section-title"/>
1185
+ </optional>
1186
+ <group>
1187
+ <group>
1188
+ <zeroOrMore>
1189
+ <ref name="BasicBlock"/>
1190
+ </zeroOrMore>
1191
+ <zeroOrMore>
1192
+ <ref name="note"/>
1193
+ </zeroOrMore>
1194
+ </group>
1195
+ <zeroOrMore>
1196
+ <choice>
1197
+ <ref name="annex-subsection"/>
1198
+ <ref name="terms"/>
1199
+ <ref name="definitions"/>
1200
+ <ref name="references"/>
1201
+ </choice>
1202
+ </zeroOrMore>
1203
+ </group>
1204
+ </element>
1205
+ </define>
1206
+ <define name="terms">
1207
+ <element name="terms">
1208
+ <optional>
1209
+ <attribute name="id">
1210
+ <data type="ID"/>
1211
+ </attribute>
1212
+ </optional>
1213
+ <optional>
1214
+ <attribute name="language"/>
1215
+ </optional>
1216
+ <optional>
1217
+ <attribute name="script"/>
1218
+ </optional>
1219
+ <optional>
1220
+ <attribute name="type"/>
1221
+ </optional>
1222
+ <optional>
1223
+ <attribute name="obligation">
1224
+ <choice>
1225
+ <value>normative</value>
1226
+ <value>informative</value>
1227
+ </choice>
1228
+ </attribute>
1229
+ </optional>
1230
+ <optional>
1231
+ <ref name="section-title"/>
1232
+ </optional>
1233
+ <zeroOrMore>
1234
+ <ref name="BasicBlock"/>
1235
+ </zeroOrMore>
1236
+ <zeroOrMore>
1237
+ <ref name="note"/>
1238
+ </zeroOrMore>
1239
+ <choice>
1240
+ <oneOrMore>
1241
+ <ref name="term"/>
1242
+ </oneOrMore>
1243
+ <group>
1244
+ <zeroOrMore>
1245
+ <ref name="terms"/>
1246
+ </zeroOrMore>
1247
+ <optional>
1248
+ <ref name="definitions"/>
1249
+ </optional>
1250
+ </group>
1251
+ </choice>
1252
+ </element>
1253
+ </define>
1254
+ <define name="term">
1255
+ <element name="term">
1256
+ <optional>
1257
+ <attribute name="id">
1258
+ <data type="ID"/>
1259
+ </attribute>
1260
+ </optional>
1261
+ <oneOrMore>
1262
+ <ref name="preferred"/>
1263
+ </oneOrMore>
1264
+ <zeroOrMore>
1265
+ <ref name="admitted"/>
1266
+ </zeroOrMore>
1267
+ <zeroOrMore>
1268
+ <ref name="related"/>
1269
+ </zeroOrMore>
1270
+ <zeroOrMore>
1271
+ <ref name="deprecates"/>
1272
+ </zeroOrMore>
1273
+ <optional>
1274
+ <ref name="termdomain"/>
1275
+ </optional>
1276
+ <zeroOrMore>
1277
+ <ref name="termgrammar"/>
1278
+ </zeroOrMore>
1279
+ <ref name="definition"/>
1280
+ <zeroOrMore>
1281
+ <ref name="termnote"/>
1282
+ </zeroOrMore>
1283
+ <zeroOrMore>
1284
+ <ref name="termexample"/>
1285
+ </zeroOrMore>
1286
+ <zeroOrMore>
1287
+ <ref name="termsource"/>
1288
+ </zeroOrMore>
1289
+ </element>
1290
+ </define>
1291
+ <define name="preferred">
1292
+ <element name="preferred">
1293
+ <oneOrMore>
1294
+ <ref name="TextElement"/>
1295
+ </oneOrMore>
1296
+ </element>
1297
+ </define>
1298
+ <define name="admitted">
1299
+ <element name="admitted">
1300
+ <oneOrMore>
1301
+ <ref name="TextElement"/>
1302
+ </oneOrMore>
1303
+ </element>
1304
+ </define>
1305
+ <define name="related">
1306
+ <element name="related">
1307
+ <optional>
1308
+ <attribute name="type">
1309
+ <choice>
1310
+ <value>compare</value>
1311
+ <value>contrast</value>
1312
+ <value>see</value>
1313
+ </choice>
1314
+ </attribute>
1315
+ </optional>
1316
+ <oneOrMore>
1317
+ <ref name="TextElement"/>
1318
+ </oneOrMore>
1319
+ </element>
1320
+ </define>
1321
+ <define name="deprecates">
1322
+ <element name="deprecates">
1323
+ <oneOrMore>
1324
+ <ref name="TextElement"/>
1325
+ </oneOrMore>
1326
+ </element>
1327
+ </define>
1328
+ <define name="termdomain">
1329
+ <element name="domain">
1330
+ <oneOrMore>
1331
+ <ref name="TextElement"/>
1332
+ </oneOrMore>
1333
+ </element>
1334
+ </define>
1335
+ <define name="termgrammar">
1336
+ <element name="grammar">
1337
+ <oneOrMore>
1338
+ <ref name="TextElement"/>
1339
+ </oneOrMore>
1340
+ </element>
1341
+ </define>
1342
+ <define name="definition">
1343
+ <element name="definition">
1344
+ <oneOrMore>
1345
+ <choice>
1346
+ <ref name="paragraph"/>
1347
+ <ref name="figure"/>
1348
+ <ref name="formula"/>
1349
+ </choice>
1350
+ </oneOrMore>
1351
+ </element>
1352
+ </define>
1353
+ <define name="termnote">
1354
+ <element name="termnote">
1355
+ <attribute name="id">
1356
+ <data type="ID"/>
1357
+ </attribute>
1358
+ <optional>
1359
+ <attribute name="unnumbered">
1360
+ <data type="boolean"/>
1361
+ </attribute>
1362
+ </optional>
1363
+ <optional>
1364
+ <attribute name="number"/>
1365
+ </optional>
1366
+ <optional>
1367
+ <attribute name="subsequence"/>
1368
+ </optional>
1369
+ <optional>
1370
+ <attribute name="keep-with-next">
1371
+ <data type="boolean"/>
1372
+ </attribute>
1373
+ </optional>
1374
+ <optional>
1375
+ <attribute name="keep-lines-together">
1376
+ <data type="boolean"/>
1377
+ </attribute>
1378
+ </optional>
1379
+ <oneOrMore>
1380
+ <choice>
1381
+ <ref name="paragraph"/>
1382
+ <ref name="ul"/>
1383
+ <ref name="ol"/>
1384
+ <ref name="dl"/>
1385
+ <ref name="formula"/>
1386
+ </choice>
1387
+ </oneOrMore>
1388
+ </element>
1389
+ </define>
1390
+ <define name="termexample">
1391
+ <element name="termexample">
1392
+ <attribute name="id">
1393
+ <data type="ID"/>
1394
+ </attribute>
1395
+ <ref name="paragraph"/>
1396
+ </element>
1397
+ </define>
1398
+ <define name="termsource">
1399
+ <element name="termsource">
1400
+ <attribute name="status">
1401
+ <choice>
1402
+ <value>identical</value>
1403
+ <value>modified</value>
1404
+ </choice>
1405
+ </attribute>
1406
+ <ref name="origin"/>
1407
+ <optional>
1408
+ <ref name="modification"/>
1409
+ </optional>
1410
+ </element>
1411
+ </define>
1412
+ <define name="origin">
1413
+ <element name="origin">
1414
+ <choice>
1415
+ <ref name="erefType"/>
1416
+ <ref name="termref"/>
1417
+ </choice>
1418
+ </element>
1419
+ </define>
1420
+ <define name="modification">
1421
+ <element name="modification">
1422
+ <ref name="paragraph"/>
1423
+ </element>
1424
+ </define>
1425
+ <define name="termref">
1426
+ <element name="termref">
1427
+ <attribute name="base"/>
1428
+ <attribute name="target"/>
1429
+ <optional>
1430
+ <text/>
1431
+ </optional>
1432
+ </element>
1433
+ </define>
1434
+ <define name="structuredidentifier">
1435
+ <element name="structuredidentifier">
1436
+ <optional>
1437
+ <attribute name="type"/>
1438
+ </optional>
1439
+ <oneOrMore>
1440
+ <element name="agency">
1441
+ <text/>
1442
+ </element>
1443
+ </oneOrMore>
1444
+ <optional>
1445
+ <element name="class">
1446
+ <text/>
1447
+ </element>
1448
+ </optional>
1449
+ <element name="docnumber">
1450
+ <text/>
1451
+ </element>
1452
+ <optional>
1453
+ <element name="partnumber">
1454
+ <text/>
1455
+ </element>
1456
+ </optional>
1457
+ <optional>
1458
+ <element name="edition">
1459
+ <text/>
1460
+ </element>
1461
+ </optional>
1462
+ <optional>
1463
+ <element name="version">
1464
+ <text/>
1465
+ </element>
1466
+ </optional>
1467
+ <optional>
1468
+ <element name="supplementtype">
1469
+ <text/>
1470
+ </element>
1471
+ </optional>
1472
+ <optional>
1473
+ <element name="supplementnumber">
1474
+ <text/>
1475
+ </element>
1476
+ </optional>
1477
+ <optional>
1478
+ <element name="language">
1479
+ <text/>
1480
+ </element>
1481
+ </optional>
1482
+ <optional>
1483
+ <element name="year">
1484
+ <text/>
1485
+ </element>
1486
+ </optional>
1487
+ </element>
1488
+ </define>
1489
+ <define name="term-clause">
1490
+ <element name="clause">
1491
+ <optional>
1492
+ <attribute name="id">
1493
+ <data type="ID"/>
1494
+ </attribute>
1495
+ </optional>
1496
+ <optional>
1497
+ <attribute name="language"/>
1498
+ </optional>
1499
+ <optional>
1500
+ <attribute name="script"/>
1501
+ </optional>
1502
+ <optional>
1503
+ <attribute name="inline-header">
1504
+ <data type="boolean"/>
1505
+ </attribute>
1506
+ </optional>
1507
+ <optional>
1508
+ <attribute name="obligation">
1509
+ <choice>
1510
+ <value>normative</value>
1511
+ <value>informative</value>
1512
+ </choice>
1513
+ </attribute>
1514
+ </optional>
1515
+ <optional>
1516
+ <ref name="section-title"/>
1517
+ </optional>
1518
+ <zeroOrMore>
1519
+ <ref name="BasicBlock"/>
1520
+ </zeroOrMore>
1521
+ <zeroOrMore>
1522
+ <ref name="note"/>
1523
+ </zeroOrMore>
1524
+ <zeroOrMore>
1525
+ <choice>
1526
+ <ref name="term-clause"/>
1527
+ <ref name="terms"/>
1528
+ <ref name="definitions"/>
1529
+ </choice>
1530
+ </zeroOrMore>
1531
+ </element>
1532
+ </define>
1533
+ <define name="termdocsource">
1534
+ <element name="termdocsource">
1535
+ <ref name="CitationType"/>
1536
+ </element>
1537
+ </define>
1538
+ <define name="amend">
1539
+ <element name="amend">
1540
+ <optional>
1541
+ <attribute name="id">
1542
+ <data type="ID"/>
1543
+ </attribute>
1544
+ </optional>
1545
+ <attribute name="change">
1546
+ <choice>
1547
+ <value>add</value>
1548
+ <value>modify</value>
1549
+ <value>delete</value>
1550
+ </choice>
1551
+ </attribute>
1552
+ <optional>
1553
+ <attribute name="path"/>
1554
+ </optional>
1555
+ <optional>
1556
+ <attribute name="path_end"/>
1557
+ </optional>
1558
+ <optional>
1559
+ <attribute name="title"/>
1560
+ </optional>
1561
+ <optional>
1562
+ <element name="location">
1563
+ <zeroOrMore>
1564
+ <ref name="locality"/>
1565
+ </zeroOrMore>
1566
+ </element>
1567
+ </optional>
1568
+ <zeroOrMore>
1569
+ <ref name="autonumber"/>
1570
+ </zeroOrMore>
1571
+ <optional>
1572
+ <element name="description">
1573
+ <zeroOrMore>
1574
+ <ref name="BasicBlock"/>
1575
+ </zeroOrMore>
1576
+ </element>
1577
+ </optional>
1578
+ <optional>
1579
+ <element name="newcontent">
1580
+ <zeroOrMore>
1581
+ <ref name="BasicBlock"/>
1582
+ </zeroOrMore>
1583
+ </element>
1584
+ </optional>
1585
+ <optional>
1586
+ <element name="description">
1587
+ <zeroOrMore>
1588
+ <ref name="BasicBlock"/>
1589
+ </zeroOrMore>
1590
+ </element>
1591
+ </optional>
1592
+ </element>
1593
+ </define>
1594
+ <define name="autonumber">
1595
+ <element name="autonumber">
1596
+ <attribute name="type">
1597
+ <choice>
1598
+ <value>requirement</value>
1599
+ <value>recommendation</value>
1600
+ <value>permission</value>
1601
+ <value>table</value>
1602
+ <value>figure</value>
1603
+ <value>admonition</value>
1604
+ <value>formula</value>
1605
+ <value>sourcecode</value>
1606
+ <value>example</value>
1607
+ <value>note</value>
1608
+ </choice>
1609
+ </attribute>
1610
+ <text/>
1611
+ </element>
1612
+ </define>
1613
+ </grammar>