relaton-bsi 1.10.2 → 1.11.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a455d39d99bff5ba8111956c2a78e23942f2ddcea1564906893e48476c9df05a
4
- data.tar.gz: 7683d9c821719219691ffc94a1efbf5e78dbaee90c5f1b80b5c599550ee866ea
3
+ metadata.gz: 3111f0bbfe4aae50b70dbe3b55e5b3b8111eded6d6e808ced57dc1cec958115b
4
+ data.tar.gz: 4b78d3666be1b4a5c765d18617112fe11735ab3e6323d26d8e96936e73c0ef65
5
5
  SHA512:
6
- metadata.gz: 300aa35dcfb971e668f3ae89f49b3d541d1df3e26a26d2b6f97baf85091119c1423823ab9b73148ed7a08a2f8338ed35a1be8bf13bc0e1c85121adbc53705193
7
- data.tar.gz: 73ec2e9227b2ec625ff32bc25ae3beeafa43c6c363514a01e656232f9bfd0953a6e2e7afafe88de6da3730e181ce172289cab9df70e8daff8dce00c44942f889
6
+ metadata.gz: f99e7b8408752f33397540fd8b4094505af023a47090ea737a80d4c723146eb97b0858c7bec74677a05a0824168bdfd4151c0e05985905907e2f85367d6b880b
7
+ data.tar.gz: c14c76eaca4b46d77af4876d085d694118c19ea7226d40c8d171bd44bdb66f9295e98815e3af29876ce1a4ae4c3042a2715697102721402d49e2b096a422ccf4
data/grammars/biblio.rng CHANGED
@@ -677,6 +677,9 @@
677
677
  <zeroOrMore>
678
678
  <ref name="extent"/>
679
679
  </zeroOrMore>
680
+ <optional>
681
+ <ref name="bibliographic_size"/>
682
+ </optional>
680
683
  <zeroOrMore>
681
684
  <ref name="accesslocation"/>
682
685
  </zeroOrMore>
@@ -922,9 +925,29 @@
922
925
  <text/>
923
926
  </element>
924
927
  </define>
928
+ <define name="sizevalue">
929
+ <element name="value">
930
+ <attribute name="type"/>
931
+ <text/>
932
+ </element>
933
+ </define>
934
+ <define name="bibliographic_size">
935
+ <element name="size">
936
+ <oneOrMore>
937
+ <ref name="sizevalue"/>
938
+ </oneOrMore>
939
+ </element>
940
+ </define>
925
941
  <define name="extent">
926
942
  <element name="extent">
927
- <ref name="BibItemLocality"/>
943
+ <choice>
944
+ <zeroOrMore>
945
+ <ref name="locality"/>
946
+ </zeroOrMore>
947
+ <zeroOrMore>
948
+ <ref name="localityStack"/>
949
+ </zeroOrMore>
950
+ </choice>
928
951
  </element>
929
952
  </define>
930
953
  <define name="series">
data/grammars/bsi.rng CHANGED
@@ -226,14 +226,14 @@
226
226
  <optional>
227
227
  <choice>
228
228
  <ref name="floating-title"/>
229
- <ref name="section-title"/>
229
+ <ref name="floating-section-title"/>
230
230
  </choice>
231
231
  </optional>
232
232
  <ref name="clause"/>
233
233
  <optional>
234
234
  <choice>
235
235
  <ref name="floating-title"/>
236
- <ref name="section-title"/>
236
+ <ref name="floating-section-title"/>
237
237
  </choice>
238
238
  </optional>
239
239
  <optional>
@@ -245,7 +245,7 @@
245
245
  <optional>
246
246
  <choice>
247
247
  <ref name="floating-title"/>
248
- <ref name="section-title"/>
248
+ <ref name="floating-section-title"/>
249
249
  </choice>
250
250
  </optional>
251
251
  <optional>
@@ -254,7 +254,7 @@
254
254
  <optional>
255
255
  <choice>
256
256
  <ref name="floating-title"/>
257
- <ref name="section-title"/>
257
+ <ref name="floating-section-title"/>
258
258
  </choice>
259
259
  </optional>
260
260
  <oneOrMore>
@@ -263,13 +263,26 @@
263
263
  <ref name="term-clause"/>
264
264
  <ref name="terms"/>
265
265
  <ref name="floating-title"/>
266
- <ref name="section-title"/>
266
+ <ref name="floating-section-title"/>
267
267
  </choice>
268
268
  </oneOrMore>
269
269
  </element>
270
270
  </define>
271
271
  </include>
272
272
  <!-- end overrides -->
273
+ <define name="floating-section-title">
274
+ <element name="section-title">
275
+ <attribute name="id">
276
+ <data type="ID"/>
277
+ </attribute>
278
+ <attribute name="depth">
279
+ <data type="int"/>
280
+ </attribute>
281
+ <zeroOrMore>
282
+ <ref name="TextElement"/>
283
+ </zeroOrMore>
284
+ </element>
285
+ </define>
273
286
  <define name="AdmonitionType" combine="choice">
274
287
  <value>commentary</value>
275
288
  </define>
@@ -316,17 +329,4 @@
316
329
  </zeroOrMore>
317
330
  </element>
318
331
  </define>
319
- <!-- <define name="section-title">
320
- <element name="section-title">
321
- <attribute name="id">
322
- <data type="ID"/>
323
- </attribute>
324
- <attribute name="depth">
325
- <data type="int"/>
326
- </attribute>
327
- <zeroOrMore>
328
- <ref name="TextElement"/>
329
- </zeroOrMore>
330
- </element>
331
- </define> -->
332
332
  </grammar>
data/grammars/isodoc.rng CHANGED
@@ -152,9 +152,7 @@
152
152
  <data type="boolean"/>
153
153
  </attribute>
154
154
  </optional>
155
- <oneOrMore>
156
- <ref name="PureTextElement"/>
157
- </oneOrMore>
155
+ <ref name="XrefBody"/>
158
156
  </element>
159
157
  </define>
160
158
  <define name="erefType">
@@ -188,6 +186,42 @@
188
186
  <ref name="PureTextElement"/>
189
187
  </oneOrMore>
190
188
  </define>
189
+ <define name="localityStack">
190
+ <element name="localityStack">
191
+ <optional>
192
+ <attribute name="connective">
193
+ <choice>
194
+ <value>and</value>
195
+ <value>or</value>
196
+ <value>from</value>
197
+ <value>to</value>
198
+ <value/>
199
+ </choice>
200
+ </attribute>
201
+ </optional>
202
+ <zeroOrMore>
203
+ <ref name="locality"/>
204
+ </zeroOrMore>
205
+ </element>
206
+ </define>
207
+ <define name="sourceLocalityStack">
208
+ <element name="sourceLocalityStack">
209
+ <optional>
210
+ <attribute name="connective">
211
+ <choice>
212
+ <value>and</value>
213
+ <value>or</value>
214
+ <value>from</value>
215
+ <value>to</value>
216
+ <value/>
217
+ </choice>
218
+ </attribute>
219
+ </optional>
220
+ <zeroOrMore>
221
+ <ref name="sourceLocality"/>
222
+ </zeroOrMore>
223
+ </element>
224
+ </define>
191
225
  <define name="ul">
192
226
  <element name="ul">
193
227
  <attribute name="id">
@@ -1098,6 +1132,16 @@
1098
1132
  </define>
1099
1133
  </include>
1100
1134
  <!-- end overrides -->
1135
+ <define name="image" combine="choice">
1136
+ <element name="svg">
1137
+ <oneOrMore>
1138
+ <choice>
1139
+ <text/>
1140
+ <ref name="AnyElement"/>
1141
+ </choice>
1142
+ </oneOrMore>
1143
+ </element>
1144
+ </define>
1101
1145
  <define name="MultilingualRenderingType">
1102
1146
  <choice>
1103
1147
  <value>common</value>
@@ -2631,4 +2675,30 @@
2631
2675
  </zeroOrMore>
2632
2676
  </element>
2633
2677
  </define>
2678
+ <define name="XrefBody">
2679
+ <zeroOrMore>
2680
+ <ref name="XrefTarget"/>
2681
+ </zeroOrMore>
2682
+ <oneOrMore>
2683
+ <ref name="PureTextElement"/>
2684
+ </oneOrMore>
2685
+ </define>
2686
+ <define name="XrefTarget">
2687
+ <element name="location">
2688
+ <attribute name="target">
2689
+ <data type="string">
2690
+ <param name="pattern">\i\c*|\c+#\c+</param>
2691
+ </data>
2692
+ </attribute>
2693
+ <attribute name="connective">
2694
+ <choice>
2695
+ <value>and</value>
2696
+ <value>or</value>
2697
+ <value>from</value>
2698
+ <value>to</value>
2699
+ <value/>
2700
+ </choice>
2701
+ </attribute>
2702
+ </element>
2703
+ </define>
2634
2704
  </grammar>
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RelatonBsi
4
- VERSION = "1.10.2"
4
+ VERSION = "1.11.0"
5
5
  end
data/relaton_bsi.gemspec CHANGED
@@ -40,5 +40,5 @@ Gem::Specification.new do |spec|
40
40
  spec.add_dependency "graphql", "1.13.6"
41
41
  spec.add_dependency "graphql-client", "~> 0.16.0"
42
42
  # spec.add_dependency "mechanize", "~> 2.8.0"
43
- spec.add_dependency "relaton-iso-bib", "~> 1.10.1"
43
+ spec.add_dependency "relaton-iso-bib", "~> 1.11.0"
44
44
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relaton-bsi
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.10.2
4
+ version: 1.11.0
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-02-21 00:00:00.000000000 Z
11
+ date: 2022-04-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: equivalent-xml
@@ -142,14 +142,14 @@ dependencies:
142
142
  requirements:
143
143
  - - "~>"
144
144
  - !ruby/object:Gem::Version
145
- version: 1.10.1
145
+ version: 1.11.0
146
146
  type: :runtime
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
150
  - - "~>"
151
151
  - !ruby/object:Gem::Version
152
- version: 1.10.1
152
+ version: 1.11.0
153
153
  description: 'RelatonBsi: retrieve BSI Standards for bibliographic use using the BibliographicItem
154
154
  model'
155
155
  email: