relaton-ietf 1.12.9 → 1.13.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: 7fcc6282898f946176c5c567b46a82bb1b872499f960131a196f6f1588001990
4
- data.tar.gz: d9162d9946a6d15ccb14747d02997c3a6f80301e71a45d97bdf0eba8bb4c5a7e
3
+ metadata.gz: f0ba1d2bd6ef268191965baa72e038c60c672253b27f3c3f762bf98d082c409a
4
+ data.tar.gz: ea2cfda5f612cda75fc138776368d53f505e93f3952bb784d40afa7c811296a2
5
5
  SHA512:
6
- metadata.gz: 1a27a9b3e71451c38b179e1a24b8318f21fb6ed289ab57d80afefbe440c508ea5ed888435c29ac33db278c7de26a41dae328be73ccecfef5d5c0065d94b78115
7
- data.tar.gz: 4f726b7e50e90479faeab8979df196ce59f9de5625aa24b71fcc9d86d22d5622b378db2a55c1a7e17cbda52431a367946e70ab1d92965935342277c3ab89e0c7
6
+ metadata.gz: 40bc7dd3ee851346775975bf2c4a563b8f6a0cdc6d72fd287c9f8c62c3c27a8314e08180a2a650087ba3db0820223eb9d42a5ae39dbf31c16467b9dc6c6d54b5
7
+ data.tar.gz: 0c34cabd945b85d56741a83a73ef0db6334917f208ea0673566e41615b0dfb9a6a3efcf727470e80aa5efcac2210af8fd8fad6725fad849b5d7027c3cf10bb49
data/grammars/biblio.rng CHANGED
@@ -225,9 +225,9 @@
225
225
  <zeroOrMore>
226
226
  <ref name="forename"/>
227
227
  </zeroOrMore>
228
- <zeroOrMore>
229
- <ref name="initial"/>
230
- </zeroOrMore>
228
+ <optional>
229
+ <ref name="formatted-initials"/>
230
+ </optional>
231
231
  <ref name="surname"/>
232
232
  <zeroOrMore>
233
233
  <ref name="addition"/>
@@ -247,8 +247,8 @@
247
247
  <ref name="LocalizedString"/>
248
248
  </element>
249
249
  </define>
250
- <define name="initial">
251
- <element name="initial">
250
+ <define name="formatted-initials">
251
+ <element name="formatted-initials">
252
252
  <ref name="LocalizedString"/>
253
253
  </element>
254
254
  </define>
@@ -264,6 +264,9 @@
264
264
  </define>
265
265
  <define name="forename">
266
266
  <element name="forename">
267
+ <optional>
268
+ <attribute name="initial"/>
269
+ </optional>
267
270
  <ref name="LocalizedString"/>
268
271
  </element>
269
272
  </define>
data/grammars/isodoc.rng CHANGED
@@ -69,6 +69,17 @@
69
69
  </zeroOrMore>
70
70
  </element>
71
71
  </define>
72
+ <define name="AdmonitionType">
73
+ <choice>
74
+ <value>warning</value>
75
+ <value>note</value>
76
+ <value>tip</value>
77
+ <value>important</value>
78
+ <value>caution</value>
79
+ <value>statement</value>
80
+ <value>editorial</value>
81
+ </choice>
82
+ </define>
72
83
  <define name="index">
73
84
  <element name="index">
74
85
  <optional>
@@ -1274,7 +1285,12 @@
1274
1285
  </define>
1275
1286
  <define name="span">
1276
1287
  <element name="span">
1277
- <attribute name="class"/>
1288
+ <optional>
1289
+ <attribute name="class"/>
1290
+ </optional>
1291
+ <optional>
1292
+ <attribute name="style"/>
1293
+ </optional>
1278
1294
  <oneOrMore>
1279
1295
  <ref name="TextElement"/>
1280
1296
  </oneOrMore>
@@ -2493,6 +2509,16 @@
2493
2509
  <text/>
2494
2510
  </element>
2495
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>
2496
2522
  <optional>
2497
2523
  <element name="language">
2498
2524
  <text/>
@@ -68,7 +68,7 @@ module RelatonIetf
68
68
  def parse_docid
69
69
  ids = [
70
70
  RelatonBib::DocumentIdentifier.new(id: pub_id, type: "IETF", primary: true),
71
- RelatonBib::DocumentIdentifier.new(id: anchor, type: "IETF", scope: "anchor"),
71
+ # RelatonBib::DocumentIdentifier.new(id: anchor, type: "IETF", scope: "anchor"),
72
72
  ]
73
73
  doi = @doc.at("./xmlns:doi").text
74
74
  ids << RelatonBib::DocumentIdentifier.new(id: doi, type: "DOI")
@@ -76,7 +76,7 @@ module RelatonIetf
76
76
  def parse_docid
77
77
  [
78
78
  RelatonBib::DocumentIdentifier.new(type: "IETF", id: pub_id, primary: true),
79
- RelatonBib::DocumentIdentifier.new(type: "IETF", scope: "anchor", id: anchor),
79
+ # RelatonBib::DocumentIdentifier.new(type: "IETF", scope: "anchor", id: anchor),
80
80
  ]
81
81
  end
82
82
 
@@ -1,3 +1,3 @@
1
1
  module RelatonIetf
2
- VERSION = "1.12.9".freeze
2
+ VERSION = "1.13.0".freeze
3
3
  end
data/relaton_ietf.gemspec CHANGED
@@ -38,5 +38,5 @@ Gem::Specification.new do |spec|
38
38
  spec.add_development_dependency "vcr"
39
39
  spec.add_development_dependency "webmock"
40
40
 
41
- spec.add_dependency "relaton-bib", "~> 1.12.0"
41
+ spec.add_dependency "relaton-bib", "~> 1.13.0"
42
42
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: relaton-ietf
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.12.9
4
+ version: 1.13.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-08-02 00:00:00.000000000 Z
11
+ date: 2022-08-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: equivalent-xml
@@ -128,14 +128,14 @@ dependencies:
128
128
  requirements:
129
129
  - - "~>"
130
130
  - !ruby/object:Gem::Version
131
- version: 1.12.0
131
+ version: 1.13.0
132
132
  type: :runtime
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - "~>"
137
137
  - !ruby/object:Gem::Version
138
- version: 1.12.0
138
+ version: 1.13.0
139
139
  description: "RelatonIetf: retrieve IETF Standards for bibliographic use \nusing the
140
140
  BibliographicItem model.\n\nFormerly known as rfcbib.\n"
141
141
  email: