metanorma-cc 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/cc/cc.standard.xsl +181 -15
- data/lib/metanorma/cc/biblio.rng +5 -3
- 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
|
@@ -1832,6 +1832,9 @@
|
|
1832
1832
|
|
1833
1833
|
</xsl:attribute-set>
|
1834
1834
|
|
1835
|
+
<xsl:attribute-set name="related-block-style" use-attribute-sets="preferred-block-style">
|
1836
|
+
</xsl:attribute-set>
|
1837
|
+
|
1835
1838
|
<xsl:attribute-set name="definition-style">
|
1836
1839
|
|
1837
1840
|
<xsl:attribute name="margin-bottom">6pt</xsl:attribute>
|
@@ -4051,7 +4054,9 @@
|
|
4051
4054
|
<xsl:with-param name="element">
|
4052
4055
|
<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 -->
|
4053
4056
|
<fo:inline role="Lbl"> <!-- need for https://github.com/metanorma/metanorma-iso/issues/1003 -->
|
4057
|
+
|
4054
4058
|
<xsl:copy-of select="$current_fn_number_text"/>
|
4059
|
+
|
4055
4060
|
</fo:inline>
|
4056
4061
|
</fo:basic-link>
|
4057
4062
|
</xsl:with-param>
|
@@ -4070,8 +4075,7 @@
|
|
4070
4075
|
|
4071
4076
|
<fo:block-container xsl:use-attribute-sets="fn-container-body-style" role="SKIP">
|
4072
4077
|
|
4073
|
-
<
|
4074
|
-
|
4078
|
+
<xsl:variable name="fn_block">
|
4075
4079
|
<xsl:call-template name="refine_fn-body-style"/>
|
4076
4080
|
|
4077
4081
|
<fo:inline id="{$ref_id}" xsl:use-attribute-sets="fn-body-num-style" role="Lbl">
|
@@ -4079,9 +4083,15 @@
|
|
4079
4083
|
<xsl:call-template name="refine_fn-body-num-style"/>
|
4080
4084
|
|
4081
4085
|
<xsl:value-of select="$current_fn_number_text"/>
|
4086
|
+
|
4082
4087
|
</fo:inline>
|
4083
4088
|
<xsl:apply-templates/>
|
4084
|
-
</
|
4089
|
+
</xsl:variable>
|
4090
|
+
|
4091
|
+
<fo:block xsl:use-attribute-sets="fn-body-style" role="SKIP">
|
4092
|
+
<xsl:copy-of select="$fn_block"/>
|
4093
|
+
</fo:block>
|
4094
|
+
|
4085
4095
|
</fo:block-container>
|
4086
4096
|
</fo:footnote-body>
|
4087
4097
|
</fo:footnote>
|
@@ -5851,9 +5861,14 @@
|
|
5851
5861
|
|
5852
5862
|
<xsl:variable name="simple-table">
|
5853
5863
|
|
5864
|
+
<xsl:variable name="table_without_semantic_elements">
|
5865
|
+
<xsl:apply-templates mode="update_xml_pres"/>
|
5866
|
+
</xsl:variable>
|
5867
|
+
|
5854
5868
|
<!-- Step 0. replace <br/> to <p>...</p> -->
|
5855
5869
|
<xsl:variable name="table_without_br">
|
5856
|
-
<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"/>
|
5857
5872
|
</xsl:variable>
|
5858
5873
|
|
5859
5874
|
<!-- Step 1. colspan processing -->
|
@@ -10124,14 +10139,17 @@
|
|
10124
10139
|
</fo:block>
|
10125
10140
|
</xsl:template>
|
10126
10141
|
|
10127
|
-
<xsl:template match="*[local-name() = 'domain']">
|
10142
|
+
<!-- <xsl:template match="*[local-name() = 'domain']"> -->
|
10128
10143
|
<!-- https://github.com/metanorma/isodoc/issues/607
|
10129
10144
|
<fo:inline xsl:use-attribute-sets="domain-style"><<xsl:apply-templates/>></fo:inline>
|
10130
10145
|
<xsl:text> </xsl:text> -->
|
10131
|
-
<xsl:if test="not(@hidden = 'true')">
|
10146
|
+
<!-- <xsl:if test="not(@hidden = 'true')">
|
10132
10147
|
<xsl:apply-templates/>
|
10133
10148
|
</xsl:if>
|
10134
|
-
</xsl:template>
|
10149
|
+
</xsl:template> -->
|
10150
|
+
|
10151
|
+
<!-- https://github.com/metanorma/isodoc/issues/632#issuecomment-2567163931 -->
|
10152
|
+
<xsl:template match="*[local-name() = 'domain']"/>
|
10135
10153
|
|
10136
10154
|
<xsl:template match="*[local-name() = 'admitted']">
|
10137
10155
|
<fo:block xsl:use-attribute-sets="admitted-style">
|
@@ -10146,9 +10164,11 @@
|
|
10146
10164
|
</xsl:template>
|
10147
10165
|
|
10148
10166
|
<xsl:template name="setStyle_preferred">
|
10149
|
-
|
10150
|
-
|
10151
|
-
|
10167
|
+
|
10168
|
+
<xsl:if test="*[local-name() = 'strong']">
|
10169
|
+
<xsl:attribute name="font-weight">normal</xsl:attribute>
|
10170
|
+
</xsl:if>
|
10171
|
+
|
10152
10172
|
</xsl:template>
|
10153
10173
|
|
10154
10174
|
<!-- regarding ISO 10241-1:2011, If there is more than one preferred term, each preferred term follows the previous one on a new line. -->
|
@@ -10158,6 +10178,17 @@
|
|
10158
10178
|
</xsl:template>
|
10159
10179
|
<!-- End Preferred, admitted, deprecated -->
|
10160
10180
|
|
10181
|
+
<xsl:template match="*[local-name() = 'fmt-related']">
|
10182
|
+
<fo:block role="SKIP" xsl:use-attribute-sets="related-block-style">
|
10183
|
+
<xsl:apply-templates/>
|
10184
|
+
</fo:block>
|
10185
|
+
</xsl:template>
|
10186
|
+
<xsl:template match="*[local-name() = 'fmt-related']/*[local-name() = 'p']" priority="4">
|
10187
|
+
<fo:block>
|
10188
|
+
<xsl:apply-templates/>
|
10189
|
+
</fo:block>
|
10190
|
+
</xsl:template>
|
10191
|
+
|
10161
10192
|
<!-- ========== -->
|
10162
10193
|
<!-- definition -->
|
10163
10194
|
<!-- ========== -->
|
@@ -11062,6 +11093,7 @@
|
|
11062
11093
|
|
11063
11094
|
<!-- Normative references -->
|
11064
11095
|
<xsl:template match="*[local-name() = 'references'][@normative='true']/*[local-name() = 'bibitem']" name="bibitem" priority="2">
|
11096
|
+
<xsl:param name="skip" select="normalize-space(preceding-sibling::*[1][local-name() = 'bibitem'] and 1 = 1)"/> <!-- current bibiitem is non-first -->
|
11065
11097
|
|
11066
11098
|
<fo:block id="{@id}" xsl:use-attribute-sets="bibitem-normative-style">
|
11067
11099
|
|
@@ -11783,7 +11815,8 @@
|
|
11783
11815
|
<!-- add @id - first element with @id plus '_element_name' -->
|
11784
11816
|
<xsl:variable name="prefix_id_" select="(.//*[@id])[1]/@id"/>
|
11785
11817
|
<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>
|
11786
|
-
<xsl:
|
11818
|
+
<xsl:variable name="document_suffix" select="ancestor::*[contains(local-name(), '-standard')]/@document_suffix"/>
|
11819
|
+
<xsl:attribute name="id"><xsl:value-of select="concat($prefix_id, '_', local-name(), '_', $document_suffix)"/></xsl:attribute>
|
11787
11820
|
</xsl:if>
|
11788
11821
|
</xsl:template>
|
11789
11822
|
|
@@ -11840,6 +11873,31 @@
|
|
11840
11873
|
<xsl:template match="*[local-name() = 'name'][following-sibling::*[1][local-name() = 'fmt-name']]" mode="update_xml_pres"/>
|
11841
11874
|
<xsl:template match="*[local-name() = 'section-title'][following-sibling::*[1][local-name() = 'p'][@type = 'section-title' or @type = 'floating-title']]" mode="update_xml_step1"/>
|
11842
11875
|
<xsl:template match="*[local-name() = 'section-title'][following-sibling::*[1][local-name() = 'p'][@type = 'section-title' or @type = 'floating-title']]" mode="update_xml_pres"/>
|
11876
|
+
<!-- <xsl:template match="*[local-name() = 'preferred'][following-sibling::*[not(local-name() = 'preferred')][1][local-name() = 'fmt-preferred']]" mode="update_xml_step1"/> -->
|
11877
|
+
<xsl:template match="*[local-name() = 'preferred']" mode="update_xml_step1"/>
|
11878
|
+
<!-- <xsl:template match="*[local-name() = 'preferred'][following-sibling::*[not(local-name() = 'preferred')][1][local-name() = 'fmt-preferred']]" mode="update_xml_pres"/> -->
|
11879
|
+
<xsl:template match="*[local-name() = 'preferred']" mode="update_xml_pres"/>
|
11880
|
+
<!-- <xsl:template match="*[local-name() = 'admitted'][following-sibling::*[not(local-name() = 'admitted')][1][local-name() = 'fmt-admitted']]" mode="update_xml_step1"/> -->
|
11881
|
+
<xsl:template match="*[local-name() = 'admitted']" mode="update_xml_step1"/>
|
11882
|
+
<!-- <xsl:template match="*[local-name() = 'admitted'][following-sibling::*[not(local-name() = 'admitted')][1][local-name() = 'fmt-admitted']]" mode="update_xml_pres"/> -->
|
11883
|
+
<xsl:template match="*[local-name() = 'admitted']" mode="update_xml_pres"/>
|
11884
|
+
<!-- <xsl:template match="*[local-name() = 'deprecates'][following-sibling::*[not(local-name() = 'deprecates')][1][local-name() = 'fmt-deprecates']]" mode="update_xml_step1"/> -->
|
11885
|
+
<xsl:template match="*[local-name() = 'deprecates']" mode="update_xml_step1"/>
|
11886
|
+
<xsl:template match="*[local-name() = 'related']" mode="update_xml_step1"/>
|
11887
|
+
<!-- <xsl:template match="*[local-name() = 'deprecates'][following-sibling::*[not(local-name() = 'deprecates')][1][local-name() = 'fmt-deprecates']]" mode="update_xml_pres"/> -->
|
11888
|
+
<xsl:template match="*[local-name() = 'deprecates']" mode="update_xml_pres"/>
|
11889
|
+
<xsl:template match="*[local-name() = 'related']" mode="update_xml_pres"/>
|
11890
|
+
<!-- <xsl:template match="*[local-name() = 'definition'][following-sibling::*[1][local-name() = 'fmt-definition']]" mode="update_xml_step1"/> -->
|
11891
|
+
<xsl:template match="*[local-name() = 'definition']" mode="update_xml_step1"/>
|
11892
|
+
<!-- <xsl:template match="*[local-name() = 'definition'][following-sibling::*[1][local-name() = 'fmt-definition']]" mode="update_xml_pres"/> -->
|
11893
|
+
<xsl:template match="*[local-name() = 'definition']" mode="update_xml_pres"/>
|
11894
|
+
<!-- <xsl:template match="*[local-name() = 'termsource'][following-sibling::*[1][local-name() = 'fmt-termsource']]" mode="update_xml_step1"/> -->
|
11895
|
+
<xsl:template match="*[local-name() = 'termsource']" mode="update_xml_step1"/>
|
11896
|
+
<!-- <xsl:template match="*[local-name() = 'termsource'][following-sibling::*[1][local-name() = 'fmt-termsource']]" mode="update_xml_pres"/> -->
|
11897
|
+
<xsl:template match="*[local-name() = 'termsource']" mode="update_xml_pres"/>
|
11898
|
+
|
11899
|
+
<xsl:template match="*[local-name() = 'term'][@unnumbered = 'true'][not(.//*[starts-with(local-name(), 'fmt-')])]" mode="update_xml_step1"/>
|
11900
|
+
<xsl:template match="*[local-name() = 'term'][@unnumbered = 'true'][not(.//*[starts-with(local-name(), 'fmt-')])]" mode="update_xml_pres"/>
|
11843
11901
|
|
11844
11902
|
<xsl:template match="*[local-name() = 'p'][@type = 'section-title' or @type = 'floating-title'][preceding-sibling::*[1][local-name() = 'section-title']]" mode="update_xml_step1">
|
11845
11903
|
<xsl:copy>
|
@@ -11872,13 +11930,115 @@
|
|
11872
11930
|
|
11873
11931
|
<xsl:template match="*[local-name() = 'fmt-name']"/>
|
11874
11932
|
<xsl:template match="*[local-name() = 'fmt-name']" mode="update_xml_step1">
|
11875
|
-
<xsl:
|
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>
|
11944
|
+
</xsl:template>
|
11945
|
+
<xsl:template match="*[local-name() = 'fmt-name']" mode="update_xml_pres">
|
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>
|
11957
|
+
</xsl:template>
|
11958
|
+
|
11959
|
+
<xsl:template match="*[local-name() = 'fmt-preferred']"/>
|
11960
|
+
<xsl:template match="*[local-name() = 'fmt-preferred'][*[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-preferred'][not(*[local-name() = 'p'])] | *[local-name() = 'fmt-preferred']/*[local-name() = 'p']" mode="update_xml_step1">
|
11964
|
+
<xsl:element name="preferred" namespace="{$namespace_full}">
|
11876
11965
|
<xsl:copy-of select="@*"/>
|
11877
11966
|
<xsl:apply-templates mode="update_xml_step1"/>
|
11878
11967
|
</xsl:element>
|
11879
11968
|
</xsl:template>
|
11880
|
-
<xsl:template match="*[local-name() = 'fmt-name']" mode="update_xml_pres">
|
11881
|
-
<xsl:
|
11969
|
+
<xsl:template match="*[local-name() = 'fmt-preferred'][*[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-preferred'][not(*[local-name() = 'p'])] | *[local-name() = 'fmt-preferred']/*[local-name() = 'p']" mode="update_xml_pres">
|
11973
|
+
<xsl:element name="preferred" 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-admitted']"/>
|
11980
|
+
<xsl:template match="*[local-name() = 'fmt-admitted'][*[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-admitted'][not(*[local-name() = 'p'])] | *[local-name() = 'fmt-admitted']/*[local-name() = 'p']" mode="update_xml_step1">
|
11984
|
+
<xsl:element name="admitted" 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-admitted'][*[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-admitted'][not(*[local-name() = 'p'])] | *[local-name() = 'fmt-admitted']/*[local-name() = 'p']" mode="update_xml_pres">
|
11993
|
+
<xsl:element name="admitted" 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-deprecates']"/>
|
12000
|
+
<xsl:template match="*[local-name() = 'fmt-deprecates'][*[local-name() = 'p']]" mode="update_xml_step1">
|
12001
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
12002
|
+
</xsl:template>
|
12003
|
+
<xsl:template match="*[local-name() = 'fmt-deprecates'][not(*[local-name() = 'p'])] | *[local-name() = 'fmt-deprecates']/*[local-name() = 'p']" mode="update_xml_step1">
|
12004
|
+
<xsl:element name="deprecates" namespace="{$namespace_full}">
|
12005
|
+
<xsl:copy-of select="@*"/>
|
12006
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
12007
|
+
</xsl:element>
|
12008
|
+
</xsl:template>
|
12009
|
+
<xsl:template match="*[local-name() = 'fmt-deprecates'][*[local-name() = 'p']]" mode="update_xml_pres">
|
12010
|
+
<xsl:apply-templates mode="update_xml_pres"/>
|
12011
|
+
</xsl:template>
|
12012
|
+
<xsl:template match="*[local-name() = 'fmt-deprecates'][not(*[local-name() = 'p'])] | *[local-name() = 'fmt-deprecates']/*[local-name() = 'p']" mode="update_xml_pres">
|
12013
|
+
<xsl:element name="deprecates" namespace="{$namespace_full}">
|
12014
|
+
<xsl:copy-of select="@*"/>
|
12015
|
+
<xsl:apply-templates mode="update_xml_pres"/>
|
12016
|
+
</xsl:element>
|
12017
|
+
</xsl:template>
|
12018
|
+
|
12019
|
+
<xsl:template match="*[local-name() = 'fmt-definition']"/>
|
12020
|
+
<xsl:template match="*[local-name() = 'fmt-definition']" mode="update_xml_step1">
|
12021
|
+
<xsl:element name="definition" namespace="{$namespace_full}">
|
12022
|
+
<xsl:copy-of select="@*"/>
|
12023
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
12024
|
+
</xsl:element>
|
12025
|
+
</xsl:template>
|
12026
|
+
<xsl:template match="*[local-name() = 'fmt-definition']" mode="update_xml_pres">
|
12027
|
+
<xsl:element name="definition" namespace="{$namespace_full}">
|
12028
|
+
<xsl:copy-of select="@*"/>
|
12029
|
+
<xsl:apply-templates mode="update_xml_pres"/>
|
12030
|
+
</xsl:element>
|
12031
|
+
</xsl:template>
|
12032
|
+
|
12033
|
+
<xsl:template match="*[local-name() = 'fmt-termsource']"/>
|
12034
|
+
<xsl:template match="*[local-name() = 'fmt-termsource']" mode="update_xml_step1">
|
12035
|
+
<xsl:element name="termsource" namespace="{$namespace_full}">
|
12036
|
+
<xsl:copy-of select="@*"/>
|
12037
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
12038
|
+
</xsl:element>
|
12039
|
+
</xsl:template>
|
12040
|
+
<xsl:template match="*[local-name() = 'fmt-termsource']" mode="update_xml_pres">
|
12041
|
+
<xsl:element name="termsource" namespace="{$namespace_full}">
|
11882
12042
|
<xsl:copy-of select="@*"/>
|
11883
12043
|
<xsl:apply-templates mode="update_xml_pres"/>
|
11884
12044
|
</xsl:element>
|
@@ -11891,6 +12051,9 @@
|
|
11891
12051
|
<xsl:apply-templates mode="update_xml_pres"/>
|
11892
12052
|
</xsl:template>
|
11893
12053
|
|
12054
|
+
<xsl:template match="*[local-name() = 'semx']">
|
12055
|
+
<xsl:apply-templates/>
|
12056
|
+
</xsl:template>
|
11894
12057
|
<xsl:template match="*[local-name() = 'semx']" mode="update_xml_step1">
|
11895
12058
|
<xsl:apply-templates mode="update_xml_step1"/>
|
11896
12059
|
</xsl:template>
|
@@ -13015,7 +13178,7 @@
|
|
13015
13178
|
</xsl:template>
|
13016
13179
|
|
13017
13180
|
<xsl:template name="namespaceCheck">
|
13018
|
-
<xsl:variable name="documentNS" select="namespace-uri(/*)
|
13181
|
+
<xsl:variable name="documentNS" select="$namespace_full"/> <!-- namespace-uri(/*) -->
|
13019
13182
|
<xsl:variable name="XSLNS">
|
13020
13183
|
|
13021
13184
|
<xsl:value-of select="document('')//*/namespace::csd"/>
|
@@ -13105,6 +13268,9 @@
|
|
13105
13268
|
<xsl:when test="$formatted = 'true' and string-length($bibdata_updated) != ''">
|
13106
13269
|
<xsl:apply-templates select="xalan:nodeset($bibdata_updated)//*[local-name() = 'localized-string'][@key = $key and @language = $curr_lang]"/>
|
13107
13270
|
</xsl:when>
|
13271
|
+
<xsl:when test="string-length($bibdata_updated) != ''">
|
13272
|
+
<xsl:value-of select="xalan:nodeset($bibdata_updated)//*[local-name() = 'localized-string'][@key = $key and @language = $curr_lang]"/>
|
13273
|
+
</xsl:when>
|
13108
13274
|
<xsl:when test="$formatted = 'true'">
|
13109
13275
|
<xsl:apply-templates select="xalan:nodeset($bibdata)//*[local-name() = 'localized-string'][@key = $key and @language = $curr_lang]"/>
|
13110
13276
|
</xsl:when>
|
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>
|
@@ -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">
|
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
|