relaton-gb 1.8.0 → 1.10.1

Sign up to get free protection for your applications and to get access to all the features.
data/grammars/isodoc.rng CHANGED
@@ -17,7 +17,7 @@
17
17
  these elements; we just want one namespace for any child grammars
18
18
  of this.
19
19
  -->
20
- <grammar xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
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
22
  <!-- include "biblio.rnc" { } -->
23
23
  <include href="basicdoc.rng">
@@ -32,6 +32,68 @@
32
32
  <ref name="DocumentType"/>
33
33
  </element>
34
34
  </define>
35
+ <define name="index">
36
+ <element name="index">
37
+ <optional>
38
+ <attribute name="to">
39
+ <data type="IDREF"/>
40
+ </attribute>
41
+ </optional>
42
+ <element name="primary">
43
+ <oneOrMore>
44
+ <choice>
45
+ <ref name="PureTextElement"/>
46
+ <ref name="stem"/>
47
+ </choice>
48
+ </oneOrMore>
49
+ </element>
50
+ <optional>
51
+ <element name="secondary">
52
+ <oneOrMore>
53
+ <choice>
54
+ <ref name="PureTextElement"/>
55
+ <ref name="stem"/>
56
+ </choice>
57
+ </oneOrMore>
58
+ </element>
59
+ </optional>
60
+ <optional>
61
+ <element name="tertiary">
62
+ <oneOrMore>
63
+ <choice>
64
+ <ref name="PureTextElement"/>
65
+ <ref name="stem"/>
66
+ </choice>
67
+ </oneOrMore>
68
+ </element>
69
+ </optional>
70
+ </element>
71
+ </define>
72
+ <define name="bibitem">
73
+ <element name="bibitem">
74
+ <attribute name="id">
75
+ <data type="ID"/>
76
+ </attribute>
77
+ <optional>
78
+ <attribute name="hidden">
79
+ <data type="boolean"/>
80
+ </attribute>
81
+ </optional>
82
+ <ref name="BibliographicItem"/>
83
+ </element>
84
+ </define>
85
+ <define name="section-title">
86
+ <element name="title">
87
+ <zeroOrMore>
88
+ <ref name="TextElement"/>
89
+ </zeroOrMore>
90
+ </element>
91
+ <zeroOrMore>
92
+ <element name="variant-title">
93
+ <ref name="TypedTitleString"/>
94
+ </element>
95
+ </zeroOrMore>
96
+ </define>
35
97
  <define name="hyperlink">
36
98
  <element name="link">
37
99
  <attribute name="target">
@@ -45,7 +107,14 @@
45
107
  <optional>
46
108
  <attribute name="alt"/>
47
109
  </optional>
48
- <text/>
110
+ <optional>
111
+ <attribute name="update-type">
112
+ <data type="boolean"/>
113
+ </attribute>
114
+ </optional>
115
+ <oneOrMore>
116
+ <ref name="PureTextElement"/>
117
+ </oneOrMore>
49
118
  </element>
50
119
  </define>
51
120
  <define name="xref">
@@ -83,7 +152,9 @@
83
152
  <data type="boolean"/>
84
153
  </attribute>
85
154
  </optional>
86
- <text/>
155
+ <oneOrMore>
156
+ <ref name="PureTextElement"/>
157
+ </oneOrMore>
87
158
  </element>
88
159
  </define>
89
160
  <define name="erefType">
@@ -113,7 +184,9 @@
113
184
  </attribute>
114
185
  </optional>
115
186
  <ref name="CitationType"/>
116
- <text/>
187
+ <oneOrMore>
188
+ <ref name="PureTextElement"/>
189
+ </oneOrMore>
117
190
  </define>
118
191
  <define name="ul">
119
192
  <element name="ul">
@@ -130,6 +203,14 @@
130
203
  <data type="boolean"/>
131
204
  </attribute>
132
205
  </optional>
206
+ <optional>
207
+ <attribute name="tag"/>
208
+ </optional>
209
+ <optional>
210
+ <attribute name="multilingual-rendering">
211
+ <ref name="MultilingualRenderingType"/>
212
+ </attribute>
213
+ </optional>
133
214
  <oneOrMore>
134
215
  <ref name="ul_li"/>
135
216
  </oneOrMore>
@@ -153,15 +234,25 @@
153
234
  <data type="boolean"/>
154
235
  </attribute>
155
236
  </optional>
156
- <attribute name="type">
157
- <choice>
158
- <value>roman</value>
159
- <value>alphabet</value>
160
- <value>arabic</value>
161
- <value>roman_upper</value>
162
- <value>alphabet_upper</value>
163
- </choice>
164
- </attribute>
237
+ <optional>
238
+ <attribute name="tag"/>
239
+ </optional>
240
+ <optional>
241
+ <attribute name="multilingual-rendering">
242
+ <ref name="MultilingualRenderingType"/>
243
+ </attribute>
244
+ </optional>
245
+ <optional>
246
+ <attribute name="type">
247
+ <choice>
248
+ <value>roman</value>
249
+ <value>alphabet</value>
250
+ <value>arabic</value>
251
+ <value>roman_upper</value>
252
+ <value>alphabet_upper</value>
253
+ </choice>
254
+ </attribute>
255
+ </optional>
165
256
  <oneOrMore>
166
257
  <ref name="li"/>
167
258
  </oneOrMore>
@@ -190,6 +281,14 @@
190
281
  <data type="boolean"/>
191
282
  </attribute>
192
283
  </optional>
284
+ <optional>
285
+ <attribute name="tag"/>
286
+ </optional>
287
+ <optional>
288
+ <attribute name="multilingual-rendering">
289
+ <ref name="MultilingualRenderingType"/>
290
+ </attribute>
291
+ </optional>
193
292
  <oneOrMore>
194
293
  <ref name="dt"/>
195
294
  <ref name="dd"/>
@@ -199,6 +298,18 @@
199
298
  </zeroOrMore>
200
299
  </element>
201
300
  </define>
301
+ <define name="dt">
302
+ <element name="dt">
303
+ <optional>
304
+ <attribute name="id">
305
+ <data type="ID"/>
306
+ </attribute>
307
+ </optional>
308
+ <zeroOrMore>
309
+ <ref name="TextElement"/>
310
+ </zeroOrMore>
311
+ </element>
312
+ </define>
202
313
  <define name="example">
203
314
  <element name="example">
204
315
  <attribute name="id">
@@ -225,6 +336,14 @@
225
336
  <data type="boolean"/>
226
337
  </attribute>
227
338
  </optional>
339
+ <optional>
340
+ <attribute name="tag"/>
341
+ </optional>
342
+ <optional>
343
+ <attribute name="multilingual-rendering">
344
+ <ref name="MultilingualRenderingType"/>
345
+ </attribute>
346
+ </optional>
228
347
  <optional>
229
348
  <ref name="tname"/>
230
349
  </optional>
@@ -285,6 +404,14 @@
285
404
  <optional>
286
405
  <attribute name="width"/>
287
406
  </optional>
407
+ <optional>
408
+ <attribute name="tag"/>
409
+ </optional>
410
+ <optional>
411
+ <attribute name="multilingual-rendering">
412
+ <ref name="MultilingualRenderingType"/>
413
+ </attribute>
414
+ </optional>
288
415
  <optional>
289
416
  <ref name="colgroup"/>
290
417
  </optional>
@@ -335,6 +462,14 @@
335
462
  <optional>
336
463
  <attribute name="class"/>
337
464
  </optional>
465
+ <optional>
466
+ <attribute name="tag"/>
467
+ </optional>
468
+ <optional>
469
+ <attribute name="multilingual-rendering">
470
+ <ref name="MultilingualRenderingType"/>
471
+ </attribute>
472
+ </optional>
338
473
  <optional>
339
474
  <ref name="source"/>
340
475
  </optional>
@@ -393,6 +528,14 @@
393
528
  <optional>
394
529
  <attribute name="lang"/>
395
530
  </optional>
531
+ <optional>
532
+ <attribute name="tag"/>
533
+ </optional>
534
+ <optional>
535
+ <attribute name="multilingual-rendering">
536
+ <ref name="MultilingualRenderingType"/>
537
+ </attribute>
538
+ </optional>
396
539
  <optional>
397
540
  <ref name="tname"/>
398
541
  </optional>
@@ -441,6 +584,14 @@
441
584
  <data type="boolean"/>
442
585
  </attribute>
443
586
  </optional>
587
+ <optional>
588
+ <attribute name="tag"/>
589
+ </optional>
590
+ <optional>
591
+ <attribute name="multilingual-rendering">
592
+ <ref name="MultilingualRenderingType"/>
593
+ </attribute>
594
+ </optional>
444
595
  <ref name="stem"/>
445
596
  <optional>
446
597
  <ref name="dl"/>
@@ -469,6 +620,14 @@
469
620
  <data type="boolean"/>
470
621
  </attribute>
471
622
  </optional>
623
+ <optional>
624
+ <attribute name="tag"/>
625
+ </optional>
626
+ <optional>
627
+ <attribute name="multilingual-rendering">
628
+ <ref name="MultilingualRenderingType"/>
629
+ </attribute>
630
+ </optional>
472
631
  <zeroOrMore>
473
632
  <ref name="TextElement"/>
474
633
  </zeroOrMore>
@@ -496,6 +655,14 @@
496
655
  <data type="boolean"/>
497
656
  </attribute>
498
657
  </optional>
658
+ <optional>
659
+ <attribute name="tag"/>
660
+ </optional>
661
+ <optional>
662
+ <attribute name="multilingual-rendering">
663
+ <ref name="MultilingualRenderingType"/>
664
+ </attribute>
665
+ </optional>
499
666
  <zeroOrMore>
500
667
  <choice>
501
668
  <ref name="TextElement"/>
@@ -527,6 +694,14 @@
527
694
  <data type="boolean"/>
528
695
  </attribute>
529
696
  </optional>
697
+ <optional>
698
+ <attribute name="tag"/>
699
+ </optional>
700
+ <optional>
701
+ <attribute name="multilingual-rendering">
702
+ <ref name="MultilingualRenderingType"/>
703
+ </attribute>
704
+ </optional>
530
705
  <optional>
531
706
  <ref name="quote-source"/>
532
707
  </optional>
@@ -543,6 +718,9 @@
543
718
  </define>
544
719
  <define name="BibDataExtensionType">
545
720
  <ref name="doctype"/>
721
+ <optional>
722
+ <ref name="docsubtype"/>
723
+ </optional>
546
724
  <optional>
547
725
  <ref name="editorialgroup"/>
548
726
  </optional>
@@ -562,6 +740,7 @@
562
740
  <ref name="terms"/>
563
741
  <ref name="term-clause"/>
564
742
  <ref name="definitions"/>
743
+ <ref name="floating-title"/>
565
744
  </choice>
566
745
  </oneOrMore>
567
746
  </element>
@@ -590,9 +769,6 @@
590
769
  <zeroOrMore>
591
770
  <ref name="BasicBlock"/>
592
771
  </zeroOrMore>
593
- <zeroOrMore>
594
- <ref name="note"/>
595
- </zeroOrMore>
596
772
  <zeroOrMore>
597
773
  <ref name="bibitem"/>
598
774
  <zeroOrMore>
@@ -633,6 +809,14 @@
633
809
  <optional>
634
810
  <attribute name="type"/>
635
811
  </optional>
812
+ <optional>
813
+ <attribute name="tag"/>
814
+ </optional>
815
+ <optional>
816
+ <attribute name="multilingual-rendering">
817
+ <ref name="MultilingualRenderingType"/>
818
+ </attribute>
819
+ </optional>
636
820
  <oneOrMore>
637
821
  <choice>
638
822
  <ref name="paragraph"/>
@@ -669,14 +853,9 @@
669
853
  <optional>
670
854
  <ref name="section-title"/>
671
855
  </optional>
672
- <group>
673
- <oneOrMore>
674
- <ref name="BasicBlock"/>
675
- </oneOrMore>
676
- <zeroOrMore>
677
- <ref name="note"/>
678
- </zeroOrMore>
679
- </group>
856
+ <oneOrMore>
857
+ <ref name="BasicBlock"/>
858
+ </oneOrMore>
680
859
  </define>
681
860
  <define name="li">
682
861
  <element name="li">
@@ -811,6 +990,9 @@
811
990
  <ref name="PureTextElement"/>
812
991
  <ref name="stem"/>
813
992
  <ref name="index"/>
993
+ <ref name="eref"/>
994
+ <ref name="xref"/>
995
+ <ref name="hyperlink"/>
814
996
  </choice>
815
997
  </zeroOrMore>
816
998
  </element>
@@ -822,6 +1004,9 @@
822
1004
  <ref name="PureTextElement"/>
823
1005
  <ref name="stem"/>
824
1006
  <ref name="index"/>
1007
+ <ref name="eref"/>
1008
+ <ref name="xref"/>
1009
+ <ref name="hyperlink"/>
825
1010
  </choice>
826
1011
  </zeroOrMore>
827
1012
  </element>
@@ -832,6 +1017,9 @@
832
1017
  <choice>
833
1018
  <ref name="PureTextElement"/>
834
1019
  <ref name="index"/>
1020
+ <ref name="eref"/>
1021
+ <ref name="xref"/>
1022
+ <ref name="hyperlink"/>
835
1023
  </choice>
836
1024
  </zeroOrMore>
837
1025
  </element>
@@ -876,6 +1064,26 @@
876
1064
  </zeroOrMore>
877
1065
  </element>
878
1066
  </define>
1067
+ <define name="sub">
1068
+ <element name="sub">
1069
+ <zeroOrMore>
1070
+ <choice>
1071
+ <ref name="PureTextElement"/>
1072
+ <ref name="stem"/>
1073
+ </choice>
1074
+ </zeroOrMore>
1075
+ </element>
1076
+ </define>
1077
+ <define name="sup">
1078
+ <element name="sup">
1079
+ <zeroOrMore>
1080
+ <choice>
1081
+ <ref name="PureTextElement"/>
1082
+ <ref name="stem"/>
1083
+ </choice>
1084
+ </zeroOrMore>
1085
+ </element>
1086
+ </define>
879
1087
  <define name="pagebreak">
880
1088
  <element name="pagebreak">
881
1089
  <optional>
@@ -890,6 +1098,22 @@
890
1098
  </define>
891
1099
  </include>
892
1100
  <!-- end overrides -->
1101
+ <define name="MultilingualRenderingType">
1102
+ <choice>
1103
+ <value>common</value>
1104
+ <value>all-columns</value>
1105
+ <value>parallel</value>
1106
+ <value>tag</value>
1107
+ </choice>
1108
+ </define>
1109
+ <define name="docsubtype">
1110
+ <element name="subdoctype">
1111
+ <ref name="DocumentSubtype"/>
1112
+ </element>
1113
+ </define>
1114
+ <define name="DocumentSubtype">
1115
+ <text/>
1116
+ </define>
893
1117
  <define name="colgroup">
894
1118
  <element name="colgroup">
895
1119
  <oneOrMore>
@@ -939,7 +1163,44 @@
939
1163
  <define name="concept">
940
1164
  <element name="concept">
941
1165
  <optional>
942
- <attribute name="term"/>
1166
+ <attribute name="ital">
1167
+ <data type="boolean"/>
1168
+ </attribute>
1169
+ </optional>
1170
+ <optional>
1171
+ <attribute name="ref">
1172
+ <data type="boolean"/>
1173
+ </attribute>
1174
+ </optional>
1175
+ <optional>
1176
+ <attribute name="linkmention">
1177
+ <data type="boolean"/>
1178
+ </attribute>
1179
+ </optional>
1180
+ <optional>
1181
+ <attribute name="linkref">
1182
+ <data type="boolean"/>
1183
+ </attribute>
1184
+ </optional>
1185
+ <optional>
1186
+ <element name="refterm">
1187
+ <zeroOrMore>
1188
+ <choice>
1189
+ <ref name="PureTextElement"/>
1190
+ <ref name="stem"/>
1191
+ </choice>
1192
+ </zeroOrMore>
1193
+ </element>
1194
+ </optional>
1195
+ <optional>
1196
+ <element name="renderterm">
1197
+ <zeroOrMore>
1198
+ <choice>
1199
+ <ref name="PureTextElement"/>
1200
+ <ref name="stem"/>
1201
+ </choice>
1202
+ </zeroOrMore>
1203
+ </element>
943
1204
  </optional>
944
1205
  <choice>
945
1206
  <ref name="eref"/>
@@ -956,8 +1217,23 @@
956
1217
  <ref name="imagemap"/>
957
1218
  <ref name="svgmap"/>
958
1219
  <ref name="inputform"/>
1220
+ <ref name="toc"/>
1221
+ <ref name="passthrough"/>
959
1222
  </choice>
960
1223
  </define>
1224
+ <define name="toc">
1225
+ <element name="toc">
1226
+ <ref name="ul"/>
1227
+ </element>
1228
+ </define>
1229
+ <define name="passthrough">
1230
+ <element name="passthrough">
1231
+ <optional>
1232
+ <attribute name="formats"/>
1233
+ </optional>
1234
+ <text/>
1235
+ </element>
1236
+ </define>
961
1237
  <define name="inputform">
962
1238
  <element name="form">
963
1239
  <attribute name="id">
@@ -965,6 +1241,17 @@
965
1241
  </attribute>
966
1242
  <attribute name="name"/>
967
1243
  <attribute name="action"/>
1244
+ <optional>
1245
+ <attribute name="class"/>
1246
+ </optional>
1247
+ <optional>
1248
+ <attribute name="tag"/>
1249
+ </optional>
1250
+ <optional>
1251
+ <attribute name="multilingual-rendering">
1252
+ <ref name="MultilingualRenderingType"/>
1253
+ </attribute>
1254
+ </optional>
968
1255
  <zeroOrMore>
969
1256
  <choice>
970
1257
  <ref name="TextElement"/>
@@ -1164,9 +1451,6 @@
1164
1451
  <zeroOrMore>
1165
1452
  <ref name="BasicBlock"/>
1166
1453
  </zeroOrMore>
1167
- <zeroOrMore>
1168
- <ref name="note"/>
1169
- </zeroOrMore>
1170
1454
  <choice>
1171
1455
  <oneOrMore>
1172
1456
  <ref name="reference-clause"/>
@@ -1191,13 +1475,17 @@
1191
1475
  </define>
1192
1476
  <define name="IsoWorkgroup">
1193
1477
  <optional>
1194
- <attribute name="number">
1195
- <data type="int"/>
1196
- </attribute>
1478
+ <attribute name="number"/>
1197
1479
  </optional>
1198
1480
  <optional>
1199
1481
  <attribute name="type"/>
1200
1482
  </optional>
1483
+ <optional>
1484
+ <attribute name="identifier"/>
1485
+ </optional>
1486
+ <optional>
1487
+ <attribute name="prefix"/>
1488
+ </optional>
1201
1489
  <text/>
1202
1490
  </define>
1203
1491
  <define name="ics">
@@ -1345,9 +1633,6 @@
1345
1633
  <zeroOrMore>
1346
1634
  <ref name="BasicBlock"/>
1347
1635
  </zeroOrMore>
1348
- <zeroOrMore>
1349
- <ref name="note"/>
1350
- </zeroOrMore>
1351
1636
  <ref name="dl"/>
1352
1637
  </oneOrMore>
1353
1638
  </element>
@@ -1407,14 +1692,9 @@
1407
1692
  <ref name="section-title"/>
1408
1693
  </optional>
1409
1694
  <group>
1410
- <group>
1411
- <zeroOrMore>
1412
- <ref name="BasicBlock"/>
1413
- </zeroOrMore>
1414
- <zeroOrMore>
1415
- <ref name="note"/>
1416
- </zeroOrMore>
1417
- </group>
1695
+ <zeroOrMore>
1696
+ <ref name="BasicBlock"/>
1697
+ </zeroOrMore>
1418
1698
  <zeroOrMore>
1419
1699
  <ref name="content-subsection"/>
1420
1700
  </zeroOrMore>
@@ -1459,26 +1739,22 @@
1459
1739
  <optional>
1460
1740
  <ref name="section-title"/>
1461
1741
  </optional>
1462
- <group>
1742
+ <choice>
1463
1743
  <choice>
1464
- <group>
1465
- <zeroOrMore>
1466
- <ref name="BasicBlock"/>
1467
- </zeroOrMore>
1468
- <zeroOrMore>
1469
- <ref name="note"/>
1470
- </zeroOrMore>
1471
- </group>
1744
+ <oneOrMore>
1745
+ <ref name="BasicBlock"/>
1746
+ </oneOrMore>
1472
1747
  <ref name="amend"/>
1473
1748
  </choice>
1474
- <zeroOrMore>
1749
+ <oneOrMore>
1475
1750
  <choice>
1476
1751
  <ref name="clause-subsection"/>
1477
1752
  <ref name="terms"/>
1478
1753
  <ref name="definitions"/>
1754
+ <ref name="floating-title"/>
1479
1755
  </choice>
1480
- </zeroOrMore>
1481
- </group>
1756
+ </oneOrMore>
1757
+ </choice>
1482
1758
  </define>
1483
1759
  <define name="Annex-Section">
1484
1760
  <optional>
@@ -1509,20 +1785,16 @@
1509
1785
  <ref name="section-title"/>
1510
1786
  </optional>
1511
1787
  <group>
1512
- <group>
1513
- <zeroOrMore>
1514
- <ref name="BasicBlock"/>
1515
- </zeroOrMore>
1516
- <zeroOrMore>
1517
- <ref name="note"/>
1518
- </zeroOrMore>
1519
- </group>
1788
+ <zeroOrMore>
1789
+ <ref name="BasicBlock"/>
1790
+ </zeroOrMore>
1520
1791
  <zeroOrMore>
1521
1792
  <choice>
1522
1793
  <ref name="annex-subsection"/>
1523
1794
  <ref name="terms"/>
1524
1795
  <ref name="definitions"/>
1525
1796
  <ref name="references"/>
1797
+ <ref name="floating-title"/>
1526
1798
  </choice>
1527
1799
  </zeroOrMore>
1528
1800
  </group>
@@ -1575,9 +1847,6 @@
1575
1847
  <zeroOrMore>
1576
1848
  <ref name="BasicBlock"/>
1577
1849
  </zeroOrMore>
1578
- <zeroOrMore>
1579
- <ref name="note"/>
1580
- </zeroOrMore>
1581
1850
  <choice>
1582
1851
  <oneOrMore>
1583
1852
  <ref name="term"/>
@@ -1600,6 +1869,20 @@
1600
1869
  <data type="ID"/>
1601
1870
  </attribute>
1602
1871
  </optional>
1872
+ <optional>
1873
+ <attribute name="language"/>
1874
+ </optional>
1875
+ <optional>
1876
+ <attribute name="script"/>
1877
+ </optional>
1878
+ <optional>
1879
+ <attribute name="tag"/>
1880
+ </optional>
1881
+ <optional>
1882
+ <attribute name="multilingual-rendering">
1883
+ <ref name="MultilingualRenderingType"/>
1884
+ </attribute>
1885
+ </optional>
1603
1886
  <oneOrMore>
1604
1887
  <ref name="preferred"/>
1605
1888
  </oneOrMore>
@@ -1607,18 +1890,20 @@
1607
1890
  <ref name="admitted"/>
1608
1891
  </zeroOrMore>
1609
1892
  <zeroOrMore>
1610
- <ref name="related"/>
1893
+ <ref name="deprecates"/>
1611
1894
  </zeroOrMore>
1612
1895
  <zeroOrMore>
1613
- <ref name="deprecates"/>
1896
+ <ref name="related"/>
1614
1897
  </zeroOrMore>
1615
1898
  <optional>
1616
1899
  <ref name="termdomain"/>
1617
1900
  </optional>
1618
- <zeroOrMore>
1619
- <ref name="termgrammar"/>
1620
- </zeroOrMore>
1621
- <ref name="definition"/>
1901
+ <optional>
1902
+ <ref name="termsubject"/>
1903
+ </optional>
1904
+ <oneOrMore>
1905
+ <ref name="termdefinition"/>
1906
+ </oneOrMore>
1622
1907
  <zeroOrMore>
1623
1908
  <ref name="termnote"/>
1624
1909
  </zeroOrMore>
@@ -1632,41 +1917,236 @@
1632
1917
  </define>
1633
1918
  <define name="preferred">
1634
1919
  <element name="preferred">
1635
- <oneOrMore>
1636
- <ref name="TextElement"/>
1637
- </oneOrMore>
1920
+ <ref name="Designation"/>
1638
1921
  </element>
1639
1922
  </define>
1640
1923
  <define name="admitted">
1641
1924
  <element name="admitted">
1642
- <oneOrMore>
1643
- <ref name="TextElement"/>
1644
- </oneOrMore>
1925
+ <ref name="Designation"/>
1645
1926
  </element>
1646
1927
  </define>
1647
1928
  <define name="related">
1648
1929
  <element name="related">
1930
+ <attribute name="type">
1931
+ <ref name="RelatedTermType"/>
1932
+ </attribute>
1933
+ <element name="preferred">
1934
+ <ref name="Designation"/>
1935
+ </element>
1936
+ <choice>
1937
+ <ref name="eref"/>
1938
+ <ref name="xref"/>
1939
+ <ref name="termref"/>
1940
+ </choice>
1941
+ </element>
1942
+ </define>
1943
+ <define name="RelatedTermType">
1944
+ <choice>
1945
+ <value>deprecates</value>
1946
+ <value>supersedes</value>
1947
+ <value>narrower</value>
1948
+ <value>broader</value>
1949
+ <value>equivalent</value>
1950
+ <value>compare</value>
1951
+ <value>contrast</value>
1952
+ <value>see</value>
1953
+ </choice>
1954
+ </define>
1955
+ <define name="deprecates">
1956
+ <element name="deprecates">
1957
+ <ref name="Designation"/>
1958
+ </element>
1959
+ </define>
1960
+ <define name="Designation">
1961
+ <optional>
1962
+ <attribute name="absent">
1963
+ <data type="boolean"/>
1964
+ </attribute>
1965
+ </optional>
1966
+ <optional>
1967
+ <attribute name="geographic-area"/>
1968
+ </optional>
1969
+ <choice>
1970
+ <ref name="expression_designation"/>
1971
+ <ref name="letter_symbol_designation"/>
1972
+ <ref name="graphical_symbol_designation"/>
1973
+ </choice>
1974
+ <optional>
1975
+ <ref name="fieldofapplication"/>
1976
+ </optional>
1977
+ <optional>
1978
+ <ref name="usageinfo"/>
1979
+ </optional>
1980
+ <zeroOrMore>
1981
+ <ref name="termsource"/>
1982
+ </zeroOrMore>
1983
+ </define>
1984
+ <define name="fieldofapplication">
1985
+ <element name="field-of-application">
1986
+ <oneOrMore>
1987
+ <ref name="PureTextElement"/>
1988
+ </oneOrMore>
1989
+ </element>
1990
+ </define>
1991
+ <define name="usageinfo">
1992
+ <element name="usage-info">
1993
+ <oneOrMore>
1994
+ <ref name="PureTextElement"/>
1995
+ </oneOrMore>
1996
+ </element>
1997
+ </define>
1998
+ <define name="letter_symbol_designation">
1999
+ <element name="letter-symbol">
1649
2000
  <optional>
1650
- <attribute name="type">
2001
+ <attribute name="isInternational">
2002
+ <data type="boolean"/>
2003
+ </attribute>
2004
+ </optional>
2005
+ <element name="name">
2006
+ <oneOrMore>
1651
2007
  <choice>
1652
- <value>compare</value>
1653
- <value>contrast</value>
1654
- <value>see</value>
2008
+ <ref name="PureTextElement"/>
2009
+ <ref name="stem"/>
1655
2010
  </choice>
2011
+ </oneOrMore>
2012
+ </element>
2013
+ </element>
2014
+ </define>
2015
+ <define name="graphical_symbol_designation">
2016
+ <element name="graphical-symbol">
2017
+ <optional>
2018
+ <attribute name="isInternational">
2019
+ <data type="boolean"/>
1656
2020
  </attribute>
1657
2021
  </optional>
1658
- <oneOrMore>
1659
- <ref name="TextElement"/>
1660
- </oneOrMore>
2022
+ <ref name="figure"/>
1661
2023
  </element>
1662
2024
  </define>
1663
- <define name="deprecates">
1664
- <element name="deprecates">
1665
- <oneOrMore>
1666
- <ref name="TextElement"/>
1667
- </oneOrMore>
2025
+ <define name="expression_designation">
2026
+ <element name="expression">
2027
+ <optional>
2028
+ <attribute name="language">
2029
+ <a:documentation>ISO-639</a:documentation>
2030
+ </attribute>
2031
+ </optional>
2032
+ <optional>
2033
+ <attribute name="script">
2034
+ <a:documentation>ISO-15924</a:documentation>
2035
+ </attribute>
2036
+ </optional>
2037
+ <optional>
2038
+ <attribute name="type">
2039
+ <ref name="ExpressionDesignationType"/>
2040
+ </attribute>
2041
+ </optional>
2042
+ <optional>
2043
+ <attribute name="isInternational">
2044
+ <data type="boolean"/>
2045
+ </attribute>
2046
+ </optional>
2047
+ <element name="name">
2048
+ <zeroOrMore>
2049
+ <choice>
2050
+ <ref name="PureTextElement"/>
2051
+ <ref name="stem"/>
2052
+ <ref name="index"/>
2053
+ </choice>
2054
+ </zeroOrMore>
2055
+ </element>
2056
+ <optional>
2057
+ <element name="abbreviation-type">
2058
+ <ref name="AbbreviationType"/>
2059
+ </element>
2060
+ </optional>
2061
+ <optional>
2062
+ <element name="pronunciation">
2063
+ <ref name="LocalizedString"/>
2064
+ </element>
2065
+ </optional>
2066
+ <optional>
2067
+ <element name="grammar">
2068
+ <ref name="Grammar"/>
2069
+ </element>
2070
+ </optional>
1668
2071
  </element>
1669
2072
  </define>
2073
+ <define name="ExpressionDesignationType">
2074
+ <choice>
2075
+ <value>prefix</value>
2076
+ <value>suffix</value>
2077
+ <value>abbreviation</value>
2078
+ <value>full</value>
2079
+ </choice>
2080
+ </define>
2081
+ <define name="AbbreviationType">
2082
+ <choice>
2083
+ <value>truncation</value>
2084
+ <value>acronym</value>
2085
+ <value>initialism</value>
2086
+ </choice>
2087
+ </define>
2088
+ <define name="Grammar">
2089
+ <zeroOrMore>
2090
+ <element name="gender">
2091
+ <ref name="GrammarGender"/>
2092
+ </element>
2093
+ </zeroOrMore>
2094
+ <zeroOrMore>
2095
+ <element name="number">
2096
+ <ref name="GrammarNumber"/>
2097
+ </element>
2098
+ </zeroOrMore>
2099
+ <optional>
2100
+ <element name="isPreposition">
2101
+ <data type="boolean"/>
2102
+ </element>
2103
+ </optional>
2104
+ <optional>
2105
+ <element name="isParticiple">
2106
+ <data type="boolean"/>
2107
+ </element>
2108
+ </optional>
2109
+ <optional>
2110
+ <element name="isAdjective">
2111
+ <data type="boolean"/>
2112
+ </element>
2113
+ </optional>
2114
+ <optional>
2115
+ <element name="isVerb">
2116
+ <data type="boolean"/>
2117
+ </element>
2118
+ </optional>
2119
+ <optional>
2120
+ <element name="isAdverb">
2121
+ <data type="boolean"/>
2122
+ </element>
2123
+ </optional>
2124
+ <optional>
2125
+ <element name="isNoun">
2126
+ <data type="boolean"/>
2127
+ </element>
2128
+ </optional>
2129
+ <zeroOrMore>
2130
+ <element name="grammar-value">
2131
+ <text/>
2132
+ </element>
2133
+ </zeroOrMore>
2134
+ </define>
2135
+ <define name="GrammarGender">
2136
+ <choice>
2137
+ <value>masculine</value>
2138
+ <value>feminine</value>
2139
+ <value>neuter</value>
2140
+ <value>common</value>
2141
+ </choice>
2142
+ </define>
2143
+ <define name="GrammarNumber">
2144
+ <choice>
2145
+ <value>singular</value>
2146
+ <value>dual</value>
2147
+ <value>plural</value>
2148
+ </choice>
2149
+ </define>
1670
2150
  <define name="termdomain">
1671
2151
  <element name="domain">
1672
2152
  <oneOrMore>
@@ -1674,22 +2154,55 @@
1674
2154
  </oneOrMore>
1675
2155
  </element>
1676
2156
  </define>
1677
- <define name="termgrammar">
1678
- <element name="grammar">
2157
+ <define name="termsubject">
2158
+ <element name="subject">
1679
2159
  <oneOrMore>
1680
2160
  <ref name="TextElement"/>
1681
2161
  </oneOrMore>
1682
2162
  </element>
1683
2163
  </define>
1684
- <define name="definition">
2164
+ <define name="termdefinition">
1685
2165
  <element name="definition">
2166
+ <choice>
2167
+ <ref name="verbaldefinition"/>
2168
+ <ref name="nonverbalrep"/>
2169
+ <group>
2170
+ <ref name="verbaldefinition"/>
2171
+ <ref name="nonverbalrep"/>
2172
+ </group>
2173
+ </choice>
2174
+ </element>
2175
+ </define>
2176
+ <define name="verbaldefinition">
2177
+ <element name="verbal-definition">
1686
2178
  <oneOrMore>
1687
2179
  <choice>
1688
2180
  <ref name="paragraph"/>
2181
+ <ref name="dl"/>
2182
+ <ref name="ol"/>
2183
+ <ref name="ul"/>
2184
+ <ref name="table"/>
2185
+ <ref name="figure"/>
2186
+ <ref name="formula"/>
2187
+ </choice>
2188
+ </oneOrMore>
2189
+ <zeroOrMore>
2190
+ <ref name="termsource"/>
2191
+ </zeroOrMore>
2192
+ </element>
2193
+ </define>
2194
+ <define name="nonverbalrep">
2195
+ <element name="non-verbal-representation">
2196
+ <oneOrMore>
2197
+ <choice>
2198
+ <ref name="table"/>
1689
2199
  <ref name="figure"/>
1690
2200
  <ref name="formula"/>
1691
2201
  </choice>
1692
2202
  </oneOrMore>
2203
+ <zeroOrMore>
2204
+ <ref name="termsource"/>
2205
+ </zeroOrMore>
1693
2206
  </element>
1694
2207
  </define>
1695
2208
  <define name="termnote">
@@ -1718,6 +2231,14 @@
1718
2231
  <data type="boolean"/>
1719
2232
  </attribute>
1720
2233
  </optional>
2234
+ <optional>
2235
+ <attribute name="tag"/>
2236
+ </optional>
2237
+ <optional>
2238
+ <attribute name="multilingual-rendering">
2239
+ <ref name="MultilingualRenderingType"/>
2240
+ </attribute>
2241
+ </optional>
1721
2242
  <oneOrMore>
1722
2243
  <choice>
1723
2244
  <ref name="paragraph"/>
@@ -1734,7 +2255,36 @@
1734
2255
  <attribute name="id">
1735
2256
  <data type="ID"/>
1736
2257
  </attribute>
1737
- <ref name="paragraph"/>
2258
+ <optional>
2259
+ <attribute name="keep-with-next">
2260
+ <data type="boolean"/>
2261
+ </attribute>
2262
+ </optional>
2263
+ <optional>
2264
+ <attribute name="keep-lines-together">
2265
+ <data type="boolean"/>
2266
+ </attribute>
2267
+ </optional>
2268
+ <optional>
2269
+ <attribute name="tag"/>
2270
+ </optional>
2271
+ <optional>
2272
+ <attribute name="multilingual-rendering">
2273
+ <ref name="MultilingualRenderingType"/>
2274
+ </attribute>
2275
+ </optional>
2276
+ <oneOrMore>
2277
+ <choice>
2278
+ <ref name="formula"/>
2279
+ <ref name="ul"/>
2280
+ <ref name="ol"/>
2281
+ <ref name="dl"/>
2282
+ <ref name="quote"/>
2283
+ <ref name="sourcecode"/>
2284
+ <ref name="paragraph"/>
2285
+ <ref name="figure"/>
2286
+ </choice>
2287
+ </oneOrMore>
1738
2288
  </element>
1739
2289
  </define>
1740
2290
  <define name="termsource">
@@ -1745,6 +2295,12 @@
1745
2295
  <value>modified</value>
1746
2296
  </choice>
1747
2297
  </attribute>
2298
+ <attribute name="type">
2299
+ <choice>
2300
+ <value>authoritative</value>
2301
+ <value>lineage</value>
2302
+ </choice>
2303
+ </attribute>
1748
2304
  <ref name="origin"/>
1749
2305
  <optional>
1750
2306
  <ref name="modification"/>
@@ -1860,9 +2416,6 @@
1860
2416
  <zeroOrMore>
1861
2417
  <ref name="BasicBlock"/>
1862
2418
  </zeroOrMore>
1863
- <zeroOrMore>
1864
- <ref name="note"/>
1865
- </zeroOrMore>
1866
2419
  <zeroOrMore>
1867
2420
  <choice>
1868
2421
  <ref name="term-clause"/>
@@ -1901,6 +2454,14 @@
1901
2454
  <optional>
1902
2455
  <attribute name="title"/>
1903
2456
  </optional>
2457
+ <optional>
2458
+ <attribute name="tag"/>
2459
+ </optional>
2460
+ <optional>
2461
+ <attribute name="multilingual-rendering">
2462
+ <ref name="MultilingualRenderingType"/>
2463
+ </attribute>
2464
+ </optional>
1904
2465
  <optional>
1905
2466
  <element name="location">
1906
2467
  <zeroOrMore>
@@ -1960,6 +2521,14 @@
1960
2521
  </define>
1961
2522
  <define name="imagemap">
1962
2523
  <element name="imagemap">
2524
+ <optional>
2525
+ <attribute name="tag"/>
2526
+ </optional>
2527
+ <optional>
2528
+ <attribute name="multilingual-rendering">
2529
+ <ref name="MultilingualRenderingType"/>
2530
+ </attribute>
2531
+ </optional>
1963
2532
  <ref name="figure"/>
1964
2533
  <zeroOrMore>
1965
2534
  <element name="area">
@@ -2004,6 +2573,14 @@
2004
2573
  </define>
2005
2574
  <define name="svgmap">
2006
2575
  <element name="svgmap">
2576
+ <optional>
2577
+ <attribute name="tag"/>
2578
+ </optional>
2579
+ <optional>
2580
+ <attribute name="multilingual-rendering">
2581
+ <ref name="MultilingualRenderingType"/>
2582
+ </attribute>
2583
+ </optional>
2007
2584
  <ref name="figure"/>
2008
2585
  <zeroOrMore>
2009
2586
  <element name="target">
@@ -2041,4 +2618,17 @@
2041
2618
  </oneOrMore>
2042
2619
  </element>
2043
2620
  </define>
2621
+ <define name="floating-title">
2622
+ <element name="floating-title">
2623
+ <attribute name="id">
2624
+ <data type="ID"/>
2625
+ </attribute>
2626
+ <attribute name="depth">
2627
+ <data type="int"/>
2628
+ </attribute>
2629
+ <zeroOrMore>
2630
+ <ref name="TextElement"/>
2631
+ </zeroOrMore>
2632
+ </element>
2633
+ </define>
2044
2634
  </grammar>