metanorma-standoc 1.5.3 → 1.6.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/rake.yml +66 -0
- data/README.adoc +1 -3
- data/lib/asciidoctor/standoc/base.rb +6 -1
- data/lib/asciidoctor/standoc/basicdoc.rng +4 -11
- data/lib/asciidoctor/standoc/cleanup.rb +78 -12
- data/lib/asciidoctor/standoc/cleanup_block.rb +41 -4
- data/lib/asciidoctor/standoc/cleanup_boilerplate.rb +14 -0
- data/lib/asciidoctor/standoc/cleanup_footnotes.rb +25 -0
- data/lib/asciidoctor/standoc/cleanup_inline.rb +6 -2
- data/lib/asciidoctor/standoc/cleanup_ref.rb +3 -4
- data/lib/asciidoctor/standoc/converter.rb +58 -3
- data/lib/asciidoctor/standoc/front.rb +9 -3
- data/lib/asciidoctor/standoc/front_contributor.rb +43 -11
- data/lib/asciidoctor/standoc/inline.rb +18 -40
- data/lib/asciidoctor/standoc/isodoc.rng +27 -50
- data/lib/asciidoctor/standoc/lists.rb +4 -2
- data/lib/asciidoctor/standoc/macros.rb +28 -2
- data/lib/asciidoctor/standoc/ref.rb +46 -48
- data/lib/asciidoctor/standoc/ref_sect.rb +16 -8
- data/lib/asciidoctor/standoc/section.rb +5 -9
- data/lib/liquid/custom_blocks/with_json_nested_context.rb +18 -0
- data/lib/liquid/custom_blocks/with_yaml_nested_context.rb +19 -0
- data/lib/metanorma/standoc.rb +0 -5
- data/lib/metanorma/standoc/version.rb +20 -1
- data/metanorma-standoc.gemspec +7 -3
- data/spec/asciidoctor-standoc/base_spec.rb +246 -9
- data/spec/asciidoctor-standoc/blocks_spec.rb +1 -1
- data/spec/asciidoctor-standoc/cleanup_sections_spec.rb +1514 -0
- data/spec/asciidoctor-standoc/cleanup_spec.rb +384 -1547
- data/spec/asciidoctor-standoc/inline_spec.rb +128 -4
- data/spec/asciidoctor-standoc/isobib_cache_spec.rb +15 -22
- data/spec/asciidoctor-standoc/lists_spec.rb +10 -1
- data/spec/asciidoctor-standoc/macros_json2text_spec.rb +1 -1
- data/spec/asciidoctor-standoc/macros_lutaml_spec.rb +80 -0
- data/spec/asciidoctor-standoc/macros_spec.rb +258 -0
- data/spec/asciidoctor-standoc/macros_yaml2text_spec.rb +1 -1
- data/spec/asciidoctor-standoc/refs_dl_spec.rb +8 -8
- data/spec/asciidoctor-standoc/refs_spec.rb +362 -104
- data/spec/asciidoctor-standoc/validate_spec.rb +26 -0
- data/spec/fixtures/diagram_definitions.lutaml +22 -0
- data/spec/fixtures/test.exp +121 -0
- data/spec/spec_helper.rb +34 -1
- data/spec/support/shared_examples/structured_data_2_text_preprocessor.rb +201 -3
- data/spec/vcr_cassettes/dated_iso_ref_joint_iso_iec.yml +47 -231
- data/spec/vcr_cassettes/isobib_get_123.yml +14 -60
- data/spec/vcr_cassettes/isobib_get_123_1.yml +24 -116
- data/spec/vcr_cassettes/isobib_get_123_1_fr.yml +361 -0
- data/spec/vcr_cassettes/isobib_get_123_2001.yml +14 -60
- data/spec/vcr_cassettes/isobib_get_124.yml +12 -58
- data/spec/vcr_cassettes/rfcbib_get_rfc8341.yml +8 -8
- data/spec/vcr_cassettes/separates_iev_citations_by_top_level_clause.yml +292 -162
- metadata +59 -17
- data/.github/workflows/macos.yml +0 -46
- data/.github/workflows/ubuntu.yml +0 -49
- data/.github/workflows/windows.yml +0 -53
- data/lib/asciidoctor/standoc/base_structured_text_preprocessor.rb +0 -123
- data/lib/asciidoctor/standoc/json2_text_preprocessor.rb +0 -43
- data/lib/asciidoctor/standoc/yaml2_text_preprocessor.rb +0 -43
- data/lib/metanorma/standoc/latexml_requirement.rb +0 -62
- data/lib/metanorma/standoc/requirement.rb +0 -13
@@ -291,7 +291,7 @@ formattedref::
|
|
291
291
|
</sections><bibliography><references id="_" obligation="informative" normative="true">
|
292
292
|
<title>Normative references</title>
|
293
293
|
#{NORM_REF_BOILERPLATE}
|
294
|
-
<bibitem id="
|
294
|
+
<bibitem id="ISOTC211" type="standard">
|
295
295
|
<fetched>2019-06-30</fetched>
|
296
296
|
<title type="main" format="text/plain">Geographic information</title>
|
297
297
|
<title type="subtitle" format="text/plain" language="en" script="Latn">Geographic information subtitle</title>
|
@@ -306,11 +306,11 @@ formattedref::
|
|
306
306
|
<on>2014</on>
|
307
307
|
</date>
|
308
308
|
<date type="published">
|
309
|
-
<from>2014</from>
|
310
|
-
<to>2014</to>
|
309
|
+
<from>2014-04</from>
|
310
|
+
<to>2014-05</to>
|
311
311
|
</date>
|
312
312
|
<date type="accessed">
|
313
|
-
<on>2015</on>
|
313
|
+
<on>2015-05-20</on>
|
314
314
|
</date>
|
315
315
|
<contributor>
|
316
316
|
<role type="publisher"><description>Publisher role</description></role>
|
@@ -611,7 +611,7 @@ series.formattedref.script:: Latn
|
|
611
611
|
</sections><bibliography><references id="_" obligation="informative" normative="true">
|
612
612
|
<title>Normative references</title>
|
613
613
|
#{NORM_REF_BOILERPLATE}
|
614
|
-
<bibitem id="
|
614
|
+
<bibitem id="ISOTC211" type="standard">
|
615
615
|
<fetched>2019-06-30</fetched>
|
616
616
|
<title type="main" format="text/plain">Geographic information</title>
|
617
617
|
<title type="subtitle" format="text/plain" language="en" script="Latn">Geographic information subtitle</title>
|
@@ -624,11 +624,11 @@ series.formattedref.script:: Latn
|
|
624
624
|
<on>2014</on>
|
625
625
|
</date>
|
626
626
|
<date type="published">
|
627
|
-
<from>2014</from>
|
628
|
-
<to>2014</to>
|
627
|
+
<from>2014-04</from>
|
628
|
+
<to>2014-05</to>
|
629
629
|
</date>
|
630
630
|
<date type="accessed">
|
631
|
-
<on>2015</on>
|
631
|
+
<on>2015-05-20</on>
|
632
632
|
</date>
|
633
633
|
<contributor>
|
634
634
|
<role type="publisher"><description>Publisher role</description></role>
|
@@ -30,7 +30,7 @@ RSpec.describe Asciidoctor::Standoc do
|
|
30
30
|
</bibitem>
|
31
31
|
<bibitem id='iso124' type='standard'>
|
32
32
|
<title format='text/plain'>Standard</title>
|
33
|
-
<docidentifier type='metanorma'>[
|
33
|
+
<docidentifier type='metanorma'>[2]</docidentifier>
|
34
34
|
<docidentifier>ISO 123</docidentifier>
|
35
35
|
<docnumber>123</docnumber>
|
36
36
|
<contributor>
|
@@ -77,7 +77,7 @@ RSpec.describe Asciidoctor::Standoc do
|
|
77
77
|
</bibitem>
|
78
78
|
<bibitem id="iso124" type="standard">
|
79
79
|
<title format="text/plain">Standard</title>
|
80
|
-
<docidentifier type='metanorma'>[
|
80
|
+
<docidentifier type='metanorma'>[2]</docidentifier>
|
81
81
|
<docidentifier>ISO 123:1066-1067</docidentifier>
|
82
82
|
<docnumber>123</docnumber>
|
83
83
|
<date type="published">
|
@@ -120,7 +120,7 @@ RSpec.describe Asciidoctor::Standoc do
|
|
120
120
|
<title>Foreword</title>
|
121
121
|
<p id='_'>
|
122
122
|
<eref type='inline' bibitemid='iso123' citeas='ISO 123'/>
|
123
|
-
<eref type='inline' bibitemid='iso124' citeas='[
|
123
|
+
<eref type='inline' bibitemid='iso124' citeas='[2]'/>
|
124
124
|
</p>
|
125
125
|
</foreword>
|
126
126
|
</preface>
|
@@ -213,7 +213,7 @@ RSpec.describe Asciidoctor::Standoc do
|
|
213
213
|
</bibitem>
|
214
214
|
</relation>
|
215
215
|
<docidentifier>ISO 123</docidentifier>
|
216
|
-
<docidentifier type='metanorma'>[
|
216
|
+
<docidentifier type='metanorma'>[2]</docidentifier>
|
217
217
|
<title><em>Standard</em></title>
|
218
218
|
</bibitem>
|
219
219
|
</references></bibliography>
|
@@ -223,7 +223,6 @@ RSpec.describe Asciidoctor::Standoc do
|
|
223
223
|
end
|
224
224
|
|
225
225
|
it "fetches simple ISO reference" do
|
226
|
-
# mock_isobib_get_123
|
227
226
|
VCR.use_cassette "isobib_get_123_1" do
|
228
227
|
expect(xmlpp(strip_guid(Asciidoctor.convert(<<~"INPUT", backend: :standoc, header_footer: true)))).to be_equivalent_to xmlpp( <<~"OUTPUT")
|
229
228
|
#{ISOBIB_BLANK_HDR}
|
@@ -243,6 +242,255 @@ RSpec.describe Asciidoctor::Standoc do
|
|
243
242
|
<title type='title-intro' format='text/plain' language='en' script='Latn'>Rubber latex</title>
|
244
243
|
<title type='title-main' format='text/plain' language='en' script='Latn'>Sampling</title>
|
245
244
|
<title type='main' format='text/plain' language='en' script='Latn'>Rubber latex – Sampling</title>
|
245
|
+
<uri type='src'>https://www.iso.org/standard/23281.html</uri>
|
246
|
+
<uri type='obp'>https://www.iso.org/obp/ui/#!iso:std:23281:en</uri>
|
247
|
+
<uri type='rss'>https://www.iso.org/contents/data/standard/02/32/23281.detail.rss</uri>
|
248
|
+
<docidentifier type='ISO'>ISO 123 (all parts)</docidentifier>
|
249
|
+
<docidentifier type='URN'>urn:iso:std:iso:123</docidentifier>
|
250
|
+
<docnumber>123</docnumber>
|
251
|
+
<date type='published'>
|
252
|
+
<on>2001-05</on>
|
253
|
+
</date>
|
254
|
+
<contributor>
|
255
|
+
<role type='publisher'/>
|
256
|
+
<organization>
|
257
|
+
<name>International Organization for Standardization</name>
|
258
|
+
<abbreviation>ISO</abbreviation>
|
259
|
+
<uri>www.iso.org</uri>
|
260
|
+
</organization>
|
261
|
+
</contributor>
|
262
|
+
<edition>3</edition>
|
263
|
+
<language>en</language>
|
264
|
+
<script>Latn</script>
|
265
|
+
<status>
|
266
|
+
<stage>90</stage>
|
267
|
+
<substage>93</substage>
|
268
|
+
</status>
|
269
|
+
<copyright>
|
270
|
+
<from>2001</from>
|
271
|
+
<owner>
|
272
|
+
<organization>
|
273
|
+
<name>ISO</name>
|
274
|
+
</organization>
|
275
|
+
</owner>
|
276
|
+
</copyright>
|
277
|
+
<relation type='obsoletes'>
|
278
|
+
<bibitem type='standard'>
|
279
|
+
<formattedref format='text/plain'>ISO 123:1985</formattedref>
|
280
|
+
</bibitem>
|
281
|
+
</relation>
|
282
|
+
<relation type='instance'>
|
283
|
+
<bibitem type='standard'>
|
284
|
+
<fetched>#{Date.today}</fetched>
|
285
|
+
<title type='title-intro' format='text/plain' language='en' script='Latn'>Rubber latex</title>
|
286
|
+
<title type='title-main' format='text/plain' language='en' script='Latn'>Sampling</title>
|
287
|
+
<title type='main' format='text/plain' language='en' script='Latn'>Rubber latex — Sampling</title>
|
288
|
+
<uri type='src'>https://www.iso.org/standard/23281.html</uri>
|
289
|
+
<uri type='obp'>https://www.iso.org/obp/ui/#!iso:std:23281:en</uri>
|
290
|
+
<uri type='rss'>https://www.iso.org/contents/data/standard/02/32/23281.detail.rss</uri>
|
291
|
+
<docidentifier type='ISO'>ISO 123:2001</docidentifier>
|
292
|
+
<docidentifier type='URN'>urn:iso:std:iso:123:stage-90.93:ed-3:en</docidentifier>
|
293
|
+
<docnumber>123</docnumber>
|
294
|
+
<date type='published'>
|
295
|
+
<on>2001-05</on>
|
296
|
+
</date>
|
297
|
+
<contributor>
|
298
|
+
<role type='publisher'/>
|
299
|
+
<organization>
|
300
|
+
<name>International Organization for Standardization</name>
|
301
|
+
<abbreviation>ISO</abbreviation>
|
302
|
+
<uri>www.iso.org</uri>
|
303
|
+
</organization>
|
304
|
+
</contributor>
|
305
|
+
<edition>3</edition>
|
306
|
+
<language>en</language>
|
307
|
+
<script>Latn</script>
|
308
|
+
<abstract format='text/plain' language='en' script='Latn'>
|
309
|
+
This International Standard specifies procedures for sampling
|
310
|
+
natural rubber latex concentrate and for sampling syntheticrubber
|
311
|
+
latices and artificial latices. It is also suitable for sampling
|
312
|
+
rubber latex contained in drums, tank cars ortanks. The procedures
|
313
|
+
may also be used for sampling plastics dispersions.
|
314
|
+
</abstract>
|
315
|
+
<status>
|
316
|
+
<stage>90</stage>
|
317
|
+
<substage>93</substage>
|
318
|
+
</status>
|
319
|
+
<copyright>
|
320
|
+
<from>2001</from>
|
321
|
+
<owner>
|
322
|
+
<organization>
|
323
|
+
<name>ISO</name>
|
324
|
+
</organization>
|
325
|
+
</owner>
|
326
|
+
</copyright>
|
327
|
+
<relation type='obsoletes'>
|
328
|
+
<bibitem type='standard'>
|
329
|
+
<formattedref format='text/plain'>ISO 123:1985</formattedref>
|
330
|
+
</bibitem>
|
331
|
+
</relation>
|
332
|
+
<place>Geneva</place>
|
333
|
+
</bibitem>
|
334
|
+
</relation>
|
335
|
+
<relation type='instance'>
|
336
|
+
<bibitem type='standard'>
|
337
|
+
<formattedref format='text/plain'>ISO 123:1985</formattedref>
|
338
|
+
</bibitem>
|
339
|
+
</relation>
|
340
|
+
<relation type='instance'>
|
341
|
+
<bibitem type='standard'>
|
342
|
+
<formattedref format='text/plain'>ISO 123:1974</formattedref>
|
343
|
+
</bibitem>
|
344
|
+
</relation>
|
345
|
+
<place>Geneva</place>
|
346
|
+
</bibitem>
|
347
|
+
<bibitem id='iso124' type='standard'>
|
348
|
+
<fetched>#{Date.today}</fetched>
|
349
|
+
<title type='title-intro' format='text/plain' language='en' script='Latn'>Rubber latex</title>
|
350
|
+
<title type='title-main' format='text/plain' language='en' script='Latn'>Sampling</title>
|
351
|
+
<title type='main' format='text/plain' language='en' script='Latn'>Rubber latex – Sampling</title>
|
352
|
+
<uri type='src'>https://www.iso.org/standard/23281.html</uri>
|
353
|
+
<uri type='obp'>https://www.iso.org/obp/ui/#!iso:std:23281:en</uri>
|
354
|
+
<uri type='rss'>https://www.iso.org/contents/data/standard/02/32/23281.detail.rss</uri>
|
355
|
+
<docidentifier type='ISO'>ISO 123 (all parts)</docidentifier>
|
356
|
+
<docidentifier type='metanorma'>[2]</docidentifier>
|
357
|
+
<docidentifier type='URN'>urn:iso:std:iso:123</docidentifier>
|
358
|
+
<docnumber>123</docnumber>
|
359
|
+
<date type='published'>
|
360
|
+
<on>2001-05</on>
|
361
|
+
</date>
|
362
|
+
<contributor>
|
363
|
+
<role type='publisher'/>
|
364
|
+
<organization>
|
365
|
+
<name>International Organization for Standardization</name>
|
366
|
+
<abbreviation>ISO</abbreviation>
|
367
|
+
<uri>www.iso.org</uri>
|
368
|
+
</organization>
|
369
|
+
</contributor>
|
370
|
+
<edition>3</edition>
|
371
|
+
<language>en</language>
|
372
|
+
<script>Latn</script>
|
373
|
+
<status>
|
374
|
+
<stage>90</stage>
|
375
|
+
<substage>93</substage>
|
376
|
+
</status>
|
377
|
+
<copyright>
|
378
|
+
<from>2001</from>
|
379
|
+
<owner>
|
380
|
+
<organization>
|
381
|
+
<name>ISO</name>
|
382
|
+
</organization>
|
383
|
+
</owner>
|
384
|
+
</copyright>
|
385
|
+
<relation type='obsoletes'>
|
386
|
+
<bibitem type='standard'>
|
387
|
+
<formattedref format='text/plain'>ISO 123:1985</formattedref>
|
388
|
+
</bibitem>
|
389
|
+
</relation>
|
390
|
+
<relation type='instance'>
|
391
|
+
<bibitem type='standard'>
|
392
|
+
<fetched>#{Date.today}</fetched>
|
393
|
+
<title type='title-intro' format='text/plain' language='en' script='Latn'>Rubber latex</title>
|
394
|
+
<title type='title-main' format='text/plain' language='en' script='Latn'>Sampling</title>
|
395
|
+
<title type='main' format='text/plain' language='en' script='Latn'>Rubber latex — Sampling</title>
|
396
|
+
<uri type='src'>https://www.iso.org/standard/23281.html</uri>
|
397
|
+
<uri type='obp'>https://www.iso.org/obp/ui/#!iso:std:23281:en</uri>
|
398
|
+
<uri type='rss'>https://www.iso.org/contents/data/standard/02/32/23281.detail.rss</uri>
|
399
|
+
<docidentifier type='ISO'>ISO 123:2001</docidentifier>
|
400
|
+
<docidentifier type='URN'>urn:iso:std:iso:123:stage-90.93:ed-3:en</docidentifier>
|
401
|
+
<docnumber>123</docnumber>
|
402
|
+
<date type='published'>
|
403
|
+
<on>2001-05</on>
|
404
|
+
</date>
|
405
|
+
<contributor>
|
406
|
+
<role type='publisher'/>
|
407
|
+
<organization>
|
408
|
+
<name>International Organization for Standardization</name>
|
409
|
+
<abbreviation>ISO</abbreviation>
|
410
|
+
<uri>www.iso.org</uri>
|
411
|
+
</organization>
|
412
|
+
</contributor>
|
413
|
+
<edition>3</edition>
|
414
|
+
<language>en</language>
|
415
|
+
<script>Latn</script>
|
416
|
+
<abstract format='text/plain' language='en' script='Latn'>
|
417
|
+
This International Standard specifies procedures for sampling
|
418
|
+
natural rubber latex concentrate and for sampling syntheticrubber
|
419
|
+
latices and artificial latices. It is also suitable for sampling
|
420
|
+
rubber latex contained in drums, tank cars ortanks. The procedures
|
421
|
+
may also be used for sampling plastics dispersions.
|
422
|
+
</abstract>
|
423
|
+
<status>
|
424
|
+
<stage>90</stage>
|
425
|
+
<substage>93</substage>
|
426
|
+
</status>
|
427
|
+
<copyright>
|
428
|
+
<from>2001</from>
|
429
|
+
<owner>
|
430
|
+
<organization>
|
431
|
+
<name>ISO</name>
|
432
|
+
</organization>
|
433
|
+
</owner>
|
434
|
+
</copyright>
|
435
|
+
<relation type='obsoletes'>
|
436
|
+
<bibitem type='standard'>
|
437
|
+
<formattedref format='text/plain'>ISO 123:1985</formattedref>
|
438
|
+
</bibitem>
|
439
|
+
</relation>
|
440
|
+
<place>Geneva</place>
|
441
|
+
</bibitem>
|
442
|
+
</relation>
|
443
|
+
<relation type='instance'>
|
444
|
+
<bibitem type='standard'>
|
445
|
+
<formattedref format='text/plain'>ISO 123:1985</formattedref>
|
446
|
+
</bibitem>
|
447
|
+
</relation>
|
448
|
+
<relation type='instance'>
|
449
|
+
<bibitem type='standard'>
|
450
|
+
<formattedref format='text/plain'>ISO 123:1974</formattedref>
|
451
|
+
</bibitem>
|
452
|
+
</relation>
|
453
|
+
<place>Geneva</place>
|
454
|
+
</bibitem>
|
455
|
+
</references>
|
456
|
+
</bibliography>
|
457
|
+
</standard-document>
|
458
|
+
OUTPUT
|
459
|
+
end
|
460
|
+
end
|
461
|
+
|
462
|
+
it "fetches simple ISO reference in French" do
|
463
|
+
VCR.use_cassette "isobib_get_123_1_fr" do
|
464
|
+
expect(xmlpp(strip_guid(Asciidoctor.convert(<<~"INPUT", backend: :standoc, header_footer: true)))).to be_equivalent_to xmlpp( <<~"OUTPUT")
|
465
|
+
= Document title
|
466
|
+
Author
|
467
|
+
:docfile: test.adoc
|
468
|
+
:nodoc:
|
469
|
+
:novalid:
|
470
|
+
:no-isobib-cache:
|
471
|
+
:language: fr
|
472
|
+
|
473
|
+
[bibliography]
|
474
|
+
== Normative References
|
475
|
+
|
476
|
+
* [[[iso123,ISO 123]]] _Standard_
|
477
|
+
* [[[iso124,(1)ISO 123]]] _Standard_
|
478
|
+
INPUT
|
479
|
+
#{BLANK_HDR.sub(%r{<language>en</language>}, "<language>fr</language>")}
|
480
|
+
<sections>
|
481
|
+
|
482
|
+
</sections><bibliography>
|
483
|
+
<references id='_' normative='true' obligation='informative'>
|
484
|
+
<title>Références normatives</title>
|
485
|
+
<p id='_'>
|
486
|
+
Les documents suivants cités dans le texte constituent, pour tout ou
|
487
|
+
partie de leur contenu, des exigences du présent document. Pour les
|
488
|
+
références datées, seule l’édition citée s’applique. Pour les références
|
489
|
+
non datées, la dernière édition du document de référence s’applique (y
|
490
|
+
compris les éventuels amendements).
|
491
|
+
</p>
|
492
|
+
<bibitem id='iso123' type='standard'>
|
493
|
+
<fetched>#{Date.today}</fetched>
|
246
494
|
<title type='title-intro' format='text/plain' language='fr' script='Latn'>Latex de caoutchouc</title>
|
247
495
|
<title type='title-main' format='text/plain' language='fr' script='Latn'>Échantillonnage</title>
|
248
496
|
<title type='main' format='text/plain' language='fr' script='Latn'>Latex de caoutchouc – Échantillonnage</title>
|
@@ -250,9 +498,10 @@ RSpec.describe Asciidoctor::Standoc do
|
|
250
498
|
<uri type='obp'>https://www.iso.org/obp/ui/#!iso:std:23281:en</uri>
|
251
499
|
<uri type='rss'>https://www.iso.org/contents/data/standard/02/32/23281.detail.rss</uri>
|
252
500
|
<docidentifier type='ISO'>ISO 123 (all parts)</docidentifier>
|
501
|
+
<docidentifier type='URN'>urn:iso:std:iso:123</docidentifier>
|
253
502
|
<docnumber>123</docnumber>
|
254
503
|
<date type='published'>
|
255
|
-
<on>2001</on>
|
504
|
+
<on>2001-05</on>
|
256
505
|
</date>
|
257
506
|
<contributor>
|
258
507
|
<role type='publisher'/>
|
@@ -286,9 +535,6 @@ RSpec.describe Asciidoctor::Standoc do
|
|
286
535
|
<relation type='instance'>
|
287
536
|
<bibitem type='standard'>
|
288
537
|
<fetched>#{Date.today}</fetched>
|
289
|
-
<title type='title-intro' format='text/plain' language='en' script='Latn'>Rubber latex</title>
|
290
|
-
<title type='title-main' format='text/plain' language='en' script='Latn'>Sampling</title>
|
291
|
-
<title type='main' format='text/plain' language='en' script='Latn'>Rubber latex — Sampling</title>
|
292
538
|
<title type='title-intro' format='text/plain' language='fr' script='Latn'>Latex de caoutchouc</title>
|
293
539
|
<title type='title-main' format='text/plain' language='fr' script='Latn'>Échantillonnage</title>
|
294
540
|
<title type='main' format='text/plain' language='fr' script='Latn'>Latex de caoutchouc — Échantillonnage</title>
|
@@ -296,9 +542,10 @@ RSpec.describe Asciidoctor::Standoc do
|
|
296
542
|
<uri type='obp'>https://www.iso.org/obp/ui/#!iso:std:23281:en</uri>
|
297
543
|
<uri type='rss'>https://www.iso.org/contents/data/standard/02/32/23281.detail.rss</uri>
|
298
544
|
<docidentifier type='ISO'>ISO 123:2001</docidentifier>
|
545
|
+
<docidentifier type='URN'>urn:iso:std:iso:123:stage-90.93:ed-3:fr</docidentifier>
|
299
546
|
<docnumber>123</docnumber>
|
300
547
|
<date type='published'>
|
301
|
-
<on>2001</on>
|
548
|
+
<on>2001-05</on>
|
302
549
|
</date>
|
303
550
|
<contributor>
|
304
551
|
<role type='publisher'/>
|
@@ -312,6 +559,15 @@ RSpec.describe Asciidoctor::Standoc do
|
|
312
559
|
<language>en</language>
|
313
560
|
<language>fr</language>
|
314
561
|
<script>Latn</script>
|
562
|
+
<abstract format='text/plain' language='fr' script='Latn'>
|
563
|
+
La présente Norme internationale spécifie des méthodes
|
564
|
+
d’échantillonnage pour des concentrés de latex de
|
565
|
+
caoutchoucnaturel et pour échantillonner des latex de caoutchouc
|
566
|
+
synthétique et des latex artificiels. Elle s’applique égalementà
|
567
|
+
l’échantillonnage de latex de caoutchouc contenus dans des fûts,
|
568
|
+
citernes routières ou de stockage. Lemode opératoire peut aussi
|
569
|
+
être utilisé pour l’échantillonnage de dispersions de plastiques.
|
570
|
+
</abstract>
|
315
571
|
<status>
|
316
572
|
<stage>90</stage>
|
317
573
|
<substage>93</substage>
|
@@ -346,9 +602,6 @@ RSpec.describe Asciidoctor::Standoc do
|
|
346
602
|
</bibitem>
|
347
603
|
<bibitem id='iso124' type='standard'>
|
348
604
|
<fetched>#{Date.today}</fetched>
|
349
|
-
<title type='title-intro' format='text/plain' language='en' script='Latn'>Rubber latex</title>
|
350
|
-
<title type='title-main' format='text/plain' language='en' script='Latn'>Sampling</title>
|
351
|
-
<title type='main' format='text/plain' language='en' script='Latn'>Rubber latex – Sampling</title>
|
352
605
|
<title type='title-intro' format='text/plain' language='fr' script='Latn'>Latex de caoutchouc</title>
|
353
606
|
<title type='title-main' format='text/plain' language='fr' script='Latn'>Échantillonnage</title>
|
354
607
|
<title type='main' format='text/plain' language='fr' script='Latn'>Latex de caoutchouc – Échantillonnage</title>
|
@@ -356,10 +609,11 @@ RSpec.describe Asciidoctor::Standoc do
|
|
356
609
|
<uri type='obp'>https://www.iso.org/obp/ui/#!iso:std:23281:en</uri>
|
357
610
|
<uri type='rss'>https://www.iso.org/contents/data/standard/02/32/23281.detail.rss</uri>
|
358
611
|
<docidentifier type='ISO'>ISO 123 (all parts)</docidentifier>
|
359
|
-
<docidentifier type='metanorma'>[
|
612
|
+
<docidentifier type='metanorma'>[2]</docidentifier>
|
613
|
+
<docidentifier type='URN'>urn:iso:std:iso:123</docidentifier>
|
360
614
|
<docnumber>123</docnumber>
|
361
615
|
<date type='published'>
|
362
|
-
<on>2001</on>
|
616
|
+
<on>2001-05</on>
|
363
617
|
</date>
|
364
618
|
<contributor>
|
365
619
|
<role type='publisher'/>
|
@@ -393,9 +647,6 @@ RSpec.describe Asciidoctor::Standoc do
|
|
393
647
|
<relation type='instance'>
|
394
648
|
<bibitem type='standard'>
|
395
649
|
<fetched>#{Date.today}</fetched>
|
396
|
-
<title type='title-intro' format='text/plain' language='en' script='Latn'>Rubber latex</title>
|
397
|
-
<title type='title-main' format='text/plain' language='en' script='Latn'>Sampling</title>
|
398
|
-
<title type='main' format='text/plain' language='en' script='Latn'>Rubber latex — Sampling</title>
|
399
650
|
<title type='title-intro' format='text/plain' language='fr' script='Latn'>Latex de caoutchouc</title>
|
400
651
|
<title type='title-main' format='text/plain' language='fr' script='Latn'>Échantillonnage</title>
|
401
652
|
<title type='main' format='text/plain' language='fr' script='Latn'>Latex de caoutchouc — Échantillonnage</title>
|
@@ -403,9 +654,10 @@ RSpec.describe Asciidoctor::Standoc do
|
|
403
654
|
<uri type='obp'>https://www.iso.org/obp/ui/#!iso:std:23281:en</uri>
|
404
655
|
<uri type='rss'>https://www.iso.org/contents/data/standard/02/32/23281.detail.rss</uri>
|
405
656
|
<docidentifier type='ISO'>ISO 123:2001</docidentifier>
|
657
|
+
<docidentifier type='URN'>urn:iso:std:iso:123:stage-90.93:ed-3:fr</docidentifier>
|
406
658
|
<docnumber>123</docnumber>
|
407
659
|
<date type='published'>
|
408
|
-
<on>2001</on>
|
660
|
+
<on>2001-05</on>
|
409
661
|
</date>
|
410
662
|
<contributor>
|
411
663
|
<role type='publisher'/>
|
@@ -419,6 +671,15 @@ RSpec.describe Asciidoctor::Standoc do
|
|
419
671
|
<language>en</language>
|
420
672
|
<language>fr</language>
|
421
673
|
<script>Latn</script>
|
674
|
+
<abstract format='text/plain' language='fr' script='Latn'>
|
675
|
+
La présente Norme internationale spécifie des méthodes
|
676
|
+
d’échantillonnage pour des concentrés de latex de
|
677
|
+
caoutchoucnaturel et pour échantillonner des latex de caoutchouc
|
678
|
+
synthétique et des latex artificiels. Elle s’applique égalementà
|
679
|
+
l’échantillonnage de latex de caoutchouc contenus dans des fûts,
|
680
|
+
citernes routières ou de stockage. Lemode opératoire peut aussi
|
681
|
+
être utilisé pour l’échantillonnage de dispersions de plastiques.
|
682
|
+
</abstract>
|
422
683
|
<status>
|
423
684
|
<stage>90</stage>
|
424
685
|
<substage>93</substage>
|
@@ -485,7 +746,7 @@ RSpec.describe Asciidoctor::Standoc do
|
|
485
746
|
</bibitem>
|
486
747
|
<bibitem id='iso124' type='standard'>
|
487
748
|
<title format='text/plain'>Standard</title>
|
488
|
-
<docidentifier type='metanorma'>[
|
749
|
+
<docidentifier type='metanorma'>[2]</docidentifier>
|
489
750
|
<docidentifier>IEC 123</docidentifier>
|
490
751
|
<docnumber>123</docnumber>
|
491
752
|
<contributor>
|
@@ -525,15 +786,14 @@ RSpec.describe Asciidoctor::Standoc do
|
|
525
786
|
<fetched>#{Date.today}</fetched>
|
526
787
|
<title type="title-main" format="text/plain" language="en" script="Latn">Permuted index of the vocabulary of information technology</title>
|
527
788
|
<title type="main" format="text/plain" language="en" script="Latn">Permuted index of the vocabulary of information technology</title>
|
528
|
-
<title type="title-main" format="text/plain" language="fr" script="Latn">Index permuté du vocabulaire des technologies de l’information</title>
|
529
|
-
<title type="main" format="text/plain" language="fr" script="Latn">Index permuté du vocabulaire des technologies de l’information</title>
|
530
789
|
<uri type="src">https://www.iso.org/standard/21071.html</uri>
|
531
790
|
<uri type="obp">https://www.iso.org/obp/ui/#!iso:std:21071:en</uri>
|
532
791
|
<uri type="rss">https://www.iso.org/contents/data/standard/02/10/21071.detail.rss</uri>
|
533
792
|
<docidentifier type="ISO">ISO/IEC TR 12382:1992</docidentifier>
|
793
|
+
<docidentifier type='URN'>urn:iso:std:iso-iec:tr:12382:stage-90.93:ed-2:en</docidentifier>
|
534
794
|
<docnumber>12382</docnumber>
|
535
795
|
<date type="published">
|
536
|
-
<on>1992</on>
|
796
|
+
<on>1992-12</on>
|
537
797
|
</date>
|
538
798
|
<contributor>
|
539
799
|
<role type="publisher"/>
|
@@ -553,10 +813,8 @@ RSpec.describe Asciidoctor::Standoc do
|
|
553
813
|
</contributor>
|
554
814
|
<edition>2</edition>
|
555
815
|
<language>en</language>
|
556
|
-
<language>fr</language>
|
557
816
|
<script>Latn</script>
|
558
817
|
<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>
|
559
|
-
<abstract format="text/plain" language="fr" 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>
|
560
818
|
<status>
|
561
819
|
<stage>90</stage>
|
562
820
|
<substage>93</substage>
|
@@ -576,16 +834,14 @@ RSpec.describe Asciidoctor::Standoc do
|
|
576
834
|
<title type="title-intro" format="text/plain" language="en" script="Latn">Latex, rubber</title>
|
577
835
|
<title type="title-main" format="text/plain" language="en" script="Latn">Determination of total solids content</title>
|
578
836
|
<title type='main' format='text/plain' language='en' script='Latn'>Latex, rubber — Determination of total solids content</title>
|
579
|
-
<title type="title-intro" format="text/plain" language="fr" script="Latn">Latex de caoutchouc</title>
|
580
|
-
<title type="title-main" format="text/plain" language="fr" script="Latn">Détermination des matières solides totales</title>
|
581
|
-
<title type='main' format='text/plain' language='fr' script='Latn'>Latex de caoutchouc — Détermination des matières solides totales</title>
|
582
837
|
<uri type="src">https://www.iso.org/standard/61884.html</uri>
|
583
838
|
<uri type="obp">https://www.iso.org/obp/ui/#!iso:std:61884:en</uri>
|
584
839
|
<uri type="rss">https://www.iso.org/contents/data/standard/06/18/61884.detail.rss</uri>
|
585
840
|
<docidentifier type="ISO">ISO 124:2014</docidentifier>
|
841
|
+
<docidentifier type='URN'>urn:iso:std:iso:124:stage-90.93:ed-7:en</docidentifier>
|
586
842
|
<docnumber>124</docnumber>
|
587
843
|
<date type="published">
|
588
|
-
<on>2014</on>
|
844
|
+
<on>2014-03</on>
|
589
845
|
</date>
|
590
846
|
<contributor>
|
591
847
|
<role type="publisher"/>
|
@@ -597,10 +853,8 @@ RSpec.describe Asciidoctor::Standoc do
|
|
597
853
|
</contributor>
|
598
854
|
<edition>7</edition>
|
599
855
|
<language>en</language>
|
600
|
-
<language>fr</language>
|
601
856
|
<script>Latn</script>
|
602
857
|
<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>
|
603
|
-
<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>
|
604
858
|
<status>
|
605
859
|
<stage>90</stage>
|
606
860
|
<substage>93</substage>
|
@@ -624,16 +878,15 @@ RSpec.describe Asciidoctor::Standoc do
|
|
624
878
|
<fetched>#{Date.today}</fetched>
|
625
879
|
<title type="title-main" format="text/plain" language="en" script="Latn">Permuted index of the vocabulary of information technology</title>
|
626
880
|
<title type='main' format='text/plain' language='en' script='Latn'>Permuted index of the vocabulary of information technology</title>
|
627
|
-
<title type="title-main" format="text/plain" language="fr" script="Latn">Index permuté du vocabulaire des technologies de l’information</title>
|
628
|
-
<title type='main' format='text/plain' language='fr' script='Latn'>Index permuté du vocabulaire des technologies de l’information</title>
|
629
881
|
<uri type="src">https://www.iso.org/standard/21071.html</uri>
|
630
882
|
<uri type="obp">https://www.iso.org/obp/ui/#!iso:std:21071:en</uri>
|
631
883
|
<uri type="rss">https://www.iso.org/contents/data/standard/02/10/21071.detail.rss</uri>
|
632
884
|
<docidentifier type="ISO">ISO/IEC TR 12382:1992</docidentifier>
|
633
|
-
<docidentifier type='metanorma'>[
|
885
|
+
<docidentifier type='metanorma'>[3]</docidentifier>
|
886
|
+
<docidentifier type='URN'>urn:iso:std:iso-iec:tr:12382:stage-90.93:ed-2:en</docidentifier>
|
634
887
|
<docnumber>12382</docnumber>
|
635
888
|
<date type="published">
|
636
|
-
<on>1992</on>
|
889
|
+
<on>1992-12</on>
|
637
890
|
</date>
|
638
891
|
<contributor>
|
639
892
|
<role type="publisher"/>
|
@@ -653,10 +906,8 @@ RSpec.describe Asciidoctor::Standoc do
|
|
653
906
|
</contributor>
|
654
907
|
<edition>2</edition>
|
655
908
|
<language>en</language>
|
656
|
-
<language>fr</language>
|
657
909
|
<script>Latn</script>
|
658
910
|
<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>
|
659
|
-
<abstract format="text/plain" language="fr" 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>
|
660
911
|
<status>
|
661
912
|
<stage>90</stage>
|
662
913
|
<substage>93</substage>
|
@@ -676,17 +927,15 @@ RSpec.describe Asciidoctor::Standoc do
|
|
676
927
|
<title type="title-intro" format="text/plain" language="en" script="Latn">Latex, rubber</title>
|
677
928
|
<title type="title-main" format="text/plain" language="en" script="Latn">Determination of total solids content</title>
|
678
929
|
<title type='main' format='text/plain' language='en' script='Latn'>Latex, rubber — Determination of total solids content</title>
|
679
|
-
<title type="title-intro" format="text/plain" language="fr" script="Latn">Latex de caoutchouc</title>
|
680
|
-
<title type="title-main" format="text/plain" language="fr" script="Latn">Détermination des matières solides totales</title>
|
681
|
-
<title type='main' format='text/plain' language='fr' script='Latn'>Latex de caoutchouc — Détermination des matières solides totales</title>
|
682
930
|
<uri type="src">https://www.iso.org/standard/61884.html</uri>
|
683
931
|
<uri type="obp">https://www.iso.org/obp/ui/#!iso:std:61884:en</uri>
|
684
932
|
<uri type="rss">https://www.iso.org/contents/data/standard/06/18/61884.detail.rss</uri>
|
685
933
|
<docidentifier type="ISO">ISO 124:2014</docidentifier>
|
686
|
-
<docidentifier type='metanorma'>[
|
934
|
+
<docidentifier type='metanorma'>[4]</docidentifier>
|
935
|
+
<docidentifier type='URN'>urn:iso:std:iso:124:stage-90.93:ed-7:en</docidentifier>
|
687
936
|
<docnumber>124</docnumber>
|
688
937
|
<date type="published">
|
689
|
-
<on>2014</on>
|
938
|
+
<on>2014-03</on>
|
690
939
|
</date>
|
691
940
|
<contributor>
|
692
941
|
<role type="publisher"/>
|
@@ -698,10 +947,8 @@ RSpec.describe Asciidoctor::Standoc do
|
|
698
947
|
</contributor>
|
699
948
|
<edition>7</edition>
|
700
949
|
<language>en</language>
|
701
|
-
<language>fr</language>
|
702
950
|
<script>Latn</script>
|
703
951
|
<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>
|
704
|
-
<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>
|
705
952
|
<status>
|
706
953
|
<stage>90</stage>
|
707
954
|
<substage>93</substage>
|
@@ -756,16 +1003,14 @@ RSpec.describe Asciidoctor::Standoc do
|
|
756
1003
|
<title type='title-intro' format='text/plain' language='en' script='Latn'>Latex, rubber</title>
|
757
1004
|
<title type='title-main' format='text/plain' language='en' script='Latn'>Determination of total solids content</title>
|
758
1005
|
<title type='main' format='text/plain' language='en' script='Latn'>Latex, rubber — Determination of total solids content</title>
|
759
|
-
<title type='title-intro' format='text/plain' language='fr' script='Latn'>Latex de caoutchouc</title>
|
760
|
-
<title type='title-main' format='text/plain' language='fr' script='Latn'>Détermination des matières solides totales</title>
|
761
|
-
<title type='main' format='text/plain' language='fr' script='Latn'>Latex de caoutchouc — Détermination des matières solides totales</title>
|
762
1006
|
<uri type='src'>https://www.iso.org/standard/61884.html</uri>
|
763
1007
|
<uri type='obp'>https://www.iso.org/obp/ui/#!iso:std:61884:en</uri>
|
764
1008
|
<uri type='rss'>https://www.iso.org/contents/data/standard/06/18/61884.detail.rss</uri>
|
765
1009
|
<docidentifier type='ISO'>ISO 124:2014</docidentifier>
|
1010
|
+
<docidentifier type='URN'>urn:iso:std:iso:124:stage-90.93:ed-7:en</docidentifier>
|
766
1011
|
<docnumber>124</docnumber>
|
767
1012
|
<date type='published'>
|
768
|
-
<on>2014</on>
|
1013
|
+
<on>2014-03</on>
|
769
1014
|
</date>
|
770
1015
|
<contributor>
|
771
1016
|
<role type='publisher'/>
|
@@ -777,10 +1022,8 @@ RSpec.describe Asciidoctor::Standoc do
|
|
777
1022
|
</contributor>
|
778
1023
|
<edition>7</edition>
|
779
1024
|
<language>en</language>
|
780
|
-
<language>fr</language>
|
781
1025
|
<script>Latn</script>
|
782
1026
|
<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>
|
783
|
-
<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>
|
784
1027
|
<status>
|
785
1028
|
<stage>90</stage>
|
786
1029
|
<substage>93</substage>
|
@@ -850,7 +1093,7 @@ OUTPUT
|
|
850
1093
|
<name>ISO</name>
|
851
1094
|
</organization>
|
852
1095
|
</contributor>
|
853
|
-
<note format="text/plain" type="
|
1096
|
+
<note format="text/plain" type="Unpublished-Status">The standard is in press</note>
|
854
1097
|
</bibitem>
|
855
1098
|
<bibitem id="iso125" type="standard">
|
856
1099
|
<title format="text/plain">Standard</title>
|
@@ -865,11 +1108,11 @@ OUTPUT
|
|
865
1108
|
<name>ISO</name>
|
866
1109
|
</organization>
|
867
1110
|
</contributor>
|
868
|
-
<note format="text/plain" type="
|
1111
|
+
<note format="text/plain" type="Unpublished-Status">The standard is in press</note>
|
869
1112
|
</bibitem>
|
870
1113
|
<bibitem id='iso126' type='standard'>
|
871
1114
|
<title format='text/plain'>Standard</title>
|
872
|
-
<docidentifier type='metanorma'>[
|
1115
|
+
<docidentifier type='metanorma'>[4]</docidentifier>
|
873
1116
|
<docidentifier>ISO 123:—</docidentifier>
|
874
1117
|
<docnumber>123</docnumber>
|
875
1118
|
<date type='published'>
|
@@ -923,7 +1166,7 @@ OUTPUT
|
|
923
1166
|
</bibitem>
|
924
1167
|
<bibitem id='iso124' type='standard'>
|
925
1168
|
<title format='text/plain'>Standard</title>
|
926
|
-
<docidentifier type='metanorma'>[
|
1169
|
+
<docidentifier type='metanorma'>[2]</docidentifier>
|
927
1170
|
<docidentifier>ISO 123:1066 (all parts)</docidentifier>
|
928
1171
|
<docnumber>123</docnumber>
|
929
1172
|
<date type='published'>
|
@@ -1036,7 +1279,7 @@ OUTPUT
|
|
1036
1279
|
<uri type='xml'>https://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.RFC.8341.xml</uri>
|
1037
1280
|
<uri type="src">https://www.rfc-editor.org/info/rfc8341</uri>
|
1038
1281
|
<docidentifier type="IETF">RFC 8341</docidentifier>
|
1039
|
-
<docidentifier type='metanorma'>[
|
1282
|
+
<docidentifier type='metanorma'>[2]</docidentifier>
|
1040
1283
|
<docidentifier type='rfc-anchor'>RFC8341</docidentifier>
|
1041
1284
|
<docidentifier type="DOI">10.17487/RFC8341</docidentifier>
|
1042
1285
|
<date type="published">
|
@@ -1123,7 +1366,7 @@ OUTPUT
|
|
1123
1366
|
<formattedref format='application/x-isodoc+xml'>
|
1124
1367
|
<em>Standard</em>
|
1125
1368
|
</formattedref>
|
1126
|
-
<docidentifier type='metanorma'>[
|
1369
|
+
<docidentifier type='metanorma'>[2]</docidentifier>
|
1127
1370
|
<docidentifier>XYZ 123:1066 (all parts)</docidentifier>
|
1128
1371
|
<docnumber>123:1066 (all parts)</docnumber>
|
1129
1372
|
</bibitem>
|
@@ -1198,7 +1441,7 @@ OUTPUT
|
|
1198
1441
|
* [[[iso124,(1)ISO 123]]] _Standard_
|
1199
1442
|
INPUT
|
1200
1443
|
<?xml version="1.0" encoding="UTF-8"?>
|
1201
|
-
<standard-document xmlns="https://www.metanorma.org/ns/standoc">
|
1444
|
+
<standard-document xmlns="https://www.metanorma.org/ns/standoc" type="semantic" version="#{Metanorma::Standoc::VERSION}">
|
1202
1445
|
<bibdata type="standard">
|
1203
1446
|
<title language="en" format="text/plain">Document title</title>
|
1204
1447
|
<language>en</language>
|
@@ -1229,7 +1472,7 @@ OUTPUT
|
|
1229
1472
|
</bibitem>
|
1230
1473
|
<bibitem id='iso124' type='standard'>
|
1231
1474
|
<title format='text/plain'>Standard</title>
|
1232
|
-
<docidentifier type='metanorma'>[
|
1475
|
+
<docidentifier type='metanorma'>[2]</docidentifier>
|
1233
1476
|
<docidentifier type='ISO'>ISO 123</docidentifier>
|
1234
1477
|
<docnumber>123</docnumber>
|
1235
1478
|
<contributor>
|
@@ -1250,53 +1493,68 @@ OUTPUT
|
|
1250
1493
|
== Scope
|
1251
1494
|
|
1252
1495
|
<<iso123>>
|
1253
|
-
|
1254
1496
|
<<iso123,clause=1>>
|
1497
|
+
<<iso124>>
|
1498
|
+
<<iso124,clause=1>>
|
1255
1499
|
|
1256
1500
|
[bibliography]
|
1257
1501
|
== Normative References
|
1258
1502
|
|
1259
|
-
* [[[iso123,repo:(
|
1503
|
+
* [[[iso123,repo:(ab/ISO 123)]]] _Standard_
|
1504
|
+
* [[[iso124,repo:(ab/ISO 124,id)]]] _Standard_
|
1260
1505
|
INPUT
|
1261
1506
|
#{BLANK_HDR}
|
1262
|
-
|
1263
|
-
|
1264
|
-
|
1265
|
-
|
1266
|
-
|
1267
|
-
|
1268
|
-
|
1269
|
-
|
1270
|
-
|
1271
|
-
|
1272
|
-
|
1273
|
-
|
1274
|
-
|
1275
|
-
|
1276
|
-
|
1277
|
-
|
1278
|
-
|
1279
|
-
|
1280
|
-
|
1281
|
-
|
1282
|
-
|
1283
|
-
|
1284
|
-
|
1285
|
-
|
1286
|
-
|
1287
|
-
|
1288
|
-
|
1289
|
-
|
1290
|
-
|
1291
|
-
|
1292
|
-
|
1293
|
-
|
1294
|
-
|
1295
|
-
|
1296
|
-
|
1297
|
-
|
1298
|
-
|
1299
|
-
</
|
1507
|
+
<sections>
|
1508
|
+
<clause id='_' type='scope' inline-header='false' obligation='normative'>
|
1509
|
+
<title>Scope</title>
|
1510
|
+
<p id='_'>
|
1511
|
+
<eref type='inline' bibitemid='iso123' citeas='ISO 123'/>
|
1512
|
+
<eref type='inline' bibitemid='iso123' citeas='ISO 123'>
|
1513
|
+
<localityStack>
|
1514
|
+
<locality type='clause'>
|
1515
|
+
<referenceFrom>1</referenceFrom>
|
1516
|
+
</locality>
|
1517
|
+
</localityStack>
|
1518
|
+
</eref>
|
1519
|
+
<eref type='inline' bibitemid='iso124' citeas='id'/>
|
1520
|
+
<eref type='inline' bibitemid='iso124' citeas='id'>
|
1521
|
+
<localityStack>
|
1522
|
+
<locality type='clause'>
|
1523
|
+
<referenceFrom>1</referenceFrom>
|
1524
|
+
</locality>
|
1525
|
+
</localityStack>
|
1526
|
+
</eref>
|
1527
|
+
</p>
|
1528
|
+
</clause>
|
1529
|
+
</sections>
|
1530
|
+
<bibliography>
|
1531
|
+
<references id='_' normative='true' obligation='informative'>
|
1532
|
+
<title>Normative references</title>
|
1533
|
+
<p id='_'>
|
1534
|
+
The following documents are referred to in the text in such a way that
|
1535
|
+
some or all of their content constitutes requirements of this document.
|
1536
|
+
For dated references, only the edition cited applies. For undated
|
1537
|
+
references, the latest edition of the referenced document (including any
|
1538
|
+
amendments) applies.
|
1539
|
+
</p>
|
1540
|
+
<bibitem id='iso123'>
|
1541
|
+
<formattedref format='application/x-isodoc+xml'>
|
1542
|
+
<em>Standard</em>
|
1543
|
+
</formattedref>
|
1544
|
+
<docidentifier type='ISO'>ISO 123</docidentifier>
|
1545
|
+
<docidentifier type='repository'>ab/ISO 123</docidentifier>
|
1546
|
+
<docnumber>123</docnumber>
|
1547
|
+
</bibitem>
|
1548
|
+
<bibitem id='iso124'>
|
1549
|
+
<formattedref format='application/x-isodoc+xml'>
|
1550
|
+
<em>Standard</em>
|
1551
|
+
</formattedref>
|
1552
|
+
<docidentifier>id</docidentifier>
|
1553
|
+
<docidentifier type='repository'>ab/ISO 124</docidentifier>
|
1554
|
+
</bibitem>
|
1555
|
+
</references>
|
1556
|
+
</bibliography>
|
1557
|
+
</standard-document>
|
1300
1558
|
OUTPUT
|
1301
1559
|
end
|
1302
1560
|
|
@@ -1374,8 +1632,8 @@ OUTPUT
|
|
1374
1632
|
<title type='title-main' format='text/plain' language='en' script='Latn'>Sampling</title>
|
1375
1633
|
<title type='main' format='text/plain' language='en' script='Latn'>Rubber latex – Sampling</title>
|
1376
1634
|
<title type='title-intro' format='text/plain' language='fr' script='Latn'>Latex de caoutchouc</title>
|
1377
|
-
|
1378
|
-
|
1635
|
+
<title type='title-main' format='text/plain' language='fr' script='Latn'>Échantillonnage</title>
|
1636
|
+
<title type='main' format='text/plain' language='fr' script='Latn'>Latex de caoutchouc – Échantillonnage</title>
|
1379
1637
|
<uri type='src'>https://www.iso.org/standard/23281.html</uri>
|
1380
1638
|
<uri type='obp'>https://www.iso.org/obp/ui/#!iso:std:23281:en</uri>
|
1381
1639
|
<uri type='rss'>https://www.iso.org/contents/data/standard/02/32/23281.detail.rss</uri>
|
@@ -1421,8 +1679,8 @@ OUTPUT
|
|
1421
1679
|
<title type='title-main' format='text/plain' language='en' script='Latn'>Sampling</title>
|
1422
1680
|
<title type='main' format='text/plain' language='en' script='Latn'>Rubber latex – Sampling</title>
|
1423
1681
|
<title type='title-intro' format='text/plain' language='fr' script='Latn'>Latex de caoutchouc</title>
|
1424
|
-
|
1425
|
-
|
1682
|
+
<title type='title-main' format='text/plain' language='fr' script='Latn'>Échantillonnage</title>
|
1683
|
+
<title type='main' format='text/plain' language='fr' script='Latn'>Latex de caoutchouc – Échantillonnage</title>
|
1426
1684
|
<uri type='src'>https://www.iso.org/standard/23281.html</uri>
|
1427
1685
|
<uri type='obp'>https://www.iso.org/obp/ui/#!iso:std:23281:en</uri>
|
1428
1686
|
<uri type='rss'>https://www.iso.org/contents/data/standard/02/32/23281.detail.rss</uri>
|
@@ -1502,7 +1760,7 @@ OUTPUT
|
|
1502
1760
|
end
|
1503
1761
|
|
1504
1762
|
def mock_isobib_get_123_no_docid
|
1505
|
-
expect(RelatonIso::IsoBibliography).to receive(:get).with("ISO 123", nil, {:title=>"<em>Standard</em>", usrlbl: nil}) do
|
1763
|
+
expect(RelatonIso::IsoBibliography).to receive(:get).with("ISO 123", nil, {:lang=>"en", :title=>"<em>Standard</em>", usrlbl: nil}) do
|
1506
1764
|
RelatonBib::XMLParser.from_xml(<<~"OUTPUT")
|
1507
1765
|
<bibitem type=\"standard\" id=\"ISO123\">\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 <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><stage>Published</stage></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>
|
1508
1766
|
OUTPUT
|
@@ -1510,7 +1768,7 @@ OUTPUT
|
|
1510
1768
|
end
|
1511
1769
|
|
1512
1770
|
def mock_isobib_get_123_no_docid_lbl
|
1513
|
-
expect(RelatonIso::IsoBibliography).to receive(:get).with("ISO 123", nil, {:title=>"<em>Standard</em>", usrlbl: "(1)"}) do
|
1771
|
+
expect(RelatonIso::IsoBibliography).to receive(:get).with("ISO 123", nil, {:lang=>"en", :title=>"<em>Standard</em>", usrlbl: "(1)"}) do
|
1514
1772
|
RelatonBib::XMLParser.from_xml(<<~"OUTPUT")
|
1515
1773
|
<bibitem type=\"standard\" id=\"ISO123\">\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 <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><stage>Published</stage></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>
|
1516
1774
|
OUTPUT
|