metanorma-generic 1.8.1 → 1.10.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/rake.yml +11 -30
- data/.gitignore +2 -0
- data/.hound.yml +3 -1
- data/.rubocop.yml +7 -7
- data/lib/asciidoctor/generic/basicdoc.rng +5 -3
- data/lib/asciidoctor/generic/biblio.rng +5 -6
- data/lib/asciidoctor/generic/converter.rb +1 -1
- data/lib/asciidoctor/generic/generic.rng +9 -0
- data/lib/asciidoctor/generic/isodoc.rng +473 -10
- data/lib/isodoc/generic/html_convert.rb +3 -4
- data/lib/isodoc/generic/metadata.rb +26 -21
- data/lib/isodoc/generic/pdf_convert.rb +2 -2
- data/lib/isodoc/generic/word_convert.rb +2 -2
- data/lib/metanorma/generic/processor.rb +9 -25
- data/lib/metanorma/generic/version.rb +1 -1
- data/metanorma-generic.gemspec +10 -10
- metadata +36 -40
- data/.rubocop.ribose.yml +0 -66
- data/.rubocop.tb.yml +0 -650
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 15f20c2ff6ac5b4bd0c8225e2c2e90eccc45535e37ed0aa1a2d5d644aa66edab
|
4
|
+
data.tar.gz: b8334113bb3b81424dded4d127fdabf2767441201c5a4509d9282b280304d004
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 45cb75656b843384c91ce95588e490515cb8aeec3c3288359cd755c89a988d6d4821a0990a83c9c94776822a3d9df09ccc518934d8a8180364e9a3c0465e8435
|
7
|
+
data.tar.gz: c539dee549b527bb65f52272caaed23924139b06cc822272589a49a14dff01c826f4d2cb33a931e8d571b9b7466395935eff8d4893b4fd2b47a047b78d85acc7
|
data/.github/workflows/rake.yml
CHANGED
@@ -4,7 +4,7 @@ name: rake
|
|
4
4
|
|
5
5
|
on:
|
6
6
|
push:
|
7
|
-
branches: [ master, main
|
7
|
+
branches: [ master, main ]
|
8
8
|
tags: [ v* ]
|
9
9
|
pull_request:
|
10
10
|
|
@@ -16,35 +16,18 @@ jobs:
|
|
16
16
|
strategy:
|
17
17
|
fail-fast: false
|
18
18
|
matrix:
|
19
|
-
ruby: [ '2.
|
19
|
+
ruby: [ '3.0', '2.7', '2.6', '2.5' ]
|
20
20
|
os: [ ubuntu-latest, windows-latest, macos-latest ]
|
21
21
|
experimental: [ false ]
|
22
|
-
include:
|
23
|
-
- ruby: '2.7'
|
24
|
-
os: 'ubuntu-latest'
|
25
|
-
experimental: true
|
26
|
-
- ruby: '2.7'
|
27
|
-
os: 'windows-latest'
|
28
|
-
experimental: true
|
29
|
-
- ruby: '2.7'
|
30
|
-
os: 'macos-latest'
|
31
|
-
experimental: true
|
32
22
|
steps:
|
33
|
-
- uses: actions/checkout@
|
23
|
+
- uses: actions/checkout@v2
|
24
|
+
with:
|
25
|
+
submodules: true
|
34
26
|
|
35
27
|
- uses: ruby/setup-ruby@v1
|
36
28
|
with:
|
37
29
|
ruby-version: ${{ matrix.ruby }}
|
38
|
-
|
39
|
-
- uses: actions/cache@v2
|
40
|
-
with:
|
41
|
-
path: vendor/bundle
|
42
|
-
key: bundle-${{ matrix.os }}-${{ matrix.ruby }}-${{ hashFiles('**/*.gemspec') }}
|
43
|
-
restore-keys: bundle-${{ matrix.os }}-${{ matrix.ruby }}
|
44
|
-
|
45
|
-
- run: bundle config set path 'vendor/bundle'
|
46
|
-
|
47
|
-
- run: bundle install --jobs 4 --retry 3
|
30
|
+
bundler-cache: true
|
48
31
|
|
49
32
|
- run: bundle exec rake
|
50
33
|
|
@@ -52,11 +35,9 @@ jobs:
|
|
52
35
|
needs: rake
|
53
36
|
runs-on: ubuntu-latest
|
54
37
|
steps:
|
55
|
-
-
|
56
|
-
uses: Sibz/github-status-action@v1
|
38
|
+
- uses: peter-evans/repository-dispatch@v1
|
57
39
|
with:
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
sha: ${{ github.event.pull_request.head.sha || github.sha }}
|
40
|
+
token: ${{ secrets.METANORMA_CI_PAT_TOKEN || secrets.GITHUB_TOKEN }}
|
41
|
+
repository: ${{ github.repository }}
|
42
|
+
event-type: tests-passed
|
43
|
+
client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}'
|
data/.gitignore
CHANGED
data/.hound.yml
CHANGED
data/.rubocop.yml
CHANGED
@@ -1,10 +1,10 @@
|
|
1
|
-
#
|
2
|
-
# https://github.com/
|
3
|
-
# All project-specific additions and overrides should be specified in this file.
|
4
|
-
|
1
|
+
# Auto-generated by Cimas: Do not edit it manually!
|
2
|
+
# See https://github.com/metanorma/cimas
|
5
3
|
inherit_from:
|
6
4
|
- https://raw.githubusercontent.com/riboseinc/oss-guides/master/ci/rubocop.yml
|
5
|
+
|
6
|
+
# local repo-specific modifications
|
7
|
+
# ...
|
8
|
+
|
7
9
|
AllCops:
|
8
|
-
TargetRubyVersion: 2.
|
9
|
-
Rails:
|
10
|
-
Enabled: true
|
10
|
+
TargetRubyVersion: 2.5
|
@@ -729,9 +729,11 @@
|
|
729
729
|
</define>
|
730
730
|
<define name="index">
|
731
731
|
<element name="index">
|
732
|
-
<
|
733
|
-
<
|
734
|
-
|
732
|
+
<optional>
|
733
|
+
<attribute name="to">
|
734
|
+
<data type="IDREF"/>
|
735
|
+
</attribute>
|
736
|
+
</optional>
|
735
737
|
<element name="primary">
|
736
738
|
<oneOrMore>
|
737
739
|
<ref name="PureTextElement"/>
|
@@ -124,7 +124,7 @@
|
|
124
124
|
<value>application/tei+xml</value>
|
125
125
|
<value>text/x-asciidoc</value>
|
126
126
|
<value>text/markdown</value>
|
127
|
-
<value>application/x-
|
127
|
+
<value>application/x-metanorma+xml</value>
|
128
128
|
<text/>
|
129
129
|
</choice>
|
130
130
|
</attribute>
|
@@ -452,6 +452,7 @@
|
|
452
452
|
<attribute name="type">
|
453
453
|
<choice>
|
454
454
|
<value>isni</value>
|
455
|
+
<value>orcid</value>
|
455
456
|
<value>uri</value>
|
456
457
|
</choice>
|
457
458
|
</attribute>
|
@@ -461,10 +462,7 @@
|
|
461
462
|
<define name="org-identifier">
|
462
463
|
<element name="identifier">
|
463
464
|
<attribute name="type">
|
464
|
-
<
|
465
|
-
<value>orcid</value>
|
466
|
-
<value>uri</value>
|
467
|
-
</choice>
|
465
|
+
<data type="string" datatypeLibrary=""/>
|
468
466
|
</attribute>
|
469
467
|
<text/>
|
470
468
|
</element>
|
@@ -789,6 +787,7 @@
|
|
789
787
|
<value>adapted</value>
|
790
788
|
<value>vote-started</value>
|
791
789
|
<value>vote-ended</value>
|
790
|
+
<value>announced</value>
|
792
791
|
</choice>
|
793
792
|
</define>
|
794
793
|
<define name="bdate">
|
@@ -1106,7 +1105,7 @@
|
|
1106
1105
|
<value>complementOf</value>
|
1107
1106
|
<value>obsoletes</value>
|
1108
1107
|
<value>obsoletedBy</value>
|
1109
|
-
<value>
|
1108
|
+
<value>cites</value>
|
1110
1109
|
<value>isCitedIn</value>
|
1111
1110
|
</choice>
|
1112
1111
|
</define>
|
@@ -32,6 +32,9 @@
|
|
32
32
|
<optional>
|
33
33
|
<ref name="doctype"/>
|
34
34
|
</optional>
|
35
|
+
<optional>
|
36
|
+
<ref name="docsubtype"/>
|
37
|
+
</optional>
|
35
38
|
<ref name="editorialgroup"/>
|
36
39
|
<zeroOrMore>
|
37
40
|
<ref name="ics"/>
|
@@ -70,6 +73,9 @@
|
|
70
73
|
<zeroOrMore>
|
71
74
|
<ref name="termdocsource"/>
|
72
75
|
</zeroOrMore>
|
76
|
+
<optional>
|
77
|
+
<ref name="misccontainer"/>
|
78
|
+
</optional>
|
73
79
|
<optional>
|
74
80
|
<ref name="boilerplate"/>
|
75
81
|
</optional>
|
@@ -81,6 +87,9 @@
|
|
81
87
|
<ref name="annex"/>
|
82
88
|
</zeroOrMore>
|
83
89
|
<ref name="bibliography"/>
|
90
|
+
<zeroOrMore>
|
91
|
+
<ref name="indexsect"/>
|
92
|
+
</zeroOrMore>
|
84
93
|
</element>
|
85
94
|
</define>
|
86
95
|
</grammar>
|
@@ -45,6 +45,11 @@
|
|
45
45
|
<optional>
|
46
46
|
<attribute name="alt"/>
|
47
47
|
</optional>
|
48
|
+
<optional>
|
49
|
+
<attribute name="updatetype">
|
50
|
+
<data type="boolean"/>
|
51
|
+
</attribute>
|
52
|
+
</optional>
|
48
53
|
<text/>
|
49
54
|
</element>
|
50
55
|
</define>
|
@@ -86,6 +91,35 @@
|
|
86
91
|
<text/>
|
87
92
|
</element>
|
88
93
|
</define>
|
94
|
+
<define name="erefType">
|
95
|
+
<optional>
|
96
|
+
<attribute name="normative">
|
97
|
+
<data type="boolean"/>
|
98
|
+
</attribute>
|
99
|
+
</optional>
|
100
|
+
<attribute name="citeas"/>
|
101
|
+
<attribute name="type">
|
102
|
+
<ref name="ReferenceFormat"/>
|
103
|
+
</attribute>
|
104
|
+
<optional>
|
105
|
+
<attribute name="alt"/>
|
106
|
+
</optional>
|
107
|
+
<optional>
|
108
|
+
<attribute name="case">
|
109
|
+
<choice>
|
110
|
+
<value>capital</value>
|
111
|
+
<value>lowercase</value>
|
112
|
+
</choice>
|
113
|
+
</attribute>
|
114
|
+
</optional>
|
115
|
+
<optional>
|
116
|
+
<attribute name="droploc">
|
117
|
+
<data type="boolean"/>
|
118
|
+
</attribute>
|
119
|
+
</optional>
|
120
|
+
<ref name="CitationType"/>
|
121
|
+
<text/>
|
122
|
+
</define>
|
89
123
|
<define name="ul">
|
90
124
|
<element name="ul">
|
91
125
|
<attribute name="id">
|
@@ -102,7 +136,7 @@
|
|
102
136
|
</attribute>
|
103
137
|
</optional>
|
104
138
|
<oneOrMore>
|
105
|
-
<ref name="
|
139
|
+
<ref name="ul_li"/>
|
106
140
|
</oneOrMore>
|
107
141
|
<zeroOrMore>
|
108
142
|
<ref name="note"/>
|
@@ -253,6 +287,9 @@
|
|
253
287
|
<data type="boolean"/>
|
254
288
|
</attribute>
|
255
289
|
</optional>
|
290
|
+
<optional>
|
291
|
+
<attribute name="width"/>
|
292
|
+
</optional>
|
256
293
|
<optional>
|
257
294
|
<ref name="colgroup"/>
|
258
295
|
</optional>
|
@@ -511,6 +548,9 @@
|
|
511
548
|
</define>
|
512
549
|
<define name="BibDataExtensionType">
|
513
550
|
<ref name="doctype"/>
|
551
|
+
<optional>
|
552
|
+
<ref name="docsubtype"/>
|
553
|
+
</optional>
|
514
554
|
<optional>
|
515
555
|
<ref name="editorialgroup"/>
|
516
556
|
</optional>
|
@@ -772,8 +812,100 @@
|
|
772
812
|
<ref name="paragraph"/>
|
773
813
|
</element>
|
774
814
|
</define>
|
815
|
+
<define name="em">
|
816
|
+
<element name="em">
|
817
|
+
<zeroOrMore>
|
818
|
+
<choice>
|
819
|
+
<ref name="PureTextElement"/>
|
820
|
+
<ref name="stem"/>
|
821
|
+
<ref name="index"/>
|
822
|
+
</choice>
|
823
|
+
</zeroOrMore>
|
824
|
+
</element>
|
825
|
+
</define>
|
826
|
+
<define name="strong">
|
827
|
+
<element name="strong">
|
828
|
+
<zeroOrMore>
|
829
|
+
<choice>
|
830
|
+
<ref name="PureTextElement"/>
|
831
|
+
<ref name="stem"/>
|
832
|
+
<ref name="index"/>
|
833
|
+
</choice>
|
834
|
+
</zeroOrMore>
|
835
|
+
</element>
|
836
|
+
</define>
|
837
|
+
<define name="tt">
|
838
|
+
<element name="tt">
|
839
|
+
<zeroOrMore>
|
840
|
+
<choice>
|
841
|
+
<ref name="PureTextElement"/>
|
842
|
+
<ref name="index"/>
|
843
|
+
</choice>
|
844
|
+
</zeroOrMore>
|
845
|
+
</element>
|
846
|
+
</define>
|
847
|
+
<define name="keyword">
|
848
|
+
<element name="keyword">
|
849
|
+
<zeroOrMore>
|
850
|
+
<choice>
|
851
|
+
<ref name="PureTextElement"/>
|
852
|
+
<ref name="index"/>
|
853
|
+
</choice>
|
854
|
+
</zeroOrMore>
|
855
|
+
</element>
|
856
|
+
</define>
|
857
|
+
<define name="strike">
|
858
|
+
<element name="strike">
|
859
|
+
<zeroOrMore>
|
860
|
+
<choice>
|
861
|
+
<ref name="PureTextElement"/>
|
862
|
+
<ref name="index"/>
|
863
|
+
</choice>
|
864
|
+
</zeroOrMore>
|
865
|
+
</element>
|
866
|
+
</define>
|
867
|
+
<define name="underline">
|
868
|
+
<element name="underline">
|
869
|
+
<zeroOrMore>
|
870
|
+
<choice>
|
871
|
+
<ref name="PureTextElement"/>
|
872
|
+
<ref name="index"/>
|
873
|
+
</choice>
|
874
|
+
</zeroOrMore>
|
875
|
+
</element>
|
876
|
+
</define>
|
877
|
+
<define name="smallcap">
|
878
|
+
<element name="smallcap">
|
879
|
+
<zeroOrMore>
|
880
|
+
<choice>
|
881
|
+
<ref name="PureTextElement"/>
|
882
|
+
<ref name="index"/>
|
883
|
+
</choice>
|
884
|
+
</zeroOrMore>
|
885
|
+
</element>
|
886
|
+
</define>
|
887
|
+
<define name="pagebreak">
|
888
|
+
<element name="pagebreak">
|
889
|
+
<optional>
|
890
|
+
<attribute name="orientation">
|
891
|
+
<choice>
|
892
|
+
<value>landscape</value>
|
893
|
+
<value>portrait</value>
|
894
|
+
</choice>
|
895
|
+
</attribute>
|
896
|
+
</optional>
|
897
|
+
</element>
|
898
|
+
</define>
|
775
899
|
</include>
|
776
900
|
<!-- end overrides -->
|
901
|
+
<define name="docsubtype">
|
902
|
+
<element name="docsubtype">
|
903
|
+
<ref name="DocumentSubtype"/>
|
904
|
+
</element>
|
905
|
+
</define>
|
906
|
+
<define name="DocumentSubtype">
|
907
|
+
<text/>
|
908
|
+
</define>
|
777
909
|
<define name="colgroup">
|
778
910
|
<element name="colgroup">
|
779
911
|
<oneOrMore>
|
@@ -786,13 +918,61 @@
|
|
786
918
|
<attribute name="width"/>
|
787
919
|
</element>
|
788
920
|
</define>
|
921
|
+
<define name="BibItemType" combine="choice">
|
922
|
+
<value>internal</value>
|
923
|
+
</define>
|
789
924
|
<define name="TextElement" combine="choice">
|
790
|
-
<
|
925
|
+
<choice>
|
926
|
+
<ref name="concept"/>
|
927
|
+
<ref name="add"/>
|
928
|
+
<ref name="del"/>
|
929
|
+
</choice>
|
930
|
+
</define>
|
931
|
+
<define name="add">
|
932
|
+
<element name="add">
|
933
|
+
<choice>
|
934
|
+
<ref name="PureTextElement"/>
|
935
|
+
<ref name="eref"/>
|
936
|
+
<ref name="stem"/>
|
937
|
+
<ref name="keyword"/>
|
938
|
+
<ref name="xref"/>
|
939
|
+
<ref name="hyperlink"/>
|
940
|
+
</choice>
|
941
|
+
</element>
|
942
|
+
</define>
|
943
|
+
<define name="del">
|
944
|
+
<element name="del">
|
945
|
+
<choice>
|
946
|
+
<ref name="PureTextElement"/>
|
947
|
+
<ref name="eref"/>
|
948
|
+
<ref name="stem"/>
|
949
|
+
<ref name="keyword"/>
|
950
|
+
<ref name="xref"/>
|
951
|
+
<ref name="hyperlink"/>
|
952
|
+
</choice>
|
953
|
+
</element>
|
791
954
|
</define>
|
792
955
|
<define name="concept">
|
793
956
|
<element name="concept">
|
794
957
|
<optional>
|
795
|
-
<
|
958
|
+
<element name="refterm">
|
959
|
+
<zeroOrMore>
|
960
|
+
<choice>
|
961
|
+
<ref name="PureTextElement"/>
|
962
|
+
<ref name="stem"/>
|
963
|
+
</choice>
|
964
|
+
</zeroOrMore>
|
965
|
+
</element>
|
966
|
+
</optional>
|
967
|
+
<optional>
|
968
|
+
<element name="renderterm">
|
969
|
+
<zeroOrMore>
|
970
|
+
<choice>
|
971
|
+
<ref name="PureTextElement"/>
|
972
|
+
<ref name="stem"/>
|
973
|
+
</choice>
|
974
|
+
</zeroOrMore>
|
975
|
+
</element>
|
796
976
|
</optional>
|
797
977
|
<choice>
|
798
978
|
<ref name="eref"/>
|
@@ -806,8 +986,172 @@
|
|
806
986
|
<ref name="requirement"/>
|
807
987
|
<ref name="recommendation"/>
|
808
988
|
<ref name="permission"/>
|
989
|
+
<ref name="imagemap"/>
|
990
|
+
<ref name="svgmap"/>
|
991
|
+
<ref name="inputform"/>
|
992
|
+
</choice>
|
993
|
+
</define>
|
994
|
+
<define name="inputform">
|
995
|
+
<element name="form">
|
996
|
+
<attribute name="id">
|
997
|
+
<data type="ID"/>
|
998
|
+
</attribute>
|
999
|
+
<attribute name="name"/>
|
1000
|
+
<attribute name="action"/>
|
1001
|
+
<zeroOrMore>
|
1002
|
+
<choice>
|
1003
|
+
<ref name="TextElement"/>
|
1004
|
+
<ref name="FormInput"/>
|
1005
|
+
</choice>
|
1006
|
+
</zeroOrMore>
|
1007
|
+
</element>
|
1008
|
+
</define>
|
1009
|
+
<define name="FormInput">
|
1010
|
+
<choice>
|
1011
|
+
<ref name="input"/>
|
1012
|
+
<ref name="formlabel"/>
|
1013
|
+
<ref name="select"/>
|
1014
|
+
<ref name="textarea"/>
|
1015
|
+
</choice>
|
1016
|
+
</define>
|
1017
|
+
<define name="InputType">
|
1018
|
+
<choice>
|
1019
|
+
<value>button</value>
|
1020
|
+
<value>checkbox</value>
|
1021
|
+
<value>date</value>
|
1022
|
+
<value>file</value>
|
1023
|
+
<value>password</value>
|
1024
|
+
<value>radio</value>
|
1025
|
+
<value>submit</value>
|
1026
|
+
<value>text</value>
|
809
1027
|
</choice>
|
810
1028
|
</define>
|
1029
|
+
<define name="input">
|
1030
|
+
<element name="input">
|
1031
|
+
<attribute name="type">
|
1032
|
+
<ref name="InputType"/>
|
1033
|
+
</attribute>
|
1034
|
+
<optional>
|
1035
|
+
<attribute name="checked">
|
1036
|
+
<data type="boolean"/>
|
1037
|
+
</attribute>
|
1038
|
+
</optional>
|
1039
|
+
<optional>
|
1040
|
+
<attribute name="disabled">
|
1041
|
+
<data type="boolean"/>
|
1042
|
+
</attribute>
|
1043
|
+
</optional>
|
1044
|
+
<optional>
|
1045
|
+
<attribute name="readonly">
|
1046
|
+
<data type="boolean"/>
|
1047
|
+
</attribute>
|
1048
|
+
</optional>
|
1049
|
+
<optional>
|
1050
|
+
<attribute name="maxlength">
|
1051
|
+
<data type="int"/>
|
1052
|
+
</attribute>
|
1053
|
+
</optional>
|
1054
|
+
<optional>
|
1055
|
+
<attribute name="minlength">
|
1056
|
+
<data type="int"/>
|
1057
|
+
</attribute>
|
1058
|
+
</optional>
|
1059
|
+
<optional>
|
1060
|
+
<attribute name="name"/>
|
1061
|
+
</optional>
|
1062
|
+
<optional>
|
1063
|
+
<attribute name="value"/>
|
1064
|
+
</optional>
|
1065
|
+
<optional>
|
1066
|
+
<attribute name="id">
|
1067
|
+
<data type="ID"/>
|
1068
|
+
</attribute>
|
1069
|
+
</optional>
|
1070
|
+
</element>
|
1071
|
+
</define>
|
1072
|
+
<define name="formlabel">
|
1073
|
+
<element name="label">
|
1074
|
+
<attribute name="for">
|
1075
|
+
<data type="IDREF"/>
|
1076
|
+
</attribute>
|
1077
|
+
<zeroOrMore>
|
1078
|
+
<ref name="PureTextElement"/>
|
1079
|
+
</zeroOrMore>
|
1080
|
+
</element>
|
1081
|
+
</define>
|
1082
|
+
<define name="select">
|
1083
|
+
<element name="select">
|
1084
|
+
<optional>
|
1085
|
+
<attribute name="name"/>
|
1086
|
+
</optional>
|
1087
|
+
<optional>
|
1088
|
+
<attribute name="value"/>
|
1089
|
+
</optional>
|
1090
|
+
<optional>
|
1091
|
+
<attribute name="id">
|
1092
|
+
<data type="ID"/>
|
1093
|
+
</attribute>
|
1094
|
+
</optional>
|
1095
|
+
<optional>
|
1096
|
+
<attribute name="disabled">
|
1097
|
+
<data type="boolean"/>
|
1098
|
+
</attribute>
|
1099
|
+
</optional>
|
1100
|
+
<optional>
|
1101
|
+
<attribute name="multiple">
|
1102
|
+
<data type="boolean"/>
|
1103
|
+
</attribute>
|
1104
|
+
</optional>
|
1105
|
+
<optional>
|
1106
|
+
<attribute name="size">
|
1107
|
+
<data type="int"/>
|
1108
|
+
</attribute>
|
1109
|
+
</optional>
|
1110
|
+
<oneOrMore>
|
1111
|
+
<ref name="option"/>
|
1112
|
+
</oneOrMore>
|
1113
|
+
</element>
|
1114
|
+
</define>
|
1115
|
+
<define name="option">
|
1116
|
+
<element name="option">
|
1117
|
+
<optional>
|
1118
|
+
<attribute name="disabled">
|
1119
|
+
<data type="boolean"/>
|
1120
|
+
</attribute>
|
1121
|
+
</optional>
|
1122
|
+
<optional>
|
1123
|
+
<attribute name="value"/>
|
1124
|
+
</optional>
|
1125
|
+
<zeroOrMore>
|
1126
|
+
<ref name="PureTextElement"/>
|
1127
|
+
</zeroOrMore>
|
1128
|
+
</element>
|
1129
|
+
</define>
|
1130
|
+
<define name="textarea">
|
1131
|
+
<element name="textarea">
|
1132
|
+
<optional>
|
1133
|
+
<attribute name="name"/>
|
1134
|
+
</optional>
|
1135
|
+
<optional>
|
1136
|
+
<attribute name="value"/>
|
1137
|
+
</optional>
|
1138
|
+
<optional>
|
1139
|
+
<attribute name="id">
|
1140
|
+
<data type="ID"/>
|
1141
|
+
</attribute>
|
1142
|
+
</optional>
|
1143
|
+
<optional>
|
1144
|
+
<attribute name="rows">
|
1145
|
+
<data type="int"/>
|
1146
|
+
</attribute>
|
1147
|
+
</optional>
|
1148
|
+
<optional>
|
1149
|
+
<attribute name="cols">
|
1150
|
+
<data type="int"/>
|
1151
|
+
</attribute>
|
1152
|
+
</optional>
|
1153
|
+
</element>
|
1154
|
+
</define>
|
811
1155
|
<define name="bibliography">
|
812
1156
|
<element name="bibliography">
|
813
1157
|
<oneOrMore>
|
@@ -836,6 +1180,9 @@
|
|
836
1180
|
<data type="boolean"/>
|
837
1181
|
</attribute>
|
838
1182
|
</optional>
|
1183
|
+
<optional>
|
1184
|
+
<attribute name="number"/>
|
1185
|
+
</optional>
|
839
1186
|
<optional>
|
840
1187
|
<attribute name="obligation">
|
841
1188
|
<choice>
|
@@ -877,9 +1224,7 @@
|
|
877
1224
|
</define>
|
878
1225
|
<define name="IsoWorkgroup">
|
879
1226
|
<optional>
|
880
|
-
<attribute name="number"
|
881
|
-
<data type="int"/>
|
882
|
-
</attribute>
|
1227
|
+
<attribute name="number"/>
|
883
1228
|
</optional>
|
884
1229
|
<optional>
|
885
1230
|
<attribute name="type"/>
|
@@ -891,9 +1236,11 @@
|
|
891
1236
|
<element name="code">
|
892
1237
|
<text/>
|
893
1238
|
</element>
|
894
|
-
<
|
895
|
-
<text
|
896
|
-
|
1239
|
+
<optional>
|
1240
|
+
<element name="text">
|
1241
|
+
<text/>
|
1242
|
+
</element>
|
1243
|
+
</optional>
|
897
1244
|
</element>
|
898
1245
|
</define>
|
899
1246
|
<define name="standard-document">
|
@@ -906,6 +1253,9 @@
|
|
906
1253
|
</choice>
|
907
1254
|
</attribute>
|
908
1255
|
<ref name="bibdata"/>
|
1256
|
+
<optional>
|
1257
|
+
<ref name="misccontainer"/>
|
1258
|
+
</optional>
|
909
1259
|
<optional>
|
910
1260
|
<ref name="boilerplate"/>
|
911
1261
|
</optional>
|
@@ -916,11 +1266,21 @@
|
|
916
1266
|
<zeroOrMore>
|
917
1267
|
<ref name="annex"/>
|
918
1268
|
</zeroOrMore>
|
1269
|
+
<optional>
|
1270
|
+
<ref name="bibliography"/>
|
1271
|
+
</optional>
|
919
1272
|
<zeroOrMore>
|
920
|
-
<ref name="
|
1273
|
+
<ref name="indexsect"/>
|
921
1274
|
</zeroOrMore>
|
922
1275
|
</element>
|
923
1276
|
</define>
|
1277
|
+
<define name="misccontainer">
|
1278
|
+
<element name="misc-container">
|
1279
|
+
<oneOrMore>
|
1280
|
+
<ref name="AnyElement"/>
|
1281
|
+
</oneOrMore>
|
1282
|
+
</element>
|
1283
|
+
</define>
|
924
1284
|
<define name="preface">
|
925
1285
|
<element name="preface">
|
926
1286
|
<oneOrMore>
|
@@ -944,6 +1304,11 @@
|
|
944
1304
|
<ref name="Content-Section"/>
|
945
1305
|
</element>
|
946
1306
|
</define>
|
1307
|
+
<define name="indexsect">
|
1308
|
+
<element name="indexsect">
|
1309
|
+
<ref name="Content-Section"/>
|
1310
|
+
</element>
|
1311
|
+
</define>
|
947
1312
|
<define name="boilerplate">
|
948
1313
|
<element name="boilerplate">
|
949
1314
|
<optional>
|
@@ -1063,6 +1428,9 @@
|
|
1063
1428
|
</choice>
|
1064
1429
|
</attribute>
|
1065
1430
|
</optional>
|
1431
|
+
<optional>
|
1432
|
+
<attribute name="number"/>
|
1433
|
+
</optional>
|
1066
1434
|
<optional>
|
1067
1435
|
<attribute name="type"/>
|
1068
1436
|
</optional>
|
@@ -1116,6 +1484,9 @@
|
|
1116
1484
|
<optional>
|
1117
1485
|
<attribute name="type"/>
|
1118
1486
|
</optional>
|
1487
|
+
<optional>
|
1488
|
+
<attribute name="number"/>
|
1489
|
+
</optional>
|
1119
1490
|
<optional>
|
1120
1491
|
<ref name="section-title"/>
|
1121
1492
|
</optional>
|
@@ -1218,6 +1589,9 @@
|
|
1218
1589
|
<optional>
|
1219
1590
|
<attribute name="type"/>
|
1220
1591
|
</optional>
|
1592
|
+
<optional>
|
1593
|
+
<attribute name="number"/>
|
1594
|
+
</optional>
|
1221
1595
|
<optional>
|
1222
1596
|
<attribute name="obligation">
|
1223
1597
|
<choice>
|
@@ -1546,6 +1920,7 @@
|
|
1546
1920
|
<value>add</value>
|
1547
1921
|
<value>modify</value>
|
1548
1922
|
<value>delete</value>
|
1923
|
+
<value>replace</value>
|
1549
1924
|
</choice>
|
1550
1925
|
</attribute>
|
1551
1926
|
<optional>
|
@@ -1576,6 +1951,11 @@
|
|
1576
1951
|
</optional>
|
1577
1952
|
<optional>
|
1578
1953
|
<element name="newcontent">
|
1954
|
+
<optional>
|
1955
|
+
<attribute name="id">
|
1956
|
+
<data type="ID"/>
|
1957
|
+
</attribute>
|
1958
|
+
</optional>
|
1579
1959
|
<zeroOrMore>
|
1580
1960
|
<ref name="BasicBlock"/>
|
1581
1961
|
</zeroOrMore>
|
@@ -1609,4 +1989,87 @@
|
|
1609
1989
|
<text/>
|
1610
1990
|
</element>
|
1611
1991
|
</define>
|
1992
|
+
<define name="imagemap">
|
1993
|
+
<element name="imagemap">
|
1994
|
+
<ref name="figure"/>
|
1995
|
+
<zeroOrMore>
|
1996
|
+
<element name="area">
|
1997
|
+
<attribute name="type">
|
1998
|
+
<choice>
|
1999
|
+
<value>rect</value>
|
2000
|
+
<value>circle</value>
|
2001
|
+
<value>ellipse</value>
|
2002
|
+
<value>poly</value>
|
2003
|
+
</choice>
|
2004
|
+
</attribute>
|
2005
|
+
<choice>
|
2006
|
+
<ref name="xref"/>
|
2007
|
+
<ref name="hyperlink"/>
|
2008
|
+
<ref name="eref"/>
|
2009
|
+
</choice>
|
2010
|
+
<oneOrMore>
|
2011
|
+
<element name="coords">
|
2012
|
+
<attribute name="x">
|
2013
|
+
<data type="float"/>
|
2014
|
+
</attribute>
|
2015
|
+
<attribute name="y">
|
2016
|
+
<data type="float"/>
|
2017
|
+
</attribute>
|
2018
|
+
</element>
|
2019
|
+
</oneOrMore>
|
2020
|
+
<optional>
|
2021
|
+
<element name="radius">
|
2022
|
+
<attribute name="x">
|
2023
|
+
<data type="float"/>
|
2024
|
+
</attribute>
|
2025
|
+
<optional>
|
2026
|
+
<attribute name="y">
|
2027
|
+
<data type="float"/>
|
2028
|
+
</attribute>
|
2029
|
+
</optional>
|
2030
|
+
</element>
|
2031
|
+
</optional>
|
2032
|
+
</element>
|
2033
|
+
</zeroOrMore>
|
2034
|
+
</element>
|
2035
|
+
</define>
|
2036
|
+
<define name="svgmap">
|
2037
|
+
<element name="svgmap">
|
2038
|
+
<ref name="figure"/>
|
2039
|
+
<zeroOrMore>
|
2040
|
+
<element name="target">
|
2041
|
+
<attribute name="href">
|
2042
|
+
<data type="anyURI"/>
|
2043
|
+
</attribute>
|
2044
|
+
<choice>
|
2045
|
+
<ref name="xref"/>
|
2046
|
+
<ref name="hyperlink"/>
|
2047
|
+
<ref name="eref"/>
|
2048
|
+
</choice>
|
2049
|
+
</element>
|
2050
|
+
</zeroOrMore>
|
2051
|
+
</element>
|
2052
|
+
</define>
|
2053
|
+
<define name="ul_li">
|
2054
|
+
<element name="li">
|
2055
|
+
<optional>
|
2056
|
+
<attribute name="id">
|
2057
|
+
<data type="ID"/>
|
2058
|
+
</attribute>
|
2059
|
+
</optional>
|
2060
|
+
<optional>
|
2061
|
+
<attribute name="uncheckedcheckbox">
|
2062
|
+
<data type="boolean"/>
|
2063
|
+
</attribute>
|
2064
|
+
</optional>
|
2065
|
+
<optional>
|
2066
|
+
<attribute name="checkedcheckbox">
|
2067
|
+
<data type="boolean"/>
|
2068
|
+
</attribute>
|
2069
|
+
</optional>
|
2070
|
+
<oneOrMore>
|
2071
|
+
<ref name="BasicBlock"/>
|
2072
|
+
</oneOrMore>
|
2073
|
+
</element>
|
2074
|
+
</define>
|
1612
2075
|
</grammar>
|