metanorma-bipm 2.5.11 → 2.5.12
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/lib/isodoc/bipm/bipm.brochure.xsl +31 -9
- data/lib/isodoc/bipm/bipm.guide.xsl +31 -9
- data/lib/isodoc/bipm/bipm.mise-en-pratique.xsl +31 -9
- data/lib/isodoc/bipm/bipm.rapport.xsl +31 -9
- data/lib/isodoc/bipm/jcgm.standard.xsl +31 -9
- data/lib/metanorma/bipm/biblio.rng +2 -0
- data/lib/metanorma/bipm/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: c76883e2e0c7fac8ac4e0672fc4e23c51c8325ae23ea83c5600a4d405d0898c4
|
4
|
+
data.tar.gz: a7ce3ec62471de169223b0a6dd7cf2a74586bae08d6ffae7589557063535bc35
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4d7de4cc6d877d7c9a8f404bfb5e453b9953e2f65c06c49b70327653b0c06cc01de1caa8b03775d2abb1bb04e6f912a0ac1a1ee95c495992ceff806f032c78f9
|
7
|
+
data.tar.gz: 225cd6a6162423efb552a8c52298bf701dc8ef58195dce294746f03f9a3059a81e447423cc94b0df5ecdaf78c33a8ac8c08466eba065884300846938c7bc5648
|
@@ -9300,9 +9300,14 @@
|
|
9300
9300
|
|
9301
9301
|
<xsl:variable name="simple-table">
|
9302
9302
|
|
9303
|
+
<xsl:variable name="table_without_semantic_elements">
|
9304
|
+
<xsl:apply-templates mode="update_xml_pres"/>
|
9305
|
+
</xsl:variable>
|
9306
|
+
|
9303
9307
|
<!-- Step 0. replace <br/> to <p>...</p> -->
|
9304
9308
|
<xsl:variable name="table_without_br">
|
9305
|
-
<xsl:apply-templates mode="table-without-br"/>
|
9309
|
+
<!-- <xsl:apply-templates mode="table-without-br"/> -->
|
9310
|
+
<xsl:apply-templates select="xalan:nodeset($table_without_semantic_elements)" mode="table-without-br"/>
|
9306
9311
|
</xsl:variable>
|
9307
9312
|
|
9308
9313
|
<!-- Step 1. colspan processing -->
|
@@ -15421,16 +15426,30 @@
|
|
15421
15426
|
|
15422
15427
|
<xsl:template match="*[local-name() = 'fmt-name']"/>
|
15423
15428
|
<xsl:template match="*[local-name() = 'fmt-name']" mode="update_xml_step1">
|
15424
|
-
<xsl:
|
15425
|
-
<xsl:
|
15426
|
-
|
15427
|
-
|
15429
|
+
<xsl:choose>
|
15430
|
+
<xsl:when test="local-name(..) = 'p' and ancestor::*[local-name() = 'table']">
|
15431
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
15432
|
+
</xsl:when>
|
15433
|
+
<xsl:otherwise>
|
15434
|
+
<xsl:element name="name" namespace="{$namespace_full}">
|
15435
|
+
<xsl:copy-of select="@*"/>
|
15436
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
15437
|
+
</xsl:element>
|
15438
|
+
</xsl:otherwise>
|
15439
|
+
</xsl:choose>
|
15428
15440
|
</xsl:template>
|
15429
15441
|
<xsl:template match="*[local-name() = 'fmt-name']" mode="update_xml_pres">
|
15430
|
-
<xsl:
|
15431
|
-
<xsl:
|
15432
|
-
|
15433
|
-
|
15442
|
+
<xsl:choose>
|
15443
|
+
<xsl:when test="local-name(..) = 'p' and ancestor::*[local-name() = 'table']">
|
15444
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
15445
|
+
</xsl:when>
|
15446
|
+
<xsl:otherwise>
|
15447
|
+
<xsl:element name="name" namespace="{$namespace_full}">
|
15448
|
+
<xsl:copy-of select="@*"/>
|
15449
|
+
<xsl:apply-templates mode="update_xml_pres"/>
|
15450
|
+
</xsl:element>
|
15451
|
+
</xsl:otherwise>
|
15452
|
+
</xsl:choose>
|
15434
15453
|
</xsl:template>
|
15435
15454
|
|
15436
15455
|
<xsl:template match="*[local-name() = 'fmt-preferred']"/>
|
@@ -15528,6 +15547,9 @@
|
|
15528
15547
|
<xsl:apply-templates mode="update_xml_pres"/>
|
15529
15548
|
</xsl:template>
|
15530
15549
|
|
15550
|
+
<xsl:template match="*[local-name() = 'semx']">
|
15551
|
+
<xsl:apply-templates/>
|
15552
|
+
</xsl:template>
|
15531
15553
|
<xsl:template match="*[local-name() = 'semx']" mode="update_xml_step1">
|
15532
15554
|
<xsl:apply-templates mode="update_xml_step1"/>
|
15533
15555
|
</xsl:template>
|
@@ -9300,9 +9300,14 @@
|
|
9300
9300
|
|
9301
9301
|
<xsl:variable name="simple-table">
|
9302
9302
|
|
9303
|
+
<xsl:variable name="table_without_semantic_elements">
|
9304
|
+
<xsl:apply-templates mode="update_xml_pres"/>
|
9305
|
+
</xsl:variable>
|
9306
|
+
|
9303
9307
|
<!-- Step 0. replace <br/> to <p>...</p> -->
|
9304
9308
|
<xsl:variable name="table_without_br">
|
9305
|
-
<xsl:apply-templates mode="table-without-br"/>
|
9309
|
+
<!-- <xsl:apply-templates mode="table-without-br"/> -->
|
9310
|
+
<xsl:apply-templates select="xalan:nodeset($table_without_semantic_elements)" mode="table-without-br"/>
|
9306
9311
|
</xsl:variable>
|
9307
9312
|
|
9308
9313
|
<!-- Step 1. colspan processing -->
|
@@ -15421,16 +15426,30 @@
|
|
15421
15426
|
|
15422
15427
|
<xsl:template match="*[local-name() = 'fmt-name']"/>
|
15423
15428
|
<xsl:template match="*[local-name() = 'fmt-name']" mode="update_xml_step1">
|
15424
|
-
<xsl:
|
15425
|
-
<xsl:
|
15426
|
-
|
15427
|
-
|
15429
|
+
<xsl:choose>
|
15430
|
+
<xsl:when test="local-name(..) = 'p' and ancestor::*[local-name() = 'table']">
|
15431
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
15432
|
+
</xsl:when>
|
15433
|
+
<xsl:otherwise>
|
15434
|
+
<xsl:element name="name" namespace="{$namespace_full}">
|
15435
|
+
<xsl:copy-of select="@*"/>
|
15436
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
15437
|
+
</xsl:element>
|
15438
|
+
</xsl:otherwise>
|
15439
|
+
</xsl:choose>
|
15428
15440
|
</xsl:template>
|
15429
15441
|
<xsl:template match="*[local-name() = 'fmt-name']" mode="update_xml_pres">
|
15430
|
-
<xsl:
|
15431
|
-
<xsl:
|
15432
|
-
|
15433
|
-
|
15442
|
+
<xsl:choose>
|
15443
|
+
<xsl:when test="local-name(..) = 'p' and ancestor::*[local-name() = 'table']">
|
15444
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
15445
|
+
</xsl:when>
|
15446
|
+
<xsl:otherwise>
|
15447
|
+
<xsl:element name="name" namespace="{$namespace_full}">
|
15448
|
+
<xsl:copy-of select="@*"/>
|
15449
|
+
<xsl:apply-templates mode="update_xml_pres"/>
|
15450
|
+
</xsl:element>
|
15451
|
+
</xsl:otherwise>
|
15452
|
+
</xsl:choose>
|
15434
15453
|
</xsl:template>
|
15435
15454
|
|
15436
15455
|
<xsl:template match="*[local-name() = 'fmt-preferred']"/>
|
@@ -15528,6 +15547,9 @@
|
|
15528
15547
|
<xsl:apply-templates mode="update_xml_pres"/>
|
15529
15548
|
</xsl:template>
|
15530
15549
|
|
15550
|
+
<xsl:template match="*[local-name() = 'semx']">
|
15551
|
+
<xsl:apply-templates/>
|
15552
|
+
</xsl:template>
|
15531
15553
|
<xsl:template match="*[local-name() = 'semx']" mode="update_xml_step1">
|
15532
15554
|
<xsl:apply-templates mode="update_xml_step1"/>
|
15533
15555
|
</xsl:template>
|
@@ -9300,9 +9300,14 @@
|
|
9300
9300
|
|
9301
9301
|
<xsl:variable name="simple-table">
|
9302
9302
|
|
9303
|
+
<xsl:variable name="table_without_semantic_elements">
|
9304
|
+
<xsl:apply-templates mode="update_xml_pres"/>
|
9305
|
+
</xsl:variable>
|
9306
|
+
|
9303
9307
|
<!-- Step 0. replace <br/> to <p>...</p> -->
|
9304
9308
|
<xsl:variable name="table_without_br">
|
9305
|
-
<xsl:apply-templates mode="table-without-br"/>
|
9309
|
+
<!-- <xsl:apply-templates mode="table-without-br"/> -->
|
9310
|
+
<xsl:apply-templates select="xalan:nodeset($table_without_semantic_elements)" mode="table-without-br"/>
|
9306
9311
|
</xsl:variable>
|
9307
9312
|
|
9308
9313
|
<!-- Step 1. colspan processing -->
|
@@ -15421,16 +15426,30 @@
|
|
15421
15426
|
|
15422
15427
|
<xsl:template match="*[local-name() = 'fmt-name']"/>
|
15423
15428
|
<xsl:template match="*[local-name() = 'fmt-name']" mode="update_xml_step1">
|
15424
|
-
<xsl:
|
15425
|
-
<xsl:
|
15426
|
-
|
15427
|
-
|
15429
|
+
<xsl:choose>
|
15430
|
+
<xsl:when test="local-name(..) = 'p' and ancestor::*[local-name() = 'table']">
|
15431
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
15432
|
+
</xsl:when>
|
15433
|
+
<xsl:otherwise>
|
15434
|
+
<xsl:element name="name" namespace="{$namespace_full}">
|
15435
|
+
<xsl:copy-of select="@*"/>
|
15436
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
15437
|
+
</xsl:element>
|
15438
|
+
</xsl:otherwise>
|
15439
|
+
</xsl:choose>
|
15428
15440
|
</xsl:template>
|
15429
15441
|
<xsl:template match="*[local-name() = 'fmt-name']" mode="update_xml_pres">
|
15430
|
-
<xsl:
|
15431
|
-
<xsl:
|
15432
|
-
|
15433
|
-
|
15442
|
+
<xsl:choose>
|
15443
|
+
<xsl:when test="local-name(..) = 'p' and ancestor::*[local-name() = 'table']">
|
15444
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
15445
|
+
</xsl:when>
|
15446
|
+
<xsl:otherwise>
|
15447
|
+
<xsl:element name="name" namespace="{$namespace_full}">
|
15448
|
+
<xsl:copy-of select="@*"/>
|
15449
|
+
<xsl:apply-templates mode="update_xml_pres"/>
|
15450
|
+
</xsl:element>
|
15451
|
+
</xsl:otherwise>
|
15452
|
+
</xsl:choose>
|
15434
15453
|
</xsl:template>
|
15435
15454
|
|
15436
15455
|
<xsl:template match="*[local-name() = 'fmt-preferred']"/>
|
@@ -15528,6 +15547,9 @@
|
|
15528
15547
|
<xsl:apply-templates mode="update_xml_pres"/>
|
15529
15548
|
</xsl:template>
|
15530
15549
|
|
15550
|
+
<xsl:template match="*[local-name() = 'semx']">
|
15551
|
+
<xsl:apply-templates/>
|
15552
|
+
</xsl:template>
|
15531
15553
|
<xsl:template match="*[local-name() = 'semx']" mode="update_xml_step1">
|
15532
15554
|
<xsl:apply-templates mode="update_xml_step1"/>
|
15533
15555
|
</xsl:template>
|
@@ -9300,9 +9300,14 @@
|
|
9300
9300
|
|
9301
9301
|
<xsl:variable name="simple-table">
|
9302
9302
|
|
9303
|
+
<xsl:variable name="table_without_semantic_elements">
|
9304
|
+
<xsl:apply-templates mode="update_xml_pres"/>
|
9305
|
+
</xsl:variable>
|
9306
|
+
|
9303
9307
|
<!-- Step 0. replace <br/> to <p>...</p> -->
|
9304
9308
|
<xsl:variable name="table_without_br">
|
9305
|
-
<xsl:apply-templates mode="table-without-br"/>
|
9309
|
+
<!-- <xsl:apply-templates mode="table-without-br"/> -->
|
9310
|
+
<xsl:apply-templates select="xalan:nodeset($table_without_semantic_elements)" mode="table-without-br"/>
|
9306
9311
|
</xsl:variable>
|
9307
9312
|
|
9308
9313
|
<!-- Step 1. colspan processing -->
|
@@ -15421,16 +15426,30 @@
|
|
15421
15426
|
|
15422
15427
|
<xsl:template match="*[local-name() = 'fmt-name']"/>
|
15423
15428
|
<xsl:template match="*[local-name() = 'fmt-name']" mode="update_xml_step1">
|
15424
|
-
<xsl:
|
15425
|
-
<xsl:
|
15426
|
-
|
15427
|
-
|
15429
|
+
<xsl:choose>
|
15430
|
+
<xsl:when test="local-name(..) = 'p' and ancestor::*[local-name() = 'table']">
|
15431
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
15432
|
+
</xsl:when>
|
15433
|
+
<xsl:otherwise>
|
15434
|
+
<xsl:element name="name" namespace="{$namespace_full}">
|
15435
|
+
<xsl:copy-of select="@*"/>
|
15436
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
15437
|
+
</xsl:element>
|
15438
|
+
</xsl:otherwise>
|
15439
|
+
</xsl:choose>
|
15428
15440
|
</xsl:template>
|
15429
15441
|
<xsl:template match="*[local-name() = 'fmt-name']" mode="update_xml_pres">
|
15430
|
-
<xsl:
|
15431
|
-
<xsl:
|
15432
|
-
|
15433
|
-
|
15442
|
+
<xsl:choose>
|
15443
|
+
<xsl:when test="local-name(..) = 'p' and ancestor::*[local-name() = 'table']">
|
15444
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
15445
|
+
</xsl:when>
|
15446
|
+
<xsl:otherwise>
|
15447
|
+
<xsl:element name="name" namespace="{$namespace_full}">
|
15448
|
+
<xsl:copy-of select="@*"/>
|
15449
|
+
<xsl:apply-templates mode="update_xml_pres"/>
|
15450
|
+
</xsl:element>
|
15451
|
+
</xsl:otherwise>
|
15452
|
+
</xsl:choose>
|
15434
15453
|
</xsl:template>
|
15435
15454
|
|
15436
15455
|
<xsl:template match="*[local-name() = 'fmt-preferred']"/>
|
@@ -15528,6 +15547,9 @@
|
|
15528
15547
|
<xsl:apply-templates mode="update_xml_pres"/>
|
15529
15548
|
</xsl:template>
|
15530
15549
|
|
15550
|
+
<xsl:template match="*[local-name() = 'semx']">
|
15551
|
+
<xsl:apply-templates/>
|
15552
|
+
</xsl:template>
|
15531
15553
|
<xsl:template match="*[local-name() = 'semx']" mode="update_xml_step1">
|
15532
15554
|
<xsl:apply-templates mode="update_xml_step1"/>
|
15533
15555
|
</xsl:template>
|
@@ -7186,9 +7186,14 @@
|
|
7186
7186
|
|
7187
7187
|
<xsl:variable name="simple-table">
|
7188
7188
|
|
7189
|
+
<xsl:variable name="table_without_semantic_elements">
|
7190
|
+
<xsl:apply-templates mode="update_xml_pres"/>
|
7191
|
+
</xsl:variable>
|
7192
|
+
|
7189
7193
|
<!-- Step 0. replace <br/> to <p>...</p> -->
|
7190
7194
|
<xsl:variable name="table_without_br">
|
7191
|
-
<xsl:apply-templates mode="table-without-br"/>
|
7195
|
+
<!-- <xsl:apply-templates mode="table-without-br"/> -->
|
7196
|
+
<xsl:apply-templates select="xalan:nodeset($table_without_semantic_elements)" mode="table-without-br"/>
|
7192
7197
|
</xsl:variable>
|
7193
7198
|
|
7194
7199
|
<!-- Step 1. colspan processing -->
|
@@ -13264,16 +13269,30 @@
|
|
13264
13269
|
|
13265
13270
|
<xsl:template match="*[local-name() = 'fmt-name']"/>
|
13266
13271
|
<xsl:template match="*[local-name() = 'fmt-name']" mode="update_xml_step1">
|
13267
|
-
<xsl:
|
13268
|
-
<xsl:
|
13269
|
-
|
13270
|
-
|
13272
|
+
<xsl:choose>
|
13273
|
+
<xsl:when test="local-name(..) = 'p' and ancestor::*[local-name() = 'table']">
|
13274
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
13275
|
+
</xsl:when>
|
13276
|
+
<xsl:otherwise>
|
13277
|
+
<xsl:element name="name" namespace="{$namespace_full}">
|
13278
|
+
<xsl:copy-of select="@*"/>
|
13279
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
13280
|
+
</xsl:element>
|
13281
|
+
</xsl:otherwise>
|
13282
|
+
</xsl:choose>
|
13271
13283
|
</xsl:template>
|
13272
13284
|
<xsl:template match="*[local-name() = 'fmt-name']" mode="update_xml_pres">
|
13273
|
-
<xsl:
|
13274
|
-
<xsl:
|
13275
|
-
|
13276
|
-
|
13285
|
+
<xsl:choose>
|
13286
|
+
<xsl:when test="local-name(..) = 'p' and ancestor::*[local-name() = 'table']">
|
13287
|
+
<xsl:apply-templates mode="update_xml_step1"/>
|
13288
|
+
</xsl:when>
|
13289
|
+
<xsl:otherwise>
|
13290
|
+
<xsl:element name="name" namespace="{$namespace_full}">
|
13291
|
+
<xsl:copy-of select="@*"/>
|
13292
|
+
<xsl:apply-templates mode="update_xml_pres"/>
|
13293
|
+
</xsl:element>
|
13294
|
+
</xsl:otherwise>
|
13295
|
+
</xsl:choose>
|
13277
13296
|
</xsl:template>
|
13278
13297
|
|
13279
13298
|
<xsl:template match="*[local-name() = 'fmt-preferred']"/>
|
@@ -13371,6 +13390,9 @@
|
|
13371
13390
|
<xsl:apply-templates mode="update_xml_pres"/>
|
13372
13391
|
</xsl:template>
|
13373
13392
|
|
13393
|
+
<xsl:template match="*[local-name() = 'semx']">
|
13394
|
+
<xsl:apply-templates/>
|
13395
|
+
</xsl:template>
|
13374
13396
|
<xsl:template match="*[local-name() = 'semx']" mode="update_xml_step1">
|
13375
13397
|
<xsl:apply-templates mode="update_xml_step1"/>
|
13376
13398
|
</xsl:template>
|
@@ -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>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-bipm
|
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
|