metanorma-iso 2.0.1 → 2.0.2
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.
- checksums.yaml +4 -4
- data/lib/isodoc/iso/html/style-human.css +16 -15
- data/lib/isodoc/iso/html/style-human.scss +3 -2
- data/lib/isodoc/iso/html/style-iso.css +18 -17
- data/lib/isodoc/iso/html/style-iso.scss +3 -2
- data/lib/isodoc/iso/iso.amendment.xsl +258 -82
- data/lib/isodoc/iso/iso.international-standard.xsl +258 -82
- data/lib/metanorma/iso/biblio.rng +2 -2
- data/lib/metanorma/iso/isodoc.rng +69 -1
- data/lib/metanorma/iso/version.rb +1 -1
- data/spec/metanorma/base_spec.rb +138 -127
- data/spec/vcr_cassettes/docrels.yml +21 -216
- metadata +2 -2
@@ -32,6 +32,43 @@
|
|
32
32
|
<ref name="DocumentType"/>
|
33
33
|
</element>
|
34
34
|
</define>
|
35
|
+
<define name="index">
|
36
|
+
<element name="index">
|
37
|
+
<optional>
|
38
|
+
<attribute name="to">
|
39
|
+
<data type="IDREF"/>
|
40
|
+
</attribute>
|
41
|
+
</optional>
|
42
|
+
<element name="primary">
|
43
|
+
<oneOrMore>
|
44
|
+
<choice>
|
45
|
+
<ref name="PureTextElement"/>
|
46
|
+
<ref name="stem"/>
|
47
|
+
</choice>
|
48
|
+
</oneOrMore>
|
49
|
+
</element>
|
50
|
+
<optional>
|
51
|
+
<element name="secondary">
|
52
|
+
<oneOrMore>
|
53
|
+
<choice>
|
54
|
+
<ref name="PureTextElement"/>
|
55
|
+
<ref name="stem"/>
|
56
|
+
</choice>
|
57
|
+
</oneOrMore>
|
58
|
+
</element>
|
59
|
+
</optional>
|
60
|
+
<optional>
|
61
|
+
<element name="tertiary">
|
62
|
+
<oneOrMore>
|
63
|
+
<choice>
|
64
|
+
<ref name="PureTextElement"/>
|
65
|
+
<ref name="stem"/>
|
66
|
+
</choice>
|
67
|
+
</oneOrMore>
|
68
|
+
</element>
|
69
|
+
</optional>
|
70
|
+
</element>
|
71
|
+
</define>
|
35
72
|
<define name="bibitem">
|
36
73
|
<element name="bibitem">
|
37
74
|
<attribute name="id">
|
@@ -1027,6 +1064,26 @@
|
|
1027
1064
|
</zeroOrMore>
|
1028
1065
|
</element>
|
1029
1066
|
</define>
|
1067
|
+
<define name="sub">
|
1068
|
+
<element name="sub">
|
1069
|
+
<zeroOrMore>
|
1070
|
+
<choice>
|
1071
|
+
<ref name="PureTextElement"/>
|
1072
|
+
<ref name="stem"/>
|
1073
|
+
</choice>
|
1074
|
+
</zeroOrMore>
|
1075
|
+
</element>
|
1076
|
+
</define>
|
1077
|
+
<define name="sup">
|
1078
|
+
<element name="sup">
|
1079
|
+
<zeroOrMore>
|
1080
|
+
<choice>
|
1081
|
+
<ref name="PureTextElement"/>
|
1082
|
+
<ref name="stem"/>
|
1083
|
+
</choice>
|
1084
|
+
</zeroOrMore>
|
1085
|
+
</element>
|
1086
|
+
</define>
|
1030
1087
|
<define name="pagebreak">
|
1031
1088
|
<element name="pagebreak">
|
1032
1089
|
<optional>
|
@@ -2216,7 +2273,18 @@
|
|
2216
2273
|
<ref name="MultilingualRenderingType"/>
|
2217
2274
|
</attribute>
|
2218
2275
|
</optional>
|
2219
|
-
<
|
2276
|
+
<oneOrMore>
|
2277
|
+
<choice>
|
2278
|
+
<ref name="formula"/>
|
2279
|
+
<ref name="ul"/>
|
2280
|
+
<ref name="ol"/>
|
2281
|
+
<ref name="dl"/>
|
2282
|
+
<ref name="quote"/>
|
2283
|
+
<ref name="sourcecode"/>
|
2284
|
+
<ref name="paragraph"/>
|
2285
|
+
<ref name="figure"/>
|
2286
|
+
</choice>
|
2287
|
+
</oneOrMore>
|
2220
2288
|
</element>
|
2221
2289
|
</define>
|
2222
2290
|
<define name="termsource">
|
data/spec/metanorma/base_spec.rb
CHANGED
@@ -675,7 +675,7 @@ RSpec.describe Metanorma::ISO do
|
|
675
675
|
:docfile: test.adoc
|
676
676
|
:nodoc:
|
677
677
|
:novalid:
|
678
|
-
:amends: ISO 123;ISO
|
678
|
+
:amends: ISO 123;ISO 125
|
679
679
|
:obsoletes: ABC 1
|
680
680
|
:successor-of: ABC 2
|
681
681
|
:manifestation-of: ABC 3
|
@@ -744,16 +744,16 @@ RSpec.describe Metanorma::ISO do
|
|
744
744
|
<docidentifier>ABC 3</docidentifier>
|
745
745
|
</bibitem>
|
746
746
|
</relation>
|
747
|
-
<relation type='
|
747
|
+
<relation type='related'>
|
748
748
|
<bibitem>
|
749
749
|
<title>--</title>
|
750
|
-
<docidentifier>ABC
|
750
|
+
<docidentifier>ABC 4</docidentifier>
|
751
751
|
</bibitem>
|
752
752
|
</relation>
|
753
|
-
<relation type='
|
753
|
+
<relation type='annotationOf'>
|
754
754
|
<bibitem>
|
755
755
|
<title>--</title>
|
756
|
-
<docidentifier>ABC
|
756
|
+
<docidentifier>ABC 3a</docidentifier>
|
757
757
|
</bibitem>
|
758
758
|
</relation>
|
759
759
|
<relation type='updates'>
|
@@ -872,128 +872,139 @@ RSpec.describe Metanorma::ISO do
|
|
872
872
|
<place>Geneva</place>
|
873
873
|
</bibitem>
|
874
874
|
</relation>
|
875
|
-
|
876
|
-
|
877
|
-
|
878
|
-
|
879
|
-
|
880
|
-
|
881
|
-
|
882
|
-
|
883
|
-
|
884
|
-
|
885
|
-
|
886
|
-
|
887
|
-
|
888
|
-
|
889
|
-
|
890
|
-
|
891
|
-
|
892
|
-
|
893
|
-
|
894
|
-
|
895
|
-
|
896
|
-
|
897
|
-
|
898
|
-
|
899
|
-
|
900
|
-
|
901
|
-
|
902
|
-
|
903
|
-
|
904
|
-
|
905
|
-
|
906
|
-
|
907
|
-
|
908
|
-
|
909
|
-
|
910
|
-
|
911
|
-
|
912
|
-
|
913
|
-
|
914
|
-
|
915
|
-
|
916
|
-
|
917
|
-
|
918
|
-
|
919
|
-
|
920
|
-
|
921
|
-
|
922
|
-
|
923
|
-
|
924
|
-
|
925
|
-
|
926
|
-
|
927
|
-
|
928
|
-
|
929
|
-
|
930
|
-
|
931
|
-
|
932
|
-
|
933
|
-
|
934
|
-
|
935
|
-
|
936
|
-
|
937
|
-
|
938
|
-
|
939
|
-
|
940
|
-
|
941
|
-
|
942
|
-
|
943
|
-
|
944
|
-
|
945
|
-
|
946
|
-
|
947
|
-
|
948
|
-
|
949
|
-
|
950
|
-
|
951
|
-
|
952
|
-
|
953
|
-
|
954
|
-
|
955
|
-
|
956
|
-
|
957
|
-
|
958
|
-
|
959
|
-
|
960
|
-
|
961
|
-
|
962
|
-
|
963
|
-
|
964
|
-
|
965
|
-
|
966
|
-
|
967
|
-
|
968
|
-
|
969
|
-
|
970
|
-
|
971
|
-
|
972
|
-
|
973
|
-
|
974
|
-
|
975
|
-
|
976
|
-
|
977
|
-
|
978
|
-
|
979
|
-
|
980
|
-
|
981
|
-
|
982
|
-
|
983
|
-
|
984
|
-
|
985
|
-
|
986
|
-
|
987
|
-
|
988
|
-
|
989
|
-
|
990
|
-
|
991
|
-
|
992
|
-
|
993
|
-
|
994
|
-
|
995
|
-
|
996
|
-
|
875
|
+
<relation type='updates'>
|
876
|
+
<description>amends</description>
|
877
|
+
<bibitem type='standard'>
|
878
|
+
<fetched/>
|
879
|
+
<title type='title-intro' format='text/plain' language='en' script='Latn'>Natural rubber latex concentrate</title>
|
880
|
+
<title type='title-main' format='text/plain' language='en' script='Latn'>Determination of alkalinity</title>
|
881
|
+
<title type='main' format='text/plain' language='en' script='Latn'>
|
882
|
+
Natural rubber latex concentrate — Determination of
|
883
|
+
alkalinity
|
884
|
+
</title>
|
885
|
+
<title type='title-intro' format='text/plain' language='fr' script='Latn'>Latex concentré de caoutchouc naturel</title>
|
886
|
+
<title type='title-main' format='text/plain' language='fr' script='Latn'>Détermination de l’alcalinité</title>
|
887
|
+
<title type='main' format='text/plain' language='fr' script='Latn'>
|
888
|
+
Latex concentré de caoutchouc
|
889
|
+
naturel — Détermination de
|
890
|
+
l’alcalinité
|
891
|
+
</title>
|
892
|
+
<uri type='src'>https://www.iso.org/standard/72849.html</uri>
|
893
|
+
<uri type='obp'>https://www.iso.org/obp/ui/#!iso:std:72849:en</uri>
|
894
|
+
<uri type='rss'>https://www.iso.org/contents/data/standard/07/28/72849.detail.rss</uri>
|
895
|
+
<docidentifier type='ISO'>ISO 125</docidentifier>
|
896
|
+
<docidentifier type='URN'>urn:iso:std:iso:125:stage-60.60:ed-7:en,fr</docidentifier>
|
897
|
+
<docnumber>125</docnumber>
|
898
|
+
<contributor>
|
899
|
+
<role type='publisher'/>
|
900
|
+
<organization>
|
901
|
+
<name>International Organization for Standardization</name>
|
902
|
+
<abbreviation>ISO</abbreviation>
|
903
|
+
<uri>www.iso.org</uri>
|
904
|
+
</organization>
|
905
|
+
</contributor>
|
906
|
+
<edition>7</edition>
|
907
|
+
<language>en</language>
|
908
|
+
<language>fr</language>
|
909
|
+
<script>Latn</script>
|
910
|
+
<status>
|
911
|
+
<stage>60</stage>
|
912
|
+
<substage>60</substage>
|
913
|
+
</status>
|
914
|
+
<copyright>
|
915
|
+
<from>2020</from>
|
916
|
+
<owner>
|
917
|
+
<organization>
|
918
|
+
<name>ISO</name>
|
919
|
+
</organization>
|
920
|
+
</owner>
|
921
|
+
</copyright>
|
922
|
+
<relation type='obsoletes'>
|
923
|
+
<bibitem type='standard'>
|
924
|
+
<formattedref format='text/plain'>ISO 125:2011</formattedref>
|
925
|
+
</bibitem>
|
926
|
+
</relation>
|
927
|
+
<relation type='instance'>
|
928
|
+
<bibitem type='standard'>
|
929
|
+
<fetched/>
|
930
|
+
<title type='title-intro' format='text/plain' language='en' script='Latn'>Natural rubber latex concentrate</title>
|
931
|
+
<title type='title-main' format='text/plain' language='en' script='Latn'>Determination of alkalinity</title>
|
932
|
+
<title type='main' format='text/plain' language='en' script='Latn'>
|
933
|
+
Natural rubber latex concentrate — Determination
|
934
|
+
of alkalinity
|
935
|
+
</title>
|
936
|
+
<title type='title-intro' format='text/plain' language='fr' script='Latn'>Latex concentré de caoutchouc naturel</title>
|
937
|
+
<title type='title-main' format='text/plain' language='fr' script='Latn'>Détermination de l’alcalinité</title>
|
938
|
+
<title type='main' format='text/plain' language='fr' script='Latn'>
|
939
|
+
Latex concentré de caoutchouc
|
940
|
+
naturel — Détermination de
|
941
|
+
l’alcalinité
|
942
|
+
</title>
|
943
|
+
<uri type='src'>https://www.iso.org/standard/72849.html</uri>
|
944
|
+
<uri type='obp'>https://www.iso.org/obp/ui/#!iso:std:72849:en</uri>
|
945
|
+
<uri type='rss'>https://www.iso.org/contents/data/standard/07/28/72849.detail.rss</uri>
|
946
|
+
<docidentifier type='ISO'>ISO 125:2020</docidentifier>
|
947
|
+
<docidentifier type='URN'>urn:iso:std:iso:125:stage-60.60:ed-7:en,fr</docidentifier>
|
948
|
+
<docnumber>125</docnumber>
|
949
|
+
<date type='published'>
|
950
|
+
<on>2020-02</on>
|
951
|
+
</date>
|
952
|
+
<contributor>
|
953
|
+
<role type='publisher'/>
|
954
|
+
<organization>
|
955
|
+
<name>International Organization for Standardization</name>
|
956
|
+
<abbreviation>ISO</abbreviation>
|
957
|
+
<uri>www.iso.org</uri>
|
958
|
+
</organization>
|
959
|
+
</contributor>
|
960
|
+
<edition>7</edition>
|
961
|
+
<language>en</language>
|
962
|
+
<language>fr</language>
|
963
|
+
<script>Latn</script>
|
964
|
+
<abstract format='text/plain' language='en' script='Latn'>
|
965
|
+
This document specifies a method for the determination of the
|
966
|
+
alkalinity of natural rubber latex concentrate. The method is not
|
967
|
+
necessarily suitable for latices from natural sources other than
|
968
|
+
Hevea brasiliensis or for synthetic rubber latices, compounded
|
969
|
+
latex, vulcanized latex or artificial dispersions of rubber. NOTE
|
970
|
+
A method for the determination of the alkalinity of
|
971
|
+
polychloroprene latex is specified in ISO 13773.
|
972
|
+
</abstract>
|
973
|
+
<abstract format='text/plain' language='fr' script='Latn'>
|
974
|
+
Le présent document spécifie une méthode de
|
975
|
+
détermination de l’alcalinité du latex
|
976
|
+
concentré de caoutchouc naturel. La méthode ne convient
|
977
|
+
pas nécessairement aux latex d’origine naturelle autres
|
978
|
+
que l’Hevea brasiliensis ou aux latex de caoutchouc de
|
979
|
+
synthèse, aux latex formulés, aux latex vulcanisés
|
980
|
+
ou aux dispersions artificielles de caoutchouc. NOTE Une
|
981
|
+
méthode de détermination de l’alcalinité du
|
982
|
+
latex de polychloroprène est spécifiée dans
|
983
|
+
l’ISO 13773.
|
984
|
+
</abstract>
|
985
|
+
<status>
|
986
|
+
<stage>60</stage>
|
987
|
+
<substage>60</substage>
|
988
|
+
</status>
|
989
|
+
<copyright>
|
990
|
+
<from>2020</from>
|
991
|
+
<owner>
|
992
|
+
<organization>
|
993
|
+
<name>ISO</name>
|
994
|
+
</organization>
|
995
|
+
</owner>
|
996
|
+
</copyright>
|
997
|
+
<relation type='obsoletes'>
|
998
|
+
<bibitem type='standard'>
|
999
|
+
<formattedref format='text/plain'>ISO 125:2011</formattedref>
|
1000
|
+
</bibitem>
|
1001
|
+
</relation>
|
1002
|
+
<place>Geneva</place>
|
1003
|
+
</bibitem>
|
1004
|
+
</relation>
|
1005
|
+
<place>Geneva</place>
|
1006
|
+
</bibitem>
|
1007
|
+
</relation>
|
997
1008
|
<relation type='obsoletes'>
|
998
1009
|
<description>replaces</description>
|
999
1010
|
<bibitem>
|