metanorma-csa 2.5.9 → 2.5.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/isodoc/csa/csa.standard.xsl +176 -13
- data/lib/metanorma/csa/biblio.rng +15 -9
- data/lib/metanorma/csa/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e22479808f488e5e47aad508c2f3f6e3262c23949030d10000fb32676291eb65
|
4
|
+
data.tar.gz: b18e578f24e458b3097d66a90da182db4e8cb52a5b4b15aa1d277c2f29fba6e8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 20927137854d610c5b783c10fae6a1cc59b84b662e373501de441780b8a63f104cb702ac5ae51e9f421aa5efcafc4f73ea53540d01e092d33e71e0b3876c3d40
|
7
|
+
data.tar.gz: 50b3dfa90ca3f0e6ad9d9c42b05fae11c000257df2f178c719c2db367ec7602f56a605e0232ba1812613a317fa393c15d370848fd0c604a26333fcd4a433340a
|
@@ -671,8 +671,21 @@
|
|
671
671
|
|
672
672
|
<!-- <xsl:strip-space elements="csa:xref"/> -->
|
673
673
|
|
674
|
-
<xsl:variable name="
|
675
|
-
|
674
|
+
<xsl:variable name="namespace_full_">
|
675
|
+
<xsl:choose>
|
676
|
+
<xsl:when test="local-name(/*) = 'metanorma-collection'"><xsl:value-of select="namespace-uri(//*[contains(local-name(), '-standard')][1])"/></xsl:when>
|
677
|
+
<xsl:otherwise><xsl:value-of select="namespace-uri(/*)"/></xsl:otherwise><!-- example: https://www.metanorma.org/ns/iso -->
|
678
|
+
</xsl:choose>
|
679
|
+
</xsl:variable>
|
680
|
+
<xsl:variable name="namespace_full" select="normalize-space($namespace_full_)"/>
|
681
|
+
|
682
|
+
<xsl:variable name="root_element_">
|
683
|
+
<xsl:choose>
|
684
|
+
<xsl:when test="local-name(/*) = 'metanorma-collection'"><xsl:value-of select="local-name(//*[contains(local-name(), '-standard')][1])"/></xsl:when>
|
685
|
+
<xsl:otherwise><xsl:value-of select="local-name(/*)"/></xsl:otherwise><!-- example: iso-standard -->
|
686
|
+
</xsl:choose>
|
687
|
+
</xsl:variable>
|
688
|
+
<xsl:variable name="root_element" select="normalize-space($root_element_)"/>
|
676
689
|
|
677
690
|
<xsl:variable name="document_scheme" select="normalize-space(//*[contains(local-name(), '-standard')]/*[local-name() = 'metanorma-extension']/*[local-name() = 'presentation-metadata'][*[local-name() = 'name'] = 'document-scheme']/*[local-name() = 'value'])"/>
|
678
691
|
|
@@ -1806,6 +1819,9 @@
|
|
1806
1819
|
|
1807
1820
|
</xsl:attribute-set>
|
1808
1821
|
|
1822
|
+
<xsl:attribute-set name="related-block-style" use-attribute-sets="preferred-block-style">
|
1823
|
+
</xsl:attribute-set>
|
1824
|
+
|
1809
1825
|
<xsl:attribute-set name="definition-style">
|
1810
1826
|
|
1811
1827
|
<xsl:attribute name="space-after">6pt</xsl:attribute>
|
@@ -4047,7 +4063,9 @@
|
|
4047
4063
|
<xsl:with-param name="element">
|
4048
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 -->
|
4049
4065
|
<fo:inline role="Lbl"> <!-- need for https://github.com/metanorma/metanorma-iso/issues/1003 -->
|
4066
|
+
|
4050
4067
|
<xsl:copy-of select="$current_fn_number_text"/>
|
4068
|
+
|
4051
4069
|
</fo:inline>
|
4052
4070
|
</fo:basic-link>
|
4053
4071
|
</xsl:with-param>
|
@@ -4066,8 +4084,7 @@
|
|
4066
4084
|
|
4067
4085
|
<fo:block-container xsl:use-attribute-sets="fn-container-body-style" role="SKIP">
|
4068
4086
|
|
4069
|
-
<
|
4070
|
-
|
4087
|
+
<xsl:variable name="fn_block">
|
4071
4088
|
<xsl:call-template name="refine_fn-body-style"/>
|
4072
4089
|
|
4073
4090
|
<fo:inline id="{$ref_id}" xsl:use-attribute-sets="fn-body-num-style" role="Lbl">
|
@@ -4075,9 +4092,15 @@
|
|
4075
4092
|
<xsl:call-template name="refine_fn-body-num-style"/>
|
4076
4093
|
|
4077
4094
|
<xsl:value-of select="$current_fn_number_text"/>
|
4095
|
+
|
4078
4096
|
</fo:inline>
|
4079
4097
|
<xsl:apply-templates/>
|
4080
|
-
</
|
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
|
+
|
4081
4104
|
</fo:block-container>
|
4082
4105
|
</fo:footnote-body>
|
4083
4106
|
</fo:footnote>
|
@@ -5465,6 +5488,12 @@
|
|
5465
5488
|
</xsl:if>
|
5466
5489
|
</xsl:template>
|
5467
5490
|
|
5491
|
+
<xsl:template match="*[local-name()='strike']">
|
5492
|
+
<fo:inline text-decoration="line-through">
|
5493
|
+
<xsl:apply-templates/>
|
5494
|
+
</fo:inline>
|
5495
|
+
</xsl:template>
|
5496
|
+
|
5468
5497
|
<xsl:template match="*[local-name() = 'pagebreak']">
|
5469
5498
|
<fo:block break-after="page"/>
|
5470
5499
|
<fo:block> </fo:block>
|
@@ -10109,14 +10138,17 @@
|
|
10109
10138
|
</fo:block>
|
10110
10139
|
</xsl:template>
|
10111
10140
|
|
10112
|
-
<xsl:template match="*[local-name() = 'domain']">
|
10141
|
+
<!-- <xsl:template match="*[local-name() = 'domain']"> -->
|
10113
10142
|
<!-- https://github.com/metanorma/isodoc/issues/607
|
10114
10143
|
<fo:inline xsl:use-attribute-sets="domain-style"><<xsl:apply-templates/>></fo:inline>
|
10115
10144
|
<xsl:text> </xsl:text> -->
|
10116
|
-
<xsl:if test="not(@hidden = 'true')">
|
10145
|
+
<!-- <xsl:if test="not(@hidden = 'true')">
|
10117
10146
|
<xsl:apply-templates/>
|
10118
10147
|
</xsl:if>
|
10119
|
-
</xsl:template>
|
10148
|
+
</xsl:template> -->
|
10149
|
+
|
10150
|
+
<!-- https://github.com/metanorma/isodoc/issues/632#issuecomment-2567163931 -->
|
10151
|
+
<xsl:template match="*[local-name() = 'domain']"/>
|
10120
10152
|
|
10121
10153
|
<xsl:template match="*[local-name() = 'admitted']">
|
10122
10154
|
<fo:block xsl:use-attribute-sets="admitted-style">
|
@@ -10131,9 +10163,11 @@
|
|
10131
10163
|
</xsl:template>
|
10132
10164
|
|
10133
10165
|
<xsl:template name="setStyle_preferred">
|
10134
|
-
|
10135
|
-
|
10136
|
-
|
10166
|
+
|
10167
|
+
<xsl:if test="*[local-name() = 'strong']">
|
10168
|
+
<xsl:attribute name="font-weight">normal</xsl:attribute>
|
10169
|
+
</xsl:if>
|
10170
|
+
|
10137
10171
|
</xsl:template>
|
10138
10172
|
|
10139
10173
|
<!-- regarding ISO 10241-1:2011, If there is more than one preferred term, each preferred term follows the previous one on a new line. -->
|
@@ -10143,6 +10177,17 @@
|
|
10143
10177
|
</xsl:template>
|
10144
10178
|
<!-- End Preferred, admitted, deprecated -->
|
10145
10179
|
|
10180
|
+
<xsl:template match="*[local-name() = 'fmt-related']">
|
10181
|
+
<fo:block role="SKIP" xsl:use-attribute-sets="related-block-style">
|
10182
|
+
<xsl:apply-templates/>
|
10183
|
+
</fo:block>
|
10184
|
+
</xsl:template>
|
10185
|
+
<xsl:template match="*[local-name() = 'fmt-related']/*[local-name() = 'p']" priority="4">
|
10186
|
+
<fo:block>
|
10187
|
+
<xsl:apply-templates/>
|
10188
|
+
</fo:block>
|
10189
|
+
</xsl:template>
|
10190
|
+
|
10146
10191
|
<!-- ========== -->
|
10147
10192
|
<!-- definition -->
|
10148
10193
|
<!-- ========== -->
|
@@ -11049,6 +11094,7 @@
|
|
11049
11094
|
|
11050
11095
|
<!-- Normative references -->
|
11051
11096
|
<xsl:template match="*[local-name() = 'references'][@normative='true']/*[local-name() = 'bibitem']" name="bibitem" priority="2">
|
11097
|
+
<xsl:param name="skip" select="normalize-space(preceding-sibling::*[1][local-name() = 'bibitem'] and 1 = 1)"/> <!-- current bibiitem is non-first -->
|
11052
11098
|
|
11053
11099
|
<fo:block id="{@id}" xsl:use-attribute-sets="bibitem-normative-style">
|
11054
11100
|
|
@@ -11744,7 +11790,8 @@
|
|
11744
11790
|
<!-- add @id - first element with @id plus '_element_name' -->
|
11745
11791
|
<xsl:variable name="prefix_id_" select="(.//*[@id])[1]/@id"/>
|
11746
11792
|
<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>
|
11747
|
-
<xsl:
|
11793
|
+
<xsl:variable name="document_suffix" select="ancestor::*[contains(local-name(), '-standard')]/@document_suffix"/>
|
11794
|
+
<xsl:attribute name="id"><xsl:value-of select="concat($prefix_id, '_', local-name(), '_', $document_suffix)"/></xsl:attribute>
|
11748
11795
|
</xsl:if>
|
11749
11796
|
</xsl:template>
|
11750
11797
|
|
@@ -11801,6 +11848,31 @@
|
|
11801
11848
|
<xsl:template match="*[local-name() = 'name'][following-sibling::*[1][local-name() = 'fmt-name']]" mode="update_xml_pres"/>
|
11802
11849
|
<xsl:template match="*[local-name() = 'section-title'][following-sibling::*[1][local-name() = 'p'][@type = 'section-title' or @type = 'floating-title']]" mode="update_xml_step1"/>
|
11803
11850
|
<xsl:template match="*[local-name() = 'section-title'][following-sibling::*[1][local-name() = 'p'][@type = 'section-title' or @type = 'floating-title']]" mode="update_xml_pres"/>
|
11851
|
+
<!-- <xsl:template match="*[local-name() = 'preferred'][following-sibling::*[not(local-name() = 'preferred')][1][local-name() = 'fmt-preferred']]" mode="update_xml_step1"/> -->
|
11852
|
+
<xsl:template match="*[local-name() = 'preferred']" mode="update_xml_step1"/>
|
11853
|
+
<!-- <xsl:template match="*[local-name() = 'preferred'][following-sibling::*[not(local-name() = 'preferred')][1][local-name() = 'fmt-preferred']]" mode="update_xml_pres"/> -->
|
11854
|
+
<xsl:template match="*[local-name() = 'preferred']" mode="update_xml_pres"/>
|
11855
|
+
<!-- <xsl:template match="*[local-name() = 'admitted'][following-sibling::*[not(local-name() = 'admitted')][1][local-name() = 'fmt-admitted']]" mode="update_xml_step1"/> -->
|
11856
|
+
<xsl:template match="*[local-name() = 'admitted']" mode="update_xml_step1"/>
|
11857
|
+
<!-- <xsl:template match="*[local-name() = 'admitted'][following-sibling::*[not(local-name() = 'admitted')][1][local-name() = 'fmt-admitted']]" mode="update_xml_pres"/> -->
|
11858
|
+
<xsl:template match="*[local-name() = 'admitted']" mode="update_xml_pres"/>
|
11859
|
+
<!-- <xsl:template match="*[local-name() = 'deprecates'][following-sibling::*[not(local-name() = 'deprecates')][1][local-name() = 'fmt-deprecates']]" mode="update_xml_step1"/> -->
|
11860
|
+
<xsl:template match="*[local-name() = 'deprecates']" mode="update_xml_step1"/>
|
11861
|
+
<xsl:template match="*[local-name() = 'related']" mode="update_xml_step1"/>
|
11862
|
+
<!-- <xsl:template match="*[local-name() = 'deprecates'][following-sibling::*[not(local-name() = 'deprecates')][1][local-name() = 'fmt-deprecates']]" mode="update_xml_pres"/> -->
|
11863
|
+
<xsl:template match="*[local-name() = 'deprecates']" mode="update_xml_pres"/>
|
11864
|
+
<xsl:template match="*[local-name() = 'related']" mode="update_xml_pres"/>
|
11865
|
+
<!-- <xsl:template match="*[local-name() = 'definition'][following-sibling::*[1][local-name() = 'fmt-definition']]" mode="update_xml_step1"/> -->
|
11866
|
+
<xsl:template match="*[local-name() = 'definition']" mode="update_xml_step1"/>
|
11867
|
+
<!-- <xsl:template match="*[local-name() = 'definition'][following-sibling::*[1][local-name() = 'fmt-definition']]" mode="update_xml_pres"/> -->
|
11868
|
+
<xsl:template match="*[local-name() = 'definition']" mode="update_xml_pres"/>
|
11869
|
+
<!-- <xsl:template match="*[local-name() = 'termsource'][following-sibling::*[1][local-name() = 'fmt-termsource']]" mode="update_xml_step1"/> -->
|
11870
|
+
<xsl:template match="*[local-name() = 'termsource']" mode="update_xml_step1"/>
|
11871
|
+
<!-- <xsl:template match="*[local-name() = 'termsource'][following-sibling::*[1][local-name() = 'fmt-termsource']]" mode="update_xml_pres"/> -->
|
11872
|
+
<xsl:template match="*[local-name() = 'termsource']" mode="update_xml_pres"/>
|
11873
|
+
|
11874
|
+
<xsl:template match="*[local-name() = 'term'][@unnumbered = 'true'][not(.//*[starts-with(local-name(), 'fmt-')])]" mode="update_xml_step1"/>
|
11875
|
+
<xsl:template match="*[local-name() = 'term'][@unnumbered = 'true'][not(.//*[starts-with(local-name(), 'fmt-')])]" mode="update_xml_pres"/>
|
11804
11876
|
|
11805
11877
|
<xsl:template match="*[local-name() = 'p'][@type = 'section-title' or @type = 'floating-title'][preceding-sibling::*[1][local-name() = 'section-title']]" mode="update_xml_step1">
|
11806
11878
|
<xsl:copy>
|
@@ -11845,6 +11917,94 @@
|
|
11845
11917
|
</xsl:element>
|
11846
11918
|
</xsl:template>
|
11847
11919
|
|
11920
|
+
<xsl:template match="*[local-name() = 'fmt-preferred']"/>
|
11921
|
+
<xsl:template match="*[local-name() = 'fmt-preferred'][*[local-name() = 'p']]" mode="update_xml_step1">
|
11922
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
11923
|
+
</xsl:template>
|
11924
|
+
<xsl:template match="*[local-name() = 'fmt-preferred'][not(*[local-name() = 'p'])] | *[local-name() = 'fmt-preferred']/*[local-name() = 'p']" mode="update_xml_step1">
|
11925
|
+
<xsl:element name="preferred" namespace="{$namespace_full}">
|
11926
|
+
<xsl:copy-of select="@*"/>
|
11927
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
11928
|
+
</xsl:element>
|
11929
|
+
</xsl:template>
|
11930
|
+
<xsl:template match="*[local-name() = 'fmt-preferred'][*[local-name() = 'p']]" mode="update_xml_pres">
|
11931
|
+
<xsl:apply-templates mode="update_xml_pres"/>
|
11932
|
+
</xsl:template>
|
11933
|
+
<xsl:template match="*[local-name() = 'fmt-preferred'][not(*[local-name() = 'p'])] | *[local-name() = 'fmt-preferred']/*[local-name() = 'p']" mode="update_xml_pres">
|
11934
|
+
<xsl:element name="preferred" namespace="{$namespace_full}">
|
11935
|
+
<xsl:copy-of select="@*"/>
|
11936
|
+
<xsl:apply-templates mode="update_xml_pres"/>
|
11937
|
+
</xsl:element>
|
11938
|
+
</xsl:template>
|
11939
|
+
|
11940
|
+
<xsl:template match="*[local-name() = 'fmt-admitted']"/>
|
11941
|
+
<xsl:template match="*[local-name() = 'fmt-admitted'][*[local-name() = 'p']]" mode="update_xml_step1">
|
11942
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
11943
|
+
</xsl:template>
|
11944
|
+
<xsl:template match="*[local-name() = 'fmt-admitted'][not(*[local-name() = 'p'])] | *[local-name() = 'fmt-admitted']/*[local-name() = 'p']" mode="update_xml_step1">
|
11945
|
+
<xsl:element name="admitted" namespace="{$namespace_full}">
|
11946
|
+
<xsl:copy-of select="@*"/>
|
11947
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
11948
|
+
</xsl:element>
|
11949
|
+
</xsl:template>
|
11950
|
+
<xsl:template match="*[local-name() = 'fmt-admitted'][*[local-name() = 'p']]" mode="update_xml_pres">
|
11951
|
+
<xsl:apply-templates mode="update_xml_pres"/>
|
11952
|
+
</xsl:template>
|
11953
|
+
<xsl:template match="*[local-name() = 'fmt-admitted'][not(*[local-name() = 'p'])] | *[local-name() = 'fmt-admitted']/*[local-name() = 'p']" mode="update_xml_pres">
|
11954
|
+
<xsl:element name="admitted" namespace="{$namespace_full}">
|
11955
|
+
<xsl:copy-of select="@*"/>
|
11956
|
+
<xsl:apply-templates mode="update_xml_pres"/>
|
11957
|
+
</xsl:element>
|
11958
|
+
</xsl:template>
|
11959
|
+
|
11960
|
+
<xsl:template match="*[local-name() = 'fmt-deprecates']"/>
|
11961
|
+
<xsl:template match="*[local-name() = 'fmt-deprecates'][*[local-name() = 'p']]" mode="update_xml_step1">
|
11962
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
11963
|
+
</xsl:template>
|
11964
|
+
<xsl:template match="*[local-name() = 'fmt-deprecates'][not(*[local-name() = 'p'])] | *[local-name() = 'fmt-deprecates']/*[local-name() = 'p']" mode="update_xml_step1">
|
11965
|
+
<xsl:element name="deprecates" namespace="{$namespace_full}">
|
11966
|
+
<xsl:copy-of select="@*"/>
|
11967
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
11968
|
+
</xsl:element>
|
11969
|
+
</xsl:template>
|
11970
|
+
<xsl:template match="*[local-name() = 'fmt-deprecates'][*[local-name() = 'p']]" mode="update_xml_pres">
|
11971
|
+
<xsl:apply-templates mode="update_xml_pres"/>
|
11972
|
+
</xsl:template>
|
11973
|
+
<xsl:template match="*[local-name() = 'fmt-deprecates'][not(*[local-name() = 'p'])] | *[local-name() = 'fmt-deprecates']/*[local-name() = 'p']" mode="update_xml_pres">
|
11974
|
+
<xsl:element name="deprecates" namespace="{$namespace_full}">
|
11975
|
+
<xsl:copy-of select="@*"/>
|
11976
|
+
<xsl:apply-templates mode="update_xml_pres"/>
|
11977
|
+
</xsl:element>
|
11978
|
+
</xsl:template>
|
11979
|
+
|
11980
|
+
<xsl:template match="*[local-name() = 'fmt-definition']"/>
|
11981
|
+
<xsl:template match="*[local-name() = 'fmt-definition']" mode="update_xml_step1">
|
11982
|
+
<xsl:element name="definition" namespace="{$namespace_full}">
|
11983
|
+
<xsl:copy-of select="@*"/>
|
11984
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
11985
|
+
</xsl:element>
|
11986
|
+
</xsl:template>
|
11987
|
+
<xsl:template match="*[local-name() = 'fmt-definition']" mode="update_xml_pres">
|
11988
|
+
<xsl:element name="definition" namespace="{$namespace_full}">
|
11989
|
+
<xsl:copy-of select="@*"/>
|
11990
|
+
<xsl:apply-templates mode="update_xml_pres"/>
|
11991
|
+
</xsl:element>
|
11992
|
+
</xsl:template>
|
11993
|
+
|
11994
|
+
<xsl:template match="*[local-name() = 'fmt-termsource']"/>
|
11995
|
+
<xsl:template match="*[local-name() = 'fmt-termsource']" mode="update_xml_step1">
|
11996
|
+
<xsl:element name="termsource" namespace="{$namespace_full}">
|
11997
|
+
<xsl:copy-of select="@*"/>
|
11998
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
11999
|
+
</xsl:element>
|
12000
|
+
</xsl:template>
|
12001
|
+
<xsl:template match="*[local-name() = 'fmt-termsource']" mode="update_xml_pres">
|
12002
|
+
<xsl:element name="termsource" namespace="{$namespace_full}">
|
12003
|
+
<xsl:copy-of select="@*"/>
|
12004
|
+
<xsl:apply-templates mode="update_xml_pres"/>
|
12005
|
+
</xsl:element>
|
12006
|
+
</xsl:template>
|
12007
|
+
|
11848
12008
|
<xsl:template match="*[local-name() = 'span'][ @class = 'fmt-caption-label' or @class = 'fmt-element-name' or @class = 'fmt-caption-delim' or @class = 'fmt-autonum-delim']" mode="update_xml_step1" priority="3">
|
11849
12009
|
<xsl:apply-templates mode="update_xml_step1"/>
|
11850
12010
|
</xsl:template>
|
@@ -12976,7 +13136,7 @@
|
|
12976
13136
|
</xsl:template>
|
12977
13137
|
|
12978
13138
|
<xsl:template name="namespaceCheck">
|
12979
|
-
<xsl:variable name="documentNS" select="namespace-uri(/*)
|
13139
|
+
<xsl:variable name="documentNS" select="$namespace_full"/> <!-- namespace-uri(/*) -->
|
12980
13140
|
<xsl:variable name="XSLNS">
|
12981
13141
|
|
12982
13142
|
<xsl:value-of select="document('')//*/namespace::csa"/>
|
@@ -13066,6 +13226,9 @@
|
|
13066
13226
|
<xsl:when test="$formatted = 'true' and string-length($bibdata_updated) != ''">
|
13067
13227
|
<xsl:apply-templates select="xalan:nodeset($bibdata_updated)//*[local-name() = 'localized-string'][@key = $key and @language = $curr_lang]"/>
|
13068
13228
|
</xsl:when>
|
13229
|
+
<xsl:when test="string-length($bibdata_updated) != ''">
|
13230
|
+
<xsl:value-of select="xalan:nodeset($bibdata_updated)//*[local-name() = 'localized-string'][@key = $key and @language = $curr_lang]"/>
|
13231
|
+
</xsl:when>
|
13069
13232
|
<xsl:when test="$formatted = 'true'">
|
13070
13233
|
<xsl:apply-templates select="xalan:nodeset($bibdata)//*[local-name() = 'localized-string'][@key = $key and @language = $curr_lang]"/>
|
13071
13234
|
</xsl:when>
|
@@ -267,11 +267,11 @@ Detailed in https://www.relaton.org/model/creator/</a:documentation>
|
|
267
267
|
<a:documentation>An identifier of the person according to an international identifier scheme</a:documentation>
|
268
268
|
</ref>
|
269
269
|
</zeroOrMore>
|
270
|
-
<
|
270
|
+
<optional>
|
271
271
|
<ref name="contact">
|
272
272
|
<a:documentation>Contact information for the person, including URI, address, phone number, and email</a:documentation>
|
273
273
|
</ref>
|
274
|
-
</
|
274
|
+
</optional>
|
275
275
|
</element>
|
276
276
|
</define>
|
277
277
|
<define name="fullname">
|
@@ -454,11 +454,11 @@ real names (if the person is named with a pseudonym or user name); previous lega
|
|
454
454
|
<a:documentation>An identifier of the organization according to an international identifier scheme</a:documentation>
|
455
455
|
</ref>
|
456
456
|
</zeroOrMore>
|
457
|
-
<
|
457
|
+
<optional>
|
458
458
|
<ref name="contact">
|
459
459
|
<a:documentation>Contact information for the organization, including address, phone number, and email</a:documentation>
|
460
460
|
</ref>
|
461
|
-
</
|
461
|
+
</optional>
|
462
462
|
<optional>
|
463
463
|
<ref name="logo">
|
464
464
|
<a:documentation>A logo for the organization</a:documentation>
|
@@ -540,12 +540,18 @@ real names (if the person is named with a pseudonym or user name); previous lega
|
|
540
540
|
<!-- TODO may change -->
|
541
541
|
<define name="contact">
|
542
542
|
<a:documentation>Contact information for a person or organization</a:documentation>
|
543
|
-
<
|
543
|
+
<zeroOrMore>
|
544
544
|
<ref name="address"/>
|
545
|
+
</zeroOrMore>
|
546
|
+
<zeroOrMore>
|
545
547
|
<ref name="phone"/>
|
548
|
+
</zeroOrMore>
|
549
|
+
<zeroOrMore>
|
546
550
|
<ref name="email"/>
|
551
|
+
</zeroOrMore>
|
552
|
+
<zeroOrMore>
|
547
553
|
<ref name="uri"/>
|
548
|
-
</
|
554
|
+
</zeroOrMore>
|
549
555
|
</define>
|
550
556
|
<define name="phone">
|
551
557
|
<a:documentation>The phone number associated with a person or organization</a:documentation>
|
@@ -1271,17 +1277,17 @@ for which this claim of validity is made, if applicable</a:documentation>
|
|
1271
1277
|
</define>
|
1272
1278
|
<define name="validityBegins">
|
1273
1279
|
<element name="validityBegins">
|
1274
|
-
<ref name="
|
1280
|
+
<ref name="ISO8601Date"/>
|
1275
1281
|
</element>
|
1276
1282
|
</define>
|
1277
1283
|
<define name="validityEnds">
|
1278
1284
|
<element name="validityEnds">
|
1279
|
-
<ref name="
|
1285
|
+
<ref name="ISO8601Date"/>
|
1280
1286
|
</element>
|
1281
1287
|
</define>
|
1282
1288
|
<define name="validityRevision">
|
1283
1289
|
<element name="revision">
|
1284
|
-
<ref name="
|
1290
|
+
<ref name="ISO8601Date"/>
|
1285
1291
|
</element>
|
1286
1292
|
</define>
|
1287
1293
|
<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.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-01-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: metanorma-generic
|
@@ -242,7 +242,7 @@ homepage: https://github.com/metanorma/metanorma-csa
|
|
242
242
|
licenses:
|
243
243
|
- BSD-2-Clause
|
244
244
|
metadata: {}
|
245
|
-
post_install_message:
|
245
|
+
post_install_message:
|
246
246
|
rdoc_options: []
|
247
247
|
require_paths:
|
248
248
|
- lib
|
@@ -258,7 +258,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
258
258
|
version: '0'
|
259
259
|
requirements: []
|
260
260
|
rubygems_version: 3.3.27
|
261
|
-
signing_key:
|
261
|
+
signing_key:
|
262
262
|
specification_version: 4
|
263
263
|
summary: metanorma-csa lets you write CSA Normal Documents (CSAND) in AsciiDoc.
|
264
264
|
test_files: []
|