metanorma-csa 2.5.10 → 2.5.12
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 +4 -4
- data/lib/isodoc/csa/csa.standard.xsl +181 -15
- data/lib/metanorma/csa/biblio.rng +5 -3
- data/lib/metanorma/csa/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: 460b449ab4913c074439af4cbb76e35201d4dc122b54ce014cda2b274b0a3fe7
|
4
|
+
data.tar.gz: cca8e46225d1db9b0977b2a3714427b5afb9c40bd77a56d23816532e5f330fdc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c97d35924a6a7b25074233333684d9bdc4e60a5dda68a78082aa54a14b46dfd44b7fe7f2003f4f41743bd4453c5e0630b4f1f9a65f68c50160e9c997f1f99c0d
|
7
|
+
data.tar.gz: 2a745f95a5cac1c5af7eedf327ffc20469ffef5735e732e0e24f5d2d634d323876dc1c6b01d0c96c9f1ea3bd06a7dc8ffa160a3a7be98b623e5832c77966118a
|
@@ -1819,6 +1819,9 @@
|
|
1819
1819
|
|
1820
1820
|
</xsl:attribute-set>
|
1821
1821
|
|
1822
|
+
<xsl:attribute-set name="related-block-style" use-attribute-sets="preferred-block-style">
|
1823
|
+
</xsl:attribute-set>
|
1824
|
+
|
1822
1825
|
<xsl:attribute-set name="definition-style">
|
1823
1826
|
|
1824
1827
|
<xsl:attribute name="space-after">6pt</xsl:attribute>
|
@@ -4060,7 +4063,9 @@
|
|
4060
4063
|
<xsl:with-param name="element">
|
4061
4064
|
<fo:basic-link internal-destination="{$ref_id}" fox:alt-text="footnote {$current_fn_number}"> <!-- note: role="Lbl" removed in https://github.com/metanorma/mn2pdf/issues/291 -->
|
4062
4065
|
<fo:inline role="Lbl"> <!-- need for https://github.com/metanorma/metanorma-iso/issues/1003 -->
|
4066
|
+
|
4063
4067
|
<xsl:copy-of select="$current_fn_number_text"/>
|
4068
|
+
|
4064
4069
|
</fo:inline>
|
4065
4070
|
</fo:basic-link>
|
4066
4071
|
</xsl:with-param>
|
@@ -4079,8 +4084,7 @@
|
|
4079
4084
|
|
4080
4085
|
<fo:block-container xsl:use-attribute-sets="fn-container-body-style" role="SKIP">
|
4081
4086
|
|
4082
|
-
<
|
4083
|
-
|
4087
|
+
<xsl:variable name="fn_block">
|
4084
4088
|
<xsl:call-template name="refine_fn-body-style"/>
|
4085
4089
|
|
4086
4090
|
<fo:inline id="{$ref_id}" xsl:use-attribute-sets="fn-body-num-style" role="Lbl">
|
@@ -4088,9 +4092,15 @@
|
|
4088
4092
|
<xsl:call-template name="refine_fn-body-num-style"/>
|
4089
4093
|
|
4090
4094
|
<xsl:value-of select="$current_fn_number_text"/>
|
4095
|
+
|
4091
4096
|
</fo:inline>
|
4092
4097
|
<xsl:apply-templates/>
|
4093
|
-
</
|
4098
|
+
</xsl:variable>
|
4099
|
+
|
4100
|
+
<fo:block xsl:use-attribute-sets="fn-body-style" role="SKIP">
|
4101
|
+
<xsl:copy-of select="$fn_block"/>
|
4102
|
+
</fo:block>
|
4103
|
+
|
4094
4104
|
</fo:block-container>
|
4095
4105
|
</fo:footnote-body>
|
4096
4106
|
</fo:footnote>
|
@@ -5859,9 +5869,14 @@
|
|
5859
5869
|
|
5860
5870
|
<xsl:variable name="simple-table">
|
5861
5871
|
|
5872
|
+
<xsl:variable name="table_without_semantic_elements">
|
5873
|
+
<xsl:apply-templates mode="update_xml_pres"/>
|
5874
|
+
</xsl:variable>
|
5875
|
+
|
5862
5876
|
<!-- Step 0. replace <br/> to <p>...</p> -->
|
5863
5877
|
<xsl:variable name="table_without_br">
|
5864
|
-
<xsl:apply-templates mode="table-without-br"/>
|
5878
|
+
<!-- <xsl:apply-templates mode="table-without-br"/> -->
|
5879
|
+
<xsl:apply-templates select="xalan:nodeset($table_without_semantic_elements)" mode="table-without-br"/>
|
5865
5880
|
</xsl:variable>
|
5866
5881
|
|
5867
5882
|
<!-- Step 1. colspan processing -->
|
@@ -10128,14 +10143,17 @@
|
|
10128
10143
|
</fo:block>
|
10129
10144
|
</xsl:template>
|
10130
10145
|
|
10131
|
-
<xsl:template match="*[local-name() = 'domain']">
|
10146
|
+
<!-- <xsl:template match="*[local-name() = 'domain']"> -->
|
10132
10147
|
<!-- https://github.com/metanorma/isodoc/issues/607
|
10133
10148
|
<fo:inline xsl:use-attribute-sets="domain-style"><<xsl:apply-templates/>></fo:inline>
|
10134
10149
|
<xsl:text> </xsl:text> -->
|
10135
|
-
<xsl:if test="not(@hidden = 'true')">
|
10150
|
+
<!-- <xsl:if test="not(@hidden = 'true')">
|
10136
10151
|
<xsl:apply-templates/>
|
10137
10152
|
</xsl:if>
|
10138
|
-
</xsl:template>
|
10153
|
+
</xsl:template> -->
|
10154
|
+
|
10155
|
+
<!-- https://github.com/metanorma/isodoc/issues/632#issuecomment-2567163931 -->
|
10156
|
+
<xsl:template match="*[local-name() = 'domain']"/>
|
10139
10157
|
|
10140
10158
|
<xsl:template match="*[local-name() = 'admitted']">
|
10141
10159
|
<fo:block xsl:use-attribute-sets="admitted-style">
|
@@ -10150,9 +10168,11 @@
|
|
10150
10168
|
</xsl:template>
|
10151
10169
|
|
10152
10170
|
<xsl:template name="setStyle_preferred">
|
10153
|
-
|
10154
|
-
|
10155
|
-
|
10171
|
+
|
10172
|
+
<xsl:if test="*[local-name() = 'strong']">
|
10173
|
+
<xsl:attribute name="font-weight">normal</xsl:attribute>
|
10174
|
+
</xsl:if>
|
10175
|
+
|
10156
10176
|
</xsl:template>
|
10157
10177
|
|
10158
10178
|
<!-- regarding ISO 10241-1:2011, If there is more than one preferred term, each preferred term follows the previous one on a new line. -->
|
@@ -10162,6 +10182,17 @@
|
|
10162
10182
|
</xsl:template>
|
10163
10183
|
<!-- End Preferred, admitted, deprecated -->
|
10164
10184
|
|
10185
|
+
<xsl:template match="*[local-name() = 'fmt-related']">
|
10186
|
+
<fo:block role="SKIP" xsl:use-attribute-sets="related-block-style">
|
10187
|
+
<xsl:apply-templates/>
|
10188
|
+
</fo:block>
|
10189
|
+
</xsl:template>
|
10190
|
+
<xsl:template match="*[local-name() = 'fmt-related']/*[local-name() = 'p']" priority="4">
|
10191
|
+
<fo:block>
|
10192
|
+
<xsl:apply-templates/>
|
10193
|
+
</fo:block>
|
10194
|
+
</xsl:template>
|
10195
|
+
|
10165
10196
|
<!-- ========== -->
|
10166
10197
|
<!-- definition -->
|
10167
10198
|
<!-- ========== -->
|
@@ -11068,6 +11099,7 @@
|
|
11068
11099
|
|
11069
11100
|
<!-- Normative references -->
|
11070
11101
|
<xsl:template match="*[local-name() = 'references'][@normative='true']/*[local-name() = 'bibitem']" name="bibitem" priority="2">
|
11102
|
+
<xsl:param name="skip" select="normalize-space(preceding-sibling::*[1][local-name() = 'bibitem'] and 1 = 1)"/> <!-- current bibiitem is non-first -->
|
11071
11103
|
|
11072
11104
|
<fo:block id="{@id}" xsl:use-attribute-sets="bibitem-normative-style">
|
11073
11105
|
|
@@ -11763,7 +11795,8 @@
|
|
11763
11795
|
<!-- add @id - first element with @id plus '_element_name' -->
|
11764
11796
|
<xsl:variable name="prefix_id_" select="(.//*[@id])[1]/@id"/>
|
11765
11797
|
<xsl:variable name="prefix_id"><xsl:value-of select="$prefix_id_"/><xsl:if test="normalize-space($prefix_id_) = ''"><xsl:value-of select="generate-id()"/></xsl:if></xsl:variable>
|
11766
|
-
<xsl:
|
11798
|
+
<xsl:variable name="document_suffix" select="ancestor::*[contains(local-name(), '-standard')]/@document_suffix"/>
|
11799
|
+
<xsl:attribute name="id"><xsl:value-of select="concat($prefix_id, '_', local-name(), '_', $document_suffix)"/></xsl:attribute>
|
11767
11800
|
</xsl:if>
|
11768
11801
|
</xsl:template>
|
11769
11802
|
|
@@ -11820,6 +11853,31 @@
|
|
11820
11853
|
<xsl:template match="*[local-name() = 'name'][following-sibling::*[1][local-name() = 'fmt-name']]" mode="update_xml_pres"/>
|
11821
11854
|
<xsl:template match="*[local-name() = 'section-title'][following-sibling::*[1][local-name() = 'p'][@type = 'section-title' or @type = 'floating-title']]" mode="update_xml_step1"/>
|
11822
11855
|
<xsl:template match="*[local-name() = 'section-title'][following-sibling::*[1][local-name() = 'p'][@type = 'section-title' or @type = 'floating-title']]" mode="update_xml_pres"/>
|
11856
|
+
<!-- <xsl:template match="*[local-name() = 'preferred'][following-sibling::*[not(local-name() = 'preferred')][1][local-name() = 'fmt-preferred']]" mode="update_xml_step1"/> -->
|
11857
|
+
<xsl:template match="*[local-name() = 'preferred']" mode="update_xml_step1"/>
|
11858
|
+
<!-- <xsl:template match="*[local-name() = 'preferred'][following-sibling::*[not(local-name() = 'preferred')][1][local-name() = 'fmt-preferred']]" mode="update_xml_pres"/> -->
|
11859
|
+
<xsl:template match="*[local-name() = 'preferred']" mode="update_xml_pres"/>
|
11860
|
+
<!-- <xsl:template match="*[local-name() = 'admitted'][following-sibling::*[not(local-name() = 'admitted')][1][local-name() = 'fmt-admitted']]" mode="update_xml_step1"/> -->
|
11861
|
+
<xsl:template match="*[local-name() = 'admitted']" mode="update_xml_step1"/>
|
11862
|
+
<!-- <xsl:template match="*[local-name() = 'admitted'][following-sibling::*[not(local-name() = 'admitted')][1][local-name() = 'fmt-admitted']]" mode="update_xml_pres"/> -->
|
11863
|
+
<xsl:template match="*[local-name() = 'admitted']" mode="update_xml_pres"/>
|
11864
|
+
<!-- <xsl:template match="*[local-name() = 'deprecates'][following-sibling::*[not(local-name() = 'deprecates')][1][local-name() = 'fmt-deprecates']]" mode="update_xml_step1"/> -->
|
11865
|
+
<xsl:template match="*[local-name() = 'deprecates']" mode="update_xml_step1"/>
|
11866
|
+
<xsl:template match="*[local-name() = 'related']" mode="update_xml_step1"/>
|
11867
|
+
<!-- <xsl:template match="*[local-name() = 'deprecates'][following-sibling::*[not(local-name() = 'deprecates')][1][local-name() = 'fmt-deprecates']]" mode="update_xml_pres"/> -->
|
11868
|
+
<xsl:template match="*[local-name() = 'deprecates']" mode="update_xml_pres"/>
|
11869
|
+
<xsl:template match="*[local-name() = 'related']" mode="update_xml_pres"/>
|
11870
|
+
<!-- <xsl:template match="*[local-name() = 'definition'][following-sibling::*[1][local-name() = 'fmt-definition']]" mode="update_xml_step1"/> -->
|
11871
|
+
<xsl:template match="*[local-name() = 'definition']" mode="update_xml_step1"/>
|
11872
|
+
<!-- <xsl:template match="*[local-name() = 'definition'][following-sibling::*[1][local-name() = 'fmt-definition']]" mode="update_xml_pres"/> -->
|
11873
|
+
<xsl:template match="*[local-name() = 'definition']" mode="update_xml_pres"/>
|
11874
|
+
<!-- <xsl:template match="*[local-name() = 'termsource'][following-sibling::*[1][local-name() = 'fmt-termsource']]" mode="update_xml_step1"/> -->
|
11875
|
+
<xsl:template match="*[local-name() = 'termsource']" mode="update_xml_step1"/>
|
11876
|
+
<!-- <xsl:template match="*[local-name() = 'termsource'][following-sibling::*[1][local-name() = 'fmt-termsource']]" mode="update_xml_pres"/> -->
|
11877
|
+
<xsl:template match="*[local-name() = 'termsource']" mode="update_xml_pres"/>
|
11878
|
+
|
11879
|
+
<xsl:template match="*[local-name() = 'term'][@unnumbered = 'true'][not(.//*[starts-with(local-name(), 'fmt-')])]" mode="update_xml_step1"/>
|
11880
|
+
<xsl:template match="*[local-name() = 'term'][@unnumbered = 'true'][not(.//*[starts-with(local-name(), 'fmt-')])]" mode="update_xml_pres"/>
|
11823
11881
|
|
11824
11882
|
<xsl:template match="*[local-name() = 'p'][@type = 'section-title' or @type = 'floating-title'][preceding-sibling::*[1][local-name() = 'section-title']]" mode="update_xml_step1">
|
11825
11883
|
<xsl:copy>
|
@@ -11852,13 +11910,115 @@
|
|
11852
11910
|
|
11853
11911
|
<xsl:template match="*[local-name() = 'fmt-name']"/>
|
11854
11912
|
<xsl:template match="*[local-name() = 'fmt-name']" mode="update_xml_step1">
|
11855
|
-
<xsl:
|
11913
|
+
<xsl:choose>
|
11914
|
+
<xsl:when test="local-name(..) = 'p' and ancestor::*[local-name() = 'table']">
|
11915
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
11916
|
+
</xsl:when>
|
11917
|
+
<xsl:otherwise>
|
11918
|
+
<xsl:element name="name" namespace="{$namespace_full}">
|
11919
|
+
<xsl:copy-of select="@*"/>
|
11920
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
11921
|
+
</xsl:element>
|
11922
|
+
</xsl:otherwise>
|
11923
|
+
</xsl:choose>
|
11924
|
+
</xsl:template>
|
11925
|
+
<xsl:template match="*[local-name() = 'fmt-name']" mode="update_xml_pres">
|
11926
|
+
<xsl:choose>
|
11927
|
+
<xsl:when test="local-name(..) = 'p' and ancestor::*[local-name() = 'table']">
|
11928
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
11929
|
+
</xsl:when>
|
11930
|
+
<xsl:otherwise>
|
11931
|
+
<xsl:element name="name" namespace="{$namespace_full}">
|
11932
|
+
<xsl:copy-of select="@*"/>
|
11933
|
+
<xsl:apply-templates mode="update_xml_pres"/>
|
11934
|
+
</xsl:element>
|
11935
|
+
</xsl:otherwise>
|
11936
|
+
</xsl:choose>
|
11937
|
+
</xsl:template>
|
11938
|
+
|
11939
|
+
<xsl:template match="*[local-name() = 'fmt-preferred']"/>
|
11940
|
+
<xsl:template match="*[local-name() = 'fmt-preferred'][*[local-name() = 'p']]" mode="update_xml_step1">
|
11941
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
11942
|
+
</xsl:template>
|
11943
|
+
<xsl:template match="*[local-name() = 'fmt-preferred'][not(*[local-name() = 'p'])] | *[local-name() = 'fmt-preferred']/*[local-name() = 'p']" mode="update_xml_step1">
|
11944
|
+
<xsl:element name="preferred" namespace="{$namespace_full}">
|
11856
11945
|
<xsl:copy-of select="@*"/>
|
11857
11946
|
<xsl:apply-templates mode="update_xml_step1"/>
|
11858
11947
|
</xsl:element>
|
11859
11948
|
</xsl:template>
|
11860
|
-
<xsl:template match="*[local-name() = 'fmt-name']" mode="update_xml_pres">
|
11861
|
-
<xsl:
|
11949
|
+
<xsl:template match="*[local-name() = 'fmt-preferred'][*[local-name() = 'p']]" mode="update_xml_pres">
|
11950
|
+
<xsl:apply-templates mode="update_xml_pres"/>
|
11951
|
+
</xsl:template>
|
11952
|
+
<xsl:template match="*[local-name() = 'fmt-preferred'][not(*[local-name() = 'p'])] | *[local-name() = 'fmt-preferred']/*[local-name() = 'p']" mode="update_xml_pres">
|
11953
|
+
<xsl:element name="preferred" namespace="{$namespace_full}">
|
11954
|
+
<xsl:copy-of select="@*"/>
|
11955
|
+
<xsl:apply-templates mode="update_xml_pres"/>
|
11956
|
+
</xsl:element>
|
11957
|
+
</xsl:template>
|
11958
|
+
|
11959
|
+
<xsl:template match="*[local-name() = 'fmt-admitted']"/>
|
11960
|
+
<xsl:template match="*[local-name() = 'fmt-admitted'][*[local-name() = 'p']]" mode="update_xml_step1">
|
11961
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
11962
|
+
</xsl:template>
|
11963
|
+
<xsl:template match="*[local-name() = 'fmt-admitted'][not(*[local-name() = 'p'])] | *[local-name() = 'fmt-admitted']/*[local-name() = 'p']" mode="update_xml_step1">
|
11964
|
+
<xsl:element name="admitted" namespace="{$namespace_full}">
|
11965
|
+
<xsl:copy-of select="@*"/>
|
11966
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
11967
|
+
</xsl:element>
|
11968
|
+
</xsl:template>
|
11969
|
+
<xsl:template match="*[local-name() = 'fmt-admitted'][*[local-name() = 'p']]" mode="update_xml_pres">
|
11970
|
+
<xsl:apply-templates mode="update_xml_pres"/>
|
11971
|
+
</xsl:template>
|
11972
|
+
<xsl:template match="*[local-name() = 'fmt-admitted'][not(*[local-name() = 'p'])] | *[local-name() = 'fmt-admitted']/*[local-name() = 'p']" mode="update_xml_pres">
|
11973
|
+
<xsl:element name="admitted" namespace="{$namespace_full}">
|
11974
|
+
<xsl:copy-of select="@*"/>
|
11975
|
+
<xsl:apply-templates mode="update_xml_pres"/>
|
11976
|
+
</xsl:element>
|
11977
|
+
</xsl:template>
|
11978
|
+
|
11979
|
+
<xsl:template match="*[local-name() = 'fmt-deprecates']"/>
|
11980
|
+
<xsl:template match="*[local-name() = 'fmt-deprecates'][*[local-name() = 'p']]" mode="update_xml_step1">
|
11981
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
11982
|
+
</xsl:template>
|
11983
|
+
<xsl:template match="*[local-name() = 'fmt-deprecates'][not(*[local-name() = 'p'])] | *[local-name() = 'fmt-deprecates']/*[local-name() = 'p']" mode="update_xml_step1">
|
11984
|
+
<xsl:element name="deprecates" namespace="{$namespace_full}">
|
11985
|
+
<xsl:copy-of select="@*"/>
|
11986
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
11987
|
+
</xsl:element>
|
11988
|
+
</xsl:template>
|
11989
|
+
<xsl:template match="*[local-name() = 'fmt-deprecates'][*[local-name() = 'p']]" mode="update_xml_pres">
|
11990
|
+
<xsl:apply-templates mode="update_xml_pres"/>
|
11991
|
+
</xsl:template>
|
11992
|
+
<xsl:template match="*[local-name() = 'fmt-deprecates'][not(*[local-name() = 'p'])] | *[local-name() = 'fmt-deprecates']/*[local-name() = 'p']" mode="update_xml_pres">
|
11993
|
+
<xsl:element name="deprecates" namespace="{$namespace_full}">
|
11994
|
+
<xsl:copy-of select="@*"/>
|
11995
|
+
<xsl:apply-templates mode="update_xml_pres"/>
|
11996
|
+
</xsl:element>
|
11997
|
+
</xsl:template>
|
11998
|
+
|
11999
|
+
<xsl:template match="*[local-name() = 'fmt-definition']"/>
|
12000
|
+
<xsl:template match="*[local-name() = 'fmt-definition']" mode="update_xml_step1">
|
12001
|
+
<xsl:element name="definition" namespace="{$namespace_full}">
|
12002
|
+
<xsl:copy-of select="@*"/>
|
12003
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
12004
|
+
</xsl:element>
|
12005
|
+
</xsl:template>
|
12006
|
+
<xsl:template match="*[local-name() = 'fmt-definition']" mode="update_xml_pres">
|
12007
|
+
<xsl:element name="definition" namespace="{$namespace_full}">
|
12008
|
+
<xsl:copy-of select="@*"/>
|
12009
|
+
<xsl:apply-templates mode="update_xml_pres"/>
|
12010
|
+
</xsl:element>
|
12011
|
+
</xsl:template>
|
12012
|
+
|
12013
|
+
<xsl:template match="*[local-name() = 'fmt-termsource']"/>
|
12014
|
+
<xsl:template match="*[local-name() = 'fmt-termsource']" mode="update_xml_step1">
|
12015
|
+
<xsl:element name="termsource" namespace="{$namespace_full}">
|
12016
|
+
<xsl:copy-of select="@*"/>
|
12017
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
12018
|
+
</xsl:element>
|
12019
|
+
</xsl:template>
|
12020
|
+
<xsl:template match="*[local-name() = 'fmt-termsource']" mode="update_xml_pres">
|
12021
|
+
<xsl:element name="termsource" namespace="{$namespace_full}">
|
11862
12022
|
<xsl:copy-of select="@*"/>
|
11863
12023
|
<xsl:apply-templates mode="update_xml_pres"/>
|
11864
12024
|
</xsl:element>
|
@@ -11871,6 +12031,9 @@
|
|
11871
12031
|
<xsl:apply-templates mode="update_xml_pres"/>
|
11872
12032
|
</xsl:template>
|
11873
12033
|
|
12034
|
+
<xsl:template match="*[local-name() = 'semx']">
|
12035
|
+
<xsl:apply-templates/>
|
12036
|
+
</xsl:template>
|
11874
12037
|
<xsl:template match="*[local-name() = 'semx']" mode="update_xml_step1">
|
11875
12038
|
<xsl:apply-templates mode="update_xml_step1"/>
|
11876
12039
|
</xsl:template>
|
@@ -12995,7 +13158,7 @@
|
|
12995
13158
|
</xsl:template>
|
12996
13159
|
|
12997
13160
|
<xsl:template name="namespaceCheck">
|
12998
|
-
<xsl:variable name="documentNS" select="namespace-uri(/*)
|
13161
|
+
<xsl:variable name="documentNS" select="$namespace_full"/> <!-- namespace-uri(/*) -->
|
12999
13162
|
<xsl:variable name="XSLNS">
|
13000
13163
|
|
13001
13164
|
<xsl:value-of select="document('')//*/namespace::csa"/>
|
@@ -13085,6 +13248,9 @@
|
|
13085
13248
|
<xsl:when test="$formatted = 'true' and string-length($bibdata_updated) != ''">
|
13086
13249
|
<xsl:apply-templates select="xalan:nodeset($bibdata_updated)//*[local-name() = 'localized-string'][@key = $key and @language = $curr_lang]"/>
|
13087
13250
|
</xsl:when>
|
13251
|
+
<xsl:when test="string-length($bibdata_updated) != ''">
|
13252
|
+
<xsl:value-of select="xalan:nodeset($bibdata_updated)//*[local-name() = 'localized-string'][@key = $key and @language = $curr_lang]"/>
|
13253
|
+
</xsl:when>
|
13088
13254
|
<xsl:when test="$formatted = 'true'">
|
13089
13255
|
<xsl:apply-templates select="xalan:nodeset($bibdata)//*[local-name() = 'localized-string'][@key = $key and @language = $curr_lang]"/>
|
13090
13256
|
</xsl:when>
|
@@ -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>
|
@@ -1277,17 +1279,17 @@ for which this claim of validity is made, if applicable</a:documentation>
|
|
1277
1279
|
</define>
|
1278
1280
|
<define name="validityBegins">
|
1279
1281
|
<element name="validityBegins">
|
1280
|
-
<ref name="
|
1282
|
+
<ref name="ISO8601Date"/>
|
1281
1283
|
</element>
|
1282
1284
|
</define>
|
1283
1285
|
<define name="validityEnds">
|
1284
1286
|
<element name="validityEnds">
|
1285
|
-
<ref name="
|
1287
|
+
<ref name="ISO8601Date"/>
|
1286
1288
|
</element>
|
1287
1289
|
</define>
|
1288
1290
|
<define name="validityRevision">
|
1289
1291
|
<element name="revision">
|
1290
|
-
<ref name="
|
1292
|
+
<ref name="ISO8601Date"/>
|
1291
1293
|
</element>
|
1292
1294
|
</define>
|
1293
1295
|
<define name="TypedTitleString">
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-csa
|
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
|