metanorma-ietf 3.6.7 → 3.6.8

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6a507adfdfc4defd2390ebf2f7fb144c2ff4fbebeaa728a5df4c786c2410f0a9
4
- data.tar.gz: efb0bb23d05e4e647c3effbdf1f5555a7781ef453534bddc5f0109811e4676fb
3
+ metadata.gz: 17bcabceaa3266e27009fca291f497dbda0bac6f31d48e9cb4aeb51653721682
4
+ data.tar.gz: 29a033f30aebf8a6c9b5127178617e2049696067746014d482145190309ff3ee
5
5
  SHA512:
6
- metadata.gz: 8c2a5ebe1e425b5389a7ec27e2f00acbf35ff7cd771e3344a332ae887fed53e37adb737de71f944151569ba4657070835d59cf3708db2687e4baa2322761c96e
7
- data.tar.gz: 2305e96e1affa68ad4d9dc2c6ceaf2fc747f24f25edaf071fce2a2cc78762ba411b29453cd1a80f494c02dd1cf48abe1ca654ee6fafcea6922a932a837100dd8
6
+ metadata.gz: f897268efa4c788332b8cd18f4d63c67094263bf1030028f01124209ddbf21778ffc1a3cb8bf82a70e550cd5ddbab216ff10a64316385c6eee7771185a986472
7
+ data.tar.gz: 4babd7a444518b0a712d06265c23040da702ff4d707d2f1dea4d2af90913e61bdff952d44405e0761dc0c9b2b263c8336d467b093b053a1e8850a07992a2db89
@@ -19,8 +19,9 @@ module IsoDoc
19
19
  i.children = docid_prefix(i["type"], i.text)
20
20
  end
21
21
  @bibrenderer =
22
- ::Relaton::Render::Ietf::General.new(language: @lang,
23
- i18nhash: @i18n.get)
22
+ ::Relaton::Render::Ietf::General
23
+ .new(language: @lang, i18nhash: @i18n.get,
24
+ config: @relatonrenderconfig)
24
25
  end
25
26
 
26
27
  def implicit_reference(bib)
@@ -138,8 +138,7 @@ module IsoDoc
138
138
  end
139
139
 
140
140
  def clause_parse_title(_node, div, clause, _out, _heading_attrs = {})
141
- return unless clause
142
-
141
+ clause or return
143
142
  div.name do |n|
144
143
  clause&.children&.each { |c2| parse(c2, n) }
145
144
  end
@@ -466,11 +466,11 @@ Editorial and advisory groups are represented as consecutive subdivisions of the
466
466
  <a:documentation>Contact information for the organization, including address, phone number, and email</a:documentation>
467
467
  </ref>
468
468
  </optional>
469
- <optional>
469
+ <zeroOrMore>
470
470
  <ref name="logo">
471
471
  <a:documentation>A logo for the organization</a:documentation>
472
472
  </ref>
473
- </optional>
473
+ </zeroOrMore>
474
474
  </define>
475
475
  <define name="orgname">
476
476
  <element name="name">
@@ -502,6 +502,11 @@ Editorial and advisory groups are represented as consecutive subdivisions of the
502
502
  </define>
503
503
  <define name="logo">
504
504
  <element name="logo">
505
+ <optional>
506
+ <attribute name="type">
507
+ <a:documentation>The type of logo</a:documentation>
508
+ </attribute>
509
+ </optional>
505
510
  <ref name="image-no-id"/>
506
511
  </element>
507
512
  </define>
@@ -513,6 +518,11 @@ Editorial and advisory groups are represented as consecutive subdivisions of the
513
518
  <a:documentation>Description of what is being depicted</a:documentation>
514
519
  </attribute>
515
520
  </optional>
521
+ <optional>
522
+ <attribute name="type">
523
+ <a:documentation>Description of what kind of depiction this</a:documentation>
524
+ </attribute>
525
+ </optional>
516
526
  <zeroOrMore>
517
527
  <ref name="image-no-id">
518
528
  <a:documentation>A visual depiction of the bibliographic item</a:documentation>
@@ -1236,9 +1246,9 @@ Refer to `BibliographicItem` for definitions</a:documentation>
1236
1246
  <optional>
1237
1247
  <ref name="validity"/>
1238
1248
  </optional>
1239
- <optional>
1249
+ <zeroOrMore>
1240
1250
  <ref name="depiction"/>
1241
- </optional>
1251
+ </zeroOrMore>
1242
1252
  </define>
1243
1253
  <define name="btitle">
1244
1254
  <a:documentation>A title of a bibliographic item, associated with a type of title</a:documentation>
@@ -137,7 +137,11 @@ module Metanorma
137
137
  super
138
138
  end
139
139
 
140
- def introduction_parse(attrs, xml, node)
140
+ #def introduction_parse(attrs, xml, node)
141
+ #clause_parse(attrs, xml, node)
142
+ #end
143
+
144
+ def acknowledgements_parse(attrs, xml, node)
141
145
  clause_parse(attrs, xml, node)
142
146
  end
143
147
 
@@ -33,12 +33,16 @@ module Metanorma
33
33
  xml.series **{ type: "intended" } do |s|
34
34
  parts = a.split(/ /)
35
35
  add_noko_elem(s, "title", parts[0])
36
- # s.title parts[0]
37
36
  add_noko_elem(s, "number", parts[1..-1].join(" ")) if parts.size > 1
38
- # s.number parts[1..-1].join(" ") if parts.size > 1
39
37
  end
40
38
  end
41
39
 
40
+ def title_fallback(node, xml)
41
+ xml.parent.at("./title[not(normalize-space(.)='')]" \
42
+ "[not(@type = 'abbrev' or @type = 'ascii')]") and return
43
+ add_title_xml(xml, node.attr("doctitle"), @lang, "main")
44
+ end
45
+
42
46
  def title_other(node, xml)
43
47
  a = node.attr("abbrev") and
44
48
  add_title_xml(xml, a, "en", "abbrev")
@@ -1,6 +1,6 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <grammar xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
3
- <!-- VERSION v2.1.4 -->
3
+ <!-- VERSION v2.1.5 -->
4
4
 
5
5
  <!--
6
6
  ALERT: cannot have root comments, because of https://github.com/metanorma/metanorma/issues/437
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module Ietf
3
- VERSION = "3.6.7".freeze
3
+ VERSION = "3.6.8".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-ietf
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.6.7
4
+ version: 3.6.8
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-17 00:00:00.000000000 Z
11
+ date: 2025-12-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: metanorma-ietf-data