metanorma-iec 2.5.12 → 2.5.13

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: 293aedaf5e38a5a6144556ee13fffdc271e4477c945cd681728e5e9e9154c01f
4
- data.tar.gz: 79a0643a146fe752e1895523068f2589da742e391ff1596cb00aabae692e3a59
3
+ metadata.gz: 174d9b24fd1740aa2006ccb5a6d4e21327861144d384acb36859fc77c605ddf0
4
+ data.tar.gz: 3900a7bbd7ca898fff45000ca982210610b7be1b184f152473813cb47bb3f6ce
5
5
  SHA512:
6
- metadata.gz: 6a20bc6b38666a64a6a768a3a8908420db3efef4a59dee7b2643a1e24a4c08611bfa34d3f894a7df3e5ee69a5bf1fba8e97ea7695fa7b8ab915835b5e4c02aea
7
- data.tar.gz: f4d3769e2894778122a77a38657fd0870d2b1408235bfa30845e1133689272c815a1085948c34e9e11d21e623869a9969c9336867944305c4659d27bf061c2f0
6
+ metadata.gz: 3c7eaacda10072f8e2d7f475b3dd4043203f9a5a887456dea43c5bc30d51bc0ebe02923920d5859f2a06f459180e1cfd15ec08bcafd2a815f79c28ff61f873e0
7
+ data.tar.gz: d859b68533f12275400818438a56221931a9b351a8ac1854a422ceb7b26cf0359b9b3ff21d6a59def3928eb4df5a89adf814d6486558a403f4161d1a4ff6c8d2
@@ -7626,9 +7626,14 @@
7626
7626
 
7627
7627
  <xsl:variable name="simple-table">
7628
7628
 
7629
+ <xsl:variable name="table_without_semantic_elements">
7630
+ <xsl:apply-templates mode="update_xml_pres"/>
7631
+ </xsl:variable>
7632
+
7629
7633
  <!-- Step 0. replace <br/> to <p>...</p> -->
7630
7634
  <xsl:variable name="table_without_br">
7631
- <xsl:apply-templates mode="table-without-br"/>
7635
+ <!-- <xsl:apply-templates mode="table-without-br"/> -->
7636
+ <xsl:apply-templates select="xalan:nodeset($table_without_semantic_elements)" mode="table-without-br"/>
7632
7637
  </xsl:variable>
7633
7638
 
7634
7639
  <!-- Step 1. colspan processing -->
@@ -13706,16 +13711,30 @@
13706
13711
 
13707
13712
  <xsl:template match="*[local-name() = 'fmt-name']"/>
13708
13713
  <xsl:template match="*[local-name() = 'fmt-name']" mode="update_xml_step1">
13709
- <xsl:element name="name" namespace="{$namespace_full}">
13710
- <xsl:copy-of select="@*"/>
13711
- <xsl:apply-templates mode="update_xml_step1"/>
13712
- </xsl:element>
13714
+ <xsl:choose>
13715
+ <xsl:when test="local-name(..) = 'p' and ancestor::*[local-name() = 'table']">
13716
+ <xsl:apply-templates mode="update_xml_step1"/>
13717
+ </xsl:when>
13718
+ <xsl:otherwise>
13719
+ <xsl:element name="name" namespace="{$namespace_full}">
13720
+ <xsl:copy-of select="@*"/>
13721
+ <xsl:apply-templates mode="update_xml_step1"/>
13722
+ </xsl:element>
13723
+ </xsl:otherwise>
13724
+ </xsl:choose>
13713
13725
  </xsl:template>
13714
13726
  <xsl:template match="*[local-name() = 'fmt-name']" mode="update_xml_pres">
13715
- <xsl:element name="name" namespace="{$namespace_full}">
13716
- <xsl:copy-of select="@*"/>
13717
- <xsl:apply-templates mode="update_xml_pres"/>
13718
- </xsl:element>
13727
+ <xsl:choose>
13728
+ <xsl:when test="local-name(..) = 'p' and ancestor::*[local-name() = 'table']">
13729
+ <xsl:apply-templates mode="update_xml_step1"/>
13730
+ </xsl:when>
13731
+ <xsl:otherwise>
13732
+ <xsl:element name="name" namespace="{$namespace_full}">
13733
+ <xsl:copy-of select="@*"/>
13734
+ <xsl:apply-templates mode="update_xml_pres"/>
13735
+ </xsl:element>
13736
+ </xsl:otherwise>
13737
+ </xsl:choose>
13719
13738
  </xsl:template>
13720
13739
 
13721
13740
  <xsl:template match="*[local-name() = 'fmt-preferred']"/>
@@ -13813,6 +13832,9 @@
13813
13832
  <xsl:apply-templates mode="update_xml_pres"/>
13814
13833
  </xsl:template>
13815
13834
 
13835
+ <xsl:template match="*[local-name() = 'semx']">
13836
+ <xsl:apply-templates/>
13837
+ </xsl:template>
13816
13838
  <xsl:template match="*[local-name() = 'semx']" mode="update_xml_step1">
13817
13839
  <xsl:apply-templates mode="update_xml_step1"/>
13818
13840
  </xsl:template>
@@ -947,6 +947,8 @@ May be electronic (e.g. Twitter direct message, email) or voice (e.g. a remark m
947
947
  typically cited as "personal communication")</a:documentation>
948
948
  <value>conversation</value>
949
949
  <a:documentation>An exchange of messages between two or more persons. May be electronic (e.g. web chat) or voice (e.g. phone call)</a:documentation>
950
+ <value>collection</value>
951
+ <a:documentation>A compound resource consisting of other resources, which are themselves presupposed to have their type specified..</a:documentation>
950
952
  <value>misc</value>
951
953
  <a:documentation>Bibliographic type not adequately described in the foregoing</a:documentation>
952
954
  </choice>
@@ -1,6 +1,6 @@
1
1
  module Metanorma
2
2
  module Iec
3
- VERSION = "2.5.12".freeze
3
+ VERSION = "2.5.13".freeze
4
4
  end
5
5
  end
6
6
 
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.5.12
4
+ version: 2.5.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-01-20 00:00:00.000000000 Z
11
+ date: 2025-02-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: metanorma-iso