metanorma-un 0.9.9 → 0.9.11

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,149 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <grammar xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
3
+ <include href="biblio-standoc.rng">
4
+ <define name="DocumentType">
5
+ <choice>
6
+ <value>recommendation</value>
7
+ <value>plenary</value>
8
+ <value>addendum</value>
9
+ <value>communication</value>
10
+ <value>corrigendum</value>
11
+ <value>reissue</value>
12
+ <value>agenda</value>
13
+ <value>budgetary</value>
14
+ <value>sec-gen-notes</value>
15
+ <value>expert-report</value>
16
+ <value>resolution</value>
17
+ </choice>
18
+ </define>
19
+ <define name="editorialgroup">
20
+ <element name="editorialgroup">
21
+ <oneOrMore>
22
+ <ref name="committee"/>
23
+ </oneOrMore>
24
+ </element>
25
+ </define>
26
+ <define name="BibDataExtensionType">
27
+ <optional>
28
+ <attribute name="schema-version"/>
29
+ </optional>
30
+ <optional>
31
+ <ref name="doctype"/>
32
+ </optional>
33
+ <optional>
34
+ <ref name="docsubtype"/>
35
+ </optional>
36
+ <zeroOrMore>
37
+ <ref name="submissionlanguage"/>
38
+ </zeroOrMore>
39
+ <optional>
40
+ <ref name="editorialgroup"/>
41
+ </optional>
42
+ <zeroOrMore>
43
+ <ref name="ics"/>
44
+ </zeroOrMore>
45
+ <optional>
46
+ <ref name="distribution"/>
47
+ </optional>
48
+ <optional>
49
+ <ref name="session"/>
50
+ </optional>
51
+ <optional>
52
+ <ref name="job_number"/>
53
+ </optional>
54
+ </define>
55
+ </include>
56
+ <define name="session">
57
+ <element name="session">
58
+ <optional>
59
+ <ref name="session-number"/>
60
+ </optional>
61
+ <optional>
62
+ <ref name="session-date"/>
63
+ </optional>
64
+ <zeroOrMore>
65
+ <ref name="item-number"/>
66
+ </zeroOrMore>
67
+ <zeroOrMore>
68
+ <ref name="item-name"/>
69
+ </zeroOrMore>
70
+ <zeroOrMore>
71
+ <ref name="subitem-name"/>
72
+ </zeroOrMore>
73
+ <optional>
74
+ <ref name="collaborator"/>
75
+ </optional>
76
+ <optional>
77
+ <ref name="agenda-id"/>
78
+ </optional>
79
+ <optional>
80
+ <ref name="item-footnote"/>
81
+ </optional>
82
+ </element>
83
+ </define>
84
+ <define name="committee">
85
+ <element name="committee">
86
+ <text/>
87
+ </element>
88
+ </define>
89
+ <define name="session-number">
90
+ <element name="number">
91
+ <text/>
92
+ </element>
93
+ </define>
94
+ <define name="session-date">
95
+ <element name="session-date">
96
+ <data type="date"/>
97
+ </element>
98
+ </define>
99
+ <define name="item-number">
100
+ <element name="item-number">
101
+ <text/>
102
+ </element>
103
+ </define>
104
+ <define name="collaborator">
105
+ <element name="collaborator">
106
+ <text/>
107
+ </element>
108
+ </define>
109
+ <define name="agenda-id">
110
+ <element name="agenda-id">
111
+ <text/>
112
+ </element>
113
+ </define>
114
+ <define name="item-name">
115
+ <element name="item-name">
116
+ <text/>
117
+ </element>
118
+ </define>
119
+ <define name="subitem-name">
120
+ <element name="subitem-name">
121
+ <text/>
122
+ </element>
123
+ </define>
124
+ <define name="item-footnote">
125
+ <element name="item-footnote">
126
+ <text/>
127
+ </element>
128
+ </define>
129
+ <define name="submissionlanguage">
130
+ <element name="submissionlanguage">
131
+ <text/>
132
+ </element>
133
+ </define>
134
+ <define name="distribution">
135
+ <element name="distribution">
136
+ <choice>
137
+ <value>general</value>
138
+ <value>limited</value>
139
+ <value>restricted</value>
140
+ <value>provisional</value>
141
+ </choice>
142
+ </element>
143
+ </define>
144
+ <define name="job_number">
145
+ <element name="job_number">
146
+ <text/>
147
+ </element>
148
+ </define>
149
+ </grammar>
@@ -5,6 +5,7 @@
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-un.rng"/>
8
9
  <include href="isodoc.rng">
9
10
  <start>
10
11
  <ref name="un-standard"/>
@@ -81,28 +82,6 @@
81
82
  </zeroOrMore>
82
83
  </element>
83
84
  </define>
84
- <define name="DocumentType">
85
- <choice>
86
- <value>recommendation</value>
87
- <value>plenary</value>
88
- <value>addendum</value>
89
- <value>communication</value>
90
- <value>corrigendum</value>
91
- <value>reissue</value>
92
- <value>agenda</value>
93
- <value>budgetary</value>
94
- <value>sec-gen-notes</value>
95
- <value>expert-report</value>
96
- <value>resolution</value>
97
- </choice>
98
- </define>
99
- <define name="editorialgroup">
100
- <element name="editorialgroup">
101
- <oneOrMore>
102
- <ref name="committee"/>
103
- </oneOrMore>
104
- </element>
105
- </define>
106
85
  <define name="sections">
107
86
  <element name="sections">
108
87
  <oneOrMore>
@@ -113,32 +92,6 @@
113
92
  </oneOrMore>
114
93
  </element>
115
94
  </define>
116
- <define name="BibDataExtensionType">
117
- <optional>
118
- <ref name="doctype"/>
119
- </optional>
120
- <optional>
121
- <ref name="docsubtype"/>
122
- </optional>
123
- <zeroOrMore>
124
- <ref name="submissionlanguage"/>
125
- </zeroOrMore>
126
- <optional>
127
- <ref name="editorialgroup"/>
128
- </optional>
129
- <zeroOrMore>
130
- <ref name="ics"/>
131
- </zeroOrMore>
132
- <optional>
133
- <ref name="distribution"/>
134
- </optional>
135
- <optional>
136
- <ref name="session"/>
137
- </optional>
138
- <optional>
139
- <ref name="job_number"/>
140
- </optional>
141
- </define>
142
95
  <define name="preface">
143
96
  <element name="preface">
144
97
  <optional>
@@ -253,99 +206,6 @@
253
206
  </group>
254
207
  </define>
255
208
  </include>
256
- <define name="session">
257
- <element name="session">
258
- <optional>
259
- <ref name="session-number"/>
260
- </optional>
261
- <optional>
262
- <ref name="session-date"/>
263
- </optional>
264
- <zeroOrMore>
265
- <ref name="item-number"/>
266
- </zeroOrMore>
267
- <zeroOrMore>
268
- <ref name="item-name"/>
269
- </zeroOrMore>
270
- <zeroOrMore>
271
- <ref name="subitem-name"/>
272
- </zeroOrMore>
273
- <optional>
274
- <ref name="collaborator"/>
275
- </optional>
276
- <optional>
277
- <ref name="agenda-id"/>
278
- </optional>
279
- <optional>
280
- <ref name="item-footnote"/>
281
- </optional>
282
- </element>
283
- </define>
284
- <define name="committee">
285
- <element name="committee">
286
- <text/>
287
- </element>
288
- </define>
289
- <define name="session-number">
290
- <element name="number">
291
- <text/>
292
- </element>
293
- </define>
294
- <define name="session-date">
295
- <element name="session-date">
296
- <data type="date"/>
297
- </element>
298
- </define>
299
- <define name="item-number">
300
- <element name="item-number">
301
- <text/>
302
- </element>
303
- </define>
304
- <define name="collaborator">
305
- <element name="collaborator">
306
- <text/>
307
- </element>
308
- </define>
309
- <define name="agenda-id">
310
- <element name="agenda-id">
311
- <text/>
312
- </element>
313
- </define>
314
- <define name="item-name">
315
- <element name="item-name">
316
- <text/>
317
- </element>
318
- </define>
319
- <define name="subitem-name">
320
- <element name="subitem-name">
321
- <text/>
322
- </element>
323
- </define>
324
- <define name="item-footnote">
325
- <element name="item-footnote">
326
- <text/>
327
- </element>
328
- </define>
329
- <define name="submissionlanguage">
330
- <element name="submissionlanguage">
331
- <text/>
332
- </element>
333
- </define>
334
- <define name="distribution">
335
- <element name="distribution">
336
- <choice>
337
- <value>general</value>
338
- <value>limited</value>
339
- <value>restricted</value>
340
- <value>provisional</value>
341
- </choice>
342
- </element>
343
- </define>
344
- <define name="job_number">
345
- <element name="job_number">
346
- <text/>
347
- </element>
348
- </define>
349
209
  <define name="un-standard">
350
210
  <element name="un-standard">
351
211
  <attribute name="version"/>
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module UN
3
- VERSION = "0.9.9".freeze
3
+ VERSION = "0.9.11".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-un
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.9
4
+ version: 0.9.11
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-09-26 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
@@ -216,6 +216,7 @@ executables: []
216
216
  extensions: []
217
217
  extra_rdoc_files: []
218
218
  files:
219
+ - ".github/workflows/automerge.yml"
219
220
  - ".github/workflows/rake.yml"
220
221
  - ".github/workflows/release.yml"
221
222
  - ".gitignore"
@@ -262,12 +263,14 @@ files:
262
263
  - lib/metanorma/un.rb
263
264
  - lib/metanorma/un/UN_emblem_blue.svg
264
265
  - lib/metanorma/un/basicdoc.rng
266
+ - lib/metanorma/un/biblio-standoc.rng
265
267
  - lib/metanorma/un/biblio.rng
266
268
  - lib/metanorma/un/boilerplate.xml
267
269
  - lib/metanorma/un/converter.rb
268
270
  - lib/metanorma/un/input.rb
269
271
  - lib/metanorma/un/isodoc.rng
270
272
  - lib/metanorma/un/processor.rb
273
+ - lib/metanorma/un/relaton-un.rng
271
274
  - lib/metanorma/un/reqt.rng
272
275
  - lib/metanorma/un/un.rng
273
276
  - lib/metanorma/un/validate.rb