metanorma-plateau 0.1.13 → 0.1.14

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: fad22267453817d7dd050971e3b16fd34fd304f4332883a236a99b780541af1e
4
- data.tar.gz: 1d9f8a76a3b02fcab621de3b1001f25fad38470d58fdd7029fedf11ad98ee72f
3
+ metadata.gz: d8dc6198df0a43ce003b8368e52bba495b51cb2b840d435aa2cc3d938004cc1b
4
+ data.tar.gz: a7faa2b5d6729d8e6c04469532cf79dfffc970b5f0e8cd13736992c3921961b4
5
5
  SHA512:
6
- metadata.gz: 46f87d72ac600e73e6b9d9e176b2cb3a35a78ce732333375c1e2f7daef8bcc0c80ddacf720b21361af70bd65ae15b6cbb0dafa05d43aeef9a93a9227781fc1ef
7
- data.tar.gz: a837b067e6c8b9420177f80ebf04add84cd91584cce67613afe9489d12a940fdb3d2774abf156547b69c0cb0417712543feb7e2b8189edfe91b817db56955d24
6
+ metadata.gz: 5a12da085c319dd59936ca47f85f90f272eceaf7febbe5b6695830033b0af241140768aa52bbccaea39f6dda77ccb628b99b2d06fa325b1ffdc7b3d41bf0470c
7
+ data.tar.gz: 0b62e6cbd2feebdab8db36f787867193e4d848500ceeff5cde41a4ac655db1e946bbd13c85f3b774119eee5a29fc364da60327a784e3a3b05ca7c314767772c0
@@ -1906,8 +1906,21 @@
1906
1906
 
1907
1907
  <!-- <xsl:strip-space elements="plateau:xref"/> -->
1908
1908
 
1909
- <xsl:variable name="namespace_full" select="namespace-uri(/*)"/> <!-- example: https://www.metanorma.org/ns/iso -->
1910
- <xsl:variable name="root_element" select="local-name(/*)"/> <!-- example: iso-standard -->
1909
+ <xsl:variable name="namespace_full_">
1910
+ <xsl:choose>
1911
+ <xsl:when test="local-name(/*) = 'metanorma-collection'"><xsl:value-of select="namespace-uri(//*[contains(local-name(), '-standard')][1])"/></xsl:when>
1912
+ <xsl:otherwise><xsl:value-of select="namespace-uri(/*)"/></xsl:otherwise><!-- example: https://www.metanorma.org/ns/iso -->
1913
+ </xsl:choose>
1914
+ </xsl:variable>
1915
+ <xsl:variable name="namespace_full" select="normalize-space($namespace_full_)"/>
1916
+
1917
+ <xsl:variable name="root_element_">
1918
+ <xsl:choose>
1919
+ <xsl:when test="local-name(/*) = 'metanorma-collection'"><xsl:value-of select="local-name(//*[contains(local-name(), '-standard')][1])"/></xsl:when>
1920
+ <xsl:otherwise><xsl:value-of select="local-name(/*)"/></xsl:otherwise><!-- example: iso-standard -->
1921
+ </xsl:choose>
1922
+ </xsl:variable>
1923
+ <xsl:variable name="root_element" select="normalize-space($root_element_)"/>
1911
1924
 
1912
1925
  <xsl:variable name="document_scheme" select="normalize-space(//*[contains(local-name(), '-standard')]/*[local-name() = 'metanorma-extension']/*[local-name() = 'presentation-metadata'][*[local-name() = 'name'] = 'document-scheme']/*[local-name() = 'value'])"/>
1913
1926
 
@@ -6705,6 +6718,12 @@
6705
6718
  </xsl:if>
6706
6719
  </xsl:template>
6707
6720
 
6721
+ <xsl:template match="*[local-name()='strike']">
6722
+ <fo:inline text-decoration="line-through">
6723
+ <xsl:apply-templates/>
6724
+ </fo:inline>
6725
+ </xsl:template>
6726
+
6708
6727
  <xsl:template match="*[local-name() = 'pagebreak']">
6709
6728
  <fo:block break-after="page"/>
6710
6729
  <fo:block> </fo:block>
@@ -267,11 +267,11 @@ Detailed in https://www.relaton.org/model/creator/</a:documentation>
267
267
  <a:documentation>An identifier of the person according to an international identifier scheme</a:documentation>
268
268
  </ref>
269
269
  </zeroOrMore>
270
- <zeroOrMore>
270
+ <optional>
271
271
  <ref name="contact">
272
272
  <a:documentation>Contact information for the person, including URI, address, phone number, and email</a:documentation>
273
273
  </ref>
274
- </zeroOrMore>
274
+ </optional>
275
275
  </element>
276
276
  </define>
277
277
  <define name="fullname">
@@ -454,11 +454,11 @@ real names (if the person is named with a pseudonym or user name); previous lega
454
454
  <a:documentation>An identifier of the organization according to an international identifier scheme</a:documentation>
455
455
  </ref>
456
456
  </zeroOrMore>
457
- <zeroOrMore>
457
+ <optional>
458
458
  <ref name="contact">
459
459
  <a:documentation>Contact information for the organization, including address, phone number, and email</a:documentation>
460
460
  </ref>
461
- </zeroOrMore>
461
+ </optional>
462
462
  <optional>
463
463
  <ref name="logo">
464
464
  <a:documentation>A logo for the organization</a:documentation>
@@ -540,12 +540,18 @@ real names (if the person is named with a pseudonym or user name); previous lega
540
540
  <!-- TODO may change -->
541
541
  <define name="contact">
542
542
  <a:documentation>Contact information for a person or organization</a:documentation>
543
- <choice>
543
+ <zeroOrMore>
544
544
  <ref name="address"/>
545
+ </zeroOrMore>
546
+ <zeroOrMore>
545
547
  <ref name="phone"/>
548
+ </zeroOrMore>
549
+ <zeroOrMore>
546
550
  <ref name="email"/>
551
+ </zeroOrMore>
552
+ <zeroOrMore>
547
553
  <ref name="uri"/>
548
- </choice>
554
+ </zeroOrMore>
549
555
  </define>
550
556
  <define name="phone">
551
557
  <a:documentation>The phone number associated with a person or organization</a:documentation>
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module Plateau
3
- VERSION = "0.1.13".freeze
3
+ VERSION = "0.1.14".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-plateau
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.13
4
+ version: 0.1.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-12-23 00:00:00.000000000 Z
11
+ date: 2025-01-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: metanorma-jis
@@ -281,7 +281,7 @@ homepage: https://github.com/metanorma/metanorma-plateau
281
281
  licenses:
282
282
  - LicenseRef-Ribose-Commercial
283
283
  metadata: {}
284
- post_install_message:
284
+ post_install_message:
285
285
  rdoc_options: []
286
286
  require_paths:
287
287
  - lib
@@ -297,7 +297,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
297
297
  version: '0'
298
298
  requirements: []
299
299
  rubygems_version: 3.3.27
300
- signing_key:
300
+ signing_key:
301
301
  specification_version: 4
302
302
  summary: Metanorma for MLIT Project PLATEAU (private)
303
303
  test_files: []