relaton-iho 2.1.0 → 2.2.0.pre.alpha.1
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/.github/workflows/rake.yml +1 -1
- data/Gemfile +7 -0
- data/Rakefile +1 -1
- data/lib/relaton/iho/bibliography.rb +21 -32
- data/lib/relaton/iho/docidentifier.rb +1 -5
- data/lib/relaton/iho/ext.rb +1 -3
- data/lib/relaton/iho/processor.rb +1 -1
- data/lib/relaton/iho/version.rb +1 -1
- data/lib/relaton/iho.rb +2 -2
- data/relaton-iho.gemspec +5 -5
- metadata +12 -18
- data/.rubocop.yml +0 -12
- data/grammars/basicdoc.rng +0 -2140
- data/grammars/biblio-standoc.rng +0 -268
- data/grammars/biblio.rng +0 -2125
- data/grammars/relaton-iho-compile.rng +0 -11
- data/grammars/relaton-iho.rng +0 -70
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<grammar xmlns="http://relaxng.org/ns/structure/1.0">
|
|
3
|
-
<include href="basicdoc.rng"/>
|
|
4
|
-
<include href="relaton-iho.rng"/>
|
|
5
|
-
<start>
|
|
6
|
-
<choice>
|
|
7
|
-
<ref name="bibitem"/>
|
|
8
|
-
<ref name="bibdata"/>
|
|
9
|
-
</choice>
|
|
10
|
-
</start>
|
|
11
|
-
</grammar>
|
data/grammars/relaton-iho.rng
DELETED
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<grammar xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns="http://relaxng.org/ns/structure/1.0">
|
|
3
|
-
<include href="biblio-standoc.rng">
|
|
4
|
-
<define name="DocumentType">
|
|
5
|
-
<choice>
|
|
6
|
-
<value>policy-and-procedures</value>
|
|
7
|
-
<value>best-practices</value>
|
|
8
|
-
<value>supporting-document</value>
|
|
9
|
-
<value>report</value>
|
|
10
|
-
<value>legal</value>
|
|
11
|
-
<value>directives</value>
|
|
12
|
-
<value>proposal</value>
|
|
13
|
-
<value>standard</value>
|
|
14
|
-
<value>specification</value>
|
|
15
|
-
<value>resolution</value>
|
|
16
|
-
<value>regulation</value>
|
|
17
|
-
</choice>
|
|
18
|
-
</define>
|
|
19
|
-
<define name="structuredidentifier">
|
|
20
|
-
<element name="structuredidentifier">
|
|
21
|
-
<element name="docnumber">
|
|
22
|
-
<text/>
|
|
23
|
-
</element>
|
|
24
|
-
<optional>
|
|
25
|
-
<element name="part">
|
|
26
|
-
<text/>
|
|
27
|
-
</element>
|
|
28
|
-
</optional>
|
|
29
|
-
<optional>
|
|
30
|
-
<element name="annexid">
|
|
31
|
-
<text/>
|
|
32
|
-
</element>
|
|
33
|
-
</optional>
|
|
34
|
-
<optional>
|
|
35
|
-
<element name="appendixid">
|
|
36
|
-
<text/>
|
|
37
|
-
</element>
|
|
38
|
-
</optional>
|
|
39
|
-
<optional>
|
|
40
|
-
<element name="supplementid">
|
|
41
|
-
<text/>
|
|
42
|
-
</element>
|
|
43
|
-
</optional>
|
|
44
|
-
</element>
|
|
45
|
-
</define>
|
|
46
|
-
</include>
|
|
47
|
-
<define name="BibDataExtensionType" combine="interleave">
|
|
48
|
-
<optional>
|
|
49
|
-
<ref name="commentperiod">
|
|
50
|
-
<a:documentation>The period during which comments may be submitted to the document draft</a:documentation>
|
|
51
|
-
</ref>
|
|
52
|
-
</optional>
|
|
53
|
-
</define>
|
|
54
|
-
<define name="commentperiod">
|
|
55
|
-
<a:documentation>The period during which comments may be submitted to the document draft</a:documentation>
|
|
56
|
-
<element name="commentperiod">
|
|
57
|
-
<element name="from">
|
|
58
|
-
<a:documentation>The beginning of the period during which comments may be submitted to the document draft</a:documentation>
|
|
59
|
-
<ref name="ISO8601Date"/>
|
|
60
|
-
</element>
|
|
61
|
-
<optional>
|
|
62
|
-
<element name="to">
|
|
63
|
-
<a:documentation>The end of the period during which comments may be submitted to the document draft.
|
|
64
|
-
The end of the period may change, and may be left open-ended (omitted)</a:documentation>
|
|
65
|
-
<ref name="ISO8601Date"/>
|
|
66
|
-
</element>
|
|
67
|
-
</optional>
|
|
68
|
-
</element>
|
|
69
|
-
</define>
|
|
70
|
-
</grammar>
|