relaton-ogc 0.7.3 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/grammars/basicdoc.rng +12 -55
- data/grammars/biblio.rng +54 -6
- data/grammars/isodoc.rng +28 -1
- data/grammars/ogc.rng +0 -4
- data/lib/relaton_ogc/version.rb +1 -1
- data/relaton_ogc.gemspec +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d31542ffa98019d0623d55621d7fc20eaa4f2f23ac8172f840ff9ab0587753dd
|
4
|
+
data.tar.gz: 00d34659a518d59db200e68a57c29bc34efd64190bacb519862b7bdabcffaa04
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3456ec431674bf82fcdebd5c109ba4592400a1b682bca3dec19903bac9de1162908f11a26291e849ae06343a83b33efbe86ef15186ceb90a1c7f778467c94f93
|
7
|
+
data.tar.gz: 529b60377272f16966075f73de556eb70dda17f4e031e129d896923e64031a1aedca5d3f4a41150590801be0b31e48968f47b7bf47bc753b592e194365e1f26b
|
data/grammars/basicdoc.rng
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
2
|
<grammar xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
|
3
|
+
<include href="biblio.rng"/>
|
3
4
|
<start>
|
4
5
|
<ref name="document"/>
|
5
6
|
</start>
|
6
|
-
<include href="biblio.rng" />
|
7
7
|
<define name="document">
|
8
8
|
<element name="document">
|
9
9
|
<optional>
|
@@ -42,12 +42,6 @@
|
|
42
42
|
<data type="ID"/>
|
43
43
|
</attribute>
|
44
44
|
</optional>
|
45
|
-
<optional>
|
46
|
-
<attribute name="language"/>
|
47
|
-
</optional>
|
48
|
-
<optional>
|
49
|
-
<attribute name="script"/>
|
50
|
-
</optional>
|
51
45
|
<optional>
|
52
46
|
<ref name="section-title"/>
|
53
47
|
</optional>
|
@@ -194,14 +188,6 @@
|
|
194
188
|
<data type="boolean"/>
|
195
189
|
</attribute>
|
196
190
|
</optional>
|
197
|
-
<optional>
|
198
|
-
<attribute name="subsequence"/>
|
199
|
-
</optional>
|
200
|
-
<optional>
|
201
|
-
<attribute name="inequality">
|
202
|
-
<data type="boolean"/>
|
203
|
-
</attribute>
|
204
|
-
</optional>
|
205
191
|
<ref name="stem"/>
|
206
192
|
<optional>
|
207
193
|
<ref name="dl"/>
|
@@ -255,9 +241,6 @@
|
|
255
241
|
<data type="boolean"/>
|
256
242
|
</attribute>
|
257
243
|
</optional>
|
258
|
-
<optional>
|
259
|
-
<attribute name="subsequence"/>
|
260
|
-
</optional>
|
261
244
|
<optional>
|
262
245
|
<attribute name="lang"/>
|
263
246
|
</optional>
|
@@ -302,15 +285,9 @@
|
|
302
285
|
<data type="boolean"/>
|
303
286
|
</attribute>
|
304
287
|
</optional>
|
305
|
-
<optional>
|
306
|
-
<attribute name="subsequence"/>
|
307
|
-
</optional>
|
308
288
|
<optional>
|
309
289
|
<attribute name="alt"/>
|
310
290
|
</optional>
|
311
|
-
<optional>
|
312
|
-
<attribute name="summary"/>
|
313
|
-
</optional>
|
314
291
|
<optional>
|
315
292
|
<attribute name="uri">
|
316
293
|
<data type="anyURI"/>
|
@@ -336,9 +313,12 @@
|
|
336
313
|
</define>
|
337
314
|
<define name="tname">
|
338
315
|
<element name="name">
|
339
|
-
<
|
340
|
-
|
341
|
-
|
316
|
+
<text/>
|
317
|
+
</element>
|
318
|
+
</define>
|
319
|
+
<define name="tclass">
|
320
|
+
<element name="name">
|
321
|
+
<text/>
|
342
322
|
</element>
|
343
323
|
</define>
|
344
324
|
<define name="thead">
|
@@ -437,12 +417,6 @@
|
|
437
417
|
<data type="boolean"/>
|
438
418
|
</attribute>
|
439
419
|
</optional>
|
440
|
-
<optional>
|
441
|
-
<attribute name="subsequence"/>
|
442
|
-
</optional>
|
443
|
-
<optional>
|
444
|
-
<ref name="tname"/>
|
445
|
-
</optional>
|
446
420
|
<oneOrMore>
|
447
421
|
<choice>
|
448
422
|
<ref name="formula"/>
|
@@ -506,26 +480,18 @@
|
|
506
480
|
<data type="boolean"/>
|
507
481
|
</attribute>
|
508
482
|
</optional>
|
509
|
-
<optional>
|
510
|
-
<attribute name="subsequence"/>
|
511
|
-
</optional>
|
512
|
-
<optional>
|
513
|
-
<attribute name="class"/>
|
514
|
-
</optional>
|
515
483
|
<optional>
|
516
484
|
<ref name="source"/>
|
517
485
|
</optional>
|
518
486
|
<optional>
|
519
487
|
<ref name="tname"/>
|
520
488
|
</optional>
|
489
|
+
<optional>
|
490
|
+
<ref name="tclass"/>
|
491
|
+
</optional>
|
521
492
|
<choice>
|
522
493
|
<ref name="image"/>
|
523
|
-
<ref name="video"/>
|
524
|
-
<ref name="audio"/>
|
525
494
|
<ref name="pre"/>
|
526
|
-
<oneOrMore>
|
527
|
-
<ref name="paragraph-with-footnote"/>
|
528
|
-
</oneOrMore>
|
529
495
|
<zeroOrMore>
|
530
496
|
<ref name="figure"/>
|
531
497
|
</zeroOrMore>
|
@@ -812,9 +778,6 @@
|
|
812
778
|
<optional>
|
813
779
|
<attribute name="alt"/>
|
814
780
|
</optional>
|
815
|
-
<optional>
|
816
|
-
<attribute name="title"/>
|
817
|
-
</optional>
|
818
781
|
<optional>
|
819
782
|
<attribute name="longdesc">
|
820
783
|
<data type="anyURI"/>
|
@@ -823,7 +786,7 @@
|
|
823
786
|
</element>
|
824
787
|
</define>
|
825
788
|
<define name="video">
|
826
|
-
<element name="
|
789
|
+
<element name="image">
|
827
790
|
<attribute name="id">
|
828
791
|
<data type="ID"/>
|
829
792
|
</attribute>
|
@@ -853,9 +816,6 @@
|
|
853
816
|
<optional>
|
854
817
|
<attribute name="alt"/>
|
855
818
|
</optional>
|
856
|
-
<optional>
|
857
|
-
<attribute name="title"/>
|
858
|
-
</optional>
|
859
819
|
<optional>
|
860
820
|
<attribute name="longdesc">
|
861
821
|
<data type="anyURI"/>
|
@@ -867,7 +827,7 @@
|
|
867
827
|
</element>
|
868
828
|
</define>
|
869
829
|
<define name="audio">
|
870
|
-
<element name="
|
830
|
+
<element name="image">
|
871
831
|
<attribute name="id">
|
872
832
|
<data type="ID"/>
|
873
833
|
</attribute>
|
@@ -881,9 +841,6 @@
|
|
881
841
|
<optional>
|
882
842
|
<attribute name="alt"/>
|
883
843
|
</optional>
|
884
|
-
<optional>
|
885
|
-
<attribute name="title"/>
|
886
|
-
</optional>
|
887
844
|
<optional>
|
888
845
|
<attribute name="longdesc">
|
889
846
|
<data type="anyURI"/>
|
data/grammars/biblio.rng
CHANGED
@@ -49,11 +49,17 @@
|
|
49
49
|
</define>
|
50
50
|
<define name="stage">
|
51
51
|
<element name="stage">
|
52
|
+
<optional>
|
53
|
+
<attribute name="abbreviation"/>
|
54
|
+
</optional>
|
52
55
|
<text/>
|
53
56
|
</element>
|
54
57
|
</define>
|
55
58
|
<define name="substage">
|
56
59
|
<element name="substage">
|
60
|
+
<optional>
|
61
|
+
<attribute name="abbreviation"/>
|
62
|
+
</optional>
|
57
63
|
<text/>
|
58
64
|
</element>
|
59
65
|
</define>
|
@@ -452,9 +458,14 @@
|
|
452
458
|
<attribute name="bibitemid">
|
453
459
|
<data type="IDREF"/>
|
454
460
|
</attribute>
|
455
|
-
<
|
456
|
-
<
|
457
|
-
|
461
|
+
<choice>
|
462
|
+
<zeroOrMore>
|
463
|
+
<ref name="locality"/>
|
464
|
+
</zeroOrMore>
|
465
|
+
<zeroOrMore>
|
466
|
+
<ref name="localityStack"/>
|
467
|
+
</zeroOrMore>
|
468
|
+
</choice>
|
458
469
|
<optional>
|
459
470
|
<ref name="date"/>
|
460
471
|
</optional>
|
@@ -469,6 +480,25 @@
|
|
469
480
|
<ref name="BibItemLocality"/>
|
470
481
|
</element>
|
471
482
|
</define>
|
483
|
+
<define name="localityStack">
|
484
|
+
<element name="localityStack">
|
485
|
+
<zeroOrMore>
|
486
|
+
<ref name="locality"/>
|
487
|
+
</zeroOrMore>
|
488
|
+
</element>
|
489
|
+
</define>
|
490
|
+
<define name="sourceLocality">
|
491
|
+
<element name="sourceLocality">
|
492
|
+
<ref name="BibItemLocality"/>
|
493
|
+
</element>
|
494
|
+
</define>
|
495
|
+
<define name="sourceLocalityStack">
|
496
|
+
<element name="sourceLocalityStack">
|
497
|
+
<zeroOrMore>
|
498
|
+
<ref name="sourceLocality"/>
|
499
|
+
</zeroOrMore>
|
500
|
+
</element>
|
501
|
+
</define>
|
472
502
|
<define name="BibItemLocality">
|
473
503
|
<attribute name="type">
|
474
504
|
<ref name="LocalityType"/>
|
@@ -1028,12 +1058,30 @@
|
|
1028
1058
|
<attribute name="type">
|
1029
1059
|
<ref name="DocRelationType"/>
|
1030
1060
|
</attribute>
|
1061
|
+
<optional>
|
1062
|
+
<element name="description">
|
1063
|
+
<ref name="FormattedString"/>
|
1064
|
+
</element>
|
1065
|
+
</optional>
|
1031
1066
|
<element name="bibitem">
|
1032
1067
|
<ref name="BibliographicItem"/>
|
1033
1068
|
</element>
|
1034
|
-
<
|
1035
|
-
<
|
1036
|
-
|
1069
|
+
<choice>
|
1070
|
+
<zeroOrMore>
|
1071
|
+
<ref name="locality"/>
|
1072
|
+
</zeroOrMore>
|
1073
|
+
<zeroOrMore>
|
1074
|
+
<ref name="localityStack"/>
|
1075
|
+
</zeroOrMore>
|
1076
|
+
</choice>
|
1077
|
+
<choice>
|
1078
|
+
<zeroOrMore>
|
1079
|
+
<ref name="sourceLocality"/>
|
1080
|
+
</zeroOrMore>
|
1081
|
+
<zeroOrMore>
|
1082
|
+
<ref name="sourceLocalityStack"/>
|
1083
|
+
</zeroOrMore>
|
1084
|
+
</choice>
|
1037
1085
|
</element>
|
1038
1086
|
</define>
|
1039
1087
|
<define name="version">
|
data/grammars/isodoc.rng
CHANGED
@@ -303,8 +303,23 @@
|
|
303
303
|
<ref name="paragraph"/>
|
304
304
|
</element>
|
305
305
|
</define>
|
306
|
+
<define name="TextElement" combine="choice">
|
307
|
+
<ref name="concept"/>
|
308
|
+
</define>
|
306
309
|
</include>
|
307
310
|
<!-- end overrides -->
|
311
|
+
<define name="concept">
|
312
|
+
<element name="concept">
|
313
|
+
<optional>
|
314
|
+
<attribute name="term"/>
|
315
|
+
</optional>
|
316
|
+
<choice>
|
317
|
+
<ref name="eref"/>
|
318
|
+
<ref name="xref"/>
|
319
|
+
<ref name="termref"/>
|
320
|
+
</choice>
|
321
|
+
</element>
|
322
|
+
</define>
|
308
323
|
<define name="BasicBlock" combine="choice">
|
309
324
|
<choice>
|
310
325
|
<ref name="requirement"/>
|
@@ -911,7 +926,10 @@
|
|
911
926
|
</define>
|
912
927
|
<define name="origin">
|
913
928
|
<element name="origin">
|
914
|
-
<
|
929
|
+
<choice>
|
930
|
+
<ref name="erefType"/>
|
931
|
+
<ref name="termref"/>
|
932
|
+
</choice>
|
915
933
|
</element>
|
916
934
|
</define>
|
917
935
|
<define name="modification">
|
@@ -919,6 +937,15 @@
|
|
919
937
|
<ref name="paragraph"/>
|
920
938
|
</element>
|
921
939
|
</define>
|
940
|
+
<define name="termref">
|
941
|
+
<element name="termref">
|
942
|
+
<attribute name="base"/>
|
943
|
+
<attribute name="target"/>
|
944
|
+
<optional>
|
945
|
+
<text/>
|
946
|
+
</optional>
|
947
|
+
</element>
|
948
|
+
</define>
|
922
949
|
<define name="structuredidentifier">
|
923
950
|
<element name="structuredidentifier">
|
924
951
|
<optional>
|
data/grammars/ogc.rng
CHANGED
data/lib/relaton_ogc/version.rb
CHANGED
data/relaton_ogc.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: relaton-ogc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-04-
|
11
|
+
date: 2020-04-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: debase
|
@@ -168,16 +168,16 @@ dependencies:
|
|
168
168
|
name: relaton-iso-bib
|
169
169
|
requirement: !ruby/object:Gem::Requirement
|
170
170
|
requirements:
|
171
|
-
- - "
|
171
|
+
- - "~>"
|
172
172
|
- !ruby/object:Gem::Version
|
173
|
-
version: 0.
|
173
|
+
version: 1.0.0
|
174
174
|
type: :runtime
|
175
175
|
prerelease: false
|
176
176
|
version_requirements: !ruby/object:Gem::Requirement
|
177
177
|
requirements:
|
178
|
-
- - "
|
178
|
+
- - "~>"
|
179
179
|
- !ruby/object:Gem::Version
|
180
|
-
version: 0.
|
180
|
+
version: 1.0.0
|
181
181
|
description: 'RelatonIso: retrieve ISO Standards for bibliographic use using the IsoBibliographicItem
|
182
182
|
model'
|
183
183
|
email:
|