metanorma-iec 2.1.9 → 2.1.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/isodoc/iec/iec.international-standard.xsl +1 -1
- data/lib/isodoc/iec/presentation_xml_convert.rb +1 -1
- data/lib/metanorma/iec/isodoc.rng +9 -0
- data/lib/metanorma/iec/isostandard.rng +3 -0
- data/lib/metanorma/iec/version.rb +1 -1
- data/spec/isodoc/iev_spec.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ba54bd24b1416849f106767c466616f517f80a92a7acb3c3bc4b896372402710
|
4
|
+
data.tar.gz: 8984619f5a422c14ff92fd2190a565b288a3f68a74ff91768887fec205bb787a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3b6add14a09ea1e3e16ce212741f92dae1fb5bfa9a5f73dbb6a94b944b54bb4c7a6bdef1154a3ede03ee510b97b3ca91fa59a06987d0f6c6f25204eb093ee2bd
|
7
|
+
data.tar.gz: 9e9647e3a2e3af354e152d2aec5b1a5ba2339f16ae119d354c5067acf175c0294a690d69450823f941dac8a5273770fb6350b2f5436a7e9dc29e001965f62d03
|
@@ -8771,7 +8771,7 @@
|
|
8771
8771
|
<!-- ====== -->
|
8772
8772
|
<!-- eref -->
|
8773
8773
|
<!-- ====== -->
|
8774
|
-
<xsl:template match="*[local-name() = 'eref']">
|
8774
|
+
<xsl:template match="*[local-name() = 'eref']" name="eref">
|
8775
8775
|
<xsl:variable name="current_bibitemid" select="@bibitemid"/>
|
8776
8776
|
<!-- <xsl:variable name="external-destination" select="normalize-space(key('bibitems', $current_bibitemid)/*[local-name() = 'uri'][@type = 'citation'])"/> -->
|
8777
8777
|
<xsl:variable name="external-destination" select="normalize-space($bibitems/*[local-name() ='bibitem'][@id = $current_bibitemid]/*[local-name() = 'uri'][@type = 'citation'])"/>
|
@@ -203,7 +203,7 @@ module IsoDoc
|
|
203
203
|
|
204
204
|
def termsource1_iev(elem)
|
205
205
|
while elem&.next_element&.name == "termsource"
|
206
|
-
elem <<
|
206
|
+
elem << "; #{elem.next_element.remove.children.to_xml}"
|
207
207
|
end
|
208
208
|
elem.children = l10n("#{@i18n.source}: #{elem.children.to_xml.strip}")
|
209
209
|
end
|
@@ -205,6 +205,15 @@
|
|
205
205
|
<data type="boolean"/>
|
206
206
|
</attribute>
|
207
207
|
</optional>
|
208
|
+
<optional>
|
209
|
+
<attribute name="style">
|
210
|
+
<choice>
|
211
|
+
<value>basic</value>
|
212
|
+
<value>full</value>
|
213
|
+
<value>short</value>
|
214
|
+
</choice>
|
215
|
+
</attribute>
|
216
|
+
</optional>
|
208
217
|
<ref name="XrefBody"/>
|
209
218
|
</element>
|
210
219
|
</define>
|
data/spec/isodoc/iev_spec.rb
CHANGED
@@ -861,7 +861,7 @@ RSpec.describe IsoDoc do
|
|
861
861
|
<dd language='zh' script='Hans'>
|
862
862
|
<preferred>
|
863
863
|
<strong>产品</strong>
|
864
|
-
, <在可靠性方面
|
864
|
+
, <在可靠性方面/>
|
865
865
|
</preferred>
|
866
866
|
</dd>
|
867
867
|
</dl>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-iec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-10-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: metanorma-iso
|