metanorma-ieee 1.3.9 → 1.3.10

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ab36d0a51a7e7658f28802e6b30a87c4ca819cb0a50f88d8b17d4ff289d45234
4
- data.tar.gz: 96779fe34b793774df397097420fbaea4046658b506f2550102bed5d8ce6d211
3
+ metadata.gz: 737e447c3443b29bf16b0ae436cbcaa8774d21812a8c9c67e66acdd0ba19502b
4
+ data.tar.gz: 3ff48b3f732916f229cd6c6270036e27b6eabcd72507d5bd33f121cfa1bd6c36
5
5
  SHA512:
6
- metadata.gz: 4f2110189a9dd35f8589ab4ac13b064c179492a9fa9cbd13e01b01dfa1018137dad9be4f81c96e11f2ef40c7c90cbcc3956a783a63cc3cfdc2341f9a096c16f4
7
- data.tar.gz: 2c87f9b7f67cd7d8b38dde3e60b05fffd9298996287cc01a2830bfa1ea4ecdd5f44a9a663a62f3831eaaf4c9b012559ec86bb43ea9b575cf8e8ecb7e626f100d
6
+ metadata.gz: 49f3e18c31ba3e33acff519772131296194d373370aac95eee960b23945b5d0213bd2ea034c2ba2baad42c317ea0044a8a788c662ebcb8f395ab0218de8793f9
7
+ data.tar.gz: b0cdfe3254970e2ac21eb4b1677ad576d1555c1c0314262e614a81d3e7f639cbd8a02f872d106f032f1e90bc46ddcd5917a6938e61a25a3d39365cd172073870
@@ -9107,9 +9107,14 @@
9107
9107
 
9108
9108
  <xsl:variable name="simple-table">
9109
9109
 
9110
+ <xsl:variable name="table_without_semantic_elements">
9111
+ <xsl:apply-templates mode="update_xml_pres"/>
9112
+ </xsl:variable>
9113
+
9110
9114
  <!-- Step 0. replace <br/> to <p>...</p> -->
9111
9115
  <xsl:variable name="table_without_br">
9112
- <xsl:apply-templates mode="table-without-br"/>
9116
+ <!-- <xsl:apply-templates mode="table-without-br"/> -->
9117
+ <xsl:apply-templates select="xalan:nodeset($table_without_semantic_elements)" mode="table-without-br"/>
9113
9118
  </xsl:variable>
9114
9119
 
9115
9120
  <!-- Step 1. colspan processing -->
@@ -15212,16 +15217,30 @@
15212
15217
 
15213
15218
  <xsl:template match="*[local-name() = 'fmt-name']"/>
15214
15219
  <xsl:template match="*[local-name() = 'fmt-name']" mode="update_xml_step1">
15215
- <xsl:element name="name" namespace="{$namespace_full}">
15216
- <xsl:copy-of select="@*"/>
15217
- <xsl:apply-templates mode="update_xml_step1"/>
15218
- </xsl:element>
15220
+ <xsl:choose>
15221
+ <xsl:when test="local-name(..) = 'p' and ancestor::*[local-name() = 'table']">
15222
+ <xsl:apply-templates mode="update_xml_step1"/>
15223
+ </xsl:when>
15224
+ <xsl:otherwise>
15225
+ <xsl:element name="name" namespace="{$namespace_full}">
15226
+ <xsl:copy-of select="@*"/>
15227
+ <xsl:apply-templates mode="update_xml_step1"/>
15228
+ </xsl:element>
15229
+ </xsl:otherwise>
15230
+ </xsl:choose>
15219
15231
  </xsl:template>
15220
15232
  <xsl:template match="*[local-name() = 'fmt-name']" mode="update_xml_pres">
15221
- <xsl:element name="name" namespace="{$namespace_full}">
15222
- <xsl:copy-of select="@*"/>
15223
- <xsl:apply-templates mode="update_xml_pres"/>
15224
- </xsl:element>
15233
+ <xsl:choose>
15234
+ <xsl:when test="local-name(..) = 'p' and ancestor::*[local-name() = 'table']">
15235
+ <xsl:apply-templates mode="update_xml_step1"/>
15236
+ </xsl:when>
15237
+ <xsl:otherwise>
15238
+ <xsl:element name="name" namespace="{$namespace_full}">
15239
+ <xsl:copy-of select="@*"/>
15240
+ <xsl:apply-templates mode="update_xml_pres"/>
15241
+ </xsl:element>
15242
+ </xsl:otherwise>
15243
+ </xsl:choose>
15225
15244
  </xsl:template>
15226
15245
 
15227
15246
  <xsl:template match="*[local-name() = 'fmt-preferred']"/>
@@ -15319,6 +15338,9 @@
15319
15338
  <xsl:apply-templates mode="update_xml_pres"/>
15320
15339
  </xsl:template>
15321
15340
 
15341
+ <xsl:template match="*[local-name() = 'semx']">
15342
+ <xsl:apply-templates/>
15343
+ </xsl:template>
15322
15344
  <xsl:template match="*[local-name() = 'semx']" mode="update_xml_step1">
15323
15345
  <xsl:apply-templates mode="update_xml_step1"/>
15324
15346
  </xsl:template>
@@ -9107,9 +9107,14 @@
9107
9107
 
9108
9108
  <xsl:variable name="simple-table">
9109
9109
 
9110
+ <xsl:variable name="table_without_semantic_elements">
9111
+ <xsl:apply-templates mode="update_xml_pres"/>
9112
+ </xsl:variable>
9113
+
9110
9114
  <!-- Step 0. replace <br/> to <p>...</p> -->
9111
9115
  <xsl:variable name="table_without_br">
9112
- <xsl:apply-templates mode="table-without-br"/>
9116
+ <!-- <xsl:apply-templates mode="table-without-br"/> -->
9117
+ <xsl:apply-templates select="xalan:nodeset($table_without_semantic_elements)" mode="table-without-br"/>
9113
9118
  </xsl:variable>
9114
9119
 
9115
9120
  <!-- Step 1. colspan processing -->
@@ -15212,16 +15217,30 @@
15212
15217
 
15213
15218
  <xsl:template match="*[local-name() = 'fmt-name']"/>
15214
15219
  <xsl:template match="*[local-name() = 'fmt-name']" mode="update_xml_step1">
15215
- <xsl:element name="name" namespace="{$namespace_full}">
15216
- <xsl:copy-of select="@*"/>
15217
- <xsl:apply-templates mode="update_xml_step1"/>
15218
- </xsl:element>
15220
+ <xsl:choose>
15221
+ <xsl:when test="local-name(..) = 'p' and ancestor::*[local-name() = 'table']">
15222
+ <xsl:apply-templates mode="update_xml_step1"/>
15223
+ </xsl:when>
15224
+ <xsl:otherwise>
15225
+ <xsl:element name="name" namespace="{$namespace_full}">
15226
+ <xsl:copy-of select="@*"/>
15227
+ <xsl:apply-templates mode="update_xml_step1"/>
15228
+ </xsl:element>
15229
+ </xsl:otherwise>
15230
+ </xsl:choose>
15219
15231
  </xsl:template>
15220
15232
  <xsl:template match="*[local-name() = 'fmt-name']" mode="update_xml_pres">
15221
- <xsl:element name="name" namespace="{$namespace_full}">
15222
- <xsl:copy-of select="@*"/>
15223
- <xsl:apply-templates mode="update_xml_pres"/>
15224
- </xsl:element>
15233
+ <xsl:choose>
15234
+ <xsl:when test="local-name(..) = 'p' and ancestor::*[local-name() = 'table']">
15235
+ <xsl:apply-templates mode="update_xml_step1"/>
15236
+ </xsl:when>
15237
+ <xsl:otherwise>
15238
+ <xsl:element name="name" namespace="{$namespace_full}">
15239
+ <xsl:copy-of select="@*"/>
15240
+ <xsl:apply-templates mode="update_xml_pres"/>
15241
+ </xsl:element>
15242
+ </xsl:otherwise>
15243
+ </xsl:choose>
15225
15244
  </xsl:template>
15226
15245
 
15227
15246
  <xsl:template match="*[local-name() = 'fmt-preferred']"/>
@@ -15319,6 +15338,9 @@
15319
15338
  <xsl:apply-templates mode="update_xml_pres"/>
15320
15339
  </xsl:template>
15321
15340
 
15341
+ <xsl:template match="*[local-name() = 'semx']">
15342
+ <xsl:apply-templates/>
15343
+ </xsl:template>
15322
15344
  <xsl:template match="*[local-name() = 'semx']" mode="update_xml_step1">
15323
15345
  <xsl:apply-templates mode="update_xml_step1"/>
15324
15346
  </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,5 +1,5 @@
1
1
  module Metanorma
2
2
  module Ieee
3
- VERSION = "1.3.9".freeze
3
+ VERSION = "1.3.10".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-ieee
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.9
4
+ version: 1.3.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
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-standoc