metanorma-ogc 2.2.4 → 2.2.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -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>
@@ -248,42 +218,6 @@
248
218
  <ref name="PureTextElement"/>
249
219
  </oneOrMore>
250
220
  </define>
251
- <define name="localityStack">
252
- <element name="localityStack">
253
- <optional>
254
- <attribute name="connective">
255
- <choice>
256
- <value>and</value>
257
- <value>or</value>
258
- <value>from</value>
259
- <value>to</value>
260
- <value/>
261
- </choice>
262
- </attribute>
263
- </optional>
264
- <zeroOrMore>
265
- <ref name="locality"/>
266
- </zeroOrMore>
267
- </element>
268
- </define>
269
- <define name="sourceLocalityStack">
270
- <element name="sourceLocalityStack">
271
- <optional>
272
- <attribute name="connective">
273
- <choice>
274
- <value>and</value>
275
- <value>or</value>
276
- <value>from</value>
277
- <value>to</value>
278
- <value/>
279
- </choice>
280
- </attribute>
281
- </optional>
282
- <zeroOrMore>
283
- <ref name="sourceLocality"/>
284
- </zeroOrMore>
285
- </element>
286
- </define>
287
221
  <define name="ul">
288
222
  <element name="ul">
289
223
  <attribute name="id">
@@ -827,21 +761,6 @@
827
761
  </zeroOrMore>
828
762
  </element>
829
763
  </define>
830
- <define name="BibDataExtensionType">
831
- <ref name="doctype"/>
832
- <optional>
833
- <ref name="docsubtype"/>
834
- </optional>
835
- <optional>
836
- <ref name="editorialgroup"/>
837
- </optional>
838
- <zeroOrMore>
839
- <ref name="ics"/>
840
- </zeroOrMore>
841
- <zeroOrMore>
842
- <ref name="structuredidentifier"/>
843
- </zeroOrMore>
844
- </define>
845
764
  <!-- TitleType = text -->
846
765
  <define name="sections">
847
766
  <element name="sections">
@@ -881,7 +800,7 @@
881
800
  <ref name="BasicBlock"/>
882
801
  </zeroOrMore>
883
802
  <zeroOrMore>
884
- <ref name="bibitem"/>
803
+ <ref name="doc_bibitem"/>
885
804
  <zeroOrMore>
886
805
  <ref name="note"/>
887
806
  </zeroOrMore>
@@ -1219,6 +1138,24 @@
1219
1138
  </define>
1220
1139
  </include>
1221
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>
1222
1159
  <define name="image" combine="choice">
1223
1160
  <element name="svg">
1224
1161
  <oneOrMore>
@@ -1237,14 +1174,6 @@
1237
1174
  <value>tag</value>
1238
1175
  </choice>
1239
1176
  </define>
1240
- <define name="docsubtype">
1241
- <element name="subdoctype">
1242
- <ref name="DocumentSubtype"/>
1243
- </element>
1244
- </define>
1245
- <define name="DocumentSubtype">
1246
- <text/>
1247
- </define>
1248
1177
  <define name="colgroup">
1249
1178
  <element name="colgroup">
1250
1179
  <oneOrMore>
@@ -1606,45 +1535,6 @@
1606
1535
  </choice>
1607
1536
  </element>
1608
1537
  </define>
1609
- <define name="editorialgroup">
1610
- <element name="editorialgroup">
1611
- <oneOrMore>
1612
- <ref name="technical-committee"/>
1613
- </oneOrMore>
1614
- </element>
1615
- </define>
1616
- <define name="technical-committee">
1617
- <element name="technical-committee">
1618
- <ref name="IsoWorkgroup"/>
1619
- </element>
1620
- </define>
1621
- <define name="IsoWorkgroup">
1622
- <optional>
1623
- <attribute name="number"/>
1624
- </optional>
1625
- <optional>
1626
- <attribute name="type"/>
1627
- </optional>
1628
- <optional>
1629
- <attribute name="identifier"/>
1630
- </optional>
1631
- <optional>
1632
- <attribute name="prefix"/>
1633
- </optional>
1634
- <text/>
1635
- </define>
1636
- <define name="ics">
1637
- <element name="ics">
1638
- <element name="code">
1639
- <text/>
1640
- </element>
1641
- <optional>
1642
- <element name="text">
1643
- <text/>
1644
- </element>
1645
- </optional>
1646
- </element>
1647
- </define>
1648
1538
  <define name="standard-document">
1649
1539
  <element name="standard-document">
1650
1540
  <attribute name="version"/>
@@ -2475,71 +2365,6 @@
2475
2365
  </optional>
2476
2366
  </element>
2477
2367
  </define>
2478
- <define name="structuredidentifier">
2479
- <element name="structuredidentifier">
2480
- <optional>
2481
- <attribute name="type"/>
2482
- </optional>
2483
- <oneOrMore>
2484
- <element name="agency">
2485
- <text/>
2486
- </element>
2487
- </oneOrMore>
2488
- <optional>
2489
- <element name="class">
2490
- <text/>
2491
- </element>
2492
- </optional>
2493
- <element name="docnumber">
2494
- <text/>
2495
- </element>
2496
- <optional>
2497
- <element name="partnumber">
2498
- <text/>
2499
- </element>
2500
- </optional>
2501
- <optional>
2502
- <element name="edition">
2503
- <text/>
2504
- </element>
2505
- </optional>
2506
- <optional>
2507
- <element name="version">
2508
- <text/>
2509
- </element>
2510
- </optional>
2511
- <optional>
2512
- <element name="supplementtype">
2513
- <text/>
2514
- </element>
2515
- </optional>
2516
- <optional>
2517
- <element name="supplementnumber">
2518
- <text/>
2519
- </element>
2520
- </optional>
2521
- <optional>
2522
- <element name="amendment">
2523
- <text/>
2524
- </element>
2525
- </optional>
2526
- <optional>
2527
- <element name="corrigendum">
2528
- <text/>
2529
- </element>
2530
- </optional>
2531
- <optional>
2532
- <element name="language">
2533
- <text/>
2534
- </element>
2535
- </optional>
2536
- <optional>
2537
- <element name="year">
2538
- <text/>
2539
- </element>
2540
- </optional>
2541
- </element>
2542
- </define>
2543
2368
  <define name="term-clause">
2544
2369
  <element name="clause">
2545
2370
  <optional>
@@ -2813,4 +2638,7 @@
2813
2638
  </attribute>
2814
2639
  </element>
2815
2640
  </define>
2641
+ <start>
2642
+ <ref name="standard-document"/>
2643
+ </start>
2816
2644
  </grammar>
@@ -5,52 +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 csand additions. And we do not want that.
7
7
  -->
8
+ <include href="relaton-ogc.rng"/>
8
9
  <include href="isodoc.rng">
9
10
  <start>
10
11
  <ref name="ogc-standard"/>
11
12
  </start>
12
- <define name="DocumentType">
13
- <choice>
14
- <value>abstract-specification-topic</value>
15
- <value>best-practice</value>
16
- <value>change-request-supporting-document</value>
17
- <value>community-practice</value>
18
- <value>community-standard</value>
19
- <value>discussion-paper</value>
20
- <value>engineering-report</value>
21
- <value>other</value>
22
- <value>policy</value>
23
- <value>reference-model</value>
24
- <value>release-notes</value>
25
- <value>standard</value>
26
- <value>user-guide</value>
27
- <value>white-paper</value>
28
- <value>test-suite</value>
29
- </choice>
30
- </define>
31
- <define name="editorialgroup">
32
- <element name="editorialgroup">
33
- <ref name="committee"/>
34
- <optional>
35
- <ref name="subcommittee"/>
36
- </optional>
37
- <optional>
38
- <ref name="workgroup"/>
39
- </optional>
40
- </element>
41
- </define>
42
- <define name="BibDataExtensionType">
43
- <optional>
44
- <ref name="doctype"/>
45
- </optional>
46
- <optional>
47
- <ref name="docsubtype"/>
48
- </optional>
49
- <ref name="editorialgroup"/>
50
- <zeroOrMore>
51
- <ref name="ics"/>
52
- </zeroOrMore>
53
- </define>
54
13
  <define name="preface">
55
14
  <element name="preface">
56
15
  <optional>
@@ -62,19 +21,6 @@
62
21
  </optional>
63
22
  </element>
64
23
  </define>
65
- <define name="DocumentSubtype">
66
- <choice>
67
- <value>conceptual-model</value>
68
- <value>conceptual-model-and-encoding</value>
69
- <value>conceptual-model-and-implementation</value>
70
- <value>encoding</value>
71
- <value>extension</value>
72
- <value>implementation</value>
73
- <value>profile</value>
74
- <value>profile-with-extension</value>
75
- <value>general</value>
76
- </choice>
77
- </define>
78
24
  </include>
79
25
  <define name="TextElement" combine="choice">
80
26
  <ref name="hi"/>
@@ -97,25 +43,6 @@
97
43
  <ref name="Basic-Section"/>
98
44
  </element>
99
45
  </define>
100
- <define name="committee">
101
- <element name="committee">
102
- <choice>
103
- <value>technical</value>
104
- <value>planning</value>
105
- <value>strategic-member-advisory</value>
106
- </choice>
107
- </element>
108
- </define>
109
- <define name="subcommittee">
110
- <element name="subcommittee">
111
- <ref name="IsoWorkgroup"/>
112
- </element>
113
- </define>
114
- <define name="workgroup">
115
- <element name="workgroup">
116
- <ref name="IsoWorkgroup"/>
117
- </element>
118
- </define>
119
46
  <define name="ogc-standard">
120
47
  <element name="ogc-standard">
121
48
  <attribute name="version"/>
@@ -0,0 +1,82 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <grammar xmlns="http://relaxng.org/ns/structure/1.0">
3
+ <include href="biblio-standoc.rng">
4
+ <define name="DocumentType">
5
+ <choice>
6
+ <value>abstract-specification-topic</value>
7
+ <value>best-practice</value>
8
+ <value>change-request-supporting-document</value>
9
+ <value>community-practice</value>
10
+ <value>community-standard</value>
11
+ <value>discussion-paper</value>
12
+ <value>engineering-report</value>
13
+ <value>other</value>
14
+ <value>policy</value>
15
+ <value>reference-model</value>
16
+ <value>release-notes</value>
17
+ <value>standard</value>
18
+ <value>user-guide</value>
19
+ <value>white-paper</value>
20
+ <value>test-suite</value>
21
+ </choice>
22
+ </define>
23
+ <define name="DocumentSubtype">
24
+ <choice>
25
+ <value>conceptual-model</value>
26
+ <value>conceptual-model-and-encoding</value>
27
+ <value>conceptual-model-and-implementation</value>
28
+ <value>encoding</value>
29
+ <value>extension</value>
30
+ <value>implementation</value>
31
+ <value>profile</value>
32
+ <value>profile-with-extension</value>
33
+ <value>general</value>
34
+ </choice>
35
+ </define>
36
+ <define name="editorialgroup">
37
+ <element name="editorialgroup">
38
+ <ref name="committee"/>
39
+ <optional>
40
+ <ref name="subcommittee"/>
41
+ </optional>
42
+ <optional>
43
+ <ref name="workgroup"/>
44
+ </optional>
45
+ </element>
46
+ </define>
47
+ <define name="BibDataExtensionType">
48
+ <optional>
49
+ <attribute name="schema-version"/>
50
+ </optional>
51
+ <optional>
52
+ <ref name="doctype"/>
53
+ </optional>
54
+ <optional>
55
+ <ref name="docsubtype"/>
56
+ </optional>
57
+ <ref name="editorialgroup"/>
58
+ <zeroOrMore>
59
+ <ref name="ics"/>
60
+ </zeroOrMore>
61
+ </define>
62
+ </include>
63
+ <define name="committee">
64
+ <element name="committee">
65
+ <choice>
66
+ <value>technical</value>
67
+ <value>planning</value>
68
+ <value>strategic-member-advisory</value>
69
+ </choice>
70
+ </element>
71
+ </define>
72
+ <define name="subcommittee">
73
+ <element name="subcommittee">
74
+ <ref name="IsoWorkgroup"/>
75
+ </element>
76
+ </define>
77
+ <define name="workgroup">
78
+ <element name="workgroup">
79
+ <ref name="IsoWorkgroup"/>
80
+ </element>
81
+ </define>
82
+ </grammar>
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module Ogc
3
- VERSION = "2.2.4".freeze
3
+ VERSION = "2.2.5".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-ogc
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.4
4
+ version: 2.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-10-10 00:00:00.000000000 Z
11
+ date: 2022-10-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: iso-639
@@ -215,6 +215,7 @@ executables: []
215
215
  extensions: []
216
216
  extra_rdoc_files: []
217
217
  files:
218
+ - ".github/workflows/automerge.yml"
218
219
  - ".github/workflows/rake.yml"
219
220
  - ".github/workflows/release.yml"
220
221
  - ".gitignore"
@@ -282,6 +283,7 @@ files:
282
283
  - lib/metanorma-ogc.rb
283
284
  - lib/metanorma/ogc.rb
284
285
  - lib/metanorma/ogc/basicdoc.rng
286
+ - lib/metanorma/ogc/biblio-standoc.rng
285
287
  - lib/metanorma/ogc/biblio.rng
286
288
  - lib/metanorma/ogc/boilerplate.xml
287
289
  - lib/metanorma/ogc/cleanup.rb
@@ -290,6 +292,7 @@ files:
290
292
  - lib/metanorma/ogc/isodoc.rng
291
293
  - lib/metanorma/ogc/ogc.rng
292
294
  - lib/metanorma/ogc/processor.rb
295
+ - lib/metanorma/ogc/relaton-ogc.rng
293
296
  - lib/metanorma/ogc/reqt.rng
294
297
  - lib/metanorma/ogc/validate.rb
295
298
  - lib/metanorma/ogc/version.rb