metanorma-plateau 0.1.13 → 0.1.15

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: 395bd0ddb1051233f50c4e50672c98227da150d638f4693857861421b43d238a
4
+ data.tar.gz: 0f69c4cee8908eb8c104a116150df2f05ed458bb01bfa2105c12669a85a558a7
5
5
  SHA512:
6
- metadata.gz: 46f87d72ac600e73e6b9d9e176b2cb3a35a78ce732333375c1e2f7daef8bcc0c80ddacf720b21361af70bd65ae15b6cbb0dafa05d43aeef9a93a9227781fc1ef
7
- data.tar.gz: a837b067e6c8b9420177f80ebf04add84cd91584cce67613afe9489d12a940fdb3d2774abf156547b69c0cb0417712543feb7e2b8189edfe91b817db56955d24
6
+ metadata.gz: 2aba824057acd6a554ef6829d166072e5f685816248cfd2f5b1a44bb4e7ed20debbbf18207054739d8f2b4f58dba03ea382e0f89c8750a6b9b77a0a0f9790280
7
+ data.tar.gz: d26e2a4f67a0caf9a2bf2087222abcf286c09a8917eebb38e899c6babeb04bf2c05ddd45d89afc5a01d597a37828775e39a01d8e2592cc768f54756aef4a240c
@@ -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
 
@@ -3059,6 +3072,9 @@
3059
3072
 
3060
3073
  </xsl:attribute-set>
3061
3074
 
3075
+ <xsl:attribute-set name="related-block-style" use-attribute-sets="preferred-block-style">
3076
+ </xsl:attribute-set>
3077
+
3062
3078
  <xsl:attribute-set name="definition-style">
3063
3079
 
3064
3080
  <xsl:attribute name="space-before">2pt</xsl:attribute>
@@ -5283,7 +5299,9 @@
5283
5299
  <xsl:with-param name="element">
5284
5300
  <fo:basic-link internal-destination="{$ref_id}" fox:alt-text="footnote {$current_fn_number}"> <!-- note: role="Lbl" removed in https://github.com/metanorma/mn2pdf/issues/291 -->
5285
5301
  <fo:inline role="Lbl"> <!-- need for https://github.com/metanorma/metanorma-iso/issues/1003 -->
5302
+
5286
5303
  <xsl:copy-of select="$current_fn_number_text"/>
5304
+
5287
5305
  </fo:inline>
5288
5306
  </fo:basic-link>
5289
5307
  </xsl:with-param>
@@ -5302,8 +5320,7 @@
5302
5320
 
5303
5321
  <fo:block-container xsl:use-attribute-sets="fn-container-body-style" role="SKIP">
5304
5322
 
5305
- <fo:block xsl:use-attribute-sets="fn-body-style" role="SKIP">
5306
-
5323
+ <xsl:variable name="fn_block">
5307
5324
  <xsl:call-template name="refine_fn-body-style"/>
5308
5325
 
5309
5326
  <fo:inline id="{$ref_id}" xsl:use-attribute-sets="fn-body-num-style" role="Lbl">
@@ -5311,9 +5328,15 @@
5311
5328
  <xsl:call-template name="refine_fn-body-num-style"/>
5312
5329
 
5313
5330
  <xsl:value-of select="$current_fn_number_text"/>
5331
+
5314
5332
  </fo:inline>
5315
5333
  <xsl:apply-templates/>
5316
- </fo:block>
5334
+ </xsl:variable>
5335
+
5336
+ <fo:block xsl:use-attribute-sets="fn-body-style" role="SKIP">
5337
+ <xsl:copy-of select="$fn_block"/>
5338
+ </fo:block>
5339
+
5317
5340
  </fo:block-container>
5318
5341
  </fo:footnote-body>
5319
5342
  </fo:footnote>
@@ -6705,6 +6728,12 @@
6705
6728
  </xsl:if>
6706
6729
  </xsl:template>
6707
6730
 
6731
+ <xsl:template match="*[local-name()='strike']">
6732
+ <fo:inline text-decoration="line-through">
6733
+ <xsl:apply-templates/>
6734
+ </fo:inline>
6735
+ </xsl:template>
6736
+
6708
6737
  <xsl:template match="*[local-name() = 'pagebreak']">
6709
6738
  <fo:block break-after="page"/>
6710
6739
  <fo:block> </fo:block>
@@ -11334,14 +11363,17 @@
11334
11363
  </fo:block>
11335
11364
  </xsl:template>
11336
11365
 
11337
- <xsl:template match="*[local-name() = 'domain']">
11366
+ <!-- <xsl:template match="*[local-name() = 'domain']"> -->
11338
11367
  <!-- https://github.com/metanorma/isodoc/issues/607
11339
11368
  <fo:inline xsl:use-attribute-sets="domain-style">&lt;<xsl:apply-templates/>&gt;</fo:inline>
11340
11369
  <xsl:text> </xsl:text> -->
11341
- <xsl:if test="not(@hidden = 'true')">
11370
+ <!-- <xsl:if test="not(@hidden = 'true')">
11342
11371
  <xsl:apply-templates/>
11343
11372
  </xsl:if>
11344
- </xsl:template>
11373
+ </xsl:template> -->
11374
+
11375
+ <!-- https://github.com/metanorma/isodoc/issues/632#issuecomment-2567163931 -->
11376
+ <xsl:template match="*[local-name() = 'domain']"/>
11345
11377
 
11346
11378
  <xsl:template match="*[local-name() = 'admitted']">
11347
11379
  <fo:block xsl:use-attribute-sets="admitted-style">
@@ -11356,9 +11388,11 @@
11356
11388
  </xsl:template>
11357
11389
 
11358
11390
  <xsl:template name="setStyle_preferred">
11359
- <xsl:if test="*[local-name() = 'strong']">
11360
- <xsl:attribute name="font-weight">normal</xsl:attribute>
11361
- </xsl:if>
11391
+
11392
+ <xsl:if test="*[local-name() = 'strong']">
11393
+ <xsl:attribute name="font-weight">normal</xsl:attribute>
11394
+ </xsl:if>
11395
+
11362
11396
  </xsl:template>
11363
11397
 
11364
11398
  <!-- regarding ISO 10241-1:2011, If there is more than one preferred term, each preferred term follows the previous one on a new line. -->
@@ -11368,6 +11402,17 @@
11368
11402
  </xsl:template>
11369
11403
  <!-- End Preferred, admitted, deprecated -->
11370
11404
 
11405
+ <xsl:template match="*[local-name() = 'fmt-related']">
11406
+ <fo:block role="SKIP" xsl:use-attribute-sets="related-block-style">
11407
+ <xsl:apply-templates/>
11408
+ </fo:block>
11409
+ </xsl:template>
11410
+ <xsl:template match="*[local-name() = 'fmt-related']/*[local-name() = 'p']" priority="4">
11411
+ <fo:block>
11412
+ <xsl:apply-templates/>
11413
+ </fo:block>
11414
+ </xsl:template>
11415
+
11371
11416
  <!-- ========== -->
11372
11417
  <!-- definition -->
11373
11418
  <!-- ========== -->
@@ -12287,6 +12332,7 @@
12287
12332
 
12288
12333
  <!-- Normative references -->
12289
12334
  <xsl:template match="*[local-name() = 'references'][@normative='true']/*[local-name() = 'bibitem']" name="bibitem" priority="2">
12335
+ <xsl:param name="skip" select="normalize-space(preceding-sibling::*[1][local-name() = 'bibitem'] and 1 = 1)"/> <!-- current bibiitem is non-first -->
12290
12336
 
12291
12337
  <fo:block id="{@id}" xsl:use-attribute-sets="bibitem-normative-style">
12292
12338
 
@@ -13003,7 +13049,8 @@
13003
13049
  <!-- add @id - first element with @id plus '_element_name' -->
13004
13050
  <xsl:variable name="prefix_id_" select="(.//*[@id])[1]/@id"/>
13005
13051
  <xsl:variable name="prefix_id"><xsl:value-of select="$prefix_id_"/><xsl:if test="normalize-space($prefix_id_) = ''"><xsl:value-of select="generate-id()"/></xsl:if></xsl:variable>
13006
- <xsl:attribute name="id"><xsl:value-of select="$prefix_id"/>_<xsl:value-of select="local-name()"/></xsl:attribute>
13052
+ <xsl:variable name="document_suffix" select="ancestor::*[contains(local-name(), '-standard')]/@document_suffix"/>
13053
+ <xsl:attribute name="id"><xsl:value-of select="concat($prefix_id, '_', local-name(), '_', $document_suffix)"/></xsl:attribute>
13007
13054
  </xsl:if>
13008
13055
  </xsl:template>
13009
13056
 
@@ -13060,6 +13107,31 @@
13060
13107
  <xsl:template match="*[local-name() = 'name'][following-sibling::*[1][local-name() = 'fmt-name']]" mode="update_xml_pres"/>
13061
13108
  <xsl:template match="*[local-name() = 'section-title'][following-sibling::*[1][local-name() = 'p'][@type = 'section-title' or @type = 'floating-title']]" mode="update_xml_step1"/>
13062
13109
  <xsl:template match="*[local-name() = 'section-title'][following-sibling::*[1][local-name() = 'p'][@type = 'section-title' or @type = 'floating-title']]" mode="update_xml_pres"/>
13110
+ <!-- <xsl:template match="*[local-name() = 'preferred'][following-sibling::*[not(local-name() = 'preferred')][1][local-name() = 'fmt-preferred']]" mode="update_xml_step1"/> -->
13111
+ <xsl:template match="*[local-name() = 'preferred']" mode="update_xml_step1"/>
13112
+ <!-- <xsl:template match="*[local-name() = 'preferred'][following-sibling::*[not(local-name() = 'preferred')][1][local-name() = 'fmt-preferred']]" mode="update_xml_pres"/> -->
13113
+ <xsl:template match="*[local-name() = 'preferred']" mode="update_xml_pres"/>
13114
+ <!-- <xsl:template match="*[local-name() = 'admitted'][following-sibling::*[not(local-name() = 'admitted')][1][local-name() = 'fmt-admitted']]" mode="update_xml_step1"/> -->
13115
+ <xsl:template match="*[local-name() = 'admitted']" mode="update_xml_step1"/>
13116
+ <!-- <xsl:template match="*[local-name() = 'admitted'][following-sibling::*[not(local-name() = 'admitted')][1][local-name() = 'fmt-admitted']]" mode="update_xml_pres"/> -->
13117
+ <xsl:template match="*[local-name() = 'admitted']" mode="update_xml_pres"/>
13118
+ <!-- <xsl:template match="*[local-name() = 'deprecates'][following-sibling::*[not(local-name() = 'deprecates')][1][local-name() = 'fmt-deprecates']]" mode="update_xml_step1"/> -->
13119
+ <xsl:template match="*[local-name() = 'deprecates']" mode="update_xml_step1"/>
13120
+ <xsl:template match="*[local-name() = 'related']" mode="update_xml_step1"/>
13121
+ <!-- <xsl:template match="*[local-name() = 'deprecates'][following-sibling::*[not(local-name() = 'deprecates')][1][local-name() = 'fmt-deprecates']]" mode="update_xml_pres"/> -->
13122
+ <xsl:template match="*[local-name() = 'deprecates']" mode="update_xml_pres"/>
13123
+ <xsl:template match="*[local-name() = 'related']" mode="update_xml_pres"/>
13124
+ <!-- <xsl:template match="*[local-name() = 'definition'][following-sibling::*[1][local-name() = 'fmt-definition']]" mode="update_xml_step1"/> -->
13125
+ <xsl:template match="*[local-name() = 'definition']" mode="update_xml_step1"/>
13126
+ <!-- <xsl:template match="*[local-name() = 'definition'][following-sibling::*[1][local-name() = 'fmt-definition']]" mode="update_xml_pres"/> -->
13127
+ <xsl:template match="*[local-name() = 'definition']" mode="update_xml_pres"/>
13128
+ <!-- <xsl:template match="*[local-name() = 'termsource'][following-sibling::*[1][local-name() = 'fmt-termsource']]" mode="update_xml_step1"/> -->
13129
+ <xsl:template match="*[local-name() = 'termsource']" mode="update_xml_step1"/>
13130
+ <!-- <xsl:template match="*[local-name() = 'termsource'][following-sibling::*[1][local-name() = 'fmt-termsource']]" mode="update_xml_pres"/> -->
13131
+ <xsl:template match="*[local-name() = 'termsource']" mode="update_xml_pres"/>
13132
+
13133
+ <xsl:template match="*[local-name() = 'term'][@unnumbered = 'true'][not(.//*[starts-with(local-name(), 'fmt-')])]" mode="update_xml_step1"/>
13134
+ <xsl:template match="*[local-name() = 'term'][@unnumbered = 'true'][not(.//*[starts-with(local-name(), 'fmt-')])]" mode="update_xml_pres"/>
13063
13135
 
13064
13136
  <xsl:template match="*[local-name() = 'p'][@type = 'section-title' or @type = 'floating-title'][preceding-sibling::*[1][local-name() = 'section-title']]" mode="update_xml_step1">
13065
13137
  <xsl:copy>
@@ -13104,6 +13176,94 @@
13104
13176
  </xsl:element>
13105
13177
  </xsl:template>
13106
13178
 
13179
+ <xsl:template match="*[local-name() = 'fmt-preferred']"/>
13180
+ <xsl:template match="*[local-name() = 'fmt-preferred'][*[local-name() = 'p']]" mode="update_xml_step1">
13181
+ <xsl:apply-templates mode="update_xml_step1"/>
13182
+ </xsl:template>
13183
+ <xsl:template match="*[local-name() = 'fmt-preferred'][not(*[local-name() = 'p'])] | *[local-name() = 'fmt-preferred']/*[local-name() = 'p']" mode="update_xml_step1">
13184
+ <xsl:element name="preferred" namespace="{$namespace_full}">
13185
+ <xsl:copy-of select="@*"/>
13186
+ <xsl:apply-templates mode="update_xml_step1"/>
13187
+ </xsl:element>
13188
+ </xsl:template>
13189
+ <xsl:template match="*[local-name() = 'fmt-preferred'][*[local-name() = 'p']]" mode="update_xml_pres">
13190
+ <xsl:apply-templates mode="update_xml_pres"/>
13191
+ </xsl:template>
13192
+ <xsl:template match="*[local-name() = 'fmt-preferred'][not(*[local-name() = 'p'])] | *[local-name() = 'fmt-preferred']/*[local-name() = 'p']" mode="update_xml_pres">
13193
+ <xsl:element name="preferred" namespace="{$namespace_full}">
13194
+ <xsl:copy-of select="@*"/>
13195
+ <xsl:apply-templates mode="update_xml_pres"/>
13196
+ </xsl:element>
13197
+ </xsl:template>
13198
+
13199
+ <xsl:template match="*[local-name() = 'fmt-admitted']"/>
13200
+ <xsl:template match="*[local-name() = 'fmt-admitted'][*[local-name() = 'p']]" mode="update_xml_step1">
13201
+ <xsl:apply-templates mode="update_xml_step1"/>
13202
+ </xsl:template>
13203
+ <xsl:template match="*[local-name() = 'fmt-admitted'][not(*[local-name() = 'p'])] | *[local-name() = 'fmt-admitted']/*[local-name() = 'p']" mode="update_xml_step1">
13204
+ <xsl:element name="admitted" namespace="{$namespace_full}">
13205
+ <xsl:copy-of select="@*"/>
13206
+ <xsl:apply-templates mode="update_xml_step1"/>
13207
+ </xsl:element>
13208
+ </xsl:template>
13209
+ <xsl:template match="*[local-name() = 'fmt-admitted'][*[local-name() = 'p']]" mode="update_xml_pres">
13210
+ <xsl:apply-templates mode="update_xml_pres"/>
13211
+ </xsl:template>
13212
+ <xsl:template match="*[local-name() = 'fmt-admitted'][not(*[local-name() = 'p'])] | *[local-name() = 'fmt-admitted']/*[local-name() = 'p']" mode="update_xml_pres">
13213
+ <xsl:element name="admitted" namespace="{$namespace_full}">
13214
+ <xsl:copy-of select="@*"/>
13215
+ <xsl:apply-templates mode="update_xml_pres"/>
13216
+ </xsl:element>
13217
+ </xsl:template>
13218
+
13219
+ <xsl:template match="*[local-name() = 'fmt-deprecates']"/>
13220
+ <xsl:template match="*[local-name() = 'fmt-deprecates'][*[local-name() = 'p']]" mode="update_xml_step1">
13221
+ <xsl:apply-templates mode="update_xml_step1"/>
13222
+ </xsl:template>
13223
+ <xsl:template match="*[local-name() = 'fmt-deprecates'][not(*[local-name() = 'p'])] | *[local-name() = 'fmt-deprecates']/*[local-name() = 'p']" mode="update_xml_step1">
13224
+ <xsl:element name="deprecates" namespace="{$namespace_full}">
13225
+ <xsl:copy-of select="@*"/>
13226
+ <xsl:apply-templates mode="update_xml_step1"/>
13227
+ </xsl:element>
13228
+ </xsl:template>
13229
+ <xsl:template match="*[local-name() = 'fmt-deprecates'][*[local-name() = 'p']]" mode="update_xml_pres">
13230
+ <xsl:apply-templates mode="update_xml_pres"/>
13231
+ </xsl:template>
13232
+ <xsl:template match="*[local-name() = 'fmt-deprecates'][not(*[local-name() = 'p'])] | *[local-name() = 'fmt-deprecates']/*[local-name() = 'p']" mode="update_xml_pres">
13233
+ <xsl:element name="deprecates" namespace="{$namespace_full}">
13234
+ <xsl:copy-of select="@*"/>
13235
+ <xsl:apply-templates mode="update_xml_pres"/>
13236
+ </xsl:element>
13237
+ </xsl:template>
13238
+
13239
+ <xsl:template match="*[local-name() = 'fmt-definition']"/>
13240
+ <xsl:template match="*[local-name() = 'fmt-definition']" mode="update_xml_step1">
13241
+ <xsl:element name="definition" namespace="{$namespace_full}">
13242
+ <xsl:copy-of select="@*"/>
13243
+ <xsl:apply-templates mode="update_xml_step1"/>
13244
+ </xsl:element>
13245
+ </xsl:template>
13246
+ <xsl:template match="*[local-name() = 'fmt-definition']" mode="update_xml_pres">
13247
+ <xsl:element name="definition" namespace="{$namespace_full}">
13248
+ <xsl:copy-of select="@*"/>
13249
+ <xsl:apply-templates mode="update_xml_pres"/>
13250
+ </xsl:element>
13251
+ </xsl:template>
13252
+
13253
+ <xsl:template match="*[local-name() = 'fmt-termsource']"/>
13254
+ <xsl:template match="*[local-name() = 'fmt-termsource']" mode="update_xml_step1">
13255
+ <xsl:element name="termsource" namespace="{$namespace_full}">
13256
+ <xsl:copy-of select="@*"/>
13257
+ <xsl:apply-templates mode="update_xml_step1"/>
13258
+ </xsl:element>
13259
+ </xsl:template>
13260
+ <xsl:template match="*[local-name() = 'fmt-termsource']" mode="update_xml_pres">
13261
+ <xsl:element name="termsource" namespace="{$namespace_full}">
13262
+ <xsl:copy-of select="@*"/>
13263
+ <xsl:apply-templates mode="update_xml_pres"/>
13264
+ </xsl:element>
13265
+ </xsl:template>
13266
+
13107
13267
  <xsl:template match="*[local-name() = 'span'][ @class = 'fmt-caption-label' or @class = 'fmt-element-name' or @class = 'fmt-caption-delim' or @class = 'fmt-autonum-delim']" mode="update_xml_step1" priority="3">
13108
13268
  <xsl:apply-templates mode="update_xml_step1"/>
13109
13269
  </xsl:template>
@@ -14349,7 +14509,7 @@
14349
14509
  </xsl:template>
14350
14510
 
14351
14511
  <xsl:template name="namespaceCheck">
14352
- <xsl:variable name="documentNS" select="namespace-uri(/*)"/>
14512
+ <xsl:variable name="documentNS" select="$namespace_full"/> <!-- namespace-uri(/*) -->
14353
14513
  <xsl:variable name="XSLNS">
14354
14514
 
14355
14515
  </xsl:variable>
@@ -14437,6 +14597,9 @@
14437
14597
  <xsl:when test="$formatted = 'true' and string-length($bibdata_updated) != ''">
14438
14598
  <xsl:apply-templates select="xalan:nodeset($bibdata_updated)//*[local-name() = 'localized-string'][@key = $key and @language = $curr_lang]"/>
14439
14599
  </xsl:when>
14600
+ <xsl:when test="string-length($bibdata_updated) != ''">
14601
+ <xsl:value-of select="xalan:nodeset($bibdata_updated)//*[local-name() = 'localized-string'][@key = $key and @language = $curr_lang]"/>
14602
+ </xsl:when>
14440
14603
  <xsl:when test="$formatted = 'true'">
14441
14604
  <xsl:apply-templates select="xalan:nodeset($bibdata)//*[local-name() = 'localized-string'][@key = $key and @language = $curr_lang]"/>
14442
14605
  </xsl:when>
@@ -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>
@@ -1271,17 +1277,17 @@ for which this claim of validity is made, if applicable</a:documentation>
1271
1277
  </define>
1272
1278
  <define name="validityBegins">
1273
1279
  <element name="validityBegins">
1274
- <ref name="ISO8601DateTime"/>
1280
+ <ref name="ISO8601Date"/>
1275
1281
  </element>
1276
1282
  </define>
1277
1283
  <define name="validityEnds">
1278
1284
  <element name="validityEnds">
1279
- <ref name="ISO8601DateTime"/>
1285
+ <ref name="ISO8601Date"/>
1280
1286
  </element>
1281
1287
  </define>
1282
1288
  <define name="validityRevision">
1283
1289
  <element name="revision">
1284
- <ref name="ISO8601DateTime"/>
1290
+ <ref name="ISO8601Date"/>
1285
1291
  </element>
1286
1292
  </define>
1287
1293
  <define name="TypedTitleString">
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module Plateau
3
- VERSION = "0.1.13".freeze
3
+ VERSION = "0.1.15".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.15
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-20 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: []