metanorma-standoc 1.1.9 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,56 @@
1
+ require "spec_helper"
2
+ require "relaton_iso"
3
+
4
+ RSpec.describe Asciidoctor::Standoc do
5
+ it "processes simple dl reference" do
6
+ expect(strip_guid(Asciidoctor.convert(<<~"INPUT", backend: :standoc, header_footer: true))).to be_equivalent_to <<~"OUTPUT"
7
+ #{ASCIIDOC_BLANK_HDR}
8
+ [bibliography]
9
+ == Normative References
10
+
11
+ [%bibitem]
12
+ === Standard
13
+ ref:: iso123
14
+ docidentifier:: ISO 123
15
+ doctype:: standard
16
+ contributor_publisher_role::
17
+ contributor_publisher_organization:: ISO
18
+ contributor_author_person::
19
+ ... Fred
20
+ ... Jack
21
+
22
+ INPUT
23
+ #{BLANK_HDR}
24
+ <sections>
25
+ </sections><bibliography><references id="_" obligation="informative">
26
+ <title>Normative References</title>
27
+ <bibitem id="iso123" type="standard">
28
+ <fetched>#{Date.today}</fetched>
29
+ <title>Standard</title>
30
+ <docidentifier>ISO 123</docidentifier>
31
+ <contributor>
32
+ <role type="publisher"/>
33
+ <organization>
34
+ <name>ISO</name>
35
+ </organization>
36
+ </contributor>
37
+ <contributor>
38
+ <role type="author"/>
39
+ <person>
40
+ <name><completename>Fred</completename></name>
41
+ </person>
42
+ </contributor>
43
+ <contributor>
44
+ <role type="author"/>
45
+ <person>
46
+ <name><completename>Jack</completename></name>
47
+ </person>
48
+ </contributor>
49
+ </bibitem>
50
+ </references>
51
+ </bibliography>
52
+ </standard-document>
53
+ OUTPUT
54
+ end
55
+
56
+ end
@@ -1,6 +1,6 @@
1
1
  require "spec_helper"
2
- require "isobib"
3
- require "ietfbib"
2
+ require "relaton_iso"
3
+ require "relaton_ietf"
4
4
 
5
5
  RSpec.describe Asciidoctor::Standoc do
6
6
  it "processes simple ISO reference" do
@@ -75,66 +75,99 @@ RSpec.describe Asciidoctor::Standoc do
75
75
  * [[[iso123,ISO 123]]] _Standard_
76
76
  INPUT
77
77
  #{BLANK_HDR}
78
- <sections>
79
- </sections><bibliography><references id="_" obligation="informative">
80
- <title>Normative References</title>
81
- <bibitem type="international-standard" id="iso123">
82
- <fetched>#{Date.today}</fetched>
83
- <title format="text/plain" language="en" script="Latn">Rubber latex — Sampling</title>
84
- <title format="text/plain" language="fr" script="Latn">Latex de caoutchouc — Échantillonnage</title>
85
- <uri type="src">https://www.iso.org/standard/23281.html</uri>
86
- <uri type="obp">https://www.iso.org/obp/ui/#!iso:std:23281:en</uri>
87
- <uri type="rss">https://www.iso.org/contents/data/standard/02/32/23281.detail.rss</uri>
88
- <docidentifier type="ISO">ISO 123</docidentifier>
89
- <contributor>
90
- <role type="publisher"/>
91
- <organization>
92
- <name>International Organization for Standardization</name>
93
- <abbreviation>ISO</abbreviation>
94
- <uri>www.iso.org</uri>
95
- </organization>
96
- </contributor>
97
- <edition>3</edition>
98
- <language>en</language>
99
- <language>fr</language>
100
- <script>Latn</script>
101
- <status>
102
- <stage>90</stage>
103
- <substage>93</substage>
104
- </status>
105
- <copyright>
106
- <from>2001</from>
107
- <owner>
108
- <organization>
109
- <name>ISO</name>
110
- </organization>
111
- </owner>
112
- </copyright>
113
- <relation type="obsoletes">
114
- <bibitem>
115
- <formattedref>ISO 123:1985</formattedref>
116
- </bibitem>
117
- </relation>
118
- <relation type="updates">
119
- <bibitem>
120
- <formattedref>ISO 123:2001</formattedref>
121
- </bibitem>
122
- </relation>
123
- <relation type="instance">
124
- <bibitem>
125
- <formattedref>ISO 123:2001</formattedref>
126
- </bibitem>
127
- </relation>
128
- <editorialgroup>
129
- <technical-committee number="45" type="TC">ISO/TC 45/SC 3Raw materials (including latex) for use in the rubber industry</technical-committee>
130
- </editorialgroup>
131
- <ics>
132
- <code>83.040.10</code>
133
- <text>Latex and raw rubber</text>
134
- </ics>
135
- </bibitem>
136
- </references></bibliography>
137
- </standard-document>
78
+ <sections>
79
+
80
+ </sections><bibliography><references id="_" obligation="informative"><title>Normative References</title>
81
+ <bibitem id="iso123" type="standard">
82
+ <fetched>2019-06-16</fetched>
83
+ <title type="title-main" format="text/plain" language="en" script="Latn">Sampling</title>
84
+ <title type="title-intro" format="text/plain" language="en" script="Latn">Rubber latex</title>
85
+ <title type="main" format="text/plain" language="en" script="Latn">Sampling - Rubber latex</title>
86
+ <title type="title-main" format="text/plain" language="fr" script="Latn">Échantillonnage</title>
87
+ <title type="title-intro" format="text/plain" language="fr" script="Latn">Latex de caoutchouc</title>
88
+ <title type="main" format="text/plain" language="fr" script="Latn">Échantillonnage - Latex de caoutchouc</title>
89
+ <uri type="src">https://www.iso.org/standard/23281.html</uri>
90
+ <uri type="obp">https://www.iso.org/obp/ui/#!iso:std:23281:en</uri>
91
+ <uri type="rss">https://www.iso.org/contents/data/standard/02/32/23281.detail.rss</uri>
92
+ <docidentifier type="ISO">ISO 123</docidentifier>
93
+ <contributor>
94
+ <role type="publisher"/>
95
+ <organization>
96
+ <name>International Organization for Standardization</name>
97
+ <abbreviation>ISO</abbreviation>
98
+ <uri>www.iso.org</uri>
99
+ </organization>
100
+ </contributor>
101
+ <edition>3</edition>
102
+ <language>en</language>
103
+ <language>fr</language>
104
+ <script>Latn</script>
105
+ <status>
106
+ <stage>90</stage>
107
+ <substage>93</substage>
108
+ </status>
109
+ <copyright>
110
+ <from>2001</from>
111
+ <owner>
112
+ <organization>
113
+ <name>ISO</name>
114
+ </organization>
115
+ </owner>
116
+ </copyright>
117
+ <relation type="obsoletes">
118
+ <bibitem type="standard">
119
+ <formattedref format="text/plain">ISO 123:1985</formattedref>
120
+ </bibitem>
121
+ </relation>
122
+ <relation type="instance">
123
+ <bibitem type="standard">
124
+ <fetched>2019-06-16</fetched>
125
+ <title type="title-main" format="text/plain" language="en" script="Latn">Sampling</title>
126
+ <title type="title-intro" format="text/plain" language="en" script="Latn">Rubber latex</title>
127
+ <title type="main" format="text/plain" language="en" script="Latn">Sampling - Rubber latex</title>
128
+ <title type="title-main" format="text/plain" language="fr" script="Latn">Échantillonnage</title>
129
+ <title type="title-intro" format="text/plain" language="fr" script="Latn">Latex de caoutchouc</title>
130
+ <title type="main" format="text/plain" language="fr" script="Latn">Échantillonnage - Latex de caoutchouc</title>
131
+ <uri type="src">https://www.iso.org/standard/23281.html</uri>
132
+ <uri type="obp">https://www.iso.org/obp/ui/#!iso:std:23281:en</uri>
133
+ <uri type="rss">https://www.iso.org/contents/data/standard/02/32/23281.detail.rss</uri>
134
+ <docidentifier type="ISO">ISO 123:2001</docidentifier>
135
+ <date type="published">
136
+ <on>2001</on>
137
+ </date>
138
+ <contributor>
139
+ <role type="publisher"/>
140
+ <organization>
141
+ <name>International Organization for Standardization</name>
142
+ <abbreviation>ISO</abbreviation>
143
+ <uri>www.iso.org</uri>
144
+ </organization>
145
+ </contributor>
146
+ <edition>3</edition>
147
+ <language>en</language>
148
+ <language>fr</language>
149
+ <script>Latn</script>
150
+ <status>
151
+ <stage>90</stage>
152
+ <substage>93</substage>
153
+ </status>
154
+ <copyright>
155
+ <from>2001</from>
156
+ <owner>
157
+ <organization>
158
+ <name>ISO</name>
159
+ </organization>
160
+ </owner>
161
+ </copyright>
162
+ <relation type="obsoletes">
163
+ <bibitem type="standard">
164
+ <formattedref format="text/plain">ISO 123:1985</formattedref>
165
+ </bibitem>
166
+ </relation>
167
+ </bibitem>
168
+ </relation>
169
+ </bibitem> </references></bibliography>
170
+ </standard-document>
138
171
  OUTPUT
139
172
  end
140
173
  end
@@ -184,10 +217,12 @@ RSpec.describe Asciidoctor::Standoc do
184
217
 
185
218
  </sections><bibliography><references id="_" obligation="informative">
186
219
  <title>Normative References</title>
187
- <bibitem type="international-standard" id="iso123">
220
+ <bibitem type="standard" id="iso123">
188
221
  <fetched>#{Date.today}</fetched>
189
- <title format="text/plain" language="en" script="Latn">Permuted index of the vocabulary of information technology</title>
190
- <title format="text/plain" language="fr" script="Latn">Index permuté du vocabulaire des technologies de l’information</title>
222
+ <title type="title-main" format="text/plain" language="en" script="Latn">Permuted index of the vocabulary of information technology</title>
223
+ <title type="main" format="text/plain" language="en" script="Latn">Permuted index of the vocabulary of information technology</title>
224
+ <title type="title-main" format="text/plain" language="fr" script="Latn">Index permuté du vocabulaire des technologies de l’information</title>
225
+ <title type="main" format="text/plain" language="fr" script="Latn">Index permuté du vocabulaire des technologies de l’information</title>
191
226
  <uri type="src">https://www.iso.org/standard/21071.html</uri>
192
227
  <uri type="obp">https://www.iso.org/obp/ui/#!iso:std:21071:en</uri>
193
228
  <uri type="rss">https://www.iso.org/contents/data/standard/02/10/21071.detail.rss</uri>
@@ -215,7 +250,7 @@ RSpec.describe Asciidoctor::Standoc do
215
250
  <language>en</language>
216
251
  <language>fr</language>
217
252
  <script>Latn</script>
218
- <abstract format="plain" language="en" script="Latn">Contains a permuted index of all terms included in the parts 1 - 28 of ISO 2382. If any of these parts has been revised, the present TR refers to the revision.</abstract>
253
+ <abstract format="text/plain" language="en" script="Latn">Contains a permuted index of all terms included in the parts 1 - 28 of ISO 2382. If any of these parts has been revised, the present TR refers to the revision.</abstract>
219
254
  <status>
220
255
  <stage>90</stage>
221
256
  <substage>93</substage>
@@ -229,26 +264,19 @@ RSpec.describe Asciidoctor::Standoc do
229
264
  </owner>
230
265
  </copyright>
231
266
  <relation type="updates">
232
- <bibitem>
233
- <formattedref>ISO/IEC TR 12382:1992</formattedref>
267
+ <bibitem type="standard">
268
+ <formattedref format="text/plain">ISO/IEC TR 12382:1992</formattedref>
234
269
  </bibitem>
235
270
  </relation>
236
- <editorialgroup>
237
- <technical-committee number="1" type="TC">ISO/IEC JTC 1Information technology</technical-committee>
238
- </editorialgroup>
239
- <ics>
240
- <code>35.020</code>
241
- <text>Information technology (IT) in general</text>
242
- </ics>
243
- <ics>
244
- <code>01.040.35</code>
245
- <text>Information technology (Vocabularies)</text>
246
- </ics>
247
271
  </bibitem>
248
- <bibitem type="international-standard" id="iso124">
272
+ <bibitem type="standard" id="iso124">
249
273
  <fetched>#{Date.today}</fetched>
250
- <title format="text/plain" language="en" script="Latn">Latex, rubber — Determination of total solids content</title>
251
- <title format="text/plain" language="fr" script="Latn">Latex de caoutchouc — Détermination des matières solides totales</title>
274
+ <title type="title-main" format="text/plain" language="en" script="Latn">Determination of total solids content</title>
275
+ <title type="title-intro" format="text/plain" language="en" script="Latn">Latex, rubber</title>
276
+ <title type="main" format="text/plain" language="en" script="Latn">Determination of total solids content - Latex, rubber</title>
277
+ <title type="title-main" format="text/plain" language="fr" script="Latn">Détermination des matières solides totales</title>
278
+ <title type="title-intro" format="text/plain" language="fr" script="Latn">Latex de caoutchouc</title>
279
+ <title type="main" format="text/plain" language="fr" script="Latn">Détermination des matières solides totales - Latex de caoutchouc</title>
252
280
  <uri type="src">https://www.iso.org/standard/61884.html</uri>
253
281
  <uri type="obp">https://www.iso.org/obp/ui/#!iso:std:61884:en</uri>
254
282
  <uri type="rss">https://www.iso.org/contents/data/standard/06/18/61884.detail.rss</uri>
@@ -268,8 +296,8 @@ RSpec.describe Asciidoctor::Standoc do
268
296
  <language>en</language>
269
297
  <language>fr</language>
270
298
  <script>Latn</script>
271
- <abstract format="plain" language="en" script="Latn">ISO 124:2014 specifies methods for the determination of the total solids content of natural rubber field and concentrated latices and synthetic rubber latex. These methods are not necessarily suitable for latex from natural sources other than the Hevea brasiliensis, for vulcanized latex, for compounded latex, or for artificial dispersions of rubber.</abstract>
272
- <abstract format="plain" language="fr" script="Latn">L’ISO 124:2014 spécifie des méthodes pour la détermination des matières solides totales dans le latex de plantation, le latex de concentré de caoutchouc naturel et le latex de caoutchouc synthétique. Ces méthodes ne conviennent pas nécessairement au latex d’origine naturelle autre que celui de l’Hevea brasiliensis, au latex vulcanisé, aux mélanges de latex, ou aux dispersions artificielles de caoutchouc.</abstract>
299
+ <abstract format="text/plain" language="en" script="Latn">ISO 124:2014 specifies methods for the determination of the total solids content of natural rubber field and concentrated latices and synthetic rubber latex. These methods are not necessarily suitable for latex from natural sources other than the Hevea brasiliensis, for vulcanized latex, for compounded latex, or for artificial dispersions of rubber.</abstract>
300
+ <abstract format="text/plain" language="fr" script="Latn">L’ISO 124:2014 spécifie des méthodes pour la détermination des matières solides totales dans le latex de plantation, le latex de concentré de caoutchouc naturel et le latex de caoutchouc synthétique. Ces méthodes ne conviennent pas nécessairement au latex d’origine naturelle autre que celui de l’Hevea brasiliensis, au latex vulcanisé, aux mélanges de latex, ou aux dispersions artificielles de caoutchouc.</abstract>
273
301
  <status>
274
302
  <stage>60</stage>
275
303
  <substage>60</substage>
@@ -283,17 +311,10 @@ RSpec.describe Asciidoctor::Standoc do
283
311
  </owner>
284
312
  </copyright>
285
313
  <relation type="obsoletes">
286
- <bibitem>
287
- <formattedref>ISO 124:2011</formattedref>
314
+ <bibitem type="standard">
315
+ <formattedref format="text/plain">ISO 124:2011</formattedref>
288
316
  </bibitem>
289
317
  </relation>
290
- <editorialgroup>
291
- <technical-committee number="45" type="TC">ISO/TC 45/SC 3Raw materials (including latex) for use in the rubber industry</technical-committee>
292
- </editorialgroup>
293
- <ics>
294
- <code>83.040.10</code>
295
- <text>Latex and raw rubber</text>
296
- </ics>
297
318
  </bibitem>
298
319
  </references></bibliography>
299
320
  </standard-document>
@@ -362,7 +383,9 @@ RSpec.describe Asciidoctor::Standoc do
362
383
  <name>ISO</name>
363
384
  </organization>
364
385
  </contributor>
365
- <allparts>true</allparts>
386
+ <extent type="part">
387
+ <referenceFrom>all</referenceFrom>
388
+ </extent>
366
389
  </bibitem>
367
390
  </references>
368
391
  </bibliography>
@@ -396,7 +419,7 @@ RSpec.describe Asciidoctor::Standoc do
396
419
  <title>Normative References</title>
397
420
  <bibitem id="iso123">
398
421
  <fetched>#{Date.today}</fetched>
399
- <title format="plain" language="en" script="Latn">Network Configuration Access Control Model</title>
422
+ <title format="text/plain" language="en" script="Latn">Network Configuration Access Control Model</title>
400
423
  <uri type="src">https://www.rfc-editor.org/info/rfc8341</uri>
401
424
  <docidentifier type="IETF">RFC 8341</docidentifier>
402
425
  <docidentifier type="DOI">10.17487/RFC8341</docidentifier>
@@ -433,12 +456,13 @@ RSpec.describe Asciidoctor::Standoc do
433
456
  </contributor>
434
457
  <language>en</language>
435
458
  <script>Latn</script>
459
+ <abstract format="text/plain" language="en" script="Latn">The standardization of network configuration interfaces for use with the Network Configuration Protocol (NETCONF) or the RESTCONF protocol requires a structured and secure operating environment that promotes human usability and multi-vendor interoperability. There is a need for standard mechanisms to restrict NETCONF or RESTCONF protocol access for particular users to a preconfigured subset of all available NETCONF or RESTCONF protocol operations and content. This document defines such an access control model.This document obsoletes RFC 6536.</abstract>
436
460
  <series type="main">
437
- <title format="plain" language="en" script="Latn">STD</title>
461
+ <title format="text/plain" language="en" script="Latn">STD</title>
438
462
  <number>91</number>
439
463
  </series>
440
464
  <series type="main">
441
- <title format="plain" language="en" script="Latn">RFC</title>
465
+ <title format="text/plain" language="en" script="Latn">RFC</title>
442
466
  <number>8341</number>
443
467
  </series>
444
468
  </bibitem>
@@ -500,7 +524,7 @@ RSpec.describe Asciidoctor::Standoc do
500
524
  end
501
525
 
502
526
  it "process ISO reference without an Internet connection" do
503
- expect(Isobib::IsoBibliography).to receive(:search).with("ISO 123") do
527
+ expect(RelatonIso::IsoBibliography).to receive(:search).with("ISO 123") do
504
528
  raise Algolia::AlgoliaProtocolError.new "getaddrinfo", "nodename nor servname provided, or not known (JCL49WV5AR-dsn.algolia.net:443)"
505
529
  end.at_least :once
506
530
  expect(strip_guid(Asciidoctor.convert(<<~"INPUT", backend: :standoc, header_footer: true))).to be_equivalent_to <<~"OUTPUT"
@@ -512,17 +536,17 @@ RSpec.describe Asciidoctor::Standoc do
512
536
  INPUT
513
537
  <?xml version="1.0" encoding="UTF-8"?>
514
538
  <standard-document xmlns="http://riboseinc.com/isoxml">
515
- <bibdata type="article">
539
+ <bibdata type="standard">
516
540
  <title language="en" format="text/plain">Document title</title>
517
541
  <language>en</language>
518
542
  <script>Latn</script>
519
- <status format="plain">published</status>
543
+ <status><stage>published</stage></status>
520
544
  <copyright>
521
545
  <from>#{Date.today.year}</from>
522
546
  </copyright>
523
- <editorialgroup>
524
- <technical-committee/>
525
- </editorialgroup>
547
+ <ext>
548
+ <doctype>article</doctype>
549
+ </ext>
526
550
  </bibdata>
527
551
  <sections>
528
552
 
@@ -548,17 +572,17 @@ RSpec.describe Asciidoctor::Standoc do
548
572
  private
549
573
 
550
574
  def mock_isobib_get_123
551
- expect(Isobib::IsoBibliography).to receive(:get).with("ISO 123", nil, {}) do
575
+ expect(RelatonIso::IsoBibliography).to receive(:get).with("ISO 123", nil, {}) do
552
576
  IsoBibItem::XMLParser.from_xml(<<~"OUTPUT")
553
- <bibitem type=\"international-standard\" id=\"ISO123\">\n <title format=\"text/plain\" language=\"en\" script=\"Latn\">Rubber latex -- Sampling</title>\n <title format=\"text/plain\" language=\"fr\" script=\"Latn\">Latex de caoutchouc -- ?chantillonnage</title>\n <uri type=\"src\">https://www.iso.org/standard/23281.html</uri>\n <uri type=\"obp\">https://www.iso.org/obp/ui/#!iso:std:23281:en</uri>\n <uri type=\"rss\">https://www.iso.org/contents/data/standard/02/32/23281.detail.rss</uri>\n <docidentifier>ISO 123</docidentifier>\n <date type=\"published\">\n <on>2001</on>\n </date>\n <contributor>\n <role type=\"publisher\"/>\n <organization>\n <name>International Organization for Standardization</name>\n <abbreviation>ISO</abbreviation>\n <uri>www.iso.org</uri>\n </organization>\n </contributor>\n <edition>3</edition>\n <language>en</language>\n <language>fr</language>\n <script>Latn</script>\n <status>Published</status>\n <copyright>\n <from>2001</from>\n <owner>\n <organization>\n <name>ISO</name>\n <abbreviation></abbreviation>\n </organization>\n </owner>\n </copyright>\n <relation type=\"obsoletes\">\n <bibitem>\n <formattedref>ISO 123:1985</formattedref>\n </bibitem>\n </relation>\n <relation type=\"updates\">\n <bibitem>\n <formattedref>ISO 123:2001</formattedref>\n </bibitem>\n </relation>\n</bibitem>
577
+ <bibitem type=\"standard\" id=\"ISO123\">\n <title format=\"text/plain\" language=\"en\" script=\"Latn\">Rubber latex -- Sampling</title>\n <title format=\"text/plain\" language=\"fr\" script=\"Latn\">Latex de caoutchouc -- ?chantillonnage</title>\n <uri type=\"src\">https://www.iso.org/standard/23281.html</uri>\n <uri type=\"obp\">https://www.iso.org/obp/ui/#!iso:std:23281:en</uri>\n <uri type=\"rss\">https://www.iso.org/contents/data/standard/02/32/23281.detail.rss</uri>\n <docidentifier>ISO 123</docidentifier>\n <date type=\"published\">\n <on>2001</on>\n </date>\n <contributor>\n <role type=\"publisher\"/>\n <organization>\n <name>International Organization for Standardization</name>\n <abbreviation>ISO</abbreviation>\n <uri>www.iso.org</uri>\n </organization>\n </contributor>\n <edition>3</edition>\n <language>en</language>\n <language>fr</language>\n <script>Latn</script>\n <status>Published</status>\n <copyright>\n <from>2001</from>\n <owner>\n <organization>\n <name>ISO</name>\n <abbreviation></abbreviation>\n </organization>\n </owner>\n </copyright>\n <relation type=\"obsoletes\">\n <bibitem type="standard">\n <formattedref format="text/plain">ISO 123:1985</formattedref>\n </bibitem>\n </relation>\n <relation type=\"updates\">\n <bibitem type="standard">\n <formattedref format="text/plain">ISO 123:2001</formattedref>\n </bibitem>\n </relation>\n</bibitem>
554
578
  OUTPUT
555
579
  end
556
580
  end
557
581
 
558
582
  def mock_isobib_get_124
559
- expect(Isobib::IsoBibliography).to receive(:get).with("ISO 124", "2014", {}) do
583
+ expect(RelatonIso::IsoBibliography).to receive(:get).with("ISO 124", "2014", {}) do
560
584
  IsoBibItem::XMLParser.from_xml(<<~"OUTPUT")
561
- <bibitem type="international-standard" id="iso124">
585
+ <bibitem type="standard" id="iso124">
562
586
  <title format="text/plain" language="en" script="Latn">Latex, rubber -- Determination of total solids content</title>
563
587
  <title format="text/plain" language="fr" script="Latn">Latex de caoutchouc -- Détermination des matières solides totales</title>
564
588
  <uri type="src">https://www.iso.org/standard/61884.html</uri>
@@ -580,7 +604,7 @@ RSpec.describe Asciidoctor::Standoc do
580
604
  <language>en</language>
581
605
  <language>fr</language>
582
606
  <script>Latn</script>
583
- <abstract format="plain" language="en" script="Latn">ISO 124:2014 specifies methods for the determination of the total solids content of natural rubber field and concentrated latices and synthetic rubber latex. These methods are not necessarily suitable for latex from natural sources other than the Hevea brasiliensis, for vulcanized latex, for compounded latex, or for artificial dispersions of rubber.</abstract>
607
+ <abstract format="text/plain" language="en" script="Latn">ISO 124:2014 specifies methods for the determination of the total solids content of natural rubber field and concentrated latices and synthetic rubber latex. These methods are not necessarily suitable for latex from natural sources other than the Hevea brasiliensis, for vulcanized latex, for compounded latex, or for artificial dispersions of rubber.</abstract>
584
608
  <status>Published</status>
585
609
  <copyright>
586
610
  <from>2014</from>
@@ -592,8 +616,8 @@ RSpec.describe Asciidoctor::Standoc do
592
616
  </owner>
593
617
  </copyright>
594
618
  <relation type="obsoletes">
595
- <bibitem>
596
- <formattedref>ISO 124:2011</formattedref>
619
+ <bibitem type="standard">
620
+ <formattedref format="text/plain">ISO 124:2011</formattedref>
597
621
  </bibitem>
598
622
  </relation>
599
623
  <ics>
@@ -606,9 +630,9 @@ RSpec.describe Asciidoctor::Standoc do
606
630
  end
607
631
 
608
632
  def mock_isobib_get_iec12382
609
- expect(Isobib::IsoBibliography).to receive(:get).with("ISO/IEC TR 12382", "1992", {}) do
633
+ expect(RelatonIso::IsoBibliography).to receive(:get).with("ISO/IEC TR 12382", "1992", {}) do
610
634
  IsoBibItem::XMLParser.from_xml(<<~"OUTPUT")
611
- <bibitem type="international-standard" id="iso123">
635
+ <bibitem type="standard" id="iso123">
612
636
  <title format="text/plain" language="en" script="Latn">Permuted index of the vocabulary of information technology</title>
613
637
  <title format="text/plain" language="fr" script="Latn">Index permuté du vocabulaire des technologies de l'information</title>
614
638
  <uri type="src">https://www.iso.org/standard/21071.html</uri>
@@ -638,7 +662,7 @@ RSpec.describe Asciidoctor::Standoc do
638
662
  <language>en</language>
639
663
  <language>fr</language>
640
664
  <script>Latn</script>
641
- <abstract format="plain" language="en" script="Latn">Contains a permuted index of all terms included in the parts 1 - 28 of ISO 2382. If any of these parts has been revised, the present TR refers to the revision.</abstract>
665
+ <abstract format="text/plain" language="en" script="Latn">Contains a permuted index of all terms included in the parts 1 - 28 of ISO 2382. If any of these parts has been revised, the present TR refers to the revision.</abstract>
642
666
  <status>Published</status>
643
667
  <copyright>
644
668
  <from>1992</from>
@@ -650,8 +674,8 @@ RSpec.describe Asciidoctor::Standoc do
650
674
  </owner>
651
675
  </copyright>
652
676
  <relation type="updates">
653
- <bibitem>
654
- <formattedref>ISO/IEC TR 12382:1992</formattedref>
677
+ <bibitem type="standard">
678
+ <formattedref format="text/plain">ISO/IEC TR 12382:1992</formattedref>
655
679
  </bibitem>
656
680
  </relation>
657
681
  <ics>