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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b228ad21183ba091376ece03262981610397d4bd24dbbe4d25ecaade5919afc8
4
- data.tar.gz: 7afaa7821c8402caf21880b5f89c8f6cedf726e9f7d63e373378d3bc23396af5
3
+ metadata.gz: 416a87cd55baea0734c3fce8f962fa634d25f563f1463e4b1cc982720ab3eca1
4
+ data.tar.gz: e9d42bea79b94613665bbab9496045294c62772087eab1ea6791d46163a22c30
5
5
  SHA512:
6
- metadata.gz: '019d2fe2d610aa3a5cd57d87e208c8b0eba266fd6a1239acbcc8cc20e080aaa7ab4939b05ecdff9fd455a45b4363cbc4cc514bd6d6b6d7b8fd21b46fb4115c86'
7
- data.tar.gz: 9c4c8ca423d371e2702d7427014b30546e8da6a3c47f85f543ab7f6b6dabc4ff41114add59875fd1265857c8d04aeffc49e15324381fd92471ed11b9791069db
6
+ metadata.gz: 7370c152a14761d72eca2d016c9ac37829d7f48675e8ff4733f47a25419f5eeebc37433e97b1b6820bd03abf2b89384839f51ae6200bf37bf7ef301e175393f7
7
+ data.tar.gz: 6050bab5b929cef67c4bacb3503900f28794e561a498f0d8288a468ac3cef1c94ec69b99100809fdd73466e5ce4293933f6d2759b1c980b02dca3a0b14fdb1bd
data/.gitignore CHANGED
@@ -6,6 +6,7 @@
6
6
  /pkg/
7
7
  /spec/reports/
8
8
  /tmp/
9
+ /bibxml-ids/
9
10
  .vscode/
10
11
 
11
12
  # rspec failure tracking
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` - https://www.ietf.org/lib/dt/sprint/bibxml-ids.tgz
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
@@ -401,9 +401,9 @@
401
401
  <choice>
402
402
  <!-- iso191606 TODO -->
403
403
  <group>
404
- <oneOrMore>
404
+ <zeroOrMore>
405
405
  <ref name="street"/>
406
- </oneOrMore>
406
+ </zeroOrMore>
407
407
  <ref name="city"/>
408
408
  <optional>
409
409
  <ref name="state"/>
data/grammars/ietf.rng CHANGED
@@ -459,14 +459,9 @@
459
459
  <ref name="section-title"/>
460
460
  </optional>
461
461
  <group>
462
- <group>
463
- <zeroOrMore>
464
- <ref name="BasicBlock"/>
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
- <group>
512
- <zeroOrMore>
513
- <ref name="BasicBlock"/>
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
- <group>
551
- <zeroOrMore>
552
- <ref name="BasicBlock"/>
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
- <ref name="bcp14"/>
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="toc">
833
+ <element name="tocinclude">
846
834
  <text/>
847
835
  </element>
848
836
  </optional>