metanorma-iho 1.1.2 → 1.1.4

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.
@@ -1,5 +1,5 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <grammar xmlns="http://relaxng.org/ns/structure/1.0">
2
+ <grammar xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns="http://relaxng.org/ns/structure/1.0">
3
3
  <include href="biblio-standoc.rng">
4
4
  <define name="DocumentType">
5
5
  <choice>
@@ -24,28 +24,14 @@
24
24
  </oneOrMore>
25
25
  </element>
26
26
  </define>
27
- <define name="BibDataExtensionType">
28
- <optional>
29
- <attribute name="schema-version"/>
30
- </optional>
31
- <optional>
32
- <ref name="doctype"/>
33
- </optional>
34
- <optional>
35
- <ref name="docsubtype"/>
36
- </optional>
37
- <ref name="flavor"/>
38
- <zeroOrMore>
39
- <ref name="editorialgroup"/>
40
- </zeroOrMore>
41
- <zeroOrMore>
42
- <ref name="ics"/>
43
- </zeroOrMore>
44
- <optional>
45
- <ref name="commentperiod"/>
46
- </optional>
47
- </define>
48
27
  </include>
28
+ <define name="BibDataExtensionType" combine="interleave">
29
+ <optional>
30
+ <ref name="commentperiod">
31
+ <a:documentation>The period during which comments may be submitted to the document draft</a:documentation>
32
+ </ref>
33
+ </optional>
34
+ </define>
49
35
  <define name="committee">
50
36
  <element name="committee">
51
37
  <ref name="IHO_Group"/>
@@ -79,12 +65,16 @@
79
65
  </optional>
80
66
  </define>
81
67
  <define name="commentperiod">
68
+ <a:documentation>The period during which comments may be submitted to the document draft</a:documentation>
82
69
  <element name="commentperiod">
83
70
  <element name="from">
71
+ <a:documentation>The beginning of the period during which comments may be submitted to the document draft</a:documentation>
84
72
  <ref name="ISO8601Date"/>
85
73
  </element>
86
74
  <optional>
87
75
  <element name="to">
76
+ <a:documentation>The end of the period during which comments may be submitted to the document draft.
77
+ The end of the period may change, and may be left open-ended (omitted)</a:documentation>
88
78
  <ref name="ISO8601Date"/>
89
79
  </element>
90
80
  </optional>
@@ -1,5 +1,11 @@
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
+ <define name="requirement">
4
+ <element name="requirement">
5
+ <ref name="RequirementType"/>
6
+ </element>
7
+ </define>
8
+ <!-- ALERT: cannot have root comments, because of https://github.com/metanorma/metanorma/issues/437 -->
3
9
  <!--
4
10
  Presupposes isodoc.rnc, is included in it
5
11
  include "isodoc.rnc" { }
@@ -7,14 +13,9 @@
7
13
  This is the Metanorma default provisions model; it is overridden by other provisions models,
8
14
  such as Modspec
9
15
  -->
10
- <define name="requirement">
16
+ <define name="recommendation">
11
17
  <a:documentation>Specification of an attribute of a subject that is required.
12
18
  NOTE: A requirement can contain other requirements</a:documentation>
13
- <element name="requirement">
14
- <ref name="RequirementType"/>
15
- </element>
16
- </define>
17
- <define name="recommendation">
18
19
  <a:documentation>Specification of an attribute of a subject that is recommended</a:documentation>
19
20
  <element name="recommendation">
20
21
  <ref name="RequirementType"/>
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module Iho
3
- VERSION = "1.1.2".freeze
3
+ VERSION = "1.1.4".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-iho
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.1.4
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-03-17 00:00:00.000000000 Z
11
+ date: 2025-04-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: metanorma-generic