metanorma-ogc 2.1.4 → 2.1.5

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: 0e1117994e478a12158b3ddbf55c3af2aa86df8360d8be49084662ce4a465010
4
- data.tar.gz: 33d406de6afd06ac7ebae98e1b639d368089fed3c8807545230b2a0ac4b03c2f
3
+ metadata.gz: 71a1cd2a723ea92695339c8728fa8a2189fa2e94da9cbf4b81949183606c4ae8
4
+ data.tar.gz: 221003863ce8517829db0565ee817f3ff691176f351e63e4d95dd468f18e01bc
5
5
  SHA512:
6
- metadata.gz: 381a684e84c4a1ffe2ae84a02b0f2a1560d273267a9c536f3647ec67023ff6ca8510587fa1e5dd1cce03355c013071295f2b943dde7c0386d413e0ce332af23c
7
- data.tar.gz: 5ac167941e35a6db5cc39321df69b06a21cffceb0fc2a156064a6ed03ca3745e33d304723aef41c7e6859698499883dc55e598bc2573dba8b0220539b29d1237
6
+ metadata.gz: 465bdf68553c75f2804f0e41217765d33af1516df727fb2251dc2601fe79f0a5b3b0a6af196865ac5611baae117cf33d5b384780dfeef76c09685cd8f354bc01
7
+ data.tar.gz: 70d615c0085894c22c40d3de510bf5d3a18b18da9d5fd9306111d877de73f29bf4c50a74e0bd3b6974eb98a83399fe0acdc9b2559ade389995283adf02f4d682
@@ -2847,10 +2847,12 @@
2847
2847
  </xsl:attribute-set><xsl:attribute-set name="bibitem-normative-list-body-style">
2848
2848
 
2849
2849
 
2850
+
2850
2851
  </xsl:attribute-set><xsl:attribute-set name="bibitem-non-normative-list-body-style">
2851
2852
 
2852
2853
 
2853
2854
 
2855
+
2854
2856
  </xsl:attribute-set><xsl:attribute-set name="bibitem-note-fn-style">
2855
2857
  <xsl:attribute name="keep-with-previous.within-line">always</xsl:attribute>
2856
2858
  <xsl:attribute name="font-size">65%</xsl:attribute>
@@ -3499,6 +3501,14 @@
3499
3501
 
3500
3502
 
3501
3503
 
3504
+ <xsl:if test="*[local-name()='bookmark']"> <!-- special case: table/bookmark -->
3505
+ <fo:block keep-with-previous="always" line-height="0.1">
3506
+ <xsl:for-each select="*[local-name()='bookmark']">
3507
+ <xsl:call-template name="bookmark"/>
3508
+ </xsl:for-each>
3509
+ </fo:block>
3510
+ </xsl:if>
3511
+
3502
3512
  </fo:block-container>
3503
3513
  </xsl:variable>
3504
3514
 
@@ -7321,7 +7331,7 @@
7321
7331
 
7322
7332
 
7323
7333
  <!-- <xsl:if test="$namespace = 'ieee'">
7324
- <xsl:if test="$doctype = 'standard' and $stage = 'published'">8</xsl:if>
7334
+ <xsl:if test="$current_template = 'standard'">8</xsl:if>
7325
7335
  </xsl:if> -->
7326
7336
 
7327
7337
 
@@ -8669,7 +8679,7 @@
8669
8679
  </xsl:template><xsl:template match="*[local-name() = 'indexsect']//*[local-name() = 'li']/text()">
8670
8680
  <!-- to split by '_' and other chars -->
8671
8681
  <xsl:call-template name="add-zero-spaces-java"/>
8672
- </xsl:template><xsl:template match="*[local-name() = 'bookmark']" name="bookmark">
8682
+ </xsl:template><xsl:template match="*[local-name() = 'table']/*[local-name() = 'bookmark']" priority="2"/><xsl:template match="*[local-name() = 'bookmark']" name="bookmark">
8673
8683
  <!-- <fo:inline id="{@id}" font-size="1pt"/> -->
8674
8684
  <fo:inline id="{@id}" font-size="1pt"><xsl:value-of select="$hair_space"/></fo:inline>
8675
8685
  <!-- we need to add zero-width space, otherwise this fo:inline is missing in IF xml -->
@@ -2847,10 +2847,12 @@
2847
2847
  </xsl:attribute-set><xsl:attribute-set name="bibitem-normative-list-body-style">
2848
2848
 
2849
2849
 
2850
+
2850
2851
  </xsl:attribute-set><xsl:attribute-set name="bibitem-non-normative-list-body-style">
2851
2852
 
2852
2853
 
2853
2854
 
2855
+
2854
2856
  </xsl:attribute-set><xsl:attribute-set name="bibitem-note-fn-style">
2855
2857
  <xsl:attribute name="keep-with-previous.within-line">always</xsl:attribute>
2856
2858
  <xsl:attribute name="font-size">65%</xsl:attribute>
@@ -3499,6 +3501,14 @@
3499
3501
 
3500
3502
 
3501
3503
 
3504
+ <xsl:if test="*[local-name()='bookmark']"> <!-- special case: table/bookmark -->
3505
+ <fo:block keep-with-previous="always" line-height="0.1">
3506
+ <xsl:for-each select="*[local-name()='bookmark']">
3507
+ <xsl:call-template name="bookmark"/>
3508
+ </xsl:for-each>
3509
+ </fo:block>
3510
+ </xsl:if>
3511
+
3502
3512
  </fo:block-container>
3503
3513
  </xsl:variable>
3504
3514
 
@@ -7321,7 +7331,7 @@
7321
7331
 
7322
7332
 
7323
7333
  <!-- <xsl:if test="$namespace = 'ieee'">
7324
- <xsl:if test="$doctype = 'standard' and $stage = 'published'">8</xsl:if>
7334
+ <xsl:if test="$current_template = 'standard'">8</xsl:if>
7325
7335
  </xsl:if> -->
7326
7336
 
7327
7337
 
@@ -8669,7 +8679,7 @@
8669
8679
  </xsl:template><xsl:template match="*[local-name() = 'indexsect']//*[local-name() = 'li']/text()">
8670
8680
  <!-- to split by '_' and other chars -->
8671
8681
  <xsl:call-template name="add-zero-spaces-java"/>
8672
- </xsl:template><xsl:template match="*[local-name() = 'bookmark']" name="bookmark">
8682
+ </xsl:template><xsl:template match="*[local-name() = 'table']/*[local-name() = 'bookmark']" priority="2"/><xsl:template match="*[local-name() = 'bookmark']" name="bookmark">
8673
8683
  <!-- <fo:inline id="{@id}" font-size="1pt"/> -->
8674
8684
  <fo:inline id="{@id}" font-size="1pt"><xsl:value-of select="$hair_space"/></fo:inline>
8675
8685
  <!-- we need to add zero-width space, otherwise this fo:inline is missing in IF xml -->
@@ -2847,10 +2847,12 @@
2847
2847
  </xsl:attribute-set><xsl:attribute-set name="bibitem-normative-list-body-style">
2848
2848
 
2849
2849
 
2850
+
2850
2851
  </xsl:attribute-set><xsl:attribute-set name="bibitem-non-normative-list-body-style">
2851
2852
 
2852
2853
 
2853
2854
 
2855
+
2854
2856
  </xsl:attribute-set><xsl:attribute-set name="bibitem-note-fn-style">
2855
2857
  <xsl:attribute name="keep-with-previous.within-line">always</xsl:attribute>
2856
2858
  <xsl:attribute name="font-size">65%</xsl:attribute>
@@ -3499,6 +3501,14 @@
3499
3501
 
3500
3502
 
3501
3503
 
3504
+ <xsl:if test="*[local-name()='bookmark']"> <!-- special case: table/bookmark -->
3505
+ <fo:block keep-with-previous="always" line-height="0.1">
3506
+ <xsl:for-each select="*[local-name()='bookmark']">
3507
+ <xsl:call-template name="bookmark"/>
3508
+ </xsl:for-each>
3509
+ </fo:block>
3510
+ </xsl:if>
3511
+
3502
3512
  </fo:block-container>
3503
3513
  </xsl:variable>
3504
3514
 
@@ -7321,7 +7331,7 @@
7321
7331
 
7322
7332
 
7323
7333
  <!-- <xsl:if test="$namespace = 'ieee'">
7324
- <xsl:if test="$doctype = 'standard' and $stage = 'published'">8</xsl:if>
7334
+ <xsl:if test="$current_template = 'standard'">8</xsl:if>
7325
7335
  </xsl:if> -->
7326
7336
 
7327
7337
 
@@ -8669,7 +8679,7 @@
8669
8679
  </xsl:template><xsl:template match="*[local-name() = 'indexsect']//*[local-name() = 'li']/text()">
8670
8680
  <!-- to split by '_' and other chars -->
8671
8681
  <xsl:call-template name="add-zero-spaces-java"/>
8672
- </xsl:template><xsl:template match="*[local-name() = 'bookmark']" name="bookmark">
8682
+ </xsl:template><xsl:template match="*[local-name() = 'table']/*[local-name() = 'bookmark']" priority="2"/><xsl:template match="*[local-name() = 'bookmark']" name="bookmark">
8673
8683
  <!-- <fo:inline id="{@id}" font-size="1pt"/> -->
8674
8684
  <fo:inline id="{@id}" font-size="1pt"><xsl:value-of select="$hair_space"/></fo:inline>
8675
8685
  <!-- we need to add zero-width space, otherwise this fo:inline is missing in IF xml -->
@@ -2847,10 +2847,12 @@
2847
2847
  </xsl:attribute-set><xsl:attribute-set name="bibitem-normative-list-body-style">
2848
2848
 
2849
2849
 
2850
+
2850
2851
  </xsl:attribute-set><xsl:attribute-set name="bibitem-non-normative-list-body-style">
2851
2852
 
2852
2853
 
2853
2854
 
2855
+
2854
2856
  </xsl:attribute-set><xsl:attribute-set name="bibitem-note-fn-style">
2855
2857
  <xsl:attribute name="keep-with-previous.within-line">always</xsl:attribute>
2856
2858
  <xsl:attribute name="font-size">65%</xsl:attribute>
@@ -3499,6 +3501,14 @@
3499
3501
 
3500
3502
 
3501
3503
 
3504
+ <xsl:if test="*[local-name()='bookmark']"> <!-- special case: table/bookmark -->
3505
+ <fo:block keep-with-previous="always" line-height="0.1">
3506
+ <xsl:for-each select="*[local-name()='bookmark']">
3507
+ <xsl:call-template name="bookmark"/>
3508
+ </xsl:for-each>
3509
+ </fo:block>
3510
+ </xsl:if>
3511
+
3502
3512
  </fo:block-container>
3503
3513
  </xsl:variable>
3504
3514
 
@@ -7321,7 +7331,7 @@
7321
7331
 
7322
7332
 
7323
7333
  <!-- <xsl:if test="$namespace = 'ieee'">
7324
- <xsl:if test="$doctype = 'standard' and $stage = 'published'">8</xsl:if>
7334
+ <xsl:if test="$current_template = 'standard'">8</xsl:if>
7325
7335
  </xsl:if> -->
7326
7336
 
7327
7337
 
@@ -8669,7 +8679,7 @@
8669
8679
  </xsl:template><xsl:template match="*[local-name() = 'indexsect']//*[local-name() = 'li']/text()">
8670
8680
  <!-- to split by '_' and other chars -->
8671
8681
  <xsl:call-template name="add-zero-spaces-java"/>
8672
- </xsl:template><xsl:template match="*[local-name() = 'bookmark']" name="bookmark">
8682
+ </xsl:template><xsl:template match="*[local-name() = 'table']/*[local-name() = 'bookmark']" priority="2"/><xsl:template match="*[local-name() = 'bookmark']" name="bookmark">
8673
8683
  <!-- <fo:inline id="{@id}" font-size="1pt"/> -->
8674
8684
  <fo:inline id="{@id}" font-size="1pt"><xsl:value-of select="$hair_space"/></fo:inline>
8675
8685
  <!-- we need to add zero-width space, otherwise this fo:inline is missing in IF xml -->
@@ -2847,10 +2847,12 @@
2847
2847
  </xsl:attribute-set><xsl:attribute-set name="bibitem-normative-list-body-style">
2848
2848
 
2849
2849
 
2850
+
2850
2851
  </xsl:attribute-set><xsl:attribute-set name="bibitem-non-normative-list-body-style">
2851
2852
 
2852
2853
 
2853
2854
 
2855
+
2854
2856
  </xsl:attribute-set><xsl:attribute-set name="bibitem-note-fn-style">
2855
2857
  <xsl:attribute name="keep-with-previous.within-line">always</xsl:attribute>
2856
2858
  <xsl:attribute name="font-size">65%</xsl:attribute>
@@ -3499,6 +3501,14 @@
3499
3501
 
3500
3502
 
3501
3503
 
3504
+ <xsl:if test="*[local-name()='bookmark']"> <!-- special case: table/bookmark -->
3505
+ <fo:block keep-with-previous="always" line-height="0.1">
3506
+ <xsl:for-each select="*[local-name()='bookmark']">
3507
+ <xsl:call-template name="bookmark"/>
3508
+ </xsl:for-each>
3509
+ </fo:block>
3510
+ </xsl:if>
3511
+
3502
3512
  </fo:block-container>
3503
3513
  </xsl:variable>
3504
3514
 
@@ -7321,7 +7331,7 @@
7321
7331
 
7322
7332
 
7323
7333
  <!-- <xsl:if test="$namespace = 'ieee'">
7324
- <xsl:if test="$doctype = 'standard' and $stage = 'published'">8</xsl:if>
7334
+ <xsl:if test="$current_template = 'standard'">8</xsl:if>
7325
7335
  </xsl:if> -->
7326
7336
 
7327
7337
 
@@ -8669,7 +8679,7 @@
8669
8679
  </xsl:template><xsl:template match="*[local-name() = 'indexsect']//*[local-name() = 'li']/text()">
8670
8680
  <!-- to split by '_' and other chars -->
8671
8681
  <xsl:call-template name="add-zero-spaces-java"/>
8672
- </xsl:template><xsl:template match="*[local-name() = 'bookmark']" name="bookmark">
8682
+ </xsl:template><xsl:template match="*[local-name() = 'table']/*[local-name() = 'bookmark']" priority="2"/><xsl:template match="*[local-name() = 'bookmark']" name="bookmark">
8673
8683
  <!-- <fo:inline id="{@id}" font-size="1pt"/> -->
8674
8684
  <fo:inline id="{@id}" font-size="1pt"><xsl:value-of select="$hair_space"/></fo:inline>
8675
8685
  <!-- we need to add zero-width space, otherwise this fo:inline is missing in IF xml -->
@@ -2847,10 +2847,12 @@
2847
2847
  </xsl:attribute-set><xsl:attribute-set name="bibitem-normative-list-body-style">
2848
2848
 
2849
2849
 
2850
+
2850
2851
  </xsl:attribute-set><xsl:attribute-set name="bibitem-non-normative-list-body-style">
2851
2852
 
2852
2853
 
2853
2854
 
2855
+
2854
2856
  </xsl:attribute-set><xsl:attribute-set name="bibitem-note-fn-style">
2855
2857
  <xsl:attribute name="keep-with-previous.within-line">always</xsl:attribute>
2856
2858
  <xsl:attribute name="font-size">65%</xsl:attribute>
@@ -3499,6 +3501,14 @@
3499
3501
 
3500
3502
 
3501
3503
 
3504
+ <xsl:if test="*[local-name()='bookmark']"> <!-- special case: table/bookmark -->
3505
+ <fo:block keep-with-previous="always" line-height="0.1">
3506
+ <xsl:for-each select="*[local-name()='bookmark']">
3507
+ <xsl:call-template name="bookmark"/>
3508
+ </xsl:for-each>
3509
+ </fo:block>
3510
+ </xsl:if>
3511
+
3502
3512
  </fo:block-container>
3503
3513
  </xsl:variable>
3504
3514
 
@@ -7321,7 +7331,7 @@
7321
7331
 
7322
7332
 
7323
7333
  <!-- <xsl:if test="$namespace = 'ieee'">
7324
- <xsl:if test="$doctype = 'standard' and $stage = 'published'">8</xsl:if>
7334
+ <xsl:if test="$current_template = 'standard'">8</xsl:if>
7325
7335
  </xsl:if> -->
7326
7336
 
7327
7337
 
@@ -8669,7 +8679,7 @@
8669
8679
  </xsl:template><xsl:template match="*[local-name() = 'indexsect']//*[local-name() = 'li']/text()">
8670
8680
  <!-- to split by '_' and other chars -->
8671
8681
  <xsl:call-template name="add-zero-spaces-java"/>
8672
- </xsl:template><xsl:template match="*[local-name() = 'bookmark']" name="bookmark">
8682
+ </xsl:template><xsl:template match="*[local-name() = 'table']/*[local-name() = 'bookmark']" priority="2"/><xsl:template match="*[local-name() = 'bookmark']" name="bookmark">
8673
8683
  <!-- <fo:inline id="{@id}" font-size="1pt"/> -->
8674
8684
  <fo:inline id="{@id}" font-size="1pt"><xsl:value-of select="$hair_space"/></fo:inline>
8675
8685
  <!-- we need to add zero-width space, otherwise this fo:inline is missing in IF xml -->
@@ -2847,10 +2847,12 @@
2847
2847
  </xsl:attribute-set><xsl:attribute-set name="bibitem-normative-list-body-style">
2848
2848
 
2849
2849
 
2850
+
2850
2851
  </xsl:attribute-set><xsl:attribute-set name="bibitem-non-normative-list-body-style">
2851
2852
 
2852
2853
 
2853
2854
 
2855
+
2854
2856
  </xsl:attribute-set><xsl:attribute-set name="bibitem-note-fn-style">
2855
2857
  <xsl:attribute name="keep-with-previous.within-line">always</xsl:attribute>
2856
2858
  <xsl:attribute name="font-size">65%</xsl:attribute>
@@ -3499,6 +3501,14 @@
3499
3501
 
3500
3502
 
3501
3503
 
3504
+ <xsl:if test="*[local-name()='bookmark']"> <!-- special case: table/bookmark -->
3505
+ <fo:block keep-with-previous="always" line-height="0.1">
3506
+ <xsl:for-each select="*[local-name()='bookmark']">
3507
+ <xsl:call-template name="bookmark"/>
3508
+ </xsl:for-each>
3509
+ </fo:block>
3510
+ </xsl:if>
3511
+
3502
3512
  </fo:block-container>
3503
3513
  </xsl:variable>
3504
3514
 
@@ -7321,7 +7331,7 @@
7321
7331
 
7322
7332
 
7323
7333
  <!-- <xsl:if test="$namespace = 'ieee'">
7324
- <xsl:if test="$doctype = 'standard' and $stage = 'published'">8</xsl:if>
7334
+ <xsl:if test="$current_template = 'standard'">8</xsl:if>
7325
7335
  </xsl:if> -->
7326
7336
 
7327
7337
 
@@ -8669,7 +8679,7 @@
8669
8679
  </xsl:template><xsl:template match="*[local-name() = 'indexsect']//*[local-name() = 'li']/text()">
8670
8680
  <!-- to split by '_' and other chars -->
8671
8681
  <xsl:call-template name="add-zero-spaces-java"/>
8672
- </xsl:template><xsl:template match="*[local-name() = 'bookmark']" name="bookmark">
8682
+ </xsl:template><xsl:template match="*[local-name() = 'table']/*[local-name() = 'bookmark']" priority="2"/><xsl:template match="*[local-name() = 'bookmark']" name="bookmark">
8673
8683
  <!-- <fo:inline id="{@id}" font-size="1pt"/> -->
8674
8684
  <fo:inline id="{@id}" font-size="1pt"><xsl:value-of select="$hair_space"/></fo:inline>
8675
8685
  <!-- we need to add zero-width space, otherwise this fo:inline is missing in IF xml -->
@@ -2847,10 +2847,12 @@
2847
2847
  </xsl:attribute-set><xsl:attribute-set name="bibitem-normative-list-body-style">
2848
2848
 
2849
2849
 
2850
+
2850
2851
  </xsl:attribute-set><xsl:attribute-set name="bibitem-non-normative-list-body-style">
2851
2852
 
2852
2853
 
2853
2854
 
2855
+
2854
2856
  </xsl:attribute-set><xsl:attribute-set name="bibitem-note-fn-style">
2855
2857
  <xsl:attribute name="keep-with-previous.within-line">always</xsl:attribute>
2856
2858
  <xsl:attribute name="font-size">65%</xsl:attribute>
@@ -3499,6 +3501,14 @@
3499
3501
 
3500
3502
 
3501
3503
 
3504
+ <xsl:if test="*[local-name()='bookmark']"> <!-- special case: table/bookmark -->
3505
+ <fo:block keep-with-previous="always" line-height="0.1">
3506
+ <xsl:for-each select="*[local-name()='bookmark']">
3507
+ <xsl:call-template name="bookmark"/>
3508
+ </xsl:for-each>
3509
+ </fo:block>
3510
+ </xsl:if>
3511
+
3502
3512
  </fo:block-container>
3503
3513
  </xsl:variable>
3504
3514
 
@@ -7321,7 +7331,7 @@
7321
7331
 
7322
7332
 
7323
7333
  <!-- <xsl:if test="$namespace = 'ieee'">
7324
- <xsl:if test="$doctype = 'standard' and $stage = 'published'">8</xsl:if>
7334
+ <xsl:if test="$current_template = 'standard'">8</xsl:if>
7325
7335
  </xsl:if> -->
7326
7336
 
7327
7337
 
@@ -8669,7 +8679,7 @@
8669
8679
  </xsl:template><xsl:template match="*[local-name() = 'indexsect']//*[local-name() = 'li']/text()">
8670
8680
  <!-- to split by '_' and other chars -->
8671
8681
  <xsl:call-template name="add-zero-spaces-java"/>
8672
- </xsl:template><xsl:template match="*[local-name() = 'bookmark']" name="bookmark">
8682
+ </xsl:template><xsl:template match="*[local-name() = 'table']/*[local-name() = 'bookmark']" priority="2"/><xsl:template match="*[local-name() = 'bookmark']" name="bookmark">
8673
8683
  <!-- <fo:inline id="{@id}" font-size="1pt"/> -->
8674
8684
  <fo:inline id="{@id}" font-size="1pt"><xsl:value-of select="$hair_space"/></fo:inline>
8675
8685
  <!-- we need to add zero-width space, otherwise this fo:inline is missing in IF xml -->
@@ -2847,10 +2847,12 @@
2847
2847
  </xsl:attribute-set><xsl:attribute-set name="bibitem-normative-list-body-style">
2848
2848
 
2849
2849
 
2850
+
2850
2851
  </xsl:attribute-set><xsl:attribute-set name="bibitem-non-normative-list-body-style">
2851
2852
 
2852
2853
 
2853
2854
 
2855
+
2854
2856
  </xsl:attribute-set><xsl:attribute-set name="bibitem-note-fn-style">
2855
2857
  <xsl:attribute name="keep-with-previous.within-line">always</xsl:attribute>
2856
2858
  <xsl:attribute name="font-size">65%</xsl:attribute>
@@ -3499,6 +3501,14 @@
3499
3501
 
3500
3502
 
3501
3503
 
3504
+ <xsl:if test="*[local-name()='bookmark']"> <!-- special case: table/bookmark -->
3505
+ <fo:block keep-with-previous="always" line-height="0.1">
3506
+ <xsl:for-each select="*[local-name()='bookmark']">
3507
+ <xsl:call-template name="bookmark"/>
3508
+ </xsl:for-each>
3509
+ </fo:block>
3510
+ </xsl:if>
3511
+
3502
3512
  </fo:block-container>
3503
3513
  </xsl:variable>
3504
3514
 
@@ -7321,7 +7331,7 @@
7321
7331
 
7322
7332
 
7323
7333
  <!-- <xsl:if test="$namespace = 'ieee'">
7324
- <xsl:if test="$doctype = 'standard' and $stage = 'published'">8</xsl:if>
7334
+ <xsl:if test="$current_template = 'standard'">8</xsl:if>
7325
7335
  </xsl:if> -->
7326
7336
 
7327
7337
 
@@ -8669,7 +8679,7 @@
8669
8679
  </xsl:template><xsl:template match="*[local-name() = 'indexsect']//*[local-name() = 'li']/text()">
8670
8680
  <!-- to split by '_' and other chars -->
8671
8681
  <xsl:call-template name="add-zero-spaces-java"/>
8672
- </xsl:template><xsl:template match="*[local-name() = 'bookmark']" name="bookmark">
8682
+ </xsl:template><xsl:template match="*[local-name() = 'table']/*[local-name() = 'bookmark']" priority="2"/><xsl:template match="*[local-name() = 'bookmark']" name="bookmark">
8673
8683
  <!-- <fo:inline id="{@id}" font-size="1pt"/> -->
8674
8684
  <fo:inline id="{@id}" font-size="1pt"><xsl:value-of select="$hair_space"/></fo:inline>
8675
8685
  <!-- we need to add zero-width space, otherwise this fo:inline is missing in IF xml -->
@@ -2847,10 +2847,12 @@
2847
2847
  </xsl:attribute-set><xsl:attribute-set name="bibitem-normative-list-body-style">
2848
2848
 
2849
2849
 
2850
+
2850
2851
  </xsl:attribute-set><xsl:attribute-set name="bibitem-non-normative-list-body-style">
2851
2852
 
2852
2853
 
2853
2854
 
2855
+
2854
2856
  </xsl:attribute-set><xsl:attribute-set name="bibitem-note-fn-style">
2855
2857
  <xsl:attribute name="keep-with-previous.within-line">always</xsl:attribute>
2856
2858
  <xsl:attribute name="font-size">65%</xsl:attribute>
@@ -3499,6 +3501,14 @@
3499
3501
 
3500
3502
 
3501
3503
 
3504
+ <xsl:if test="*[local-name()='bookmark']"> <!-- special case: table/bookmark -->
3505
+ <fo:block keep-with-previous="always" line-height="0.1">
3506
+ <xsl:for-each select="*[local-name()='bookmark']">
3507
+ <xsl:call-template name="bookmark"/>
3508
+ </xsl:for-each>
3509
+ </fo:block>
3510
+ </xsl:if>
3511
+
3502
3512
  </fo:block-container>
3503
3513
  </xsl:variable>
3504
3514
 
@@ -7321,7 +7331,7 @@
7321
7331
 
7322
7332
 
7323
7333
  <!-- <xsl:if test="$namespace = 'ieee'">
7324
- <xsl:if test="$doctype = 'standard' and $stage = 'published'">8</xsl:if>
7334
+ <xsl:if test="$current_template = 'standard'">8</xsl:if>
7325
7335
  </xsl:if> -->
7326
7336
 
7327
7337
 
@@ -8669,7 +8679,7 @@
8669
8679
  </xsl:template><xsl:template match="*[local-name() = 'indexsect']//*[local-name() = 'li']/text()">
8670
8680
  <!-- to split by '_' and other chars -->
8671
8681
  <xsl:call-template name="add-zero-spaces-java"/>
8672
- </xsl:template><xsl:template match="*[local-name() = 'bookmark']" name="bookmark">
8682
+ </xsl:template><xsl:template match="*[local-name() = 'table']/*[local-name() = 'bookmark']" priority="2"/><xsl:template match="*[local-name() = 'bookmark']" name="bookmark">
8673
8683
  <!-- <fo:inline id="{@id}" font-size="1pt"/> -->
8674
8684
  <fo:inline id="{@id}" font-size="1pt"><xsl:value-of select="$hair_space"/></fo:inline>
8675
8685
  <!-- we need to add zero-width space, otherwise this fo:inline is missing in IF xml -->
@@ -2847,10 +2847,12 @@
2847
2847
  </xsl:attribute-set><xsl:attribute-set name="bibitem-normative-list-body-style">
2848
2848
 
2849
2849
 
2850
+
2850
2851
  </xsl:attribute-set><xsl:attribute-set name="bibitem-non-normative-list-body-style">
2851
2852
 
2852
2853
 
2853
2854
 
2855
+
2854
2856
  </xsl:attribute-set><xsl:attribute-set name="bibitem-note-fn-style">
2855
2857
  <xsl:attribute name="keep-with-previous.within-line">always</xsl:attribute>
2856
2858
  <xsl:attribute name="font-size">65%</xsl:attribute>
@@ -3499,6 +3501,14 @@
3499
3501
 
3500
3502
 
3501
3503
 
3504
+ <xsl:if test="*[local-name()='bookmark']"> <!-- special case: table/bookmark -->
3505
+ <fo:block keep-with-previous="always" line-height="0.1">
3506
+ <xsl:for-each select="*[local-name()='bookmark']">
3507
+ <xsl:call-template name="bookmark"/>
3508
+ </xsl:for-each>
3509
+ </fo:block>
3510
+ </xsl:if>
3511
+
3502
3512
  </fo:block-container>
3503
3513
  </xsl:variable>
3504
3514
 
@@ -7321,7 +7331,7 @@
7321
7331
 
7322
7332
 
7323
7333
  <!-- <xsl:if test="$namespace = 'ieee'">
7324
- <xsl:if test="$doctype = 'standard' and $stage = 'published'">8</xsl:if>
7334
+ <xsl:if test="$current_template = 'standard'">8</xsl:if>
7325
7335
  </xsl:if> -->
7326
7336
 
7327
7337
 
@@ -8669,7 +8679,7 @@
8669
8679
  </xsl:template><xsl:template match="*[local-name() = 'indexsect']//*[local-name() = 'li']/text()">
8670
8680
  <!-- to split by '_' and other chars -->
8671
8681
  <xsl:call-template name="add-zero-spaces-java"/>
8672
- </xsl:template><xsl:template match="*[local-name() = 'bookmark']" name="bookmark">
8682
+ </xsl:template><xsl:template match="*[local-name() = 'table']/*[local-name() = 'bookmark']" priority="2"/><xsl:template match="*[local-name() = 'bookmark']" name="bookmark">
8673
8683
  <!-- <fo:inline id="{@id}" font-size="1pt"/> -->
8674
8684
  <fo:inline id="{@id}" font-size="1pt"><xsl:value-of select="$hair_space"/></fo:inline>
8675
8685
  <!-- we need to add zero-width space, otherwise this fo:inline is missing in IF xml -->
@@ -2847,10 +2847,12 @@
2847
2847
  </xsl:attribute-set><xsl:attribute-set name="bibitem-normative-list-body-style">
2848
2848
 
2849
2849
 
2850
+
2850
2851
  </xsl:attribute-set><xsl:attribute-set name="bibitem-non-normative-list-body-style">
2851
2852
 
2852
2853
 
2853
2854
 
2855
+
2854
2856
  </xsl:attribute-set><xsl:attribute-set name="bibitem-note-fn-style">
2855
2857
  <xsl:attribute name="keep-with-previous.within-line">always</xsl:attribute>
2856
2858
  <xsl:attribute name="font-size">65%</xsl:attribute>
@@ -3499,6 +3501,14 @@
3499
3501
 
3500
3502
 
3501
3503
 
3504
+ <xsl:if test="*[local-name()='bookmark']"> <!-- special case: table/bookmark -->
3505
+ <fo:block keep-with-previous="always" line-height="0.1">
3506
+ <xsl:for-each select="*[local-name()='bookmark']">
3507
+ <xsl:call-template name="bookmark"/>
3508
+ </xsl:for-each>
3509
+ </fo:block>
3510
+ </xsl:if>
3511
+
3502
3512
  </fo:block-container>
3503
3513
  </xsl:variable>
3504
3514
 
@@ -7321,7 +7331,7 @@
7321
7331
 
7322
7332
 
7323
7333
  <!-- <xsl:if test="$namespace = 'ieee'">
7324
- <xsl:if test="$doctype = 'standard' and $stage = 'published'">8</xsl:if>
7334
+ <xsl:if test="$current_template = 'standard'">8</xsl:if>
7325
7335
  </xsl:if> -->
7326
7336
 
7327
7337
 
@@ -8669,7 +8679,7 @@
8669
8679
  </xsl:template><xsl:template match="*[local-name() = 'indexsect']//*[local-name() = 'li']/text()">
8670
8680
  <!-- to split by '_' and other chars -->
8671
8681
  <xsl:call-template name="add-zero-spaces-java"/>
8672
- </xsl:template><xsl:template match="*[local-name() = 'bookmark']" name="bookmark">
8682
+ </xsl:template><xsl:template match="*[local-name() = 'table']/*[local-name() = 'bookmark']" priority="2"/><xsl:template match="*[local-name() = 'bookmark']" name="bookmark">
8673
8683
  <!-- <fo:inline id="{@id}" font-size="1pt"/> -->
8674
8684
  <fo:inline id="{@id}" font-size="1pt"><xsl:value-of select="$hair_space"/></fo:inline>
8675
8685
  <!-- we need to add zero-width space, otherwise this fo:inline is missing in IF xml -->
@@ -2847,10 +2847,12 @@
2847
2847
  </xsl:attribute-set><xsl:attribute-set name="bibitem-normative-list-body-style">
2848
2848
 
2849
2849
 
2850
+
2850
2851
  </xsl:attribute-set><xsl:attribute-set name="bibitem-non-normative-list-body-style">
2851
2852
 
2852
2853
 
2853
2854
 
2855
+
2854
2856
  </xsl:attribute-set><xsl:attribute-set name="bibitem-note-fn-style">
2855
2857
  <xsl:attribute name="keep-with-previous.within-line">always</xsl:attribute>
2856
2858
  <xsl:attribute name="font-size">65%</xsl:attribute>
@@ -3499,6 +3501,14 @@
3499
3501
 
3500
3502
 
3501
3503
 
3504
+ <xsl:if test="*[local-name()='bookmark']"> <!-- special case: table/bookmark -->
3505
+ <fo:block keep-with-previous="always" line-height="0.1">
3506
+ <xsl:for-each select="*[local-name()='bookmark']">
3507
+ <xsl:call-template name="bookmark"/>
3508
+ </xsl:for-each>
3509
+ </fo:block>
3510
+ </xsl:if>
3511
+
3502
3512
  </fo:block-container>
3503
3513
  </xsl:variable>
3504
3514
 
@@ -7321,7 +7331,7 @@
7321
7331
 
7322
7332
 
7323
7333
  <!-- <xsl:if test="$namespace = 'ieee'">
7324
- <xsl:if test="$doctype = 'standard' and $stage = 'published'">8</xsl:if>
7334
+ <xsl:if test="$current_template = 'standard'">8</xsl:if>
7325
7335
  </xsl:if> -->
7326
7336
 
7327
7337
 
@@ -8669,7 +8679,7 @@
8669
8679
  </xsl:template><xsl:template match="*[local-name() = 'indexsect']//*[local-name() = 'li']/text()">
8670
8680
  <!-- to split by '_' and other chars -->
8671
8681
  <xsl:call-template name="add-zero-spaces-java"/>
8672
- </xsl:template><xsl:template match="*[local-name() = 'bookmark']" name="bookmark">
8682
+ </xsl:template><xsl:template match="*[local-name() = 'table']/*[local-name() = 'bookmark']" priority="2"/><xsl:template match="*[local-name() = 'bookmark']" name="bookmark">
8673
8683
  <!-- <fo:inline id="{@id}" font-size="1pt"/> -->
8674
8684
  <fo:inline id="{@id}" font-size="1pt"><xsl:value-of select="$hair_space"/></fo:inline>
8675
8685
  <!-- we need to add zero-width space, otherwise this fo:inline is missing in IF xml -->
@@ -2847,10 +2847,12 @@
2847
2847
  </xsl:attribute-set><xsl:attribute-set name="bibitem-normative-list-body-style">
2848
2848
 
2849
2849
 
2850
+
2850
2851
  </xsl:attribute-set><xsl:attribute-set name="bibitem-non-normative-list-body-style">
2851
2852
 
2852
2853
 
2853
2854
 
2855
+
2854
2856
  </xsl:attribute-set><xsl:attribute-set name="bibitem-note-fn-style">
2855
2857
  <xsl:attribute name="keep-with-previous.within-line">always</xsl:attribute>
2856
2858
  <xsl:attribute name="font-size">65%</xsl:attribute>
@@ -3499,6 +3501,14 @@
3499
3501
 
3500
3502
 
3501
3503
 
3504
+ <xsl:if test="*[local-name()='bookmark']"> <!-- special case: table/bookmark -->
3505
+ <fo:block keep-with-previous="always" line-height="0.1">
3506
+ <xsl:for-each select="*[local-name()='bookmark']">
3507
+ <xsl:call-template name="bookmark"/>
3508
+ </xsl:for-each>
3509
+ </fo:block>
3510
+ </xsl:if>
3511
+
3502
3512
  </fo:block-container>
3503
3513
  </xsl:variable>
3504
3514
 
@@ -7321,7 +7331,7 @@
7321
7331
 
7322
7332
 
7323
7333
  <!-- <xsl:if test="$namespace = 'ieee'">
7324
- <xsl:if test="$doctype = 'standard' and $stage = 'published'">8</xsl:if>
7334
+ <xsl:if test="$current_template = 'standard'">8</xsl:if>
7325
7335
  </xsl:if> -->
7326
7336
 
7327
7337
 
@@ -8669,7 +8679,7 @@
8669
8679
  </xsl:template><xsl:template match="*[local-name() = 'indexsect']//*[local-name() = 'li']/text()">
8670
8680
  <!-- to split by '_' and other chars -->
8671
8681
  <xsl:call-template name="add-zero-spaces-java"/>
8672
- </xsl:template><xsl:template match="*[local-name() = 'bookmark']" name="bookmark">
8682
+ </xsl:template><xsl:template match="*[local-name() = 'table']/*[local-name() = 'bookmark']" priority="2"/><xsl:template match="*[local-name() = 'bookmark']" name="bookmark">
8673
8683
  <!-- <fo:inline id="{@id}" font-size="1pt"/> -->
8674
8684
  <fo:inline id="{@id}" font-size="1pt"><xsl:value-of select="$hair_space"/></fo:inline>
8675
8685
  <!-- we need to add zero-width space, otherwise this fo:inline is missing in IF xml -->
@@ -2031,10 +2031,12 @@
2031
2031
  </xsl:attribute-set><xsl:attribute-set name="bibitem-normative-list-body-style">
2032
2032
 
2033
2033
 
2034
+
2034
2035
  </xsl:attribute-set><xsl:attribute-set name="bibitem-non-normative-list-body-style">
2035
2036
 
2036
2037
 
2037
2038
 
2039
+
2038
2040
  </xsl:attribute-set><xsl:attribute-set name="bibitem-note-fn-style">
2039
2041
  <xsl:attribute name="keep-with-previous.within-line">always</xsl:attribute>
2040
2042
  <xsl:attribute name="font-size">65%</xsl:attribute>
@@ -2700,6 +2702,14 @@
2700
2702
  <xsl:apply-templates select="*[local-name()='name']"/>
2701
2703
 
2702
2704
 
2705
+ <xsl:if test="*[local-name()='bookmark']"> <!-- special case: table/bookmark -->
2706
+ <fo:block keep-with-previous="always" line-height="0.1">
2707
+ <xsl:for-each select="*[local-name()='bookmark']">
2708
+ <xsl:call-template name="bookmark"/>
2709
+ </xsl:for-each>
2710
+ </fo:block>
2711
+ </xsl:if>
2712
+
2703
2713
  </fo:block-container>
2704
2714
  </xsl:variable>
2705
2715
 
@@ -6485,7 +6495,7 @@
6485
6495
 
6486
6496
 
6487
6497
  <!-- <xsl:if test="$namespace = 'ieee'">
6488
- <xsl:if test="$doctype = 'standard' and $stage = 'published'">8</xsl:if>
6498
+ <xsl:if test="$current_template = 'standard'">8</xsl:if>
6489
6499
  </xsl:if> -->
6490
6500
 
6491
6501
 
@@ -7829,7 +7839,7 @@
7829
7839
  </xsl:template><xsl:template match="*[local-name() = 'indexsect']//*[local-name() = 'li']/text()">
7830
7840
  <!-- to split by '_' and other chars -->
7831
7841
  <xsl:call-template name="add-zero-spaces-java"/>
7832
- </xsl:template><xsl:template match="*[local-name() = 'bookmark']" name="bookmark">
7842
+ </xsl:template><xsl:template match="*[local-name() = 'table']/*[local-name() = 'bookmark']" priority="2"/><xsl:template match="*[local-name() = 'bookmark']" name="bookmark">
7833
7843
  <!-- <fo:inline id="{@id}" font-size="1pt"/> -->
7834
7844
  <fo:inline id="{@id}" font-size="1pt"><xsl:value-of select="$hair_space"/></fo:inline>
7835
7845
  <!-- we need to add zero-width space, otherwise this fo:inline is missing in IF xml -->
@@ -2504,6 +2504,16 @@
2504
2504
  <text/>
2505
2505
  </element>
2506
2506
  </optional>
2507
+ <optional>
2508
+ <element name="amendment">
2509
+ <text/>
2510
+ </element>
2511
+ </optional>
2512
+ <optional>
2513
+ <element name="corrigendum">
2514
+ <text/>
2515
+ </element>
2516
+ </optional>
2507
2517
  <optional>
2508
2518
  <element name="language">
2509
2519
  <text/>
@@ -48,9 +48,10 @@ module Metanorma
48
48
  def reqt_links(docxml)
49
49
  docxml.xpath("//requirement | //recommendation | //permission")
50
50
  .each_with_object({}) do |r, m|
51
- m[r["type"]] ||= []
52
- m[r["type"]] << { id: r["id"], elem: r,
53
- subject: r&.at("./subject/xref/@target")&.text }
51
+ type = r["type"] || "general"
52
+ m[type] ||= []
53
+ m[type] << { id: r["id"], elem: r,
54
+ subject: r&.at("./subject/xref/@target")&.text }
54
55
  end
55
56
  end
56
57
 
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module Ogc
3
- VERSION = "2.1.4".freeze
3
+ VERSION = "2.1.5".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-ogc
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.4
4
+ version: 2.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-07-04 00:00:00.000000000 Z
11
+ date: 2022-07-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: iso-639