relaton-ietf 1.9.10 → 1.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/README.adoc +1 -1
- data/grammars/biblio.rng +2 -2
- data/grammars/ietf.rng +14 -26
- data/grammars/isodoc.rng +617 -89
- data/grammars/reqt.rng +15 -4
- data/lib/relaton_ietf/bibxml_parser.rb +15 -2
- data/lib/relaton_ietf/data_fetcher.rb +18 -12
- data/lib/relaton_ietf/rfc_entry.rb +85 -9
- data/lib/relaton_ietf/rfc_index_entry.rb +1 -1
- data/lib/relaton_ietf/version.rb +1 -1
- data/relaton_ietf.gemspec +2 -2
- metadata +4 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 416a87cd55baea0734c3fce8f962fa634d25f563f1463e4b1cc982720ab3eca1
|
4
|
+
data.tar.gz: e9d42bea79b94613665bbab9496045294c62772087eab1ea6791d46163a22c30
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7370c152a14761d72eca2d016c9ac37829d7f48675e8ff4733f47a25419f5eeebc37433e97b1b6820bd03abf2b89384839f51ae6200bf37bf7ef301e175393f7
|
7
|
+
data.tar.gz: 6050bab5b929cef67c4bacb3503900f28794e561a498f0d8288a468ac3cef1c94ec69b99100809fdd73466e5ce4293933f6d2759b1c980b02dca3a0b14fdb1bd
|
data/.gitignore
CHANGED
data/README.adoc
CHANGED
@@ -138,7 +138,7 @@ RelatonIetf::IetfBibliographicItem.from_hash hash
|
|
138
138
|
There is a IETF datasets what can be converted into RelatonXML/BibXML/BibYAML formats:
|
139
139
|
|
140
140
|
- `ietf-rfcsubseries` - https://www.rfc-editor.org/rfc-index.xml (`<bcp-entry>`, `<fyi-entry>`, `<std-entry>`)
|
141
|
-
- `ietf-internet-drafts` -
|
141
|
+
- `ietf-internet-drafts` - converts files from local directory `./bibxml-ids`. Use `rsync -avcizxL rsync.ietf.org::bibxml-ids ./bibxml-ids` command to fetch the files.
|
142
142
|
- `ietf-rfc-entries` - https://www.rfc-editor.org/rfc-index.xml (`<rfc-entry>`)
|
143
143
|
|
144
144
|
The method `RelatonIetf::DataFetcher.fetch(source, output: "data", format: "yaml")` converts all the documents from the dataset and save them to the `./data` folder in YAML format.
|
data/grammars/biblio.rng
CHANGED
data/grammars/ietf.rng
CHANGED
@@ -459,14 +459,9 @@
|
|
459
459
|
<ref name="section-title"/>
|
460
460
|
</optional>
|
461
461
|
<group>
|
462
|
-
<
|
463
|
-
<
|
464
|
-
|
465
|
-
</zeroOrMore>
|
466
|
-
<zeroOrMore>
|
467
|
-
<ref name="note"/>
|
468
|
-
</zeroOrMore>
|
469
|
-
</group>
|
462
|
+
<zeroOrMore>
|
463
|
+
<ref name="BasicBlock"/>
|
464
|
+
</zeroOrMore>
|
470
465
|
<zeroOrMore>
|
471
466
|
<choice>
|
472
467
|
<ref name="clause-subsection"/>
|
@@ -508,14 +503,9 @@
|
|
508
503
|
<ref name="section-title"/>
|
509
504
|
</optional>
|
510
505
|
<group>
|
511
|
-
<
|
512
|
-
<
|
513
|
-
|
514
|
-
</zeroOrMore>
|
515
|
-
<zeroOrMore>
|
516
|
-
<ref name="note"/>
|
517
|
-
</zeroOrMore>
|
518
|
-
</group>
|
506
|
+
<zeroOrMore>
|
507
|
+
<ref name="BasicBlock"/>
|
508
|
+
</zeroOrMore>
|
519
509
|
<zeroOrMore>
|
520
510
|
<ref name="clause-subsection"/>
|
521
511
|
</zeroOrMore>
|
@@ -547,14 +537,9 @@
|
|
547
537
|
<ref name="section-title"/>
|
548
538
|
</optional>
|
549
539
|
<group>
|
550
|
-
<
|
551
|
-
<
|
552
|
-
|
553
|
-
</zeroOrMore>
|
554
|
-
<zeroOrMore>
|
555
|
-
<ref name="note"/>
|
556
|
-
</zeroOrMore>
|
557
|
-
</group>
|
540
|
+
<zeroOrMore>
|
541
|
+
<ref name="BasicBlock"/>
|
542
|
+
</zeroOrMore>
|
558
543
|
<zeroOrMore>
|
559
544
|
<ref name="content-subsection"/>
|
560
545
|
</zeroOrMore>
|
@@ -602,7 +587,10 @@
|
|
602
587
|
</define>
|
603
588
|
</include>
|
604
589
|
<define name="TextElement" combine="choice">
|
605
|
-
<
|
590
|
+
<choice>
|
591
|
+
<ref name="bcp14"/>
|
592
|
+
<ref name="review"/>
|
593
|
+
</choice>
|
606
594
|
</define>
|
607
595
|
<define name="bcp14">
|
608
596
|
<element name="bcp14">
|
@@ -842,7 +830,7 @@
|
|
842
830
|
</element>
|
843
831
|
</optional>
|
844
832
|
<optional>
|
845
|
-
<element name="
|
833
|
+
<element name="tocinclude">
|
846
834
|
<text/>
|
847
835
|
</element>
|
848
836
|
</optional>
|