metanorma-ietf 3.0.11 → 3.0.12

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,63 +5,11 @@
5
5
  we cannot have a new default namespace: we will end up with a grammar with two different
6
6
  namespaces, one for isostandard and one for ietf additions. And we do not want that.
7
7
  -->
8
+ <include href="relaton-ietf.rng"/>
8
9
  <include href="isodoc.rng">
9
10
  <start>
10
11
  <ref name="ietf-standard"/>
11
12
  </start>
12
- <define name="DocumentType">
13
- <choice>
14
- <value>rfc</value>
15
- <value>internet-draft</value>
16
- </choice>
17
- </define>
18
- <define name="BibDataExtensionType">
19
- <optional>
20
- <ref name="doctype"/>
21
- </optional>
22
- <optional>
23
- <ref name="docsubtype"/>
24
- </optional>
25
- <zeroOrMore>
26
- <ref name="editorialgroup"/>
27
- </zeroOrMore>
28
- <zeroOrMore>
29
- <ref name="ics"/>
30
- </zeroOrMore>
31
- <zeroOrMore>
32
- <ref name="area"/>
33
- </zeroOrMore>
34
- <optional>
35
- <ref name="ipr"/>
36
- </optional>
37
- <optional>
38
- <ref name="consensus"/>
39
- </optional>
40
- <optional>
41
- <ref name="index-include"/>
42
- </optional>
43
- <optional>
44
- <ref name="ipr-extract"/>
45
- </optional>
46
- <optional>
47
- <ref name="sort-refs"/>
48
- </optional>
49
- <optional>
50
- <ref name="sym-refs"/>
51
- </optional>
52
- <optional>
53
- <ref name="toc-include"/>
54
- </optional>
55
- <optional>
56
- <ref name="toc-depth"/>
57
- </optional>
58
- <optional>
59
- <ref name="show-on-front-page"/>
60
- </optional>
61
- <optional>
62
- <ref name="processing-instructions"/>
63
- </optional>
64
- </define>
65
13
  <define name="ParagraphType">
66
14
  <attribute name="id">
67
15
  <data type="ID"/>
@@ -545,13 +493,6 @@
545
493
  </zeroOrMore>
546
494
  </group>
547
495
  </define>
548
- <define name="editorialgroup">
549
- <element name="editorialgroup">
550
- <zeroOrMore>
551
- <ref name="committee"/>
552
- </zeroOrMore>
553
- </element>
554
- </define>
555
496
  <define name="index">
556
497
  <element name="index">
557
498
  <optional>
@@ -597,260 +538,11 @@
597
538
  <text/>
598
539
  </element>
599
540
  </define>
600
- <define name="committee">
601
- <element name="committee">
602
- <ref name="IsoWorkgroup"/>
603
- </element>
604
- </define>
605
- <define name="area">
606
- <element name="area">
607
- <choice>
608
- <value>art</value>
609
- <value>gen</value>
610
- <value>int</value>
611
- <value>ops</value>
612
- <value>rtg</value>
613
- <value>sec</value>
614
- <value>tsv</value>
615
- <value>Applications and Real-Time</value>
616
- <value>General</value>
617
- <value>Internet</value>
618
- <value>Operations and Management</value>
619
- <value>Routing</value>
620
- <value>Security</value>
621
- <value>Transport</value>
622
- </choice>
623
- </element>
624
- </define>
625
541
  <define name="comment">
626
542
  <element name="comment">
627
543
  <text/>
628
544
  </element>
629
545
  </define>
630
- <define name="ipr">
631
- <element name="ipr">
632
- <text/>
633
- </element>
634
- </define>
635
- <define name="consensus">
636
- <element name="consensus">
637
- <text/>
638
- </element>
639
- </define>
640
- <define name="index-include">
641
- <element name="indexInclude">
642
- <text/>
643
- </element>
644
- </define>
645
- <define name="ipr-extract">
646
- <element name="iprExtract">
647
- <text/>
648
- </element>
649
- </define>
650
- <define name="sort-refs">
651
- <element name="sortRefs">
652
- <text/>
653
- </element>
654
- </define>
655
- <define name="sym-refs">
656
- <element name="symRefs">
657
- <text/>
658
- </element>
659
- </define>
660
- <define name="toc-include">
661
- <element name="tocInclude">
662
- <text/>
663
- </element>
664
- </define>
665
- <define name="toc-depth">
666
- <element name="tocDepth">
667
- <text/>
668
- </element>
669
- </define>
670
- <define name="show-on-front-page">
671
- <element name="showOnFrontPage">
672
- <text/>
673
- </element>
674
- </define>
675
- <define name="processing-instructions">
676
- <element name="pi">
677
- <optional>
678
- <element name="artworkdelimiter">
679
- <text/>
680
- </element>
681
- </optional>
682
- <optional>
683
- <element name="artworklines">
684
- <text/>
685
- </element>
686
- </optional>
687
- <optional>
688
- <element name="authorship">
689
- <text/>
690
- </element>
691
- </optional>
692
- <optional>
693
- <element name="autobreaks">
694
- <text/>
695
- </element>
696
- </optional>
697
- <optional>
698
- <element name="background">
699
- <text/>
700
- </element>
701
- </optional>
702
- <optional>
703
- <element name="colonspace">
704
- <text/>
705
- </element>
706
- </optional>
707
- <optional>
708
- <element name="comments">
709
- <text/>
710
- </element>
711
- </optional>
712
- <optional>
713
- <element name="docmapping">
714
- <text/>
715
- </element>
716
- </optional>
717
- <optional>
718
- <element name="editing">
719
- <text/>
720
- </element>
721
- </optional>
722
- <optional>
723
- <element name="emoticonic">
724
- <text/>
725
- </element>
726
- </optional>
727
- <optional>
728
- <element name="footer">
729
- <text/>
730
- </element>
731
- </optional>
732
- <optional>
733
- <element name="header">
734
- <text/>
735
- </element>
736
- </optional>
737
- <optional>
738
- <element name="inline">
739
- <text/>
740
- </element>
741
- </optional>
742
- <optional>
743
- <element name="iprnotified">
744
- <text/>
745
- </element>
746
- </optional>
747
- <optional>
748
- <element name="linkmailto">
749
- <text/>
750
- </element>
751
- </optional>
752
- <optional>
753
- <element name="linefile">
754
- <text/>
755
- </element>
756
- </optional>
757
- <optional>
758
- <element name="notedraftinprogress">
759
- <text/>
760
- </element>
761
- </optional>
762
- <optional>
763
- <element name="private">
764
- <text/>
765
- </element>
766
- </optional>
767
- <optional>
768
- <element name="refparent">
769
- <text/>
770
- </element>
771
- </optional>
772
- <optional>
773
- <element name="rfcedstyle">
774
- <text/>
775
- </element>
776
- </optional>
777
- <optional>
778
- <element name="slides">
779
- <text/>
780
- </element>
781
- </optional>
782
- <optional>
783
- <element name="text-list-symbols">
784
- <text/>
785
- </element>
786
- </optional>
787
- <optional>
788
- <element name="tocappendix">
789
- <text/>
790
- </element>
791
- </optional>
792
- <optional>
793
- <element name="tocindent">
794
- <text/>
795
- </element>
796
- </optional>
797
- <optional>
798
- <element name="tocnarrow">
799
- <text/>
800
- </element>
801
- </optional>
802
- <optional>
803
- <element name="tocompact">
804
- <text/>
805
- </element>
806
- </optional>
807
- <optional>
808
- <element name="topblock">
809
- <text/>
810
- </element>
811
- </optional>
812
- <optional>
813
- <element name="useobject">
814
- <text/>
815
- </element>
816
- </optional>
817
- <optional>
818
- <element name="strict">
819
- <text/>
820
- </element>
821
- </optional>
822
- <optional>
823
- <element name="compact">
824
- <text/>
825
- </element>
826
- </optional>
827
- <optional>
828
- <element name="subcompact">
829
- <text/>
830
- </element>
831
- </optional>
832
- <optional>
833
- <element name="tocinclude">
834
- <text/>
835
- </element>
836
- </optional>
837
- <optional>
838
- <element name="tocdepth">
839
- <text/>
840
- </element>
841
- </optional>
842
- <optional>
843
- <element name="symrefs">
844
- <text/>
845
- </element>
846
- </optional>
847
- <optional>
848
- <element name="sortrefs">
849
- <text/>
850
- </element>
851
- </optional>
852
- </element>
853
- </define>
854
546
  <define name="erefTypeURI">
855
547
  <optional>
856
548
  <attribute name="normative">
@@ -19,19 +19,7 @@
19
19
  -->
20
20
  <grammar xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
21
21
  <include href="reqt.rng"/>
22
- <!-- include "biblio.rnc" { } -->
23
22
  <include href="basicdoc.rng">
24
- <start>
25
- <ref name="standard-document"/>
26
- </start>
27
- <define name="doctype">
28
- <element name="doctype">
29
- <optional>
30
- <attribute name="abbreviation"/>
31
- </optional>
32
- <ref name="DocumentType"/>
33
- </element>
34
- </define>
35
23
  <define name="admonition">
36
24
  <element name="admonition">
37
25
  <attribute name="type">
@@ -117,24 +105,6 @@
117
105
  </optional>
118
106
  </element>
119
107
  </define>
120
- <define name="bibitem">
121
- <element name="bibitem">
122
- <attribute name="id">
123
- <data type="ID"/>
124
- </attribute>
125
- <optional>
126
- <attribute name="hidden">
127
- <data type="boolean"/>
128
- </attribute>
129
- </optional>
130
- <optional>
131
- <attribute name="suppress_identifier">
132
- <data type="boolean"/>
133
- </attribute>
134
- </optional>
135
- <ref name="BibliographicItem"/>
136
- </element>
137
- </define>
138
108
  <define name="section-title">
139
109
  <element name="title">
140
110
  <zeroOrMore>
@@ -205,6 +175,15 @@
205
175
  <data type="boolean"/>
206
176
  </attribute>
207
177
  </optional>
178
+ <optional>
179
+ <attribute name="style">
180
+ <choice>
181
+ <value>basic</value>
182
+ <value>full</value>
183
+ <value>short</value>
184
+ </choice>
185
+ </attribute>
186
+ </optional>
208
187
  <ref name="XrefBody"/>
209
188
  </element>
210
189
  </define>
@@ -239,42 +218,6 @@
239
218
  <ref name="PureTextElement"/>
240
219
  </oneOrMore>
241
220
  </define>
242
- <define name="localityStack">
243
- <element name="localityStack">
244
- <optional>
245
- <attribute name="connective">
246
- <choice>
247
- <value>and</value>
248
- <value>or</value>
249
- <value>from</value>
250
- <value>to</value>
251
- <value/>
252
- </choice>
253
- </attribute>
254
- </optional>
255
- <zeroOrMore>
256
- <ref name="locality"/>
257
- </zeroOrMore>
258
- </element>
259
- </define>
260
- <define name="sourceLocalityStack">
261
- <element name="sourceLocalityStack">
262
- <optional>
263
- <attribute name="connective">
264
- <choice>
265
- <value>and</value>
266
- <value>or</value>
267
- <value>from</value>
268
- <value>to</value>
269
- <value/>
270
- </choice>
271
- </attribute>
272
- </optional>
273
- <zeroOrMore>
274
- <ref name="sourceLocality"/>
275
- </zeroOrMore>
276
- </element>
277
- </define>
278
221
  <define name="ul">
279
222
  <element name="ul">
280
223
  <attribute name="id">
@@ -818,21 +761,6 @@
818
761
  </zeroOrMore>
819
762
  </element>
820
763
  </define>
821
- <define name="BibDataExtensionType">
822
- <ref name="doctype"/>
823
- <optional>
824
- <ref name="docsubtype"/>
825
- </optional>
826
- <optional>
827
- <ref name="editorialgroup"/>
828
- </optional>
829
- <zeroOrMore>
830
- <ref name="ics"/>
831
- </zeroOrMore>
832
- <zeroOrMore>
833
- <ref name="structuredidentifier"/>
834
- </zeroOrMore>
835
- </define>
836
764
  <!-- TitleType = text -->
837
765
  <define name="sections">
838
766
  <element name="sections">
@@ -872,7 +800,7 @@
872
800
  <ref name="BasicBlock"/>
873
801
  </zeroOrMore>
874
802
  <zeroOrMore>
875
- <ref name="bibitem"/>
803
+ <ref name="doc_bibitem"/>
876
804
  <zeroOrMore>
877
805
  <ref name="note"/>
878
806
  </zeroOrMore>
@@ -1210,6 +1138,24 @@
1210
1138
  </define>
1211
1139
  </include>
1212
1140
  <!-- end overrides -->
1141
+ <define name="doc_bibitem">
1142
+ <element name="bibitem">
1143
+ <attribute name="id">
1144
+ <data type="ID"/>
1145
+ </attribute>
1146
+ <optional>
1147
+ <attribute name="hidden">
1148
+ <data type="boolean"/>
1149
+ </attribute>
1150
+ </optional>
1151
+ <optional>
1152
+ <attribute name="suppress_identifier">
1153
+ <data type="boolean"/>
1154
+ </attribute>
1155
+ </optional>
1156
+ <ref name="BibliographicItem"/>
1157
+ </element>
1158
+ </define>
1213
1159
  <define name="image" combine="choice">
1214
1160
  <element name="svg">
1215
1161
  <oneOrMore>
@@ -1228,14 +1174,6 @@
1228
1174
  <value>tag</value>
1229
1175
  </choice>
1230
1176
  </define>
1231
- <define name="docsubtype">
1232
- <element name="subdoctype">
1233
- <ref name="DocumentSubtype"/>
1234
- </element>
1235
- </define>
1236
- <define name="DocumentSubtype">
1237
- <text/>
1238
- </define>
1239
1177
  <define name="colgroup">
1240
1178
  <element name="colgroup">
1241
1179
  <oneOrMore>
@@ -1597,45 +1535,6 @@
1597
1535
  </choice>
1598
1536
  </element>
1599
1537
  </define>
1600
- <define name="editorialgroup">
1601
- <element name="editorialgroup">
1602
- <oneOrMore>
1603
- <ref name="technical-committee"/>
1604
- </oneOrMore>
1605
- </element>
1606
- </define>
1607
- <define name="technical-committee">
1608
- <element name="technical-committee">
1609
- <ref name="IsoWorkgroup"/>
1610
- </element>
1611
- </define>
1612
- <define name="IsoWorkgroup">
1613
- <optional>
1614
- <attribute name="number"/>
1615
- </optional>
1616
- <optional>
1617
- <attribute name="type"/>
1618
- </optional>
1619
- <optional>
1620
- <attribute name="identifier"/>
1621
- </optional>
1622
- <optional>
1623
- <attribute name="prefix"/>
1624
- </optional>
1625
- <text/>
1626
- </define>
1627
- <define name="ics">
1628
- <element name="ics">
1629
- <element name="code">
1630
- <text/>
1631
- </element>
1632
- <optional>
1633
- <element name="text">
1634
- <text/>
1635
- </element>
1636
- </optional>
1637
- </element>
1638
- </define>
1639
1538
  <define name="standard-document">
1640
1539
  <element name="standard-document">
1641
1540
  <attribute name="version"/>
@@ -2466,71 +2365,6 @@
2466
2365
  </optional>
2467
2366
  </element>
2468
2367
  </define>
2469
- <define name="structuredidentifier">
2470
- <element name="structuredidentifier">
2471
- <optional>
2472
- <attribute name="type"/>
2473
- </optional>
2474
- <oneOrMore>
2475
- <element name="agency">
2476
- <text/>
2477
- </element>
2478
- </oneOrMore>
2479
- <optional>
2480
- <element name="class">
2481
- <text/>
2482
- </element>
2483
- </optional>
2484
- <element name="docnumber">
2485
- <text/>
2486
- </element>
2487
- <optional>
2488
- <element name="partnumber">
2489
- <text/>
2490
- </element>
2491
- </optional>
2492
- <optional>
2493
- <element name="edition">
2494
- <text/>
2495
- </element>
2496
- </optional>
2497
- <optional>
2498
- <element name="version">
2499
- <text/>
2500
- </element>
2501
- </optional>
2502
- <optional>
2503
- <element name="supplementtype">
2504
- <text/>
2505
- </element>
2506
- </optional>
2507
- <optional>
2508
- <element name="supplementnumber">
2509
- <text/>
2510
- </element>
2511
- </optional>
2512
- <optional>
2513
- <element name="amendment">
2514
- <text/>
2515
- </element>
2516
- </optional>
2517
- <optional>
2518
- <element name="corrigendum">
2519
- <text/>
2520
- </element>
2521
- </optional>
2522
- <optional>
2523
- <element name="language">
2524
- <text/>
2525
- </element>
2526
- </optional>
2527
- <optional>
2528
- <element name="year">
2529
- <text/>
2530
- </element>
2531
- </optional>
2532
- </element>
2533
- </define>
2534
2368
  <define name="term-clause">
2535
2369
  <element name="clause">
2536
2370
  <optional>
@@ -2804,4 +2638,7 @@
2804
2638
  </attribute>
2805
2639
  </element>
2806
2640
  </define>
2641
+ <start>
2642
+ <ref name="standard-document"/>
2643
+ </start>
2807
2644
  </grammar>