metanorma-standoc 2.0.2 → 2.0.3

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 (32) hide show
  1. checksums.yaml +4 -4
  2. data/lib/metanorma/standoc/base.rb +1 -1
  3. data/lib/metanorma/standoc/basicdoc.rng +5 -3
  4. data/lib/metanorma/standoc/biblio.rng +5 -3
  5. data/lib/metanorma/standoc/cleanup_image.rb +117 -3
  6. data/lib/metanorma/standoc/cleanup_ref.rb +1 -1
  7. data/lib/metanorma/standoc/cleanup_section.rb +1 -1
  8. data/lib/metanorma/standoc/cleanup_xref.rb +12 -5
  9. data/lib/metanorma/standoc/isodoc.rng +10 -0
  10. data/lib/metanorma/standoc/ref.rb +6 -1
  11. data/lib/metanorma/standoc/ref_utility.rb +2 -1
  12. data/lib/metanorma/standoc/term_lookup_cleanup.rb +8 -6
  13. data/lib/metanorma/standoc/terms.rb +10 -7
  14. data/lib/metanorma/standoc/validate.rb +7 -2
  15. data/lib/metanorma/standoc/version.rb +1 -1
  16. data/spec/metanorma/cleanup_blocks_spec.rb +136 -0
  17. data/spec/metanorma/cleanup_spec.rb +3 -3
  18. data/spec/metanorma/isobib_cache_spec.rb +2 -2
  19. data/spec/metanorma/macros_spec.rb +61 -0
  20. data/spec/metanorma/refs_spec.rb +505 -460
  21. data/spec/metanorma/section_spec.rb +1 -1
  22. data/spec/vcr_cassettes/dated_iso_ref_joint_iso_iec.yml +46 -46
  23. data/spec/vcr_cassettes/dated_iso_ref_joint_iso_iec1.yml +12 -12
  24. data/spec/vcr_cassettes/hide_refs.yml +98 -98
  25. data/spec/vcr_cassettes/isobib_get_123.yml +12 -12
  26. data/spec/vcr_cassettes/isobib_get_123_1.yml +25 -25
  27. data/spec/vcr_cassettes/isobib_get_123_1_fr.yml +35 -35
  28. data/spec/vcr_cassettes/isobib_get_123_2001.yml +12 -12
  29. data/spec/vcr_cassettes/isobib_get_124.yml +11 -11
  30. data/spec/vcr_cassettes/rfcbib_get_rfc8341.yml +14 -14
  31. data/spec/vcr_cassettes/separates_iev_citations_by_top_level_clause.yml +61 -51
  32. metadata +2 -2
@@ -256,7 +256,7 @@ RSpec.describe Metanorma::Standoc do
256
256
  <uri type='src'>https://www.iso.org/standard/23281.html</uri>
257
257
  <uri type='obp'>https://www.iso.org/obp/ui/#!iso:std:23281:en</uri>
258
258
  <uri type='rss'>https://www.iso.org/contents/data/standard/02/32/23281.detail.rss</uri>
259
- <docidentifier type='ISO'>ISO 123</docidentifier>
259
+ <docidentifier type='ISO' primary="true">ISO 123</docidentifier>
260
260
  <docidentifier type='URN'>urn:iso:std:iso:123:stage-90.93:ed-3:en</docidentifier>
261
261
  <docnumber>123</docnumber>
262
262
  <contributor>
@@ -296,7 +296,7 @@ RSpec.describe Metanorma::Standoc do
296
296
  <uri type='src'>https://www.iso.org/standard/23281.html</uri>
297
297
  <uri type='obp'>https://www.iso.org/obp/ui/#!iso:std:23281:en</uri>
298
298
  <uri type='rss'>https://www.iso.org/contents/data/standard/02/32/23281.detail.rss</uri>
299
- <docidentifier type='ISO'>ISO 123:2001</docidentifier>
299
+ <docidentifier type='ISO' primary="true">ISO 123:2001</docidentifier>
300
300
  <docidentifier type='URN'>urn:iso:std:iso:123:stage-90.93:ed-3:en</docidentifier>
301
301
  <docnumber>123</docnumber>
302
302
  <date type='published'>
@@ -350,7 +350,7 @@ RSpec.describe Metanorma::Standoc do
350
350
  <uri type='src'>https://www.iso.org/standard/23281.html</uri>
351
351
  <uri type='obp'>https://www.iso.org/obp/ui/#!iso:std:23281:en</uri>
352
352
  <uri type='rss'>https://www.iso.org/contents/data/standard/02/32/23281.detail.rss</uri>
353
- <docidentifier type='ISO'>ISO 123</docidentifier>
353
+ <docidentifier type='ISO' primary="true">ISO 123</docidentifier>
354
354
  <docidentifier type='metanorma'>[1]</docidentifier>
355
355
  <docidentifier type='URN'>urn:iso:std:iso:123:stage-90.93:ed-3:en</docidentifier>
356
356
  <docnumber>123</docnumber>
@@ -391,7 +391,7 @@ RSpec.describe Metanorma::Standoc do
391
391
  <uri type='src'>https://www.iso.org/standard/23281.html</uri>
392
392
  <uri type='obp'>https://www.iso.org/obp/ui/#!iso:std:23281:en</uri>
393
393
  <uri type='rss'>https://www.iso.org/contents/data/standard/02/32/23281.detail.rss</uri>
394
- <docidentifier type='ISO'>ISO 123:2001</docidentifier>
394
+ <docidentifier type='ISO' primary="true">ISO 123:2001</docidentifier>
395
395
  <docidentifier type='URN'>urn:iso:std:iso:123:stage-90.93:ed-3:en</docidentifier>
396
396
  <docnumber>123</docnumber>
397
397
  <date type='published'>
@@ -486,7 +486,7 @@ RSpec.describe Metanorma::Standoc do
486
486
  <uri type='src'>https://www.iso.org/standard/23281.html</uri>
487
487
  <uri type='obp'>https://www.iso.org/obp/ui/#!iso:std:23281:en</uri>
488
488
  <uri type='rss'>https://www.iso.org/contents/data/standard/02/32/23281.detail.rss</uri>
489
- <docidentifier type='ISO'>ISO 123</docidentifier>
489
+ <docidentifier type='ISO' primary="true">ISO 123</docidentifier>
490
490
  <docidentifier type='URN'>urn:iso:std:iso:123:stage-90.93:ed-3:fr</docidentifier>
491
491
  <docnumber>123</docnumber>
492
492
  <contributor>
@@ -527,7 +527,7 @@ RSpec.describe Metanorma::Standoc do
527
527
  <uri type='src'>https://www.iso.org/standard/23281.html</uri>
528
528
  <uri type='obp'>https://www.iso.org/obp/ui/#!iso:std:23281:en</uri>
529
529
  <uri type='rss'>https://www.iso.org/contents/data/standard/02/32/23281.detail.rss</uri>
530
- <docidentifier type='ISO'>ISO 123:2001</docidentifier>
530
+ <docidentifier type='ISO' primary="true">ISO 123:2001</docidentifier>
531
531
  <docidentifier type='URN'>urn:iso:std:iso:123:stage-90.93:ed-3:fr</docidentifier>
532
532
  <docnumber>123</docnumber>
533
533
  <date type='published'>
@@ -586,7 +586,7 @@ RSpec.describe Metanorma::Standoc do
586
586
  <uri type='src'>https://www.iso.org/standard/23281.html</uri>
587
587
  <uri type='obp'>https://www.iso.org/obp/ui/#!iso:std:23281:en</uri>
588
588
  <uri type='rss'>https://www.iso.org/contents/data/standard/02/32/23281.detail.rss</uri>
589
- <docidentifier type='ISO'>ISO 123</docidentifier>
589
+ <docidentifier type='ISO' primary="true">ISO 123</docidentifier>
590
590
  <docidentifier type='metanorma'>[1]</docidentifier>
591
591
  <docidentifier type='URN'>urn:iso:std:iso:123:stage-90.93:ed-3:fr</docidentifier>
592
592
  <docnumber>123</docnumber>
@@ -628,7 +628,7 @@ RSpec.describe Metanorma::Standoc do
628
628
  <uri type='src'>https://www.iso.org/standard/23281.html</uri>
629
629
  <uri type='obp'>https://www.iso.org/obp/ui/#!iso:std:23281:en</uri>
630
630
  <uri type='rss'>https://www.iso.org/contents/data/standard/02/32/23281.detail.rss</uri>
631
- <docidentifier type='ISO'>ISO 123:2001</docidentifier>
631
+ <docidentifier type='ISO' primary="true">ISO 123:2001</docidentifier>
632
632
  <docidentifier type='URN'>urn:iso:std:iso:123:stage-90.93:ed-3:fr</docidentifier>
633
633
  <docnumber>123</docnumber>
634
634
  <date type='published'>
@@ -761,7 +761,7 @@ RSpec.describe Metanorma::Standoc do
761
761
  <uri type="src">https://www.iso.org/standard/21071.html</uri>
762
762
  <uri type="obp">https://www.iso.org/obp/ui/#!iso:std:21071:en</uri>
763
763
  <uri type="rss">https://www.iso.org/contents/data/standard/02/10/21071.detail.rss</uri>
764
- <docidentifier type="ISO">ISO/IEC TR 12382:1992</docidentifier>
764
+ <docidentifier type="ISO" primary="true">ISO/IEC TR 12382:1992</docidentifier>
765
765
  <docidentifier type='URN'>urn:iso:std:iso-iec:tr:12382:stage-90.93:ed-2:en</docidentifier>
766
766
  <docnumber>12382</docnumber>
767
767
  <date type="published">
@@ -809,7 +809,7 @@ RSpec.describe Metanorma::Standoc do
809
809
  <uri type="src">https://www.iso.org/standard/61884.html</uri>
810
810
  <uri type="obp">https://www.iso.org/obp/ui/#!iso:std:61884:en</uri>
811
811
  <uri type="rss">https://www.iso.org/contents/data/standard/06/18/61884.detail.rss</uri>
812
- <docidentifier type="ISO">ISO 124:2014</docidentifier>
812
+ <docidentifier type="ISO" primary="true">ISO 124:2014</docidentifier>
813
813
  <docidentifier type='URN'>urn:iso:std:iso:124:stage-90.93:ed-7:en</docidentifier>
814
814
  <docnumber>124</docnumber>
815
815
  <date type="published">
@@ -853,7 +853,7 @@ RSpec.describe Metanorma::Standoc do
853
853
  <uri type="src">https://www.iso.org/standard/21071.html</uri>
854
854
  <uri type="obp">https://www.iso.org/obp/ui/#!iso:std:21071:en</uri>
855
855
  <uri type="rss">https://www.iso.org/contents/data/standard/02/10/21071.detail.rss</uri>
856
- <docidentifier type="ISO">ISO/IEC TR 12382:1992</docidentifier>
856
+ <docidentifier type="ISO" primary="true">ISO/IEC TR 12382:1992</docidentifier>
857
857
  <docidentifier type='metanorma'>[1]</docidentifier>
858
858
  <docidentifier type='URN'>urn:iso:std:iso-iec:tr:12382:stage-90.93:ed-2:en</docidentifier>
859
859
  <docnumber>12382</docnumber>
@@ -902,7 +902,7 @@ RSpec.describe Metanorma::Standoc do
902
902
  <uri type="src">https://www.iso.org/standard/61884.html</uri>
903
903
  <uri type="obp">https://www.iso.org/obp/ui/#!iso:std:61884:en</uri>
904
904
  <uri type="rss">https://www.iso.org/contents/data/standard/06/18/61884.detail.rss</uri>
905
- <docidentifier type="ISO">ISO 124:2014</docidentifier>
905
+ <docidentifier type="ISO" primary="true">ISO 124:2014</docidentifier>
906
906
  <docidentifier type='metanorma'>[1]</docidentifier>
907
907
  <docidentifier type='URN'>urn:iso:std:iso:124:stage-90.93:ed-7:en</docidentifier>
908
908
  <docnumber>124</docnumber>
@@ -982,7 +982,7 @@ RSpec.describe Metanorma::Standoc do
982
982
  <uri type='src'>https://www.iso.org/standard/61884.html</uri>
983
983
  <uri type='obp'>https://www.iso.org/obp/ui/#!iso:std:61884:en</uri>
984
984
  <uri type='rss'>https://www.iso.org/contents/data/standard/06/18/61884.detail.rss</uri>
985
- <docidentifier type='ISO'>ISO 124:2014</docidentifier>
985
+ <docidentifier type='ISO' primary="true">ISO 124:2014</docidentifier>
986
986
  <docidentifier type='URN'>urn:iso:std:iso:124:stage-90.93:ed-7:en</docidentifier>
987
987
  <docnumber>124</docnumber>
988
988
  <date type='published'>
@@ -1046,431 +1046,430 @@ RSpec.describe Metanorma::Standoc do
1046
1046
  * [[[iso128,ABC]]] _Standard_
1047
1047
  INPUT
1048
1048
  output = <<~OUTPUT
1049
- #{BLANK_HDR}
1050
- <sections>
1051
-
1052
- </sections><bibliography><references id="_" normative="true" obligation="informative" >
1053
- <title>Normative references</title>
1054
- #{NORM_REF_BOILERPLATE}
1055
- <bibitem id='iso123' type='standard' hidden='true'>
1056
- <fetched/>
1057
- <title type='title-intro' format='text/plain' language='en' script='Latn'>Latex, rubber</title>
1058
- <title type='title-main' format='text/plain' language='en' script='Latn'>Determination of total solids content</title>
1059
- <title type='main' format='text/plain' language='en' script='Latn'>Latex, rubber&#8201;&#8212;&#8201;Determination of total solids content</title>
1060
- <uri type='src'>https://www.iso.org/standard/61884.html</uri>
1061
- <uri type='obp'>https://www.iso.org/obp/ui/#!iso:std:61884:en</uri>
1062
- <uri type='rss'>https://www.iso.org/contents/data/standard/06/18/61884.detail.rss</uri>
1063
- <docidentifier type='ISO'>ISO 124</docidentifier>
1064
- <docidentifier type='URN'>urn:iso:std:iso:124:stage-90.93:ed-7:en</docidentifier>
1065
- <docnumber>124</docnumber>
1066
- <contributor>
1067
- <role type='publisher'/>
1068
- <organization>
1069
- <name>International Organization for Standardization</name>
1070
- <abbreviation>ISO</abbreviation>
1071
- <uri>www.iso.org</uri>
1072
- </organization>
1073
- </contributor>
1074
- <edition>7</edition>
1075
- <language>en</language>
1076
- <script>Latn</script>
1077
- <status>
1078
- <stage>90</stage>
1079
- <substage>93</substage>
1080
- </status>
1081
- <copyright>
1082
- <from>2014</from>
1083
- <owner>
1084
- <organization>
1085
- <name>ISO</name>
1086
- </organization>
1087
- </owner>
1088
- </copyright>
1089
- <relation type='obsoletes'>
1090
- <bibitem type='standard'>
1091
- <formattedref format='text/plain'>ISO 124:2011</formattedref>
1092
- </bibitem>
1093
- </relation>
1094
- <relation type='instance'>
1095
- <bibitem type='standard'>
1096
- <fetched/>
1097
- <title type='title-intro' format='text/plain' language='en' script='Latn'>Latex, rubber</title>
1098
- <title type='title-main' format='text/plain' language='en' script='Latn'>Determination of total solids content</title>
1099
- <title type='main' format='text/plain' language='en' script='Latn'>Latex, rubber&#8201;&#8212;&#8201;Determination of total solids content</title>
1100
- <uri type='src'>https://www.iso.org/standard/61884.html</uri>
1101
- <uri type='obp'>https://www.iso.org/obp/ui/#!iso:std:61884:en</uri>
1102
- <uri type='rss'>https://www.iso.org/contents/data/standard/06/18/61884.detail.rss</uri>
1103
- <docidentifier type='ISO'>ISO 124:2014</docidentifier>
1104
- <docidentifier type='URN'>urn:iso:std:iso:124:stage-90.93:ed-7:en</docidentifier>
1105
- <docnumber>124</docnumber>
1106
- <date type='published'>
1107
- <on>2014-03</on>
1108
- </date>
1109
- <contributor>
1110
- <role type='publisher'/>
1111
- <organization>
1112
- <name>International Organization for Standardization</name>
1113
- <abbreviation>ISO</abbreviation>
1114
- <uri>www.iso.org</uri>
1115
- </organization>
1116
- </contributor>
1117
- <edition>7</edition>
1118
- <language>en</language>
1119
- <script>Latn</script>
1120
- <abstract format='text/plain' language='en' script='Latn'>
1121
- ISO 124:2014 specifies methods for the determination of the total
1122
- solids content of natural rubber field and concentrated latices
1123
- and synthetic rubber latex. These methods are not necessarily
1124
- suitable for latex from natural sources other than the Hevea
1125
- brasiliensis, for vulcanized latex, for compounded latex, or for
1126
- artificial dispersions of rubber.
1127
- </abstract>
1128
- <status>
1129
- <stage>90</stage>
1130
- <substage>93</substage>
1131
- </status>
1132
- <copyright>
1133
- <from>2014</from>
1134
- <owner>
1135
- <organization>
1136
- <name>ISO</name>
1137
- </organization>
1138
- </owner>
1139
- </copyright>
1140
- <relation type='obsoletes'>
1141
- <bibitem type='standard'>
1142
- <formattedref format='text/plain'>ISO 124:2011</formattedref>
1143
- </bibitem>
1144
- </relation>
1145
- <place>Geneva</place>
1146
- </bibitem>
1147
- </relation>
1148
- <place>Geneva</place>
1149
- </bibitem>
1150
- <bibitem id='iso124' type='standard'>
1151
- <fetched/>
1152
- <title type='title-intro' format='text/plain' language='en' script='Latn'>Natural rubber latex concentrate</title>
1153
- <title type='title-main' format='text/plain' language='en' script='Latn'>Determination of alkalinity</title>
1154
- <title type='main' format='text/plain' language='en' script='Latn'>
1155
- Natural rubber latex concentrate&#8201;&#8212;&#8201;Determination of
1156
- alkalinity
1157
- </title>
1158
- <uri type='src'>https://www.iso.org/standard/72849.html</uri>
1159
- <uri type='obp'>https://www.iso.org/obp/ui/#!iso:std:72849:en</uri>
1160
- <uri type='rss'>https://www.iso.org/contents/data/standard/07/28/72849.detail.rss</uri>
1161
- <docidentifier type='ISO'>ISO 125</docidentifier>
1162
- <docidentifier type='URN'>urn:iso:std:iso:125:stage-60.60:ed-7:en</docidentifier>
1163
- <docnumber>125</docnumber>
1164
- <contributor>
1165
- <role type='publisher'/>
1166
- <organization>
1167
- <name>International Organization for Standardization</name>
1168
- <abbreviation>ISO</abbreviation>
1169
- <uri>www.iso.org</uri>
1170
- </organization>
1171
- </contributor>
1172
- <edition>7</edition>
1173
- <language>en</language>
1174
- <script>Latn</script>
1175
- <status>
1176
- <stage>60</stage>
1177
- <substage>60</substage>
1178
- </status>
1179
- <copyright>
1180
- <from>2020</from>
1181
- <owner>
1182
- <organization>
1183
- <name>ISO</name>
1184
- </organization>
1185
- </owner>
1186
- </copyright>
1187
- <relation type='obsoletes'>
1188
- <bibitem type='standard'>
1189
- <formattedref format='text/plain'>ISO 125:2011</formattedref>
1190
- </bibitem>
1191
- </relation>
1192
- <relation type='instance'>
1193
- <bibitem type='standard'>
1194
- <fetched/>
1195
- <title type='title-intro' format='text/plain' language='en' script='Latn'>Natural rubber latex concentrate</title>
1196
- <title type='title-main' format='text/plain' language='en' script='Latn'>Determination of alkalinity</title>
1197
- <title type='main' format='text/plain' language='en' script='Latn'>
1198
- Natural rubber latex concentrate&#8201;&#8212;&#8201;Determination
1199
- of alkalinity
1200
- </title>
1201
- <uri type='src'>https://www.iso.org/standard/72849.html</uri>
1202
- <uri type='obp'>https://www.iso.org/obp/ui/#!iso:std:72849:en</uri>
1203
- <uri type='rss'>https://www.iso.org/contents/data/standard/07/28/72849.detail.rss</uri>
1204
- <docidentifier type='ISO'>ISO 125:2020</docidentifier>
1205
- <docidentifier type='URN'>urn:iso:std:iso:125:stage-60.60:ed-7:en</docidentifier>
1206
- <docnumber>125</docnumber>
1207
- <date type='published'>
1208
- <on>2020-02</on>
1209
- </date>
1210
- <contributor>
1211
- <role type='publisher'/>
1212
- <organization>
1213
- <name>International Organization for Standardization</name>
1214
- <abbreviation>ISO</abbreviation>
1215
- <uri>www.iso.org</uri>
1216
- </organization>
1217
- </contributor>
1218
- <edition>7</edition>
1219
- <language>en</language>
1220
- <script>Latn</script>
1221
- <abstract format='text/plain' language='en' script='Latn'>
1222
- This document specifies a method for the determination of the
1223
- alkalinity of natural rubber latex concentrate. The method is not
1224
- necessarily suitable for latices from natural sources other than
1225
- Hevea brasiliensis or for synthetic rubber latices, compounded
1226
- latex, vulcanized latex or artificial dispersions of rubber. NOTE
1227
- A method for the determination of the alkalinity of
1228
- polychloroprene latex is specified in ISO 13773.
1229
- </abstract>
1230
- <status>
1231
- <stage>60</stage>
1232
- <substage>60</substage>
1233
- </status>
1234
- <copyright>
1235
- <from>2020</from>
1236
- <owner>
1237
- <organization>
1238
- <name>ISO</name>
1239
- </organization>
1240
- </owner>
1241
- </copyright>
1242
- <relation type='obsoletes'>
1243
- <bibitem type='standard'>
1244
- <formattedref format='text/plain'>ISO 125:2011</formattedref>
1245
- </bibitem>
1246
- </relation>
1247
- <place>Geneva</place>
1248
- </bibitem>
1249
- </relation>
1250
- <place>Geneva</place>
1251
- </bibitem>
1252
- </references>
1253
- <references id='_' normative='false' obligation='informative'>
1254
- <title>Bibliography</title>
1255
- <bibitem id='iso125' type='standard' hidden='true'>
1256
- <fetched/>
1257
- <title type='title-intro' format='text/plain' language='en' script='Latn'>Natural rubber latex concentrate</title>
1258
- <title type='title-main' format='text/plain' language='en' script='Latn'>Determination of alkalinity</title>
1259
- <title type='main' format='text/plain' language='en' script='Latn'>
1260
- Natural rubber latex concentrate&#8201;&#8212;&#8201;Determination of
1261
- alkalinity
1262
- </title>
1263
- <uri type='src'>https://www.iso.org/standard/72849.html</uri>
1264
- <uri type='obp'>https://www.iso.org/obp/ui/#!iso:std:72849:en</uri>
1265
- <uri type='rss'>https://www.iso.org/contents/data/standard/07/28/72849.detail.rss</uri>
1266
- <docidentifier type='ISO'>ISO 125</docidentifier>
1267
- <docidentifier type='URN'>urn:iso:std:iso:125:stage-60.60:ed-7:en</docidentifier>
1268
- <docnumber>125</docnumber>
1269
- <contributor>
1270
- <role type='publisher'/>
1271
- <organization>
1272
- <name>International Organization for Standardization</name>
1273
- <abbreviation>ISO</abbreviation>
1274
- <uri>www.iso.org</uri>
1275
- </organization>
1276
- </contributor>
1277
- <edition>7</edition>
1278
- <language>en</language>
1279
- <script>Latn</script>
1280
- <status>
1281
- <stage>60</stage>
1282
- <substage>60</substage>
1283
- </status>
1284
- <copyright>
1285
- <from>2020</from>
1286
- <owner>
1287
- <organization>
1288
- <name>ISO</name>
1289
- </organization>
1290
- </owner>
1291
- </copyright>
1292
- <relation type='obsoletes'>
1293
- <bibitem type='standard'>
1294
- <formattedref format='text/plain'>ISO 125:2011</formattedref>
1049
+ #{BLANK_HDR}
1050
+ <sections>
1051
+
1052
+ </sections><bibliography><references id="_" normative="true" obligation="informative" >
1053
+ <title>Normative references</title>
1054
+ #{NORM_REF_BOILERPLATE}
1055
+ <bibitem id='iso123' type='standard' hidden='true'>
1056
+ <fetched/>
1057
+ <title type='title-intro' format='text/plain' language='en' script='Latn'>Latex, rubber</title>
1058
+ <title type='title-main' format='text/plain' language='en' script='Latn'>Determination of total solids content</title>
1059
+ <title type='main' format='text/plain' language='en' script='Latn'>Latex, rubber&#8201;&#8212;&#8201;Determination of total solids content</title>
1060
+ <uri type='src'>https://www.iso.org/standard/61884.html</uri>
1061
+ <uri type='obp'>https://www.iso.org/obp/ui/#!iso:std:61884:en</uri>
1062
+ <uri type='rss'>https://www.iso.org/contents/data/standard/06/18/61884.detail.rss</uri>
1063
+ <docidentifier type='ISO' primary="true">ISO 124</docidentifier>
1064
+ <docidentifier type='URN'>urn:iso:std:iso:124:stage-90.93:ed-7:en</docidentifier>
1065
+ <docnumber>124</docnumber>
1066
+ <contributor>
1067
+ <role type='publisher'/>
1068
+ <organization>
1069
+ <name>International Organization for Standardization</name>
1070
+ <abbreviation>ISO</abbreviation>
1071
+ <uri>www.iso.org</uri>
1072
+ </organization>
1073
+ </contributor>
1074
+ <edition>7</edition>
1075
+ <language>en</language>
1076
+ <script>Latn</script>
1077
+ <status>
1078
+ <stage>90</stage>
1079
+ <substage>93</substage>
1080
+ </status>
1081
+ <copyright>
1082
+ <from>2014</from>
1083
+ <owner>
1084
+ <organization>
1085
+ <name>ISO</name>
1086
+ </organization>
1087
+ </owner>
1088
+ </copyright>
1089
+ <relation type='obsoletes'>
1090
+ <bibitem type='standard'>
1091
+ <formattedref format='text/plain'>ISO 124:2011</formattedref>
1092
+ </bibitem>
1093
+ </relation>
1094
+ <relation type='instance'>
1095
+ <bibitem type='standard'>
1096
+ <fetched/>
1097
+ <title type='title-intro' format='text/plain' language='en' script='Latn'>Latex, rubber</title>
1098
+ <title type='title-main' format='text/plain' language='en' script='Latn'>Determination of total solids content</title>
1099
+ <title type='main' format='text/plain' language='en' script='Latn'>Latex, rubber&#8201;&#8212;&#8201;Determination of total solids content</title>
1100
+ <uri type='src'>https://www.iso.org/standard/61884.html</uri>
1101
+ <uri type='obp'>https://www.iso.org/obp/ui/#!iso:std:61884:en</uri>
1102
+ <uri type='rss'>https://www.iso.org/contents/data/standard/06/18/61884.detail.rss</uri>
1103
+ <docidentifier type='ISO' primary="true">ISO 124:2014</docidentifier>
1104
+ <docidentifier type='URN'>urn:iso:std:iso:124:stage-90.93:ed-7:en</docidentifier>
1105
+ <docnumber>124</docnumber>
1106
+ <date type='published'>
1107
+ <on>2014-03</on>
1108
+ </date>
1109
+ <contributor>
1110
+ <role type='publisher'/>
1111
+ <organization>
1112
+ <name>International Organization for Standardization</name>
1113
+ <abbreviation>ISO</abbreviation>
1114
+ <uri>www.iso.org</uri>
1115
+ </organization>
1116
+ </contributor>
1117
+ <edition>7</edition>
1118
+ <language>en</language>
1119
+ <script>Latn</script>
1120
+ <abstract format='text/plain' language='en' script='Latn'>
1121
+ ISO 124:2014 specifies methods for the determination of the total
1122
+ solids content of natural rubber field and concentrated latices
1123
+ and synthetic rubber latex. These methods are not necessarily
1124
+ suitable for latex from natural sources other than the Hevea
1125
+ brasiliensis, for vulcanized latex, for compounded latex, or for
1126
+ artificial dispersions of rubber.
1127
+ </abstract>
1128
+ <status>
1129
+ <stage>90</stage>
1130
+ <substage>93</substage>
1131
+ </status>
1132
+ <copyright>
1133
+ <from>2014</from>
1134
+ <owner>
1135
+ <organization>
1136
+ <name>ISO</name>
1137
+ </organization>
1138
+ </owner>
1139
+ </copyright>
1140
+ <relation type='obsoletes'>
1141
+ <bibitem type='standard'>
1142
+ <formattedref format='text/plain'>ISO 124:2011</formattedref>
1143
+ </bibitem>
1144
+ </relation>
1145
+ <place>Geneva</place>
1146
+ </bibitem>
1147
+ </relation>
1148
+ <place>Geneva</place>
1149
+ </bibitem>
1150
+ <bibitem id='iso124' type='standard'>
1151
+ <fetched/>
1152
+ <title type='title-intro' format='text/plain' language='en' script='Latn'>Natural rubber latex concentrate</title>
1153
+ <title type='title-main' format='text/plain' language='en' script='Latn'>Determination of alkalinity</title>
1154
+ <title type='main' format='text/plain' language='en' script='Latn'>
1155
+ Natural rubber latex concentrate&#8201;&#8212;&#8201;Determination of
1156
+ alkalinity
1157
+ </title>
1158
+ <uri type='src'>https://www.iso.org/standard/72849.html</uri>
1159
+ <uri type='obp'>https://www.iso.org/obp/ui/#!iso:std:72849:en</uri>
1160
+ <uri type='rss'>https://www.iso.org/contents/data/standard/07/28/72849.detail.rss</uri>
1161
+ <docidentifier type='ISO' primary="true">ISO 125</docidentifier>
1162
+ <docidentifier type='URN'>urn:iso:std:iso:125:stage-60.60:ed-7:en</docidentifier>
1163
+ <docnumber>125</docnumber>
1164
+ <contributor>
1165
+ <role type='publisher'/>
1166
+ <organization>
1167
+ <name>International Organization for Standardization</name>
1168
+ <abbreviation>ISO</abbreviation>
1169
+ <uri>www.iso.org</uri>
1170
+ </organization>
1171
+ </contributor>
1172
+ <edition>7</edition>
1173
+ <language>en</language>
1174
+ <script>Latn</script>
1175
+ <status>
1176
+ <stage>60</stage>
1177
+ <substage>60</substage>
1178
+ </status>
1179
+ <copyright>
1180
+ <from>2020</from>
1181
+ <owner>
1182
+ <organization>
1183
+ <name>ISO</name>
1184
+ </organization>
1185
+ </owner>
1186
+ </copyright>
1187
+ <relation type='obsoletes'>
1188
+ <bibitem type='standard'>
1189
+ <formattedref format='text/plain'>ISO 125:2011</formattedref>
1190
+ </bibitem>
1191
+ </relation>
1192
+ <relation type='instance'>
1193
+ <bibitem type='standard'>
1194
+ <fetched/>
1195
+ <title type='title-intro' format='text/plain' language='en' script='Latn'>Natural rubber latex concentrate</title>
1196
+ <title type='title-main' format='text/plain' language='en' script='Latn'>Determination of alkalinity</title>
1197
+ <title type='main' format='text/plain' language='en' script='Latn'>
1198
+ Natural rubber latex concentrate&#8201;&#8212;&#8201;Determination
1199
+ of alkalinity
1200
+ </title>
1201
+ <uri type='src'>https://www.iso.org/standard/72849.html</uri>
1202
+ <uri type='obp'>https://www.iso.org/obp/ui/#!iso:std:72849:en</uri>
1203
+ <uri type='rss'>https://www.iso.org/contents/data/standard/07/28/72849.detail.rss</uri>
1204
+ <docidentifier type='ISO' primary="true">ISO 125:2020</docidentifier>
1205
+ <docidentifier type='URN'>urn:iso:std:iso:125:stage-60.60:ed-7:en</docidentifier>
1206
+ <docnumber>125</docnumber>
1207
+ <date type='published'>
1208
+ <on>2020-02</on>
1209
+ </date>
1210
+ <contributor>
1211
+ <role type='publisher'/>
1212
+ <organization>
1213
+ <name>International Organization for Standardization</name>
1214
+ <abbreviation>ISO</abbreviation>
1215
+ <uri>www.iso.org</uri>
1216
+ </organization>
1217
+ </contributor>
1218
+ <edition>7</edition>
1219
+ <language>en</language>
1220
+ <script>Latn</script>
1221
+ <abstract format='text/plain' language='en' script='Latn'>
1222
+ This document specifies a method for the determination of the
1223
+ alkalinity of natural rubber latex concentrate. The method is not
1224
+ necessarily suitable for latices from natural sources other than
1225
+ Hevea brasiliensis or for synthetic rubber latices, compounded
1226
+ latex, vulcanized latex or artificial dispersions of rubber. NOTE
1227
+ A method for the determination of the alkalinity of
1228
+ polychloroprene latex is specified in ISO 13773.
1229
+ </abstract>
1230
+ <status>
1231
+ <stage>60</stage>
1232
+ <substage>60</substage>
1233
+ </status>
1234
+ <copyright>
1235
+ <from>2020</from>
1236
+ <owner>
1237
+ <organization>
1238
+ <name>ISO</name>
1239
+ </organization>
1240
+ </owner>
1241
+ </copyright>
1242
+ <relation type='obsoletes'>
1243
+ <bibitem type='standard'>
1244
+ <formattedref format='text/plain'>ISO 125:2011</formattedref>
1245
+ </bibitem>
1246
+ </relation>
1247
+ <place>Geneva</place>
1248
+ </bibitem>
1249
+ </relation>
1250
+ <place>Geneva</place>
1251
+ </bibitem>
1252
+ </references>
1253
+ <references id='_' normative='false' obligation='informative'>
1254
+ <title>Bibliography</title>
1255
+ <bibitem id='iso125' type='standard' hidden='true'>
1256
+ <fetched/>
1257
+ <title type='title-intro' format='text/plain' language='en' script='Latn'>Natural rubber latex concentrate</title>
1258
+ <title type='title-main' format='text/plain' language='en' script='Latn'>Determination of alkalinity</title>
1259
+ <title type='main' format='text/plain' language='en' script='Latn'>
1260
+ Natural rubber latex concentrate&#8201;&#8212;&#8201;Determination of
1261
+ alkalinity
1262
+ </title>
1263
+ <uri type='src'>https://www.iso.org/standard/72849.html</uri>
1264
+ <uri type='obp'>https://www.iso.org/obp/ui/#!iso:std:72849:en</uri>
1265
+ <uri type='rss'>https://www.iso.org/contents/data/standard/07/28/72849.detail.rss</uri>
1266
+ <docidentifier type='ISO' primary="true">ISO 125</docidentifier>
1267
+ <docidentifier type='URN'>urn:iso:std:iso:125:stage-60.60:ed-7:en</docidentifier>
1268
+ <docnumber>125</docnumber>
1269
+ <contributor>
1270
+ <role type='publisher'/>
1271
+ <organization>
1272
+ <name>International Organization for Standardization</name>
1273
+ <abbreviation>ISO</abbreviation>
1274
+ <uri>www.iso.org</uri>
1275
+ </organization>
1276
+ </contributor>
1277
+ <edition>7</edition>
1278
+ <language>en</language>
1279
+ <script>Latn</script>
1280
+ <status>
1281
+ <stage>60</stage>
1282
+ <substage>60</substage>
1283
+ </status>
1284
+ <copyright>
1285
+ <from>2020</from>
1286
+ <owner>
1287
+ <organization>
1288
+ <name>ISO</name>
1289
+ </organization>
1290
+ </owner>
1291
+ </copyright>
1292
+ <relation type='obsoletes'>
1293
+ <bibitem type='standard'>
1294
+ <formattedref format='text/plain'>ISO 125:2011</formattedref>
1295
+ </bibitem>
1296
+ </relation>
1297
+ <relation type='instance'>
1298
+ <bibitem type='standard'>
1299
+ <fetched/>
1300
+ <title type='title-intro' format='text/plain' language='en' script='Latn'>Natural rubber latex concentrate</title>
1301
+ <title type='title-main' format='text/plain' language='en' script='Latn'>Determination of alkalinity</title>
1302
+ <title type='main' format='text/plain' language='en' script='Latn'>
1303
+ Natural rubber latex concentrate&#8201;&#8212;&#8201;Determination
1304
+ of alkalinity
1305
+ </title>
1306
+ <uri type='src'>https://www.iso.org/standard/72849.html</uri>
1307
+ <uri type='obp'>https://www.iso.org/obp/ui/#!iso:std:72849:en</uri>
1308
+ <uri type='rss'>https://www.iso.org/contents/data/standard/07/28/72849.detail.rss</uri>
1309
+ <docidentifier type='ISO' primary="true">ISO 125:2020</docidentifier>
1310
+ <docidentifier type='URN'>urn:iso:std:iso:125:stage-60.60:ed-7:en</docidentifier>
1311
+ <docnumber>125</docnumber>
1312
+ <date type='published'>
1313
+ <on>2020-02</on>
1314
+ </date>
1315
+ <contributor>
1316
+ <role type='publisher'/>
1317
+ <organization>
1318
+ <name>International Organization for Standardization</name>
1319
+ <abbreviation>ISO</abbreviation>
1320
+ <uri>www.iso.org</uri>
1321
+ </organization>
1322
+ </contributor>
1323
+ <edition>7</edition>
1324
+ <language>en</language>
1325
+ <script>Latn</script>
1326
+ <abstract format='text/plain' language='en' script='Latn'>
1327
+ This document specifies a method for the determination of the
1328
+ alkalinity of natural rubber latex concentrate. The method is not
1329
+ necessarily suitable for latices from natural sources other than
1330
+ Hevea brasiliensis or for synthetic rubber latices, compounded
1331
+ latex, vulcanized latex or artificial dispersions of rubber. NOTE
1332
+ A method for the determination of the alkalinity of
1333
+ polychloroprene latex is specified in ISO 13773.
1334
+ </abstract>
1335
+ <status>
1336
+ <stage>60</stage>
1337
+ <substage>60</substage>
1338
+ </status>
1339
+ <copyright>
1340
+ <from>2020</from>
1341
+ <owner>
1342
+ <organization>
1343
+ <name>ISO</name>
1344
+ </organization>
1345
+ </owner>
1346
+ </copyright>
1347
+ <relation type='obsoletes'>
1348
+ <bibitem type='standard'>
1349
+ <formattedref format='text/plain'>ISO 125:2011</formattedref>
1350
+ </bibitem>
1351
+ </relation>
1352
+ <place>Geneva</place>
1353
+ </bibitem>
1354
+ </relation>
1355
+ <place>Geneva</place>
1356
+ </bibitem>
1357
+ <bibitem id='iso126' hidden='true'>
1358
+ <formattedref format='application/x-isodoc+xml'>
1359
+ <em>Standard</em>
1360
+ </formattedref>
1361
+ <docidentifier>XYZ</docidentifier>
1295
1362
  </bibitem>
1296
- </relation>
1297
- <relation type='instance'>
1298
- <bibitem type='standard'>
1299
- <fetched/>
1300
- <title type='title-intro' format='text/plain' language='en' script='Latn'>Natural rubber latex concentrate</title>
1301
- <title type='title-main' format='text/plain' language='en' script='Latn'>Determination of alkalinity</title>
1302
- <title type='main' format='text/plain' language='en' script='Latn'>
1303
- Natural rubber latex concentrate&#8201;&#8212;&#8201;Determination
1304
- of alkalinity
1305
- </title>
1306
- <uri type='src'>https://www.iso.org/standard/72849.html</uri>
1307
- <uri type='obp'>https://www.iso.org/obp/ui/#!iso:std:72849:en</uri>
1308
- <uri type='rss'>https://www.iso.org/contents/data/standard/07/28/72849.detail.rss</uri>
1309
- <docidentifier type='ISO'>ISO 125:2020</docidentifier>
1310
- <docidentifier type='URN'>urn:iso:std:iso:125:stage-60.60:ed-7:en</docidentifier>
1311
- <docnumber>125</docnumber>
1312
- <date type='published'>
1313
- <on>2020-02</on>
1314
- </date>
1315
- <contributor>
1316
- <role type='publisher'/>
1317
- <organization>
1318
- <name>International Organization for Standardization</name>
1319
- <abbreviation>ISO</abbreviation>
1320
- <uri>www.iso.org</uri>
1321
- </organization>
1322
- </contributor>
1323
- <edition>7</edition>
1324
- <language>en</language>
1325
- <script>Latn</script>
1326
- <abstract format='text/plain' language='en' script='Latn'>
1327
- This document specifies a method for the determination of the
1328
- alkalinity of natural rubber latex concentrate. The method is not
1329
- necessarily suitable for latices from natural sources other than
1330
- Hevea brasiliensis or for synthetic rubber latices, compounded
1331
- latex, vulcanized latex or artificial dispersions of rubber. NOTE
1332
- A method for the determination of the alkalinity of
1333
- polychloroprene latex is specified in ISO 13773.
1334
- </abstract>
1335
- <status>
1336
- <stage>60</stage>
1337
- <substage>60</substage>
1338
- </status>
1339
- <copyright>
1340
- <from>2020</from>
1341
- <owner>
1342
- <organization>
1343
- <name>ISO</name>
1344
- </organization>
1345
- </owner>
1346
- </copyright>
1347
- <relation type='obsoletes'>
1348
- <bibitem type='standard'>
1349
- <formattedref format='text/plain'>ISO 125:2011</formattedref>
1350
- </bibitem>
1351
- </relation>
1352
- <place>Geneva</place>
1363
+ <bibitem id='iso127' type='standard'>
1364
+ <fetched/>
1365
+ <title type='title-intro' format='text/plain' language='en' script='Latn'>Latex, rubber</title>
1366
+ <title type='title-main' format='text/plain' language='en' script='Latn'>Determination of total solids content</title>
1367
+ <title type='main' format='text/plain' language='en' script='Latn'>Latex, rubber&#8201;&#8212;&#8201;Determination of total solids content</title>
1368
+ <uri type='src'>https://www.iso.org/standard/61884.html</uri>
1369
+ <uri type='obp'>https://www.iso.org/obp/ui/#!iso:std:61884:en</uri>
1370
+ <uri type='rss'>https://www.iso.org/contents/data/standard/06/18/61884.detail.rss</uri>
1371
+ <docidentifier type='ISO' primary="true">ISO 124</docidentifier>
1372
+ <docidentifier type='URN'>urn:iso:std:iso:124:stage-90.93:ed-7:en</docidentifier>
1373
+ <docnumber>124</docnumber>
1374
+ <contributor>
1375
+ <role type='publisher'/>
1376
+ <organization>
1377
+ <name>International Organization for Standardization</name>
1378
+ <abbreviation>ISO</abbreviation>
1379
+ <uri>www.iso.org</uri>
1380
+ </organization>
1381
+ </contributor>
1382
+ <edition>7</edition>
1383
+ <language>en</language>
1384
+ <script>Latn</script>
1385
+ <status>
1386
+ <stage>90</stage>
1387
+ <substage>93</substage>
1388
+ </status>
1389
+ <copyright>
1390
+ <from>2014</from>
1391
+ <owner>
1392
+ <organization>
1393
+ <name>ISO</name>
1394
+ </organization>
1395
+ </owner>
1396
+ </copyright>
1397
+ <relation type='obsoletes'>
1398
+ <bibitem type='standard'>
1399
+ <formattedref format='text/plain'>ISO 124:2011</formattedref>
1400
+ </bibitem>
1401
+ </relation>
1402
+ <relation type='instance'>
1403
+ <bibitem type='standard'>
1404
+ <fetched/>
1405
+ <title type='title-intro' format='text/plain' language='en' script='Latn'>Latex, rubber</title>
1406
+ <title type='title-main' format='text/plain' language='en' script='Latn'>Determination of total solids content</title>
1407
+ <title type='main' format='text/plain' language='en' script='Latn'>Latex, rubber&#8201;&#8212;&#8201;Determination of total solids content</title>
1408
+ <uri type='src'>https://www.iso.org/standard/61884.html</uri>
1409
+ <uri type='obp'>https://www.iso.org/obp/ui/#!iso:std:61884:en</uri>
1410
+ <uri type='rss'>https://www.iso.org/contents/data/standard/06/18/61884.detail.rss</uri>
1411
+ <docidentifier type='ISO' primary="true">ISO 124:2014</docidentifier>
1412
+ <docidentifier type='URN'>urn:iso:std:iso:124:stage-90.93:ed-7:en</docidentifier>
1413
+ <docnumber>124</docnumber>
1414
+ <date type='published'>
1415
+ <on>2014-03</on>
1416
+ </date>
1417
+ <contributor>
1418
+ <role type='publisher'/>
1419
+ <organization>
1420
+ <name>International Organization for Standardization</name>
1421
+ <abbreviation>ISO</abbreviation>
1422
+ <uri>www.iso.org</uri>
1423
+ </organization>
1424
+ </contributor>
1425
+ <edition>7</edition>
1426
+ <language>en</language>
1427
+ <script>Latn</script>
1428
+ <abstract format='text/plain' language='en' script='Latn'>
1429
+ ISO 124:2014 specifies methods for the determination of the total
1430
+ solids content of natural rubber field and concentrated latices
1431
+ and synthetic rubber latex. These methods are not necessarily
1432
+ suitable for latex from natural sources other than the Hevea
1433
+ brasiliensis, for vulcanized latex, for compounded latex, or for
1434
+ artificial dispersions of rubber.
1435
+ </abstract>
1436
+ <status>
1437
+ <stage>90</stage>
1438
+ <substage>93</substage>
1439
+ </status>
1440
+ <copyright>
1441
+ <from>2014</from>
1442
+ <owner>
1443
+ <organization>
1444
+ <name>ISO</name>
1445
+ </organization>
1446
+ </owner>
1447
+ </copyright>
1448
+ <relation type='obsoletes'>
1449
+ <bibitem type='standard'>
1450
+ <formattedref format='text/plain'>ISO 124:2011</formattedref>
1451
+ </bibitem>
1452
+ </relation>
1453
+ <place>Geneva</place>
1454
+ </bibitem>
1455
+ </relation>
1456
+ <place>Geneva</place>
1457
+ </bibitem>
1458
+ <bibitem id='iso128'>
1459
+ <formattedref format='application/x-isodoc+xml'>
1460
+ <em>Standard</em>
1461
+ </formattedref>
1462
+ <docidentifier>ABC</docidentifier>
1353
1463
  </bibitem>
1354
- </relation>
1355
- <place>Geneva</place>
1356
- </bibitem>
1357
- <bibitem id='iso126' hidden='true'>
1358
- <formattedref format='application/x-isodoc+xml'>
1359
- <em>Standard</em>
1360
- </formattedref>
1361
- <docidentifier>XYZ</docidentifier>
1362
- </bibitem>
1363
- <bibitem id='iso127' type='standard'>
1364
- <fetched/>
1365
- <title type='title-intro' format='text/plain' language='en' script='Latn'>Latex, rubber</title>
1366
- <title type='title-main' format='text/plain' language='en' script='Latn'>Determination of total solids content</title>
1367
- <title type='main' format='text/plain' language='en' script='Latn'>Latex, rubber&#8201;&#8212;&#8201;Determination of total solids content</title>
1368
- <uri type='src'>https://www.iso.org/standard/61884.html</uri>
1369
- <uri type='obp'>https://www.iso.org/obp/ui/#!iso:std:61884:en</uri>
1370
- <uri type='rss'>https://www.iso.org/contents/data/standard/06/18/61884.detail.rss</uri>
1371
- <docidentifier type='ISO'>ISO 124</docidentifier>
1372
- <docidentifier type='URN'>urn:iso:std:iso:124:stage-90.93:ed-7:en</docidentifier>
1373
- <docnumber>124</docnumber>
1374
- <contributor>
1375
- <role type='publisher'/>
1376
- <organization>
1377
- <name>International Organization for Standardization</name>
1378
- <abbreviation>ISO</abbreviation>
1379
- <uri>www.iso.org</uri>
1380
- </organization>
1381
- </contributor>
1382
- <edition>7</edition>
1383
- <language>en</language>
1384
- <script>Latn</script>
1385
- <status>
1386
- <stage>90</stage>
1387
- <substage>93</substage>
1388
- </status>
1389
- <copyright>
1390
- <from>2014</from>
1391
- <owner>
1392
- <organization>
1393
- <name>ISO</name>
1394
- </organization>
1395
- </owner>
1396
- </copyright>
1397
- <relation type='obsoletes'>
1398
- <bibitem type='standard'>
1399
- <formattedref format='text/plain'>ISO 124:2011</formattedref>
1400
- </bibitem>
1401
- </relation>
1402
- <relation type='instance'>
1403
- <bibitem type='standard'>
1404
- <fetched/>
1405
- <title type='title-intro' format='text/plain' language='en' script='Latn'>Latex, rubber</title>
1406
- <title type='title-main' format='text/plain' language='en' script='Latn'>Determination of total solids content</title>
1407
- <title type='main' format='text/plain' language='en' script='Latn'>Latex, rubber&#8201;&#8212;&#8201;Determination of total solids content</title>
1408
- <uri type='src'>https://www.iso.org/standard/61884.html</uri>
1409
- <uri type='obp'>https://www.iso.org/obp/ui/#!iso:std:61884:en</uri>
1410
- <uri type='rss'>https://www.iso.org/contents/data/standard/06/18/61884.detail.rss</uri>
1411
- <docidentifier type='ISO'>ISO 124:2014</docidentifier>
1412
- <docidentifier type='URN'>urn:iso:std:iso:124:stage-90.93:ed-7:en</docidentifier>
1413
- <docnumber>124</docnumber>
1414
- <date type='published'>
1415
- <on>2014-03</on>
1416
- </date>
1417
- <contributor>
1418
- <role type='publisher'/>
1419
- <organization>
1420
- <name>International Organization for Standardization</name>
1421
- <abbreviation>ISO</abbreviation>
1422
- <uri>www.iso.org</uri>
1423
- </organization>
1424
- </contributor>
1425
- <edition>7</edition>
1426
- <language>en</language>
1427
- <script>Latn</script>
1428
- <abstract format='text/plain' language='en' script='Latn'>
1429
- ISO 124:2014 specifies methods for the determination of the total
1430
- solids content of natural rubber field and concentrated latices
1431
- and synthetic rubber latex. These methods are not necessarily
1432
- suitable for latex from natural sources other than the Hevea
1433
- brasiliensis, for vulcanized latex, for compounded latex, or for
1434
- artificial dispersions of rubber.
1435
- </abstract>
1436
- <status>
1437
- <stage>90</stage>
1438
- <substage>93</substage>
1439
- </status>
1440
- <copyright>
1441
- <from>2014</from>
1442
- <owner>
1443
- <organization>
1444
- <name>ISO</name>
1445
- </organization>
1446
- </owner>
1447
- </copyright>
1448
- <relation type='obsoletes'>
1449
- <bibitem type='standard'>
1450
- <formattedref format='text/plain'>ISO 124:2011</formattedref>
1451
- </bibitem>
1452
- </relation>
1453
- <place>Geneva</place>
1454
- </bibitem>
1455
- </relation>
1456
- <place>Geneva</place>
1457
- </bibitem>
1458
- <bibitem id='iso128'>
1459
- <formattedref format='application/x-isodoc+xml'>
1460
- <em>Standard</em>
1461
- </formattedref>
1462
- <docidentifier>ABC</docidentifier>
1463
- </bibitem>
1464
- </references>
1465
- </bibliography>
1466
- </standard-document>
1464
+ </references>
1465
+ </bibliography>
1466
+ </standard-document>
1467
1467
  OUTPUT
1468
1468
  expect(xmlpp(strip_guid(Asciidoctor.convert(input, *OPTIONS))))
1469
1469
  .to be_equivalent_to xmlpp(output)
1470
1470
  end
1471
1471
  end
1472
1472
 
1473
-
1474
1473
  it "processes draft ISO reference" do
1475
1474
  # stub_fetch_ref no_year: true, note: "The standard is in press"
1476
1475
 
@@ -1657,7 +1656,7 @@ RSpec.describe Metanorma::Standoc do
1657
1656
  <clause id="_" inline-header="false" obligation="normative">
1658
1657
  <title>Clause 4</title>
1659
1658
  <p id="_">
1660
- <eref type="inline" bibitemid="iso123" citeas="IETF RFC 8341"/>
1659
+ <eref type="inline" bibitemid="iso123" citeas="RFC 8341"/>
1661
1660
  </p>
1662
1661
  </clause>
1663
1662
  </sections><bibliography><references id="_" obligation="informative" normative="true">
@@ -1670,13 +1669,20 @@ RSpec.describe Metanorma::Standoc do
1670
1669
  https://raw.githubusercontent.com/relaton/relaton-data-ietf/master/data/reference.RFC.8341.xml
1671
1670
  </uri>
1672
1671
  <uri type='src'>https://www.rfc-editor.org/info/rfc8341</uri>
1673
- <docidentifier type='IETF'>RFC 8341</docidentifier>
1674
- <docidentifier type='IETF' scope='anchor'>RFC8341</docidentifier>
1672
+ <docidentifier type='RFC' primary="true">RFC 8341</docidentifier>
1673
+ <docidentifier type='RFC' scope='anchor'>RFC8341</docidentifier>
1675
1674
  <docidentifier type='DOI'>10.17487/RFC8341</docidentifier>
1676
1675
  <docnumber>RFC8341</docnumber>
1677
1676
  <date type='published'>
1678
1677
  <on>2018-03</on>
1679
1678
  </date>
1679
+ <contributor>
1680
+ <role type='publisher'/>
1681
+ <organization>
1682
+ <name>Internet Engineering Task Force</name>
1683
+ <abbreviation>IETF</abbreviation>
1684
+ </organization>
1685
+ </contributor>
1680
1686
  <contributor>
1681
1687
  <role type='author'/>
1682
1688
  <person>
@@ -1693,13 +1699,6 @@ RSpec.describe Metanorma::Standoc do
1693
1699
  </name>
1694
1700
  </person>
1695
1701
  </contributor>
1696
- <contributor>
1697
- <role type='publisher'/>
1698
- <organization>
1699
- <name>Internet Engineering Task Force</name>
1700
- <abbreviation>IETF</abbreviation>
1701
- </organization>
1702
- </contributor>
1703
1702
  <language>en</language>
1704
1703
  <script>Latn</script>
1705
1704
  <abstract format='text/html' language='en' script='Latn'>
@@ -1722,7 +1721,6 @@ RSpec.describe Metanorma::Standoc do
1722
1721
  <title format='text/plain' language='en' script='Latn'>RFC</title>
1723
1722
  <number>8341</number>
1724
1723
  </series>
1725
- <place>Fremont, CA</place>
1726
1724
  </bibitem>
1727
1725
  <bibitem id='iso124' type='standard'>
1728
1726
  <fetched/>
@@ -1731,14 +1729,21 @@ RSpec.describe Metanorma::Standoc do
1731
1729
  https://raw.githubusercontent.com/relaton/relaton-data-ietf/master/data/reference.RFC.8341.xml
1732
1730
  </uri>
1733
1731
  <uri type='src'>https://www.rfc-editor.org/info/rfc8341</uri>
1734
- <docidentifier type='IETF'>RFC 8341</docidentifier>
1732
+ <docidentifier type='RFC' primary="true">RFC 8341</docidentifier>
1735
1733
  <docidentifier type='metanorma'>[1]</docidentifier>
1736
- <docidentifier type='IETF' scope='anchor'>RFC8341</docidentifier>
1734
+ <docidentifier type='RFC' scope='anchor'>RFC8341</docidentifier>
1737
1735
  <docidentifier type='DOI'>10.17487/RFC8341</docidentifier>
1738
1736
  <docnumber>RFC8341</docnumber>
1739
1737
  <date type='published'>
1740
1738
  <on>2018-03</on>
1741
1739
  </date>
1740
+ <contributor>
1741
+ <role type='publisher'/>
1742
+ <organization>
1743
+ <name>Internet Engineering Task Force</name>
1744
+ <abbreviation>IETF</abbreviation>
1745
+ </organization>
1746
+ </contributor>
1742
1747
  <contributor>
1743
1748
  <role type='author'/>
1744
1749
  <person>
@@ -1755,13 +1760,6 @@ RSpec.describe Metanorma::Standoc do
1755
1760
  </name>
1756
1761
  </person>
1757
1762
  </contributor>
1758
- <contributor>
1759
- <role type='publisher'/>
1760
- <organization>
1761
- <name>Internet Engineering Task Force</name>
1762
- <abbreviation>IETF</abbreviation>
1763
- </organization>
1764
- </contributor>
1765
1763
  <language>en</language>
1766
1764
  <script>Latn</script>
1767
1765
  <abstract format='text/html' language='en' script='Latn'>
@@ -1784,7 +1782,6 @@ RSpec.describe Metanorma::Standoc do
1784
1782
  <title format='text/plain' language='en' script='Latn'>RFC</title>
1785
1783
  <number>8341</number>
1786
1784
  </series>
1787
- <place>Fremont, CA</place>
1788
1785
  </bibitem>
1789
1786
  </references>
1790
1787
  </bibliography>
@@ -2250,7 +2247,7 @@ RSpec.describe Metanorma::Standoc do
2250
2247
  <uri type='src'>https://www.iso.org/standard/23281.html</uri>
2251
2248
  <uri type='obp'>https://www.iso.org/obp/ui/#!iso:std:23281:en</uri>
2252
2249
  <uri type='rss'>https://www.iso.org/contents/data/standard/02/32/23281.detail.rss</uri>
2253
- <docidentifier type='ISO'>ISO 123</docidentifier>
2250
+ <docidentifier type='ISO' primary="true">ISO 123</docidentifier>
2254
2251
  <docidentifier type='URN'>urn:iso:std:iso:123:stage-90.93:ed-3:en</docidentifier>
2255
2252
  <docnumber>123</docnumber>
2256
2253
  <contributor>
@@ -2290,7 +2287,7 @@ RSpec.describe Metanorma::Standoc do
2290
2287
  <uri type='src'>https://www.iso.org/standard/23281.html</uri>
2291
2288
  <uri type='obp'>https://www.iso.org/obp/ui/#!iso:std:23281:en</uri>
2292
2289
  <uri type='rss'>https://www.iso.org/contents/data/standard/02/32/23281.detail.rss</uri>
2293
- <docidentifier type='ISO'>ISO 123:2001</docidentifier>
2290
+ <docidentifier type='ISO' primary="true">ISO 123:2001</docidentifier>
2294
2291
  <docidentifier type='URN'>urn:iso:std:iso:123:stage-90.93:ed-3:en</docidentifier>
2295
2292
  <docnumber>123</docnumber>
2296
2293
  <date type='published'>
@@ -2354,7 +2351,7 @@ RSpec.describe Metanorma::Standoc do
2354
2351
  <uri type='src'>https://www.iso.org/standard/23281.html</uri>
2355
2352
  <uri type='obp'>https://www.iso.org/obp/ui/#!iso:std:23281:en</uri>
2356
2353
  <uri type='rss'>https://www.iso.org/contents/data/standard/02/32/23281.detail.rss</uri>
2357
- <docidentifier type='ISO'>ISO 123</docidentifier>
2354
+ <docidentifier type='ISO' primary="true">ISO 123</docidentifier>
2358
2355
  <docidentifier type='metanorma'>[1]</docidentifier>
2359
2356
  <docidentifier type='URN'>urn:iso:std:iso:123:stage-90.93:ed-3:en</docidentifier>
2360
2357
  <docnumber>123</docnumber>
@@ -2395,7 +2392,7 @@ RSpec.describe Metanorma::Standoc do
2395
2392
  <uri type='src'>https://www.iso.org/standard/23281.html</uri>
2396
2393
  <uri type='obp'>https://www.iso.org/obp/ui/#!iso:std:23281:en</uri>
2397
2394
  <uri type='rss'>https://www.iso.org/contents/data/standard/02/32/23281.detail.rss</uri>
2398
- <docidentifier type='ISO'>ISO 123:2001</docidentifier>
2395
+ <docidentifier type='ISO' primary="true">ISO 123:2001</docidentifier>
2399
2396
  <docidentifier type='URN'>urn:iso:std:iso:123:stage-90.93:ed-3:en</docidentifier>
2400
2397
  <docnumber>123</docnumber>
2401
2398
  <date type='published'>
@@ -2487,6 +2484,54 @@ RSpec.describe Metanorma::Standoc do
2487
2484
  end
2488
2485
  end
2489
2486
 
2487
+ it "have formatted reference tag" do
2488
+ input = <<~INPUT
2489
+ #{ASCIIDOC_BLANK_HDR}
2490
+
2491
+ <<iso124>>
2492
+
2493
+ [bibliography]
2494
+ == Bibliography
2495
+
2496
+ * [[[iso124,(*A*.footnote:[hello])XYZ]]] _Standard_
2497
+ INPUT
2498
+ output = <<~OUTPUT
2499
+ #{BLANK_HDR}
2500
+ <preface>
2501
+ <foreword id='_' obligation='informative'>
2502
+ <title>Foreword</title>
2503
+ <p id='_'>
2504
+ <eref type='inline' bibitemid='iso124' citeas='[&amp;#x3c;strong&amp;#x3e;A&amp;#x3c;/strong&amp;#x3e;.&amp;#x3c;fn reference=&amp;#x22;1&amp;#x22;&amp;#x3e;&amp;#xa; &amp;#x3c;p&amp;#x3e;hello&amp;#x3c;/p&amp;#x3e;&amp;#xa;&amp;#x3c;/fn&amp;#x3e;]'/>
2505
+ </p>
2506
+ </foreword>
2507
+ </preface>
2508
+ <sections> </sections>
2509
+ <bibliography>
2510
+ <references id='_' normative='false' obligation='informative'>
2511
+ <title>Bibliography</title>
2512
+ <bibitem id='iso124'>
2513
+ <formattedref format='application/x-isodoc+xml'>
2514
+ <em>Standard</em>
2515
+ </formattedref>
2516
+ <docidentifier type='metanorma'>
2517
+ [
2518
+ <strong>A</strong>
2519
+ .
2520
+ <fn reference='1'>
2521
+ <p id='_'>hello</p>
2522
+ </fn>
2523
+ ]
2524
+ </docidentifier>
2525
+ <docidentifier>XYZ</docidentifier>
2526
+ </bibitem>
2527
+ </references>
2528
+ </bibliography>
2529
+ </standard-document>
2530
+ OUTPUT
2531
+ expect(xmlpp(strip_guid(Asciidoctor.convert(input, *OPTIONS))))
2532
+ .to be_equivalent_to xmlpp(output)
2533
+ end
2534
+
2490
2535
  private
2491
2536
 
2492
2537
  def mock_isobib_get_123
@@ -2505,7 +2550,7 @@ RSpec.describe Metanorma::Standoc do
2505
2550
  end
2506
2551
  end
2507
2552
 
2508
- def mock_isobib_get_123_no_docid(n)
2553
+ def mock_isobib_get_123_no_docid(times)
2509
2554
  expect(RelatonIso::IsoBibliography).to receive(:get)
2510
2555
  .with("ISO 123", nil, { code: "ISO 123",
2511
2556
  lang: "en",
@@ -2518,10 +2563,10 @@ RSpec.describe Metanorma::Standoc do
2518
2563
  RelatonBib::XMLParser.from_xml(<<~"OUTPUT")
2519
2564
  <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>
2520
2565
  OUTPUT
2521
- end.exactly(n).times
2566
+ end.exactly(times).times
2522
2567
  end
2523
2568
 
2524
- def mock_isobib_get_123_no_docid_lbl(n)
2569
+ def mock_isobib_get_123_no_docid_lbl(times)
2525
2570
  expect(RelatonIso::IsoBibliography).to receive(:get)
2526
2571
  .with("ISO 123", nil, { code: "ISO 123",
2527
2572
  lang: "en",
@@ -2534,7 +2579,7 @@ RSpec.describe Metanorma::Standoc do
2534
2579
  RelatonBib::XMLParser.from_xml(<<~"OUTPUT")
2535
2580
  <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>
2536
2581
  OUTPUT
2537
- end.exactly(n).times
2582
+ end.exactly(times).times
2538
2583
  end
2539
2584
 
2540
2585
  def mock_isobib_get_124
@@ -2660,7 +2705,7 @@ RSpec.describe Metanorma::Standoc do
2660
2705
  <bibitem id="RFC8341">
2661
2706
  <title format="text/plain" language="en" script="Latn">Network Configuration Access Control Model</title>
2662
2707
  <docidentifier type="DOI">10.17487/RFC8341</docidentifier>
2663
- <docidentifier type="IETF">RFC 8341</docidentifier>
2708
+ <docidentifier type="RFC">RFC 8341</docidentifier>
2664
2709
  <date type="published">
2665
2710
  <on>2018</on>
2666
2711
  </date>