metanorma-ogc 2.10.1.pre.alpha.2 → 2.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile +6 -7
- data/lib/isodoc/ogc/ogc.standard.xsl +20 -7
- data/lib/isodoc/ogc/ogc.white-paper.xsl +20 -7
- data/lib/metanorma/ogc/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 487c62da56341cf2219713ca20a3f6ae2b2c8595e553e403ae14791d72c3bf70
|
|
4
|
+
data.tar.gz: 5e7679332cb2c7ad00887e70ad788955acc8a8a070ce5294f08f53f8b3bdca45
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8d0f486a883dcc24d22ee7d7bf2e2074dbe9b469431d42d0f8d951bfa4d398d17629c90aea27f05cfeebd6f063f247d7e1bf03947b3f0b089715af8421e20304
|
|
7
|
+
data.tar.gz: cefb30801f870ef048349bdfc524fa56206d23f214eed75ad97ced5a9913fd13c2f3117471b4de941dc5422180b113694519f5809a81f94af2cef48d866e4008
|
data/Gemfile
CHANGED
|
@@ -5,9 +5,9 @@ gemspec
|
|
|
5
5
|
|
|
6
6
|
# TEMPORARY cross-PR pins (metanorma-core#18 wave) — identical block in
|
|
7
7
|
# every adoption PR; delete when the branches release.
|
|
8
|
-
gem "metanorma-core",
|
|
9
|
-
gem "metanorma-standoc",
|
|
10
|
-
gem "metanorma-document",
|
|
8
|
+
gem "metanorma-core", "~> 0.2.5.pre.alpha" # published flavor/taste table (metanorma-core#18)
|
|
9
|
+
gem "metanorma-standoc", "~> 3.5.1.pre.alpha" # feat/move-standard-document is released
|
|
10
|
+
gem "metanorma-document", "~> 0.5.2.pre.alpha" # feat/model-validation-l1-declarations is released
|
|
11
11
|
# metanorma-plugin-openapi#4 — released 0.1.0 hard-requires
|
|
12
12
|
# coradoc/markdown, unresolvable under metanorma-plugin-lutaml's
|
|
13
13
|
# coradoc ~> 1.1.8; drop for the release carrying the soft-coradoc fix
|
|
@@ -17,7 +17,6 @@ gem "metanorma-iso", github: "metanorma/metanorma-iso", branch: "main"
|
|
|
17
17
|
|
|
18
18
|
# relaton v3 monogem + pubid-2 prerelease chain (isodoc PR#825)
|
|
19
19
|
# the pubid-2 line; render widened to the 3.0.0.pre family (isodoc #848)
|
|
20
|
-
gem "isodoc",
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
gem "relaton-render", "= 3.0.0.pre.alpha.43" # canonical style packs; slot forms; bare from-only datesgem "pubid", "2.0.0.pre.alpha.8" # relaton 3.0.0.pre.alpha.1 pairs with pre-rename pubid; .alpha.9 renamed base_identifier->base
|
|
20
|
+
gem "isodoc", "~> 3.7.4.pre.alpha" # rt-pubid-2-migration is released
|
|
21
|
+
gem "relaton-render", "~> 3.0" # canonical style packs; slot forms; bare from-only dates
|
|
22
|
+
gem "pubid", "~> 2.0"
|
|
@@ -179,12 +179,6 @@
|
|
|
179
179
|
</xsl:variable>
|
|
180
180
|
<xsl:variable name="variables" select="xalan:nodeset($variables_)"/>
|
|
181
181
|
|
|
182
|
-
<xsl:template name="getVariable">
|
|
183
|
-
<xsl:param name="variable"/>
|
|
184
|
-
<xsl:variable name="num" select="number(java:org.metanorma.fop.global.Variables.getVariable('num'))"/>
|
|
185
|
-
<xsl:value-of select="$variables/mnx:doc[@num = $num]/*[local-name() = $variable]"/>
|
|
186
|
-
</xsl:template>
|
|
187
|
-
|
|
188
182
|
<xsl:variable name="toc_recommendations_">
|
|
189
183
|
<xsl:for-each select="//mn:metanorma">
|
|
190
184
|
<xsl:variable name="num"><xsl:number level="any" count="mn:metanorma"/></xsl:variable>
|
|
@@ -1438,7 +1432,9 @@
|
|
|
1438
1432
|
<xsl:call-template name="getName"/>
|
|
1439
1433
|
</xsl:variable>
|
|
1440
1434
|
<xsl:variable name="variant_title">
|
|
1441
|
-
<xsl:
|
|
1435
|
+
<xsl:if test="not(self::mn:annex)">
|
|
1436
|
+
<xsl:copy-of select="mn:variant-title[@type = 'toc']/node()"/>
|
|
1437
|
+
</xsl:if>
|
|
1442
1438
|
</xsl:variable>
|
|
1443
1439
|
|
|
1444
1440
|
<xsl:variable name="type" select="local-name()"/>
|
|
@@ -17534,6 +17530,23 @@
|
|
|
17534
17530
|
</xsl:choose>
|
|
17535
17531
|
</xsl:template>
|
|
17536
17532
|
|
|
17533
|
+
<xsl:template name="getVariable">
|
|
17534
|
+
<xsl:param name="variable"/>
|
|
17535
|
+
<!-- Note: need insert <xsl:variable name="setVariable" select="java:org.metanorma.fop.global.Variables.setVariable('num', $num)"/> before
|
|
17536
|
+
in the iteration <xsl:for-each select="xalan:nodeset($updated_xml)//mn:metanorma"> -->
|
|
17537
|
+
<xsl:variable name="num" select="number(java:org.metanorma.fop.global.Variables.getVariable('num'))"/>
|
|
17538
|
+
<xsl:value-of select="$variables/mnx:doc[@num = $num]/*[local-name() = $variable]"/>
|
|
17539
|
+
</xsl:template>
|
|
17540
|
+
|
|
17541
|
+
<!-- get variable value with the internal elements(nodes), e.g. formatting -->
|
|
17542
|
+
<xsl:template name="getVariableCopyOf">
|
|
17543
|
+
<xsl:param name="variable"/>
|
|
17544
|
+
<!-- Note: need insert <xsl:variable name="setVariable" select="java:org.metanorma.fop.global.Variables.setVariable('num', $num)"/> before
|
|
17545
|
+
in the iteration <xsl:for-each select="xalan:nodeset($updated_xml)//mn:metanorma"> -->
|
|
17546
|
+
<xsl:variable name="num" select="number(java:org.metanorma.fop.global.Variables.getVariable('num'))"/>
|
|
17547
|
+
<xsl:copy-of select="$variables/mnx:doc[@num = $num]/*[local-name() = $variable]/node()"/>
|
|
17548
|
+
</xsl:template>
|
|
17549
|
+
|
|
17537
17550
|
<!-- ============================================= -->
|
|
17538
17551
|
<!-- mode="print_as_xml", for debug purposes -->
|
|
17539
17552
|
<!-- ============================================= -->
|
|
@@ -44,12 +44,6 @@
|
|
|
44
44
|
</xsl:variable>
|
|
45
45
|
<xsl:variable name="variables" select="xalan:nodeset($variables_)"/>
|
|
46
46
|
|
|
47
|
-
<xsl:template name="getVariable">
|
|
48
|
-
<xsl:param name="variable"/>
|
|
49
|
-
<xsl:variable name="num" select="number(java:org.metanorma.fop.global.Variables.getVariable('num'))"/>
|
|
50
|
-
<xsl:value-of select="$variables/mnx:doc[@num = $num]/*[local-name() = $variable]"/>
|
|
51
|
-
</xsl:template>
|
|
52
|
-
|
|
53
47
|
<xsl:variable name="color">rgb(0, 51, 102)</xsl:variable>
|
|
54
48
|
|
|
55
49
|
<xsl:variable name="contents_">
|
|
@@ -594,7 +588,9 @@
|
|
|
594
588
|
<xsl:call-template name="getName"/>
|
|
595
589
|
</xsl:variable>
|
|
596
590
|
<xsl:variable name="variant_title">
|
|
597
|
-
<xsl:
|
|
591
|
+
<xsl:if test="not(self::mn:annex)">
|
|
592
|
+
<xsl:copy-of select="mn:variant-title[@type = 'toc']/node()"/>
|
|
593
|
+
</xsl:if>
|
|
598
594
|
</xsl:variable>
|
|
599
595
|
|
|
600
596
|
<xsl:variable name="type" select="local-name()"/>
|
|
@@ -16055,6 +16051,23 @@
|
|
|
16055
16051
|
</xsl:choose>
|
|
16056
16052
|
</xsl:template>
|
|
16057
16053
|
|
|
16054
|
+
<xsl:template name="getVariable">
|
|
16055
|
+
<xsl:param name="variable"/>
|
|
16056
|
+
<!-- Note: need insert <xsl:variable name="setVariable" select="java:org.metanorma.fop.global.Variables.setVariable('num', $num)"/> before
|
|
16057
|
+
in the iteration <xsl:for-each select="xalan:nodeset($updated_xml)//mn:metanorma"> -->
|
|
16058
|
+
<xsl:variable name="num" select="number(java:org.metanorma.fop.global.Variables.getVariable('num'))"/>
|
|
16059
|
+
<xsl:value-of select="$variables/mnx:doc[@num = $num]/*[local-name() = $variable]"/>
|
|
16060
|
+
</xsl:template>
|
|
16061
|
+
|
|
16062
|
+
<!-- get variable value with the internal elements(nodes), e.g. formatting -->
|
|
16063
|
+
<xsl:template name="getVariableCopyOf">
|
|
16064
|
+
<xsl:param name="variable"/>
|
|
16065
|
+
<!-- Note: need insert <xsl:variable name="setVariable" select="java:org.metanorma.fop.global.Variables.setVariable('num', $num)"/> before
|
|
16066
|
+
in the iteration <xsl:for-each select="xalan:nodeset($updated_xml)//mn:metanorma"> -->
|
|
16067
|
+
<xsl:variable name="num" select="number(java:org.metanorma.fop.global.Variables.getVariable('num'))"/>
|
|
16068
|
+
<xsl:copy-of select="$variables/mnx:doc[@num = $num]/*[local-name() = $variable]/node()"/>
|
|
16069
|
+
</xsl:template>
|
|
16070
|
+
|
|
16058
16071
|
<!-- ============================================= -->
|
|
16059
16072
|
<!-- mode="print_as_xml", for debug purposes -->
|
|
16060
16073
|
<!-- ============================================= -->
|
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.10.1
|
|
4
|
+
version: 2.10.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ribose Inc.
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-10-
|
|
11
|
+
date: 2026-10-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: iso-639
|