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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 28668ccee2ac29c220a4f6e970299bd8f37e106d1d953e4b0c25eeae65f75571
4
- data.tar.gz: 1c004518604d4ee42e649094c964fd2b29fb42d20cc6eb76e22ed7ad32347f78
3
+ metadata.gz: ba54bd24b1416849f106767c466616f517f80a92a7acb3c3bc4b896372402710
4
+ data.tar.gz: 8984619f5a422c14ff92fd2190a565b288a3f68a74ff91768887fec205bb787a
5
5
  SHA512:
6
- metadata.gz: aff04a6fc9c4fa01f55229716d1e33881c086c027af463e5fe97415cd376e7e511f8a7d84f3b942c512f4a1779427611ac6c82290d56376ea36e048c6afd4b55
7
- data.tar.gz: 7f659e59700d2e17040f4a92a1a8c1e9df1c64bb5601b5724f50d8e00e3b8ac477039a8adf4c956840c66dac906667d111bdb391f47f87c2f6abf9fcad92ef78
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 << l10n("; #{elem.next_element.remove.children.to_xml}")
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>
@@ -508,6 +508,9 @@
508
508
  </define>
509
509
  <define name="stagename">
510
510
  <element name="stagename">
511
+ <optional>
512
+ <attribute name="abbreviation"/>
513
+ </optional>
511
514
  <text/>
512
515
  </element>
513
516
  </define>
@@ -1,6 +1,6 @@
1
1
  module Metanorma
2
2
  module Iec
3
- VERSION = "2.1.9".freeze
3
+ VERSION = "2.1.10".freeze
4
4
  end
5
5
  end
6
6
 
@@ -861,7 +861,7 @@ RSpec.describe IsoDoc do
861
861
  <dd language='zh' script='Hans'>
862
862
  <preferred>
863
863
  <strong>&#x4EA7;&#x54C1;</strong>
864
- &#xff0c; &#x3c;&#x5728;&#x53EF;&#x9760;&#x6027;&#x65B9;&#x9762;&#x3e;
864
+ &#xff0c; &#x3c;&#x5728;&#x53EF;&#x9760;&#x6027;&#x65B9;&#x9762;/&#x3e;
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.9
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-09-26 00:00:00.000000000 Z
11
+ date: 2022-10-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: metanorma-iso