metanorma-standoc 1.10.7 → 1.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. checksums.yaml +4 -4
  2. data/README.adoc +19 -23
  3. data/Rakefile +1 -1
  4. data/lib/asciidoctor/standoc/base.rb +7 -4
  5. data/lib/asciidoctor/standoc/basicdoc.rng +21 -4
  6. data/lib/asciidoctor/standoc/blocks.rb +23 -23
  7. data/lib/asciidoctor/standoc/blocks_notes.rb +17 -22
  8. data/lib/asciidoctor/standoc/cleanup.rb +20 -11
  9. data/lib/asciidoctor/standoc/cleanup_image.rb +6 -7
  10. data/lib/asciidoctor/standoc/cleanup_inline.rb +45 -7
  11. data/lib/asciidoctor/standoc/cleanup_maths.rb +5 -6
  12. data/lib/asciidoctor/standoc/cleanup_ref.rb +5 -0
  13. data/lib/asciidoctor/standoc/cleanup_reqt.rb +2 -21
  14. data/lib/asciidoctor/standoc/cleanup_symbols.rb +48 -0
  15. data/lib/asciidoctor/standoc/cleanup_terms.rb +48 -77
  16. data/lib/asciidoctor/standoc/cleanup_terms_designations.rb +162 -0
  17. data/lib/asciidoctor/standoc/cleanup_text.rb +23 -0
  18. data/lib/asciidoctor/standoc/converter.rb +2 -0
  19. data/lib/asciidoctor/standoc/inline.rb +7 -5
  20. data/lib/asciidoctor/standoc/isodoc.rng +420 -76
  21. data/lib/asciidoctor/standoc/lists.rb +14 -16
  22. data/lib/asciidoctor/standoc/macros_plantuml.rb +29 -14
  23. data/lib/asciidoctor/standoc/macros_terms.rb +55 -8
  24. data/lib/asciidoctor/standoc/ref.rb +1 -1
  25. data/lib/asciidoctor/standoc/ref_sect.rb +26 -18
  26. data/lib/asciidoctor/standoc/reqt.rng +23 -2
  27. data/lib/asciidoctor/standoc/section.rb +13 -12
  28. data/lib/asciidoctor/standoc/term_lookup_cleanup.rb +50 -11
  29. data/lib/asciidoctor/standoc/terms.rb +12 -2
  30. data/lib/asciidoctor/standoc/utils.rb +36 -23
  31. data/lib/asciidoctor/standoc/validate.rb +45 -27
  32. data/lib/asciidoctor/standoc/validate_section.rb +5 -2
  33. data/lib/metanorma/standoc/version.rb +1 -1
  34. data/metanorma-standoc.gemspec +1 -1
  35. data/spec/asciidoctor/base_spec.rb +4 -3
  36. data/spec/asciidoctor/blocks_spec.rb +230 -49
  37. data/spec/asciidoctor/cleanup_sections_spec.rb +7 -7
  38. data/spec/asciidoctor/cleanup_spec.rb +105 -286
  39. data/spec/asciidoctor/cleanup_terms_spec.rb +1020 -0
  40. data/spec/asciidoctor/inline_spec.rb +2 -2
  41. data/spec/asciidoctor/lists_spec.rb +6 -6
  42. data/spec/asciidoctor/macros_plantuml_spec.rb +36 -1
  43. data/spec/asciidoctor/macros_spec.rb +190 -113
  44. data/spec/asciidoctor/refs_dl_spec.rb +4 -4
  45. data/spec/asciidoctor/refs_spec.rb +268 -108
  46. data/spec/asciidoctor/section_spec.rb +18 -18
  47. data/spec/asciidoctor/validate_spec.rb +87 -2
  48. data/spec/spec_helper.rb +8 -8
  49. data/spec/vcr_cassettes/dated_iso_ref_joint_iso_iec.yml +50 -50
  50. data/spec/vcr_cassettes/dated_iso_ref_joint_iso_iec1.yml +12 -12
  51. data/spec/vcr_cassettes/isobib_get_123.yml +13 -13
  52. data/spec/vcr_cassettes/isobib_get_123_1.yml +25 -25
  53. data/spec/vcr_cassettes/isobib_get_123_1_fr.yml +31 -31
  54. data/spec/vcr_cassettes/isobib_get_123_2001.yml +12 -12
  55. data/spec/vcr_cassettes/isobib_get_124.yml +11 -11
  56. data/spec/vcr_cassettes/rfcbib_get_rfc8341.yml +14 -14
  57. data/spec/vcr_cassettes/separates_iev_citations_by_top_level_clause.yml +45 -45
  58. metadata +8 -5
@@ -237,20 +237,17 @@ RSpec.describe Asciidoctor::Standoc do
237
237
 
238
238
  </sections><bibliography><references id="_" obligation="informative" normative="true"><title>Normative references</title>
239
239
  #{NORM_REF_BOILERPLATE}
240
- <bibitem id='iso123' type='standard'>
241
- <fetched>#{Date.today}</fetched>
242
- <title type='title-intro' format='text/plain' language='en' script='Latn'>Rubber latex</title>
240
+ <bibitem id='iso123' type='standard'>
241
+ <fetched/>
242
+ <title type='title-intro' format='text/plain' language='en' script='Latn'>Rubber latex</title>
243
243
  <title type='title-main' format='text/plain' language='en' script='Latn'>Sampling</title>
244
244
  <title type='main' format='text/plain' language='en' script='Latn'>Rubber latex&#8201;&#8212;&#8201;Sampling</title>
245
245
  <uri type='src'>https://www.iso.org/standard/23281.html</uri>
246
246
  <uri type='obp'>https://www.iso.org/obp/ui/#!iso:std:23281:en</uri>
247
247
  <uri type='rss'>https://www.iso.org/contents/data/standard/02/32/23281.detail.rss</uri>
248
- <docidentifier type='ISO'>ISO 123:2001</docidentifier>
248
+ <docidentifier type='ISO'>ISO 123</docidentifier>
249
249
  <docidentifier type='URN'>urn:iso:std:iso:123:stage-90.93:ed-3:en</docidentifier>
250
250
  <docnumber>123</docnumber>
251
- <date type='published'>
252
- <on>2001-05</on>
253
- </date>
254
251
  <contributor>
255
252
  <role type='publisher'/>
256
253
  <organization>
@@ -262,13 +259,6 @@ RSpec.describe Asciidoctor::Standoc do
262
259
  <edition>3</edition>
263
260
  <language>en</language>
264
261
  <script>Latn</script>
265
- <abstract format='text/plain' language='en' script='Latn'>
266
- This International Standard specifies procedures for sampling natural
267
- rubber latex concentrate and for sampling synthetic rubber latices and
268
- artificial latices. It is also suitable for sampling rubber latex
269
- contained in drums, tank cars or tanks. The procedures may also be
270
- used for sampling plastics dispersions.
271
- </abstract>
272
262
  <status>
273
263
  <stage>90</stage>
274
264
  <substage>93</substage>
@@ -286,23 +276,73 @@ RSpec.describe Asciidoctor::Standoc do
286
276
  <formattedref format='text/plain'>ISO 123:1985</formattedref>
287
277
  </bibitem>
288
278
  </relation>
279
+ <relation type='instance'>
280
+ <bibitem type='standard'>
281
+ <fetched/>
282
+ <title type='title-intro' format='text/plain' language='en' script='Latn'>Rubber latex</title>
283
+ <title type='title-main' format='text/plain' language='en' script='Latn'>Sampling</title>
284
+ <title type='main' format='text/plain' language='en' script='Latn'>Rubber latex&#8201;&#8212;&#8201;Sampling</title>
285
+ <uri type='src'>https://www.iso.org/standard/23281.html</uri>
286
+ <uri type='obp'>https://www.iso.org/obp/ui/#!iso:std:23281:en</uri>
287
+ <uri type='rss'>https://www.iso.org/contents/data/standard/02/32/23281.detail.rss</uri>
288
+ <docidentifier type='ISO'>ISO 123:2001</docidentifier>
289
+ <docidentifier type='URN'>urn:iso:std:iso:123:stage-90.93:ed-3:en</docidentifier>
290
+ <docnumber>123</docnumber>
291
+ <date type='published'>
292
+ <on>2001-05</on>
293
+ </date>
294
+ <contributor>
295
+ <role type='publisher'/>
296
+ <organization>
297
+ <name>International Organization for Standardization</name>
298
+ <abbreviation>ISO</abbreviation>
299
+ <uri>www.iso.org</uri>
300
+ </organization>
301
+ </contributor>
302
+ <edition>3</edition>
303
+ <language>en</language>
304
+ <script>Latn</script>
305
+ <abstract format='text/plain' language='en' script='Latn'>
306
+ This International Standard specifies procedures for sampling
307
+ natural rubber latex concentrate and for sampling synthetic rubber
308
+ latices and artificial latices. It is also suitable for sampling
309
+ rubber latex contained in drums, tank cars or tanks. The
310
+ procedures may also be used for sampling plastics dispersions.
311
+ </abstract>
312
+ <status>
313
+ <stage>90</stage>
314
+ <substage>93</substage>
315
+ </status>
316
+ <copyright>
317
+ <from>2001</from>
318
+ <owner>
319
+ <organization>
320
+ <name>ISO</name>
321
+ </organization>
322
+ </owner>
323
+ </copyright>
324
+ <relation type='obsoletes'>
325
+ <bibitem type='standard'>
326
+ <formattedref format='text/plain'>ISO 123:1985</formattedref>
327
+ </bibitem>
328
+ </relation>
329
+ <place>Geneva</place>
330
+ </bibitem>
331
+ </relation>
289
332
  <place>Geneva</place>
290
333
  </bibitem>
291
334
  <bibitem id='iso124' type='standard'>
292
- <fetched>#{Date.today}</fetched>
335
+ <fetched/>
293
336
  <title type='title-intro' format='text/plain' language='en' script='Latn'>Rubber latex</title>
294
337
  <title type='title-main' format='text/plain' language='en' script='Latn'>Sampling</title>
295
338
  <title type='main' format='text/plain' language='en' script='Latn'>Rubber latex&#8201;&#8212;&#8201;Sampling</title>
296
339
  <uri type='src'>https://www.iso.org/standard/23281.html</uri>
297
340
  <uri type='obp'>https://www.iso.org/obp/ui/#!iso:std:23281:en</uri>
298
341
  <uri type='rss'>https://www.iso.org/contents/data/standard/02/32/23281.detail.rss</uri>
299
- <docidentifier type='ISO'>ISO 123:2001</docidentifier>
342
+ <docidentifier type='ISO'>ISO 123</docidentifier>
300
343
  <docidentifier type='metanorma'>[1]</docidentifier>
301
344
  <docidentifier type='URN'>urn:iso:std:iso:123:stage-90.93:ed-3:en</docidentifier>
302
345
  <docnumber>123</docnumber>
303
- <date type='published'>
304
- <on>2001-05</on>
305
- </date>
306
346
  <contributor>
307
347
  <role type='publisher'/>
308
348
  <organization>
@@ -314,13 +354,6 @@ RSpec.describe Asciidoctor::Standoc do
314
354
  <edition>3</edition>
315
355
  <language>en</language>
316
356
  <script>Latn</script>
317
- <abstract format='text/plain' language='en' script='Latn'>
318
- This International Standard specifies procedures for sampling natural
319
- rubber latex concentrate and for sampling synthetic rubber latices and
320
- artificial latices. It is also suitable for sampling rubber latex
321
- contained in drums, tank cars or tanks. The procedures may also be
322
- used for sampling plastics dispersions.
323
- </abstract>
324
357
  <status>
325
358
  <stage>90</stage>
326
359
  <substage>93</substage>
@@ -338,6 +371,59 @@ RSpec.describe Asciidoctor::Standoc do
338
371
  <formattedref format='text/plain'>ISO 123:1985</formattedref>
339
372
  </bibitem>
340
373
  </relation>
374
+ <relation type='instance'>
375
+ <bibitem type='standard'>
376
+ <fetched/>
377
+ <title type='title-intro' format='text/plain' language='en' script='Latn'>Rubber latex</title>
378
+ <title type='title-main' format='text/plain' language='en' script='Latn'>Sampling</title>
379
+ <title type='main' format='text/plain' language='en' script='Latn'>Rubber latex&#8201;&#8212;&#8201;Sampling</title>
380
+ <uri type='src'>https://www.iso.org/standard/23281.html</uri>
381
+ <uri type='obp'>https://www.iso.org/obp/ui/#!iso:std:23281:en</uri>
382
+ <uri type='rss'>https://www.iso.org/contents/data/standard/02/32/23281.detail.rss</uri>
383
+ <docidentifier type='ISO'>ISO 123:2001</docidentifier>
384
+ <docidentifier type='URN'>urn:iso:std:iso:123:stage-90.93:ed-3:en</docidentifier>
385
+ <docnumber>123</docnumber>
386
+ <date type='published'>
387
+ <on>2001-05</on>
388
+ </date>
389
+ <contributor>
390
+ <role type='publisher'/>
391
+ <organization>
392
+ <name>International Organization for Standardization</name>
393
+ <abbreviation>ISO</abbreviation>
394
+ <uri>www.iso.org</uri>
395
+ </organization>
396
+ </contributor>
397
+ <edition>3</edition>
398
+ <language>en</language>
399
+ <script>Latn</script>
400
+ <abstract format='text/plain' language='en' script='Latn'>
401
+ This International Standard specifies procedures for sampling
402
+ natural rubber latex concentrate and for sampling synthetic rubber
403
+ latices and artificial latices. It is also suitable for sampling
404
+ rubber latex contained in drums, tank cars or tanks. The
405
+ procedures may also be used for sampling plastics dispersions.
406
+ </abstract>
407
+ <status>
408
+ <stage>90</stage>
409
+ <substage>93</substage>
410
+ </status>
411
+ <copyright>
412
+ <from>2001</from>
413
+ <owner>
414
+ <organization>
415
+ <name>ISO</name>
416
+ </organization>
417
+ </owner>
418
+ </copyright>
419
+ <relation type='obsoletes'>
420
+ <bibitem type='standard'>
421
+ <formattedref format='text/plain'>ISO 123:1985</formattedref>
422
+ </bibitem>
423
+ </relation>
424
+ <place>Geneva</place>
425
+ </bibitem>
426
+ </relation>
341
427
  <place>Geneva</place>
342
428
  </bibitem>
343
429
  </references>
@@ -365,31 +451,30 @@ RSpec.describe Asciidoctor::Standoc do
365
451
  * [[[iso124,(1)ISO 123]]] _Standard_
366
452
  INPUT
367
453
  #{BLANK_HDR.sub(%r{<language>en</language>}, '<language>fr</language>')}
368
- <sections>
369
- </sections><bibliography>
370
- <references id='_' normative='true' obligation='informative'>
371
- <title>Références normatives</title>
372
- <p id='_'>
373
- Les documents suivants cités dans le texte constituent, pour tout ou
374
- partie de leur contenu, des exigences du présent document. Pour les
375
- références datées, seule l’édition citée s’applique. Pour les références
376
- non datées, la dernière édition du document de référence s’applique (y
377
- compris les éventuels amendements).
378
- </p>
379
- <bibitem id='iso123' type='standard'>
380
- <fetched>#{Date.today}</fetched>
381
- <title type='title-intro' format='text/plain' language='fr' script='Latn'>Latex de caoutchouc</title>
454
+ <sections> </sections>
455
+ <bibliography>
456
+ <references id='_' normative='true' obligation='informative'>
457
+ <title>R&#233;f&#233;rences normatives</title>
458
+ <p id='_'>
459
+ Les documents suivants cit&#233;s dans le texte constituent, pour tout
460
+ ou partie de leur contenu, des exigences du pr&#233;sent document. Pour
461
+ les r&#233;f&#233;rences dat&#233;es, seule l&#8217;&#233;dition
462
+ cit&#233;e s&#8217;applique. Pour les r&#233;f&#233;rences non
463
+ dat&#233;es, la derni&#232;re &#233;dition du document de
464
+ r&#233;f&#233;rence s&#8217;applique (y compris les &#233;ventuels
465
+ amendements).
466
+ </p>
467
+ <bibitem id='iso123' type='standard'>
468
+ <fetched/>
469
+ <title type='title-intro' format='text/plain' language='fr' script='Latn'>Latex de caoutchouc</title>
382
470
  <title type='title-main' format='text/plain' language='fr' script='Latn'>&#201;chantillonnage</title>
383
471
  <title type='main' format='text/plain' language='fr' script='Latn'>Latex de caoutchouc&#8201;&#8212;&#8201;&#201;chantillonnage</title>
384
472
  <uri type='src'>https://www.iso.org/standard/23281.html</uri>
385
473
  <uri type='obp'>https://www.iso.org/obp/ui/#!iso:std:23281:en</uri>
386
474
  <uri type='rss'>https://www.iso.org/contents/data/standard/02/32/23281.detail.rss</uri>
387
- <docidentifier type='ISO'>ISO 123:2001</docidentifier>
475
+ <docidentifier type='ISO'>ISO 123</docidentifier>
388
476
  <docidentifier type='URN'>urn:iso:std:iso:123:stage-90.93:ed-3:fr</docidentifier>
389
477
  <docnumber>123</docnumber>
390
- <date type='published'>
391
- <on>2001-05</on>
392
- </date>
393
478
  <contributor>
394
479
  <role type='publisher'/>
395
480
  <organization>
@@ -402,16 +487,6 @@ RSpec.describe Asciidoctor::Standoc do
402
487
  <language>en</language>
403
488
  <language>fr</language>
404
489
  <script>Latn</script>
405
- <abstract format='text/plain' language='fr' script='Latn'>
406
- La pr&#233;sente Norme internationale sp&#233;cifie des m&#233;thodes
407
- d&#8217;&#233;chantillonnage pour des concentr&#233;s de latex de
408
- caoutchouc naturel et pour &#233;chantillonner des latex de caoutchouc
409
- synth&#233;tique et des latex artificiels. Elle s&#8217;applique
410
- &#233;galement &#224; l&#8217;&#233;chantillonnage de latex de
411
- caoutchouc contenus dans des f&#251;ts, citernes routi&#232;res ou de
412
- stockage. Le mode op&#233;ratoire peut aussi &#234;tre utilis&#233;
413
- pour l&#8217;&#233;chantillonnage de dispersions de plastiques.
414
- </abstract>
415
490
  <status>
416
491
  <stage>90</stage>
417
492
  <substage>93</substage>
@@ -429,23 +504,78 @@ RSpec.describe Asciidoctor::Standoc do
429
504
  <formattedref format='text/plain'>ISO 123:1985</formattedref>
430
505
  </bibitem>
431
506
  </relation>
507
+ <relation type='instance'>
508
+ <bibitem type='standard'>
509
+ <fetched/>
510
+ <title type='title-intro' format='text/plain' language='fr' script='Latn'>Latex de caoutchouc</title>
511
+ <title type='title-main' format='text/plain' language='fr' script='Latn'>&#201;chantillonnage</title>
512
+ <title type='main' format='text/plain' language='fr' script='Latn'>Latex de caoutchouc&#8201;&#8212;&#8201;&#201;chantillonnage</title>
513
+ <uri type='src'>https://www.iso.org/standard/23281.html</uri>
514
+ <uri type='obp'>https://www.iso.org/obp/ui/#!iso:std:23281:en</uri>
515
+ <uri type='rss'>https://www.iso.org/contents/data/standard/02/32/23281.detail.rss</uri>
516
+ <docidentifier type='ISO'>ISO 123:2001</docidentifier>
517
+ <docidentifier type='URN'>urn:iso:std:iso:123:stage-90.93:ed-3:fr</docidentifier>
518
+ <docnumber>123</docnumber>
519
+ <date type='published'>
520
+ <on>2001-05</on>
521
+ </date>
522
+ <contributor>
523
+ <role type='publisher'/>
524
+ <organization>
525
+ <name>International Organization for Standardization</name>
526
+ <abbreviation>ISO</abbreviation>
527
+ <uri>www.iso.org</uri>
528
+ </organization>
529
+ </contributor>
530
+ <edition>3</edition>
531
+ <language>en</language>
532
+ <language>fr</language>
533
+ <script>Latn</script>
534
+ <abstract format='text/plain' language='fr' script='Latn'>
535
+ La pr&#233;sente Norme internationale sp&#233;cifie des
536
+ m&#233;thodes d&#8217;&#233;chantillonnage pour des
537
+ concentr&#233;s de latex de caoutchouc naturel et pour
538
+ &#233;chantillonner des latex de caoutchouc synth&#233;tique et
539
+ des latex artificiels. Elle s&#8217;applique &#233;galement &#224;
540
+ l&#8217;&#233;chantillonnage de latex de caoutchouc contenus dans
541
+ des f&#251;ts, citernes routi&#232;res ou de stockage. Le mode
542
+ op&#233;ratoire peut aussi &#234;tre utilis&#233; pour
543
+ l&#8217;&#233;chantillonnage de dispersions de plastiques.
544
+ </abstract>
545
+ <status>
546
+ <stage>90</stage>
547
+ <substage>93</substage>
548
+ </status>
549
+ <copyright>
550
+ <from>2001</from>
551
+ <owner>
552
+ <organization>
553
+ <name>ISO</name>
554
+ </organization>
555
+ </owner>
556
+ </copyright>
557
+ <relation type='obsoletes'>
558
+ <bibitem type='standard'>
559
+ <formattedref format='text/plain'>ISO 123:1985</formattedref>
560
+ </bibitem>
561
+ </relation>
562
+ <place>Geneva</place>
563
+ </bibitem>
564
+ </relation>
432
565
  <place>Geneva</place>
433
566
  </bibitem>
434
567
  <bibitem id='iso124' type='standard'>
435
- <fetched>#{Date.today}</fetched>
568
+ <fetched/>
436
569
  <title type='title-intro' format='text/plain' language='fr' script='Latn'>Latex de caoutchouc</title>
437
570
  <title type='title-main' format='text/plain' language='fr' script='Latn'>&#201;chantillonnage</title>
438
571
  <title type='main' format='text/plain' language='fr' script='Latn'>Latex de caoutchouc&#8201;&#8212;&#8201;&#201;chantillonnage</title>
439
572
  <uri type='src'>https://www.iso.org/standard/23281.html</uri>
440
573
  <uri type='obp'>https://www.iso.org/obp/ui/#!iso:std:23281:en</uri>
441
574
  <uri type='rss'>https://www.iso.org/contents/data/standard/02/32/23281.detail.rss</uri>
442
- <docidentifier type='ISO'>ISO 123:2001</docidentifier>
575
+ <docidentifier type='ISO'>ISO 123</docidentifier>
443
576
  <docidentifier type='metanorma'>[1]</docidentifier>
444
577
  <docidentifier type='URN'>urn:iso:std:iso:123:stage-90.93:ed-3:fr</docidentifier>
445
578
  <docnumber>123</docnumber>
446
- <date type='published'>
447
- <on>2001-05</on>
448
- </date>
449
579
  <contributor>
450
580
  <role type='publisher'/>
451
581
  <organization>
@@ -458,16 +588,6 @@ RSpec.describe Asciidoctor::Standoc do
458
588
  <language>en</language>
459
589
  <language>fr</language>
460
590
  <script>Latn</script>
461
- <abstract format='text/plain' language='fr' script='Latn'>
462
- La pr&#233;sente Norme internationale sp&#233;cifie des m&#233;thodes
463
- d&#8217;&#233;chantillonnage pour des concentr&#233;s de latex de
464
- caoutchouc naturel et pour &#233;chantillonner des latex de caoutchouc
465
- synth&#233;tique et des latex artificiels. Elle s&#8217;applique
466
- &#233;galement &#224; l&#8217;&#233;chantillonnage de latex de
467
- caoutchouc contenus dans des f&#251;ts, citernes routi&#232;res ou de
468
- stockage. Le mode op&#233;ratoire peut aussi &#234;tre utilis&#233;
469
- pour l&#8217;&#233;chantillonnage de dispersions de plastiques.
470
- </abstract>
471
591
  <status>
472
592
  <stage>90</stage>
473
593
  <substage>93</substage>
@@ -485,6 +605,64 @@ RSpec.describe Asciidoctor::Standoc do
485
605
  <formattedref format='text/plain'>ISO 123:1985</formattedref>
486
606
  </bibitem>
487
607
  </relation>
608
+ <relation type='instance'>
609
+ <bibitem type='standard'>
610
+ <fetched/>
611
+ <title type='title-intro' format='text/plain' language='fr' script='Latn'>Latex de caoutchouc</title>
612
+ <title type='title-main' format='text/plain' language='fr' script='Latn'>&#201;chantillonnage</title>
613
+ <title type='main' format='text/plain' language='fr' script='Latn'>Latex de caoutchouc&#8201;&#8212;&#8201;&#201;chantillonnage</title>
614
+ <uri type='src'>https://www.iso.org/standard/23281.html</uri>
615
+ <uri type='obp'>https://www.iso.org/obp/ui/#!iso:std:23281:en</uri>
616
+ <uri type='rss'>https://www.iso.org/contents/data/standard/02/32/23281.detail.rss</uri>
617
+ <docidentifier type='ISO'>ISO 123:2001</docidentifier>
618
+ <docidentifier type='URN'>urn:iso:std:iso:123:stage-90.93:ed-3:fr</docidentifier>
619
+ <docnumber>123</docnumber>
620
+ <date type='published'>
621
+ <on>2001-05</on>
622
+ </date>
623
+ <contributor>
624
+ <role type='publisher'/>
625
+ <organization>
626
+ <name>International Organization for Standardization</name>
627
+ <abbreviation>ISO</abbreviation>
628
+ <uri>www.iso.org</uri>
629
+ </organization>
630
+ </contributor>
631
+ <edition>3</edition>
632
+ <language>en</language>
633
+ <language>fr</language>
634
+ <script>Latn</script>
635
+ <abstract format='text/plain' language='fr' script='Latn'>
636
+ La pr&#233;sente Norme internationale sp&#233;cifie des
637
+ m&#233;thodes d&#8217;&#233;chantillonnage pour des
638
+ concentr&#233;s de latex de caoutchouc naturel et pour
639
+ &#233;chantillonner des latex de caoutchouc synth&#233;tique et
640
+ des latex artificiels. Elle s&#8217;applique &#233;galement &#224;
641
+ l&#8217;&#233;chantillonnage de latex de caoutchouc contenus dans
642
+ des f&#251;ts, citernes routi&#232;res ou de stockage. Le mode
643
+ op&#233;ratoire peut aussi &#234;tre utilis&#233; pour
644
+ l&#8217;&#233;chantillonnage de dispersions de plastiques.
645
+ </abstract>
646
+ <status>
647
+ <stage>90</stage>
648
+ <substage>93</substage>
649
+ </status>
650
+ <copyright>
651
+ <from>2001</from>
652
+ <owner>
653
+ <organization>
654
+ <name>ISO</name>
655
+ </organization>
656
+ </owner>
657
+ </copyright>
658
+ <relation type='obsoletes'>
659
+ <bibitem type='standard'>
660
+ <formattedref format='text/plain'>ISO 123:1985</formattedref>
661
+ </bibitem>
662
+ </relation>
663
+ <place>Geneva</place>
664
+ </bibitem>
665
+ </relation>
488
666
  <place>Geneva</place>
489
667
  </bibitem>
490
668
  </references>
@@ -558,7 +736,7 @@ RSpec.describe Asciidoctor::Standoc do
558
736
  <title>Normative references</title>
559
737
  #{NORM_REF_BOILERPLATE}
560
738
  <bibitem type="standard" id="iso123">
561
- <fetched>#{Date.today}</fetched>
739
+ <fetched/>
562
740
  <title type="title-main" format="text/plain" language="en" script="Latn">Permuted index of the vocabulary of information technology</title>
563
741
  <title type="main" format="text/plain" language="en" script="Latn">Permuted index of the vocabulary of information technology</title>
564
742
  <uri type="src">https://www.iso.org/standard/21071.html</uri>
@@ -605,7 +783,7 @@ RSpec.describe Asciidoctor::Standoc do
605
783
  <place>Geneva</place>
606
784
  </bibitem>
607
785
  <bibitem id="iso124" type="standard">
608
- <fetched>#{Date.today}</fetched>
786
+ <fetched/>
609
787
  <title type="title-intro" format="text/plain" language="en" script="Latn">Latex, rubber</title>
610
788
  <title type="title-main" format="text/plain" language="en" script="Latn">Determination of total solids content</title>
611
789
  <title type='main' format='text/plain' language='en' script='Latn'>Latex, rubber — Determination of total solids content</title>
@@ -650,7 +828,7 @@ RSpec.describe Asciidoctor::Standoc do
650
828
  <place>Geneva</place>
651
829
  </bibitem>
652
830
  <bibitem id="iso125" type="standard">
653
- <fetched>#{Date.today}</fetched>
831
+ <fetched/>
654
832
  <title type="title-main" format="text/plain" language="en" script="Latn">Permuted index of the vocabulary of information technology</title>
655
833
  <title type='main' format='text/plain' language='en' script='Latn'>Permuted index of the vocabulary of information technology</title>
656
834
  <uri type="src">https://www.iso.org/standard/21071.html</uri>
@@ -698,7 +876,7 @@ RSpec.describe Asciidoctor::Standoc do
698
876
  <place>Geneva</place>
699
877
  </bibitem>
700
878
  <bibitem id="iso126" type="standard">
701
- <fetched>#{Date.today}</fetched>
879
+ <fetched/>
702
880
  <title type="title-intro" format="text/plain" language="en" script="Latn">Latex, rubber</title>
703
881
  <title type="title-main" format="text/plain" language="en" script="Latn">Determination of total solids content</title>
704
882
  <title type='main' format='text/plain' language='en' script='Latn'>Latex, rubber — Determination of total solids content</title>
@@ -774,7 +952,7 @@ RSpec.describe Asciidoctor::Standoc do
774
952
  <docnumber>12382:1992</docnumber>
775
953
  </bibitem>
776
954
  <bibitem id='iso124' type='standard'>
777
- <fetched>#{Date.today}</fetched>
955
+ <fetched/>
778
956
  <title type='title-intro' format='text/plain' language='en' script='Latn'>Latex, rubber</title>
779
957
  <title type='title-main' format='text/plain' language='en' script='Latn'>Determination of total solids content</title>
780
958
  <title type='main' format='text/plain' language='en' script='Latn'>Latex, rubber — Determination of total solids content</title>
@@ -990,7 +1168,7 @@ RSpec.describe Asciidoctor::Standoc do
990
1168
  <title>Normative references</title>
991
1169
  #{NORM_REF_BOILERPLATE}
992
1170
  <bibitem id='iso123' type='standard'>
993
- <fetched>#{Date.today}</fetched>
1171
+ <fetched/>
994
1172
  <title format='text/plain' language='en' script='Latn'>Network Configuration Access Control Model</title>
995
1173
  <uri type='xml'>
996
1174
  https://raw.githubusercontent.com/relaton/relaton-data-ietf/master/data/reference.RFC.8341.xml
@@ -999,6 +1177,7 @@ RSpec.describe Asciidoctor::Standoc do
999
1177
  <docidentifier type='IETF'>RFC 8341</docidentifier>
1000
1178
  <docidentifier type='rfc-anchor'>RFC8341</docidentifier>
1001
1179
  <docidentifier type='DOI'>10.17487/RFC8341</docidentifier>
1180
+ <docnumber>RFC8341</docnumber>
1002
1181
  <date type='published'>
1003
1182
  <on>2018-03</on>
1004
1183
  </date>
@@ -1008,12 +1187,6 @@ RSpec.describe Asciidoctor::Standoc do
1008
1187
  <name>
1009
1188
  <completename language='en'>A. Bierman</completename>
1010
1189
  </name>
1011
- <affiliation>
1012
- <organization>
1013
- <name>Internet Engineering Task Force</name>
1014
- <abbreviation>IETF</abbreviation>
1015
- </organization>
1016
- </affiliation>
1017
1190
  </person>
1018
1191
  </contributor>
1019
1192
  <contributor>
@@ -1022,12 +1195,6 @@ RSpec.describe Asciidoctor::Standoc do
1022
1195
  <name>
1023
1196
  <completename language='en'>M. Bjorklund</completename>
1024
1197
  </name>
1025
- <affiliation>
1026
- <organization>
1027
- <name>Internet Engineering Task Force</name>
1028
- <abbreviation>IETF</abbreviation>
1029
- </organization>
1030
- </affiliation>
1031
1198
  </person>
1032
1199
  </contributor>
1033
1200
  <contributor>
@@ -1039,7 +1206,8 @@ RSpec.describe Asciidoctor::Standoc do
1039
1206
  </contributor>
1040
1207
  <language>en</language>
1041
1208
  <script>Latn</script>
1042
- <abstract format='text/plain' language='en' script='Latn'>
1209
+ <abstract format='text/html' language='en' script='Latn'>
1210
+ <p id='_'>
1043
1211
  The standardization of network configuration interfaces for use with
1044
1212
  the Network Configuration Protocol (NETCONF) or the RESTCONF protocol
1045
1213
  requires a structured and secure operating environment that promotes
@@ -1047,7 +1215,8 @@ RSpec.describe Asciidoctor::Standoc do
1047
1215
  standard mechanisms to restrict NETCONF or RESTCONF protocol access
1048
1216
  for particular users to a preconfigured subset of all available
1049
1217
  NETCONF or RESTCONF protocol operations and content. This document
1050
- defines such an access control model.This document obsoletes RFC 6536.
1218
+ defines such an access control model.</p>
1219
+ <p id='_'>This document obsoletes RFC 6536.</p>
1051
1220
  </abstract>
1052
1221
  <series type='main'>
1053
1222
  <title format='text/plain' language='en' script='Latn'>STD</title>
@@ -1060,7 +1229,7 @@ RSpec.describe Asciidoctor::Standoc do
1060
1229
  <place>Fremont, CA</place>
1061
1230
  </bibitem>
1062
1231
  <bibitem id='iso124' type='standard'>
1063
- <fetched>#{Date.today}</fetched>
1232
+ <fetched/>
1064
1233
  <title format='text/plain' language='en' script='Latn'>Network Configuration Access Control Model</title>
1065
1234
  <uri type='xml'>
1066
1235
  https://raw.githubusercontent.com/relaton/relaton-data-ietf/master/data/reference.RFC.8341.xml
@@ -1070,6 +1239,7 @@ RSpec.describe Asciidoctor::Standoc do
1070
1239
  <docidentifier type='metanorma'>[1]</docidentifier>
1071
1240
  <docidentifier type='rfc-anchor'>RFC8341</docidentifier>
1072
1241
  <docidentifier type='DOI'>10.17487/RFC8341</docidentifier>
1242
+ <docnumber>RFC8341</docnumber>
1073
1243
  <date type='published'>
1074
1244
  <on>2018-03</on>
1075
1245
  </date>
@@ -1079,12 +1249,6 @@ RSpec.describe Asciidoctor::Standoc do
1079
1249
  <name>
1080
1250
  <completename language='en'>A. Bierman</completename>
1081
1251
  </name>
1082
- <affiliation>
1083
- <organization>
1084
- <name>Internet Engineering Task Force</name>
1085
- <abbreviation>IETF</abbreviation>
1086
- </organization>
1087
- </affiliation>
1088
1252
  </person>
1089
1253
  </contributor>
1090
1254
  <contributor>
@@ -1093,12 +1257,6 @@ RSpec.describe Asciidoctor::Standoc do
1093
1257
  <name>
1094
1258
  <completename language='en'>M. Bjorklund</completename>
1095
1259
  </name>
1096
- <affiliation>
1097
- <organization>
1098
- <name>Internet Engineering Task Force</name>
1099
- <abbreviation>IETF</abbreviation>
1100
- </organization>
1101
- </affiliation>
1102
1260
  </person>
1103
1261
  </contributor>
1104
1262
  <contributor>
@@ -1110,7 +1268,8 @@ RSpec.describe Asciidoctor::Standoc do
1110
1268
  </contributor>
1111
1269
  <language>en</language>
1112
1270
  <script>Latn</script>
1113
- <abstract format='text/plain' language='en' script='Latn'>
1271
+ <abstract format='text/html' language='en' script='Latn'>
1272
+ <p id='_'>
1114
1273
  The standardization of network configuration interfaces for use with
1115
1274
  the Network Configuration Protocol (NETCONF) or the RESTCONF protocol
1116
1275
  requires a structured and secure operating environment that promotes
@@ -1118,7 +1277,8 @@ RSpec.describe Asciidoctor::Standoc do
1118
1277
  standard mechanisms to restrict NETCONF or RESTCONF protocol access
1119
1278
  for particular users to a preconfigured subset of all available
1120
1279
  NETCONF or RESTCONF protocol operations and content. This document
1121
- defines such an access control model.This document obsoletes RFC 6536.
1280
+ defines such an access control model.</p>
1281
+ <p id='_'>This document obsoletes RFC 6536.</p>
1122
1282
  </abstract>
1123
1283
  <series type='main'>
1124
1284
  <title format='text/plain' language='en' script='Latn'>STD</title>
@@ -1421,7 +1581,7 @@ RSpec.describe Asciidoctor::Standoc do
1421
1581
  amendments) applies.
1422
1582
  </p>
1423
1583
  <bibitem id='iso123' type='standard'>
1424
- <fetched>2020-06-12</fetched>
1584
+ <fetched/>
1425
1585
  <title type='title-intro' format='text/plain' language='en' script='Latn'>Rubber latex</title>
1426
1586
  <title type='title-main' format='text/plain' language='en' script='Latn'>Sampling</title>
1427
1587
  <title type='main' format='text/plain' language='en' script='Latn'>Rubber latex – Sampling</title>
@@ -1468,7 +1628,7 @@ RSpec.describe Asciidoctor::Standoc do
1468
1628
  </relation>
1469
1629
  <relation type='instance'>
1470
1630
  <bibitem type='standard'>
1471
- <fetched>2020-06-12</fetched>
1631
+ <fetched/>
1472
1632
  <title type='title-intro' format='text/plain' language='en' script='Latn'>Rubber latex</title>
1473
1633
  <title type='title-main' format='text/plain' language='en' script='Latn'>Sampling</title>
1474
1634
  <title type='main' format='text/plain' language='en' script='Latn'>Rubber latex – Sampling</title>
@@ -1684,7 +1844,7 @@ RSpec.describe Asciidoctor::Standoc do
1684
1844
  def mock_isobib_get_123_no_docid(n)
1685
1845
  expect(RelatonIso::IsoBibliography).to receive(:get).with("ISO 123", nil, { lang: "en", title: "<em>Standard</em>", usrlbl: nil }) do
1686
1846
  RelatonBib::XMLParser.from_xml(<<~"OUTPUT")
1687
- <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>
1847
+ <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<ext></fred></ext></bibitem>
1688
1848
  OUTPUT
1689
1849
  end.exactly(n).times
1690
1850
  end
@@ -1692,7 +1852,7 @@ RSpec.describe Asciidoctor::Standoc do
1692
1852
  def mock_isobib_get_123_no_docid_lbl(n)
1693
1853
  expect(RelatonIso::IsoBibliography).to receive(:get).with("ISO 123", nil, { lang: "en", title: "<em>Standard</em>", usrlbl: "(1)" }) do
1694
1854
  RelatonBib::XMLParser.from_xml(<<~"OUTPUT")
1695
- <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>
1855
+ <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<ext></fred></ext></bibitem>
1696
1856
  OUTPUT
1697
1857
  end.exactly(n).times
1698
1858
  end