metanorma-m3aawg 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: 4e412c976cf7cd35f52c321b9d2c02772c3b9aac9598f0bd7682864e2c1a97e1
4
- data.tar.gz: 1d49ed66206ebcbf66101106868dfed67d4d12dfc03635295ac952762dd3067a
3
+ metadata.gz: c0620cdfbacc7ea4f843d6ffe268294b19d4fbc1e921e1ef81c184179b15e62a
4
+ data.tar.gz: 536e34a6324a2a8642658fc416a372704744059b8b2e5182edf9f5f4f980ce0a
5
5
  SHA512:
6
- metadata.gz: 78acf6198e27b2f390f4f9883a38289a28c7a72f50a59e6a59f6d5082b933ac223ef5c07de1f6665291fe485a67f00ee9e94dcb0bc6fb5c0d2deb32aa0bae224
7
- data.tar.gz: 0baf14043064b1f1169f59064160ae5b5096582becd47c187190148ac3522e0724009d57216dd6e6a6ada3e11c8f1576329ec5047cfd452ffda5cbbd4736e3a9
6
+ metadata.gz: 2eb6c8b36ad2a9ac3b4f0eddfc9481ecd2c5ff02c0acc64a8d9c78952e1db989648a5063c9dc48e0d8f3163588cc6c7cea53e7fca3401a7c8100d995f756c1a6
7
+ data.tar.gz: eaa162deba516bbfad812e406dff21b222d4b9531c315c5c422785773e01f5ec0f8ddf45c90d46a1caf2c1a1d917dbdb0fbe37f1e7d6f12696514bbcb929a659
@@ -1087,6 +1087,9 @@
1087
1087
  <xsl:attribute-set name="import-style">
1088
1088
  </xsl:attribute-set>
1089
1089
 
1090
+ <xsl:attribute-set name="component-style">
1091
+ </xsl:attribute-set>
1092
+
1090
1093
  <xsl:attribute-set name="recommendation-style">
1091
1094
 
1092
1095
  </xsl:attribute-set>
@@ -6908,41 +6911,47 @@
6908
6911
  </fo:block>
6909
6912
  </xsl:template>
6910
6913
 
6911
- <xsl:template match="*[local-name() = 'inherit'] | *[local-name() = 'component'][@class = 'inherit']">
6914
+ <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']">
6912
6915
  <fo:block xsl:use-attribute-sets="inherit-style">
6913
6916
  <xsl:text>Dependency </xsl:text><xsl:apply-templates/>
6914
6917
  </fo:block>
6915
6918
  </xsl:template>
6916
6919
 
6917
- <xsl:template match="*[local-name() = 'description'] | *[local-name() = 'component'][@class = 'description']">
6920
+ <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']">
6918
6921
  <fo:block xsl:use-attribute-sets="description-style">
6919
6922
  <xsl:apply-templates/>
6920
6923
  </fo:block>
6921
6924
  </xsl:template>
6922
6925
 
6923
- <xsl:template match="*[local-name() = 'specification'] | *[local-name() = 'component'][@class = 'specification']">
6926
+ <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']">
6924
6927
  <fo:block xsl:use-attribute-sets="specification-style">
6925
6928
  <xsl:apply-templates/>
6926
6929
  </fo:block>
6927
6930
  </xsl:template>
6928
6931
 
6929
- <xsl:template match="*[local-name() = 'measurement-target'] | *[local-name() = 'component'][@class = 'measurement-target']">
6932
+ <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']">
6930
6933
  <fo:block xsl:use-attribute-sets="measurement-target-style">
6931
6934
  <xsl:apply-templates/>
6932
6935
  </fo:block>
6933
6936
  </xsl:template>
6934
6937
 
6935
- <xsl:template match="*[local-name() = 'verification'] | *[local-name() = 'component'][@class = 'verification']">
6938
+ <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']">
6936
6939
  <fo:block xsl:use-attribute-sets="verification-style">
6937
6940
  <xsl:apply-templates/>
6938
6941
  </fo:block>
6939
6942
  </xsl:template>
6940
6943
 
6941
- <xsl:template match="*[local-name() = 'import'] | *[local-name() = 'component'][@class = 'import']">
6944
+ <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']">
6942
6945
  <fo:block xsl:use-attribute-sets="import-style">
6943
6946
  <xsl:apply-templates/>
6944
6947
  </fo:block>
6945
6948
  </xsl:template>
6949
+
6950
+ <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')]">
6951
+ <fo:block xsl:use-attribute-sets="component-style">
6952
+ <xsl:apply-templates/>
6953
+ </fo:block>
6954
+ </xsl:template>
6946
6955
  <!-- ========== -->
6947
6956
  <!-- END -->
6948
6957
  <!-- ========== -->
@@ -1087,6 +1087,9 @@
1087
1087
  <xsl:attribute-set name="import-style">
1088
1088
  </xsl:attribute-set>
1089
1089
 
1090
+ <xsl:attribute-set name="component-style">
1091
+ </xsl:attribute-set>
1092
+
1090
1093
  <xsl:attribute-set name="recommendation-style">
1091
1094
 
1092
1095
  </xsl:attribute-set>
@@ -6908,41 +6911,47 @@
6908
6911
  </fo:block>
6909
6912
  </xsl:template>
6910
6913
 
6911
- <xsl:template match="*[local-name() = 'inherit'] | *[local-name() = 'component'][@class = 'inherit']">
6914
+ <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']">
6912
6915
  <fo:block xsl:use-attribute-sets="inherit-style">
6913
6916
  <xsl:text>Dependency </xsl:text><xsl:apply-templates/>
6914
6917
  </fo:block>
6915
6918
  </xsl:template>
6916
6919
 
6917
- <xsl:template match="*[local-name() = 'description'] | *[local-name() = 'component'][@class = 'description']">
6920
+ <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']">
6918
6921
  <fo:block xsl:use-attribute-sets="description-style">
6919
6922
  <xsl:apply-templates/>
6920
6923
  </fo:block>
6921
6924
  </xsl:template>
6922
6925
 
6923
- <xsl:template match="*[local-name() = 'specification'] | *[local-name() = 'component'][@class = 'specification']">
6926
+ <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']">
6924
6927
  <fo:block xsl:use-attribute-sets="specification-style">
6925
6928
  <xsl:apply-templates/>
6926
6929
  </fo:block>
6927
6930
  </xsl:template>
6928
6931
 
6929
- <xsl:template match="*[local-name() = 'measurement-target'] | *[local-name() = 'component'][@class = 'measurement-target']">
6932
+ <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']">
6930
6933
  <fo:block xsl:use-attribute-sets="measurement-target-style">
6931
6934
  <xsl:apply-templates/>
6932
6935
  </fo:block>
6933
6936
  </xsl:template>
6934
6937
 
6935
- <xsl:template match="*[local-name() = 'verification'] | *[local-name() = 'component'][@class = 'verification']">
6938
+ <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']">
6936
6939
  <fo:block xsl:use-attribute-sets="verification-style">
6937
6940
  <xsl:apply-templates/>
6938
6941
  </fo:block>
6939
6942
  </xsl:template>
6940
6943
 
6941
- <xsl:template match="*[local-name() = 'import'] | *[local-name() = 'component'][@class = 'import']">
6944
+ <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']">
6942
6945
  <fo:block xsl:use-attribute-sets="import-style">
6943
6946
  <xsl:apply-templates/>
6944
6947
  </fo:block>
6945
6948
  </xsl:template>
6949
+
6950
+ <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')]">
6951
+ <fo:block xsl:use-attribute-sets="component-style">
6952
+ <xsl:apply-templates/>
6953
+ </fo:block>
6954
+ </xsl:template>
6946
6955
  <!-- ========== -->
6947
6956
  <!-- END -->
6948
6957
  <!-- ========== -->
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module M3AAWG
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-m3aawg
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: htmlentities