metanorma-cc 2.5.11 → 2.5.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/isodoc/cc/cc.standard.xsl +31 -9
- data/lib/metanorma/cc/biblio.rng +2 -0
- data/lib/metanorma/cc/version.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: 23f0928fc1d679eaf651018a52197d4887a12196e87c9b504ba018c4168d655a
|
4
|
+
data.tar.gz: c6bf8201297fdbd3a627410de88ff9448f9fe64e290814879ed017d2a5d575a4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3f1c0a81f8f796b9c167618c5135e29a73a5c2df43eb7c22c2c35217d1559898de165fd1b9d7b96a0f4f5f2fb21342c048c1d43b563de1367db69e14a3fa4650
|
7
|
+
data.tar.gz: 27d3488fc9da74fe2a5c73dfe28d7515494fa55576b741ab89d14cb88be036da7ef889d5a790213702efccd37729be45792aced46af4461bbed35d5fa26dce97
|
@@ -5861,9 +5861,14 @@
|
|
5861
5861
|
|
5862
5862
|
<xsl:variable name="simple-table">
|
5863
5863
|
|
5864
|
+
<xsl:variable name="table_without_semantic_elements">
|
5865
|
+
<xsl:apply-templates mode="update_xml_pres"/>
|
5866
|
+
</xsl:variable>
|
5867
|
+
|
5864
5868
|
<!-- Step 0. replace <br/> to <p>...</p> -->
|
5865
5869
|
<xsl:variable name="table_without_br">
|
5866
|
-
<xsl:apply-templates mode="table-without-br"/>
|
5870
|
+
<!-- <xsl:apply-templates mode="table-without-br"/> -->
|
5871
|
+
<xsl:apply-templates select="xalan:nodeset($table_without_semantic_elements)" mode="table-without-br"/>
|
5867
5872
|
</xsl:variable>
|
5868
5873
|
|
5869
5874
|
<!-- Step 1. colspan processing -->
|
@@ -11925,16 +11930,30 @@
|
|
11925
11930
|
|
11926
11931
|
<xsl:template match="*[local-name() = 'fmt-name']"/>
|
11927
11932
|
<xsl:template match="*[local-name() = 'fmt-name']" mode="update_xml_step1">
|
11928
|
-
<xsl:
|
11929
|
-
<xsl:
|
11930
|
-
|
11931
|
-
|
11933
|
+
<xsl:choose>
|
11934
|
+
<xsl:when test="local-name(..) = 'p' and ancestor::*[local-name() = 'table']">
|
11935
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
11936
|
+
</xsl:when>
|
11937
|
+
<xsl:otherwise>
|
11938
|
+
<xsl:element name="name" namespace="{$namespace_full}">
|
11939
|
+
<xsl:copy-of select="@*"/>
|
11940
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
11941
|
+
</xsl:element>
|
11942
|
+
</xsl:otherwise>
|
11943
|
+
</xsl:choose>
|
11932
11944
|
</xsl:template>
|
11933
11945
|
<xsl:template match="*[local-name() = 'fmt-name']" mode="update_xml_pres">
|
11934
|
-
<xsl:
|
11935
|
-
<xsl:
|
11936
|
-
|
11937
|
-
|
11946
|
+
<xsl:choose>
|
11947
|
+
<xsl:when test="local-name(..) = 'p' and ancestor::*[local-name() = 'table']">
|
11948
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
11949
|
+
</xsl:when>
|
11950
|
+
<xsl:otherwise>
|
11951
|
+
<xsl:element name="name" namespace="{$namespace_full}">
|
11952
|
+
<xsl:copy-of select="@*"/>
|
11953
|
+
<xsl:apply-templates mode="update_xml_pres"/>
|
11954
|
+
</xsl:element>
|
11955
|
+
</xsl:otherwise>
|
11956
|
+
</xsl:choose>
|
11938
11957
|
</xsl:template>
|
11939
11958
|
|
11940
11959
|
<xsl:template match="*[local-name() = 'fmt-preferred']"/>
|
@@ -12032,6 +12051,9 @@
|
|
12032
12051
|
<xsl:apply-templates mode="update_xml_pres"/>
|
12033
12052
|
</xsl:template>
|
12034
12053
|
|
12054
|
+
<xsl:template match="*[local-name() = 'semx']">
|
12055
|
+
<xsl:apply-templates/>
|
12056
|
+
</xsl:template>
|
12035
12057
|
<xsl:template match="*[local-name() = 'semx']" mode="update_xml_step1">
|
12036
12058
|
<xsl:apply-templates mode="update_xml_step1"/>
|
12037
12059
|
</xsl:template>
|
data/lib/metanorma/cc/biblio.rng
CHANGED
@@ -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>
|
data/lib/metanorma/cc/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-cc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.5.
|
4
|
+
version: 2.5.12
|
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-
|
11
|
+
date: 2025-02-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: metanorma-generic
|