metanorma-csa 2.1.6 → 2.1.7

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: 1adff89271c04319669d44cb4230da187ec162b8ee64df4a15cdb915ab5df74c
4
- data.tar.gz: 3aebae140a5a5f6f1e6ddafa2024115de2c3bd1b6549de93d82f1c554999f252
3
+ metadata.gz: d89f92b084a0f4ab7795704868a3f4ef068971ac3dca72a17fa6e2d87cf2457d
4
+ data.tar.gz: ae014752281077ff5f729c159417bed3f250691f0e0ffb2d820a9886af5a38c0
5
5
  SHA512:
6
- metadata.gz: af6b09a4b89513116929ff6aebf51b4efca8618af8a3316a5134ed2c9183327721b1f755f23ff198d184f9f89ef6a1f2b4a2a61c97023cef3267bb4822a958e9
7
- data.tar.gz: 6dd1504fc970bbcd5c97f05beaa53418b761aeafafcb7361b67d22f852e4d741f24d87b8ce3250f567adf038e3a8f2538c0083e5e6beb787e26d1114bba30a40
6
+ metadata.gz: fc2a542d189a6331a92f1a38ab49e6996707fadcc00d372edc7dc43e30b1129fa54e7d3f094e4160edb7f0b2ec9152d360e6d6a64a2a1345abf8e600fe965a0f
7
+ data.tar.gz: 40ff6ae3ec509bc34437e3630d0d5234cee1d170f6659131dd37b99704a7be89734baf5a0213e1fba3ffb504aa2f868edda5a22b920bdd94e3c2a4b5d41c8b48
@@ -1015,6 +1015,9 @@
1015
1015
  <xsl:attribute-set name="import-style">
1016
1016
  </xsl:attribute-set>
1017
1017
 
1018
+ <xsl:attribute-set name="component-style">
1019
+ </xsl:attribute-set>
1020
+
1018
1021
  <xsl:attribute-set name="recommendation-style">
1019
1022
 
1020
1023
  </xsl:attribute-set>
@@ -6842,41 +6845,47 @@
6842
6845
  </fo:block>
6843
6846
  </xsl:template>
6844
6847
 
6845
- <xsl:template match="*[local-name() = 'inherit'] | *[local-name() = 'component'][@class = 'inherit']">
6848
+ <xsl:template match="*[local-name() = 'inherit'] | *[local-name() = 'component'][@class = 'inherit'] | *[local-name() = 'div'][@type = 'requirement-inherit'] | *[local-name() = 'div'][@type = 'recommendation-inherit'] | *[local-name() = 'div'][@type = 'permission-inherit']">
6846
6849
  <fo:block xsl:use-attribute-sets="inherit-style">
6847
6850
  <xsl:text>Dependency </xsl:text><xsl:apply-templates/>
6848
6851
  </fo:block>
6849
6852
  </xsl:template>
6850
6853
 
6851
- <xsl:template match="*[local-name() = 'description'] | *[local-name() = 'component'][@class = 'description']">
6854
+ <xsl:template match="*[local-name() = 'description'] | *[local-name() = 'component'][@class = 'description'] | *[local-name() = 'div'][@type = 'requirement-description'] | *[local-name() = 'div'][@type = 'recommendation-description'] | *[local-name() = 'div'][@type = 'permission-description']">
6852
6855
  <fo:block xsl:use-attribute-sets="description-style">
6853
6856
  <xsl:apply-templates/>
6854
6857
  </fo:block>
6855
6858
  </xsl:template>
6856
6859
 
6857
- <xsl:template match="*[local-name() = 'specification'] | *[local-name() = 'component'][@class = 'specification']">
6860
+ <xsl:template match="*[local-name() = 'specification'] | *[local-name() = 'component'][@class = 'specification'] | *[local-name() = 'div'][@type = 'requirement-specification'] | *[local-name() = 'div'][@type = 'recommendation-specification'] | *[local-name() = 'div'][@type = 'permission-specification']">
6858
6861
  <fo:block xsl:use-attribute-sets="specification-style">
6859
6862
  <xsl:apply-templates/>
6860
6863
  </fo:block>
6861
6864
  </xsl:template>
6862
6865
 
6863
- <xsl:template match="*[local-name() = 'measurement-target'] | *[local-name() = 'component'][@class = 'measurement-target']">
6866
+ <xsl:template match="*[local-name() = 'measurement-target'] | *[local-name() = 'component'][@class = 'measurement-target'] | *[local-name() = 'div'][@type = 'requirement-measurement-target'] | *[local-name() = 'div'][@type = 'recommendation-measurement-target'] | *[local-name() = 'div'][@type = 'permission-measurement-target']">
6864
6867
  <fo:block xsl:use-attribute-sets="measurement-target-style">
6865
6868
  <xsl:apply-templates/>
6866
6869
  </fo:block>
6867
6870
  </xsl:template>
6868
6871
 
6869
- <xsl:template match="*[local-name() = 'verification'] | *[local-name() = 'component'][@class = 'verification']">
6872
+ <xsl:template match="*[local-name() = 'verification'] | *[local-name() = 'component'][@class = 'verification'] | *[local-name() = 'div'][@type = 'requirement-verification'] | *[local-name() = 'div'][@type = 'recommendation-verification'] | *[local-name() = 'div'][@type = 'permission-verification']">
6870
6873
  <fo:block xsl:use-attribute-sets="verification-style">
6871
6874
  <xsl:apply-templates/>
6872
6875
  </fo:block>
6873
6876
  </xsl:template>
6874
6877
 
6875
- <xsl:template match="*[local-name() = 'import'] | *[local-name() = 'component'][@class = 'import']">
6878
+ <xsl:template match="*[local-name() = 'import'] | *[local-name() = 'component'][@class = 'import'] | *[local-name() = 'div'][@type = 'requirement-import'] | *[local-name() = 'div'][@type = 'recommendation-import'] | *[local-name() = 'div'][@type = 'permission-import']">
6876
6879
  <fo:block xsl:use-attribute-sets="import-style">
6877
6880
  <xsl:apply-templates/>
6878
6881
  </fo:block>
6879
6882
  </xsl:template>
6883
+
6884
+ <xsl:template match="*[local-name() = 'div'][starts-with(@type, 'requirement-component')] | *[local-name() = 'div'][starts-with(@type, 'recommendation-component')] | *[local-name() = 'div'][starts-with(@type, 'permission-component')]">
6885
+ <fo:block xsl:use-attribute-sets="component-style">
6886
+ <xsl:apply-templates/>
6887
+ </fo:block>
6888
+ </xsl:template>
6880
6889
  <!-- ========== -->
6881
6890
  <!-- END -->
6882
6891
  <!-- ========== -->
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module Csa
3
- VERSION = "2.1.6".freeze
3
+ VERSION = "2.1.7".freeze
4
4
  end
5
5
  end
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.1.6
4
+ version: 2.1.7
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-08-08 00:00:00.000000000 Z
11
+ date: 2022-08-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: metanorma-generic