metanorma-ribose 2.5.10 → 2.5.12
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 22e5a9796d0c28c369ecb9ac164ae30969e4017e3ccb79c6001561e121636720
|
4
|
+
data.tar.gz: aa3505c305b73a316defb48783b566161a1223ee7f4959186a600f27ace0fe76
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1faa3784f9c7e46f3428bb1099e79065d0bed90e3beac55524a4832364493f4acb2d42c2828096e4f5d6d6083239a12449f831ed800ce1d499dd218713d9c2c2
|
7
|
+
data.tar.gz: 97bb9379a1540e1ba539a5ba2dcf7edf78ae82040fef304f19b8f67f29732b71d24608d19848ca32e06d14bf1958466842a1f1bd27889e0b5b5df5654ce5ef6b
|
@@ -17,12 +17,19 @@ module IsoDoc
|
|
17
17
|
|
18
18
|
def middle_title(docxml); end
|
19
19
|
|
20
|
-
|
20
|
+
# KILL
|
21
|
+
def termsource1xx(elem)
|
21
22
|
elem.children = l10n("<strong>#{@i18n.source}:</strong> " \
|
22
23
|
"#{to_xml(elem.children).strip}")
|
23
24
|
elem&.next_element&.name == "termsource" and elem.next = "; "
|
24
25
|
end
|
25
26
|
|
27
|
+
def termsource_label(elem, sources)
|
28
|
+
elem.replace(l10n("<strong>#{@i18n.source}</strong>: #{sources}"))
|
29
|
+
end
|
30
|
+
|
31
|
+
def designation_boldface(desgn); end
|
32
|
+
|
26
33
|
def preface_rearrange(doc)
|
27
34
|
preface_move(doc.xpath(ns("//preface/abstract")),
|
28
35
|
%w(foreword executivesummary introduction clause acknowledgements), doc)
|
@@ -2570,6 +2570,9 @@
|
|
2570
2570
|
|
2571
2571
|
</xsl:attribute-set>
|
2572
2572
|
|
2573
|
+
<xsl:attribute-set name="related-block-style" use-attribute-sets="preferred-block-style">
|
2574
|
+
</xsl:attribute-set>
|
2575
|
+
|
2573
2576
|
<xsl:attribute-set name="definition-style">
|
2574
2577
|
|
2575
2578
|
<xsl:attribute name="keep-with-previous">always</xsl:attribute>
|
@@ -4828,7 +4831,9 @@
|
|
4828
4831
|
<xsl:with-param name="element">
|
4829
4832
|
<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 -->
|
4830
4833
|
<fo:inline role="Lbl"> <!-- need for https://github.com/metanorma/metanorma-iso/issues/1003 -->
|
4834
|
+
|
4831
4835
|
<xsl:copy-of select="$current_fn_number_text"/>
|
4836
|
+
|
4832
4837
|
</fo:inline>
|
4833
4838
|
</fo:basic-link>
|
4834
4839
|
</xsl:with-param>
|
@@ -4847,8 +4852,7 @@
|
|
4847
4852
|
|
4848
4853
|
<fo:block-container xsl:use-attribute-sets="fn-container-body-style" role="SKIP">
|
4849
4854
|
|
4850
|
-
<
|
4851
|
-
|
4855
|
+
<xsl:variable name="fn_block">
|
4852
4856
|
<xsl:call-template name="refine_fn-body-style"/>
|
4853
4857
|
|
4854
4858
|
<fo:inline id="{$ref_id}" xsl:use-attribute-sets="fn-body-num-style" role="Lbl">
|
@@ -4856,9 +4860,15 @@
|
|
4856
4860
|
<xsl:call-template name="refine_fn-body-num-style"/>
|
4857
4861
|
|
4858
4862
|
<xsl:value-of select="$current_fn_number_text"/>
|
4863
|
+
|
4859
4864
|
</fo:inline>
|
4860
4865
|
<xsl:apply-templates/>
|
4861
|
-
</
|
4866
|
+
</xsl:variable>
|
4867
|
+
|
4868
|
+
<fo:block xsl:use-attribute-sets="fn-body-style" role="SKIP">
|
4869
|
+
<xsl:copy-of select="$fn_block"/>
|
4870
|
+
</fo:block>
|
4871
|
+
|
4862
4872
|
</fo:block-container>
|
4863
4873
|
</fo:footnote-body>
|
4864
4874
|
</fo:footnote>
|
@@ -6638,9 +6648,14 @@
|
|
6638
6648
|
|
6639
6649
|
<xsl:variable name="simple-table">
|
6640
6650
|
|
6651
|
+
<xsl:variable name="table_without_semantic_elements">
|
6652
|
+
<xsl:apply-templates mode="update_xml_pres"/>
|
6653
|
+
</xsl:variable>
|
6654
|
+
|
6641
6655
|
<!-- Step 0. replace <br/> to <p>...</p> -->
|
6642
6656
|
<xsl:variable name="table_without_br">
|
6643
|
-
<xsl:apply-templates mode="table-without-br"/>
|
6657
|
+
<!-- <xsl:apply-templates mode="table-without-br"/> -->
|
6658
|
+
<xsl:apply-templates select="xalan:nodeset($table_without_semantic_elements)" mode="table-without-br"/>
|
6644
6659
|
</xsl:variable>
|
6645
6660
|
|
6646
6661
|
<!-- Step 1. colspan processing -->
|
@@ -10908,14 +10923,17 @@
|
|
10908
10923
|
</fo:block>
|
10909
10924
|
</xsl:template>
|
10910
10925
|
|
10911
|
-
<xsl:template match="*[local-name() = 'domain']">
|
10926
|
+
<!-- <xsl:template match="*[local-name() = 'domain']"> -->
|
10912
10927
|
<!-- https://github.com/metanorma/isodoc/issues/607
|
10913
10928
|
<fo:inline xsl:use-attribute-sets="domain-style"><<xsl:apply-templates/>></fo:inline>
|
10914
10929
|
<xsl:text> </xsl:text> -->
|
10915
|
-
<xsl:if test="not(@hidden = 'true')">
|
10930
|
+
<!-- <xsl:if test="not(@hidden = 'true')">
|
10916
10931
|
<xsl:apply-templates/>
|
10917
10932
|
</xsl:if>
|
10918
|
-
</xsl:template>
|
10933
|
+
</xsl:template> -->
|
10934
|
+
|
10935
|
+
<!-- https://github.com/metanorma/isodoc/issues/632#issuecomment-2567163931 -->
|
10936
|
+
<xsl:template match="*[local-name() = 'domain']"/>
|
10919
10937
|
|
10920
10938
|
<xsl:template match="*[local-name() = 'admitted']">
|
10921
10939
|
<fo:block xsl:use-attribute-sets="admitted-style">
|
@@ -10930,9 +10948,10 @@
|
|
10930
10948
|
</xsl:template>
|
10931
10949
|
|
10932
10950
|
<xsl:template name="setStyle_preferred">
|
10933
|
-
|
10934
|
-
|
10935
|
-
|
10951
|
+
|
10952
|
+
<xsl:attribute name="font-weight">normal</xsl:attribute>
|
10953
|
+
<xsl:attribute name="color">black</xsl:attribute>
|
10954
|
+
|
10936
10955
|
</xsl:template>
|
10937
10956
|
|
10938
10957
|
<!-- regarding ISO 10241-1:2011, If there is more than one preferred term, each preferred term follows the previous one on a new line. -->
|
@@ -10942,6 +10961,17 @@
|
|
10942
10961
|
</xsl:template>
|
10943
10962
|
<!-- End Preferred, admitted, deprecated -->
|
10944
10963
|
|
10964
|
+
<xsl:template match="*[local-name() = 'fmt-related']">
|
10965
|
+
<fo:block role="SKIP" xsl:use-attribute-sets="related-block-style">
|
10966
|
+
<xsl:apply-templates/>
|
10967
|
+
</fo:block>
|
10968
|
+
</xsl:template>
|
10969
|
+
<xsl:template match="*[local-name() = 'fmt-related']/*[local-name() = 'p']" priority="4">
|
10970
|
+
<fo:block>
|
10971
|
+
<xsl:apply-templates/>
|
10972
|
+
</fo:block>
|
10973
|
+
</xsl:template>
|
10974
|
+
|
10945
10975
|
<!-- ========== -->
|
10946
10976
|
<!-- definition -->
|
10947
10977
|
<!-- ========== -->
|
@@ -11848,6 +11878,7 @@
|
|
11848
11878
|
|
11849
11879
|
<!-- Normative references -->
|
11850
11880
|
<xsl:template match="*[local-name() = 'references'][@normative='true']/*[local-name() = 'bibitem']" name="bibitem" priority="2">
|
11881
|
+
<xsl:param name="skip" select="normalize-space(preceding-sibling::*[1][local-name() = 'bibitem'] and 1 = 1)"/> <!-- current bibiitem is non-first -->
|
11851
11882
|
|
11852
11883
|
<fo:block id="{@id}" xsl:use-attribute-sets="bibitem-normative-style">
|
11853
11884
|
|
@@ -12561,7 +12592,8 @@
|
|
12561
12592
|
<!-- add @id - first element with @id plus '_element_name' -->
|
12562
12593
|
<xsl:variable name="prefix_id_" select="(.//*[@id])[1]/@id"/>
|
12563
12594
|
<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>
|
12564
|
-
<xsl:
|
12595
|
+
<xsl:variable name="document_suffix" select="ancestor::*[contains(local-name(), '-standard')]/@document_suffix"/>
|
12596
|
+
<xsl:attribute name="id"><xsl:value-of select="concat($prefix_id, '_', local-name(), '_', $document_suffix)"/></xsl:attribute>
|
12565
12597
|
</xsl:if>
|
12566
12598
|
</xsl:template>
|
12567
12599
|
|
@@ -12618,6 +12650,31 @@
|
|
12618
12650
|
<xsl:template match="*[local-name() = 'name'][following-sibling::*[1][local-name() = 'fmt-name']]" mode="update_xml_pres"/>
|
12619
12651
|
<xsl:template match="*[local-name() = 'section-title'][following-sibling::*[1][local-name() = 'p'][@type = 'section-title' or @type = 'floating-title']]" mode="update_xml_step1"/>
|
12620
12652
|
<xsl:template match="*[local-name() = 'section-title'][following-sibling::*[1][local-name() = 'p'][@type = 'section-title' or @type = 'floating-title']]" mode="update_xml_pres"/>
|
12653
|
+
<!-- <xsl:template match="*[local-name() = 'preferred'][following-sibling::*[not(local-name() = 'preferred')][1][local-name() = 'fmt-preferred']]" mode="update_xml_step1"/> -->
|
12654
|
+
<xsl:template match="*[local-name() = 'preferred']" mode="update_xml_step1"/>
|
12655
|
+
<!-- <xsl:template match="*[local-name() = 'preferred'][following-sibling::*[not(local-name() = 'preferred')][1][local-name() = 'fmt-preferred']]" mode="update_xml_pres"/> -->
|
12656
|
+
<xsl:template match="*[local-name() = 'preferred']" mode="update_xml_pres"/>
|
12657
|
+
<!-- <xsl:template match="*[local-name() = 'admitted'][following-sibling::*[not(local-name() = 'admitted')][1][local-name() = 'fmt-admitted']]" mode="update_xml_step1"/> -->
|
12658
|
+
<xsl:template match="*[local-name() = 'admitted']" mode="update_xml_step1"/>
|
12659
|
+
<!-- <xsl:template match="*[local-name() = 'admitted'][following-sibling::*[not(local-name() = 'admitted')][1][local-name() = 'fmt-admitted']]" mode="update_xml_pres"/> -->
|
12660
|
+
<xsl:template match="*[local-name() = 'admitted']" mode="update_xml_pres"/>
|
12661
|
+
<!-- <xsl:template match="*[local-name() = 'deprecates'][following-sibling::*[not(local-name() = 'deprecates')][1][local-name() = 'fmt-deprecates']]" mode="update_xml_step1"/> -->
|
12662
|
+
<xsl:template match="*[local-name() = 'deprecates']" mode="update_xml_step1"/>
|
12663
|
+
<xsl:template match="*[local-name() = 'related']" mode="update_xml_step1"/>
|
12664
|
+
<!-- <xsl:template match="*[local-name() = 'deprecates'][following-sibling::*[not(local-name() = 'deprecates')][1][local-name() = 'fmt-deprecates']]" mode="update_xml_pres"/> -->
|
12665
|
+
<xsl:template match="*[local-name() = 'deprecates']" mode="update_xml_pres"/>
|
12666
|
+
<xsl:template match="*[local-name() = 'related']" mode="update_xml_pres"/>
|
12667
|
+
<!-- <xsl:template match="*[local-name() = 'definition'][following-sibling::*[1][local-name() = 'fmt-definition']]" mode="update_xml_step1"/> -->
|
12668
|
+
<xsl:template match="*[local-name() = 'definition']" mode="update_xml_step1"/>
|
12669
|
+
<!-- <xsl:template match="*[local-name() = 'definition'][following-sibling::*[1][local-name() = 'fmt-definition']]" mode="update_xml_pres"/> -->
|
12670
|
+
<xsl:template match="*[local-name() = 'definition']" mode="update_xml_pres"/>
|
12671
|
+
<!-- <xsl:template match="*[local-name() = 'termsource'][following-sibling::*[1][local-name() = 'fmt-termsource']]" mode="update_xml_step1"/> -->
|
12672
|
+
<xsl:template match="*[local-name() = 'termsource']" mode="update_xml_step1"/>
|
12673
|
+
<!-- <xsl:template match="*[local-name() = 'termsource'][following-sibling::*[1][local-name() = 'fmt-termsource']]" mode="update_xml_pres"/> -->
|
12674
|
+
<xsl:template match="*[local-name() = 'termsource']" mode="update_xml_pres"/>
|
12675
|
+
|
12676
|
+
<xsl:template match="*[local-name() = 'term'][@unnumbered = 'true'][not(.//*[starts-with(local-name(), 'fmt-')])]" mode="update_xml_step1"/>
|
12677
|
+
<xsl:template match="*[local-name() = 'term'][@unnumbered = 'true'][not(.//*[starts-with(local-name(), 'fmt-')])]" mode="update_xml_pres"/>
|
12621
12678
|
|
12622
12679
|
<xsl:template match="*[local-name() = 'p'][@type = 'section-title' or @type = 'floating-title'][preceding-sibling::*[1][local-name() = 'section-title']]" mode="update_xml_step1">
|
12623
12680
|
<xsl:copy>
|
@@ -12650,13 +12707,115 @@
|
|
12650
12707
|
|
12651
12708
|
<xsl:template match="*[local-name() = 'fmt-name']"/>
|
12652
12709
|
<xsl:template match="*[local-name() = 'fmt-name']" mode="update_xml_step1">
|
12653
|
-
<xsl:
|
12710
|
+
<xsl:choose>
|
12711
|
+
<xsl:when test="local-name(..) = 'p' and ancestor::*[local-name() = 'table']">
|
12712
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
12713
|
+
</xsl:when>
|
12714
|
+
<xsl:otherwise>
|
12715
|
+
<xsl:element name="name" namespace="{$namespace_full}">
|
12716
|
+
<xsl:copy-of select="@*"/>
|
12717
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
12718
|
+
</xsl:element>
|
12719
|
+
</xsl:otherwise>
|
12720
|
+
</xsl:choose>
|
12721
|
+
</xsl:template>
|
12722
|
+
<xsl:template match="*[local-name() = 'fmt-name']" mode="update_xml_pres">
|
12723
|
+
<xsl:choose>
|
12724
|
+
<xsl:when test="local-name(..) = 'p' and ancestor::*[local-name() = 'table']">
|
12725
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
12726
|
+
</xsl:when>
|
12727
|
+
<xsl:otherwise>
|
12728
|
+
<xsl:element name="name" namespace="{$namespace_full}">
|
12729
|
+
<xsl:copy-of select="@*"/>
|
12730
|
+
<xsl:apply-templates mode="update_xml_pres"/>
|
12731
|
+
</xsl:element>
|
12732
|
+
</xsl:otherwise>
|
12733
|
+
</xsl:choose>
|
12734
|
+
</xsl:template>
|
12735
|
+
|
12736
|
+
<xsl:template match="*[local-name() = 'fmt-preferred']"/>
|
12737
|
+
<xsl:template match="*[local-name() = 'fmt-preferred'][*[local-name() = 'p']]" mode="update_xml_step1">
|
12738
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
12739
|
+
</xsl:template>
|
12740
|
+
<xsl:template match="*[local-name() = 'fmt-preferred'][not(*[local-name() = 'p'])] | *[local-name() = 'fmt-preferred']/*[local-name() = 'p']" mode="update_xml_step1">
|
12741
|
+
<xsl:element name="preferred" namespace="{$namespace_full}">
|
12654
12742
|
<xsl:copy-of select="@*"/>
|
12655
12743
|
<xsl:apply-templates mode="update_xml_step1"/>
|
12656
12744
|
</xsl:element>
|
12657
12745
|
</xsl:template>
|
12658
|
-
<xsl:template match="*[local-name() = 'fmt-name']" mode="update_xml_pres">
|
12659
|
-
<xsl:
|
12746
|
+
<xsl:template match="*[local-name() = 'fmt-preferred'][*[local-name() = 'p']]" mode="update_xml_pres">
|
12747
|
+
<xsl:apply-templates mode="update_xml_pres"/>
|
12748
|
+
</xsl:template>
|
12749
|
+
<xsl:template match="*[local-name() = 'fmt-preferred'][not(*[local-name() = 'p'])] | *[local-name() = 'fmt-preferred']/*[local-name() = 'p']" mode="update_xml_pres">
|
12750
|
+
<xsl:element name="preferred" namespace="{$namespace_full}">
|
12751
|
+
<xsl:copy-of select="@*"/>
|
12752
|
+
<xsl:apply-templates mode="update_xml_pres"/>
|
12753
|
+
</xsl:element>
|
12754
|
+
</xsl:template>
|
12755
|
+
|
12756
|
+
<xsl:template match="*[local-name() = 'fmt-admitted']"/>
|
12757
|
+
<xsl:template match="*[local-name() = 'fmt-admitted'][*[local-name() = 'p']]" mode="update_xml_step1">
|
12758
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
12759
|
+
</xsl:template>
|
12760
|
+
<xsl:template match="*[local-name() = 'fmt-admitted'][not(*[local-name() = 'p'])] | *[local-name() = 'fmt-admitted']/*[local-name() = 'p']" mode="update_xml_step1">
|
12761
|
+
<xsl:element name="admitted" namespace="{$namespace_full}">
|
12762
|
+
<xsl:copy-of select="@*"/>
|
12763
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
12764
|
+
</xsl:element>
|
12765
|
+
</xsl:template>
|
12766
|
+
<xsl:template match="*[local-name() = 'fmt-admitted'][*[local-name() = 'p']]" mode="update_xml_pres">
|
12767
|
+
<xsl:apply-templates mode="update_xml_pres"/>
|
12768
|
+
</xsl:template>
|
12769
|
+
<xsl:template match="*[local-name() = 'fmt-admitted'][not(*[local-name() = 'p'])] | *[local-name() = 'fmt-admitted']/*[local-name() = 'p']" mode="update_xml_pres">
|
12770
|
+
<xsl:element name="admitted" namespace="{$namespace_full}">
|
12771
|
+
<xsl:copy-of select="@*"/>
|
12772
|
+
<xsl:apply-templates mode="update_xml_pres"/>
|
12773
|
+
</xsl:element>
|
12774
|
+
</xsl:template>
|
12775
|
+
|
12776
|
+
<xsl:template match="*[local-name() = 'fmt-deprecates']"/>
|
12777
|
+
<xsl:template match="*[local-name() = 'fmt-deprecates'][*[local-name() = 'p']]" mode="update_xml_step1">
|
12778
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
12779
|
+
</xsl:template>
|
12780
|
+
<xsl:template match="*[local-name() = 'fmt-deprecates'][not(*[local-name() = 'p'])] | *[local-name() = 'fmt-deprecates']/*[local-name() = 'p']" mode="update_xml_step1">
|
12781
|
+
<xsl:element name="deprecates" namespace="{$namespace_full}">
|
12782
|
+
<xsl:copy-of select="@*"/>
|
12783
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
12784
|
+
</xsl:element>
|
12785
|
+
</xsl:template>
|
12786
|
+
<xsl:template match="*[local-name() = 'fmt-deprecates'][*[local-name() = 'p']]" mode="update_xml_pres">
|
12787
|
+
<xsl:apply-templates mode="update_xml_pres"/>
|
12788
|
+
</xsl:template>
|
12789
|
+
<xsl:template match="*[local-name() = 'fmt-deprecates'][not(*[local-name() = 'p'])] | *[local-name() = 'fmt-deprecates']/*[local-name() = 'p']" mode="update_xml_pres">
|
12790
|
+
<xsl:element name="deprecates" namespace="{$namespace_full}">
|
12791
|
+
<xsl:copy-of select="@*"/>
|
12792
|
+
<xsl:apply-templates mode="update_xml_pres"/>
|
12793
|
+
</xsl:element>
|
12794
|
+
</xsl:template>
|
12795
|
+
|
12796
|
+
<xsl:template match="*[local-name() = 'fmt-definition']"/>
|
12797
|
+
<xsl:template match="*[local-name() = 'fmt-definition']" mode="update_xml_step1">
|
12798
|
+
<xsl:element name="definition" namespace="{$namespace_full}">
|
12799
|
+
<xsl:copy-of select="@*"/>
|
12800
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
12801
|
+
</xsl:element>
|
12802
|
+
</xsl:template>
|
12803
|
+
<xsl:template match="*[local-name() = 'fmt-definition']" mode="update_xml_pres">
|
12804
|
+
<xsl:element name="definition" namespace="{$namespace_full}">
|
12805
|
+
<xsl:copy-of select="@*"/>
|
12806
|
+
<xsl:apply-templates mode="update_xml_pres"/>
|
12807
|
+
</xsl:element>
|
12808
|
+
</xsl:template>
|
12809
|
+
|
12810
|
+
<xsl:template match="*[local-name() = 'fmt-termsource']"/>
|
12811
|
+
<xsl:template match="*[local-name() = 'fmt-termsource']" mode="update_xml_step1">
|
12812
|
+
<xsl:element name="termsource" namespace="{$namespace_full}">
|
12813
|
+
<xsl:copy-of select="@*"/>
|
12814
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
12815
|
+
</xsl:element>
|
12816
|
+
</xsl:template>
|
12817
|
+
<xsl:template match="*[local-name() = 'fmt-termsource']" mode="update_xml_pres">
|
12818
|
+
<xsl:element name="termsource" namespace="{$namespace_full}">
|
12660
12819
|
<xsl:copy-of select="@*"/>
|
12661
12820
|
<xsl:apply-templates mode="update_xml_pres"/>
|
12662
12821
|
</xsl:element>
|
@@ -12669,6 +12828,9 @@
|
|
12669
12828
|
<xsl:apply-templates mode="update_xml_pres"/>
|
12670
12829
|
</xsl:template>
|
12671
12830
|
|
12831
|
+
<xsl:template match="*[local-name() = 'semx']">
|
12832
|
+
<xsl:apply-templates/>
|
12833
|
+
</xsl:template>
|
12672
12834
|
<xsl:template match="*[local-name() = 'semx']" mode="update_xml_step1">
|
12673
12835
|
<xsl:apply-templates mode="update_xml_step1"/>
|
12674
12836
|
</xsl:template>
|
@@ -13793,7 +13955,7 @@
|
|
13793
13955
|
</xsl:template>
|
13794
13956
|
|
13795
13957
|
<xsl:template name="namespaceCheck">
|
13796
|
-
<xsl:variable name="documentNS" select="namespace-uri(/*)
|
13958
|
+
<xsl:variable name="documentNS" select="$namespace_full"/> <!-- namespace-uri(/*) -->
|
13797
13959
|
<xsl:variable name="XSLNS">
|
13798
13960
|
|
13799
13961
|
<xsl:value-of select="document('')//*/namespace::ribose"/>
|
@@ -13883,6 +14045,9 @@
|
|
13883
14045
|
<xsl:when test="$formatted = 'true' and string-length($bibdata_updated) != ''">
|
13884
14046
|
<xsl:apply-templates select="xalan:nodeset($bibdata_updated)//*[local-name() = 'localized-string'][@key = $key and @language = $curr_lang]"/>
|
13885
14047
|
</xsl:when>
|
14048
|
+
<xsl:when test="string-length($bibdata_updated) != ''">
|
14049
|
+
<xsl:value-of select="xalan:nodeset($bibdata_updated)//*[local-name() = 'localized-string'][@key = $key and @language = $curr_lang]"/>
|
14050
|
+
</xsl:when>
|
13886
14051
|
<xsl:when test="$formatted = 'true'">
|
13887
14052
|
<xsl:apply-templates select="xalan:nodeset($bibdata)//*[local-name() = 'localized-string'][@key = $key and @language = $curr_lang]"/>
|
13888
14053
|
</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-ribose
|
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
|