relaton-nist 1.13.1 → 1.14.1

Sign up to get free protection for your applications and to get access to all the features.
data/grammars/nist.rng DELETED
@@ -1,219 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <grammar xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
3
- <!--
4
- Currently we inherit from a namespaced grammar, isostandard. Until we inherit from isodoc,
5
- we cannot have a new default namespace: we will end up with a grammar with two different
6
- namespaces, one for isostandard and one for csand additions. And we do not want that.
7
- -->
8
- <include href="isodoc.rng">
9
- <start>
10
- <ref name="nist-standard"/>
11
- </start>
12
- <define name="ol">
13
- <element name="ol">
14
- <attribute name="id">
15
- <data type="ID"/>
16
- </attribute>
17
- <optional>
18
- <attribute name="class">
19
- <value>steps</value>
20
- </attribute>
21
- </optional>
22
- <optional>
23
- <ref name="tname"/>
24
- </optional>
25
- <oneOrMore>
26
- <ref name="li"/>
27
- </oneOrMore>
28
- <zeroOrMore>
29
- <ref name="note"/>
30
- </zeroOrMore>
31
- </element>
32
- </define>
33
- <define name="DocumentType">
34
- <value>standard</value>
35
- </define>
36
- <!-- TitleType = ( "alternative" | "original" | "unofficial" | "subtitle" | "main" ) -->
37
- <define name="preface">
38
- <element name="preface">
39
- <optional>
40
- <ref name="abstract"/>
41
- </optional>
42
- <optional>
43
- <ref name="foreword"/>
44
- </optional>
45
- <zeroOrMore>
46
- <choice>
47
- <ref name="clause"/>
48
- <ref name="errata_clause"/>
49
- <ref name="acknowledgements"/>
50
- </choice>
51
- </zeroOrMore>
52
- <optional>
53
- <ref name="reviewernote"/>
54
- </optional>
55
- <optional>
56
- <ref name="executivesummary"/>
57
- </optional>
58
- </element>
59
- </define>
60
- <define name="editorialgroup">
61
- <element name="editorialgroup">
62
- <oneOrMore>
63
- <ref name="committee"/>
64
- </oneOrMore>
65
- </element>
66
- </define>
67
- <define name="BibDataExtensionType">
68
- <optional>
69
- <ref name="doctype"/>
70
- </optional>
71
- <optional>
72
- <ref name="docsubtype"/>
73
- </optional>
74
- <optional>
75
- <ref name="editorialgroup"/>
76
- </optional>
77
- <zeroOrMore>
78
- <ref name="ics"/>
79
- </zeroOrMore>
80
- <optional>
81
- <ref name="commentperiod"/>
82
- </optional>
83
- </define>
84
- </include>
85
- <define name="DocRelationType" combine="choice">
86
- <choice>
87
- <value>obsoletedBy</value>
88
- <value>supersedes</value>
89
- <value>supersededBy</value>
90
- </choice>
91
- </define>
92
- <define name="BibliographicDateType" combine="choice">
93
- <choice>
94
- <value>abandoned</value>
95
- <value>superseded</value>
96
- </choice>
97
- </define>
98
- <define name="commentperiod">
99
- <element name="commentperiod">
100
- <element name="from">
101
- <ref name="ISO8601Date"/>
102
- </element>
103
- <optional>
104
- <element name="to">
105
- <ref name="ISO8601Date"/>
106
- </element>
107
- </optional>
108
- <optional>
109
- <element name="extended">
110
- <ref name="ISO8601Date"/>
111
- </element>
112
- </optional>
113
- </element>
114
- </define>
115
- <define name="reviewernote">
116
- <element name="reviewernote">
117
- <ref name="Basic-Section"/>
118
- </element>
119
- </define>
120
- <define name="executivesummary">
121
- <element name="executivesummary">
122
- <ref name="Basic-Section"/>
123
- </element>
124
- </define>
125
- <define name="committee">
126
- <element name="committee">
127
- <text/>
128
- </element>
129
- </define>
130
- <define name="errata">
131
- <element name="errata">
132
- <oneOrMore>
133
- <ref name="erratarow"/>
134
- </oneOrMore>
135
- </element>
136
- </define>
137
- <define name="erratarow">
138
- <element name="row">
139
- <element name="date">
140
- <ref name="ISO8601Date"/>
141
- </element>
142
- <element name="type">
143
- <text/>
144
- </element>
145
- <element name="change">
146
- <oneOrMore>
147
- <ref name="TextElement"/>
148
- </oneOrMore>
149
- </element>
150
- <element name="pages">
151
- <text/>
152
- </element>
153
- </element>
154
- </define>
155
- <define name="errata_clause">
156
- <element name="clause">
157
- <optional>
158
- <attribute name="id">
159
- <data type="ID"/>
160
- </attribute>
161
- </optional>
162
- <optional>
163
- <attribute name="language"/>
164
- </optional>
165
- <optional>
166
- <attribute name="script"/>
167
- </optional>
168
- <optional>
169
- <attribute name="obligation">
170
- <choice>
171
- <value>normative</value>
172
- <value>informative</value>
173
- </choice>
174
- </attribute>
175
- </optional>
176
- <optional>
177
- <ref name="section-title"/>
178
- </optional>
179
- <zeroOrMore>
180
- <ref name="BasicBlock"/>
181
- </zeroOrMore>
182
- <ref name="errata"/>
183
- </element>
184
- </define>
185
- <define name="nist-standard">
186
- <element name="nist-standard">
187
- <attribute name="version"/>
188
- <attribute name="type">
189
- <choice>
190
- <value>semantic</value>
191
- <value>presentation</value>
192
- </choice>
193
- </attribute>
194
- <ref name="bibdata"/>
195
- <zeroOrMore>
196
- <ref name="termdocsource"/>
197
- </zeroOrMore>
198
- <optional>
199
- <ref name="misccontainer"/>
200
- </optional>
201
- <optional>
202
- <ref name="boilerplate"/>
203
- </optional>
204
- <ref name="preface"/>
205
- <oneOrMore>
206
- <ref name="sections"/>
207
- </oneOrMore>
208
- <zeroOrMore>
209
- <ref name="annex"/>
210
- </zeroOrMore>
211
- <optional>
212
- <ref name="bibliography"/>
213
- </optional>
214
- <zeroOrMore>
215
- <ref name="indexsect"/>
216
- </zeroOrMore>
217
- </element>
218
- </define>
219
- </grammar>
data/grammars/reqt.rng DELETED
@@ -1,223 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <grammar xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
3
- <!--
4
- Presupposes isodoc.rnc, is included in it
5
- include "isodoc.rnc" { }
6
- -->
7
- <define name="requirement">
8
- <element name="requirement">
9
- <ref name="RequirementType"/>
10
- </element>
11
- </define>
12
- <define name="recommendation">
13
- <element name="recommendation">
14
- <ref name="RequirementType"/>
15
- </element>
16
- </define>
17
- <define name="permission">
18
- <element name="permission">
19
- <ref name="RequirementType"/>
20
- </element>
21
- </define>
22
- <define name="RequirementType">
23
- <optional>
24
- <attribute name="obligation">
25
- <ref name="ObligationType"/>
26
- </attribute>
27
- </optional>
28
- <optional>
29
- <attribute name="unnumbered">
30
- <data type="boolean"/>
31
- </attribute>
32
- </optional>
33
- <optional>
34
- <attribute name="number"/>
35
- </optional>
36
- <optional>
37
- <attribute name="subsequence"/>
38
- </optional>
39
- <optional>
40
- <attribute name="keep-with-next">
41
- <data type="boolean"/>
42
- </attribute>
43
- </optional>
44
- <optional>
45
- <attribute name="keep-lines-together">
46
- <data type="boolean"/>
47
- </attribute>
48
- </optional>
49
- <attribute name="id">
50
- <data type="ID"/>
51
- </attribute>
52
- <optional>
53
- <attribute name="filename"/>
54
- </optional>
55
- <optional>
56
- <attribute name="model"/>
57
- </optional>
58
- <optional>
59
- <attribute name="type"/>
60
- </optional>
61
- <optional>
62
- <attribute name="tag"/>
63
- </optional>
64
- <optional>
65
- <attribute name="multilingual-rendering">
66
- <ref name="MultilingualRenderingType"/>
67
- </attribute>
68
- </optional>
69
- <optional>
70
- <ref name="reqtitle"/>
71
- </optional>
72
- <optional>
73
- <ref name="label"/>
74
- </optional>
75
- <zeroOrMore>
76
- <ref name="subject"/>
77
- </zeroOrMore>
78
- <zeroOrMore>
79
- <ref name="reqinherit"/>
80
- </zeroOrMore>
81
- <zeroOrMore>
82
- <ref name="classification"/>
83
- </zeroOrMore>
84
- <zeroOrMore>
85
- <choice>
86
- <ref name="measurementtarget"/>
87
- <ref name="specification"/>
88
- <ref name="verification"/>
89
- <ref name="import"/>
90
- <ref name="description"/>
91
- <ref name="component"/>
92
- </choice>
93
- </zeroOrMore>
94
- <optional>
95
- <ref name="reqt_references"/>
96
- </optional>
97
- <zeroOrMore>
98
- <choice>
99
- <ref name="requirement"/>
100
- <ref name="recommendation"/>
101
- <ref name="permission"/>
102
- </choice>
103
- </zeroOrMore>
104
- </define>
105
- <define name="reqtitle">
106
- <element name="title">
107
- <ref name="FormattedString"/>
108
- </element>
109
- </define>
110
- <define name="label">
111
- <element name="label">
112
- <oneOrMore>
113
- <ref name="TextElement"/>
114
- </oneOrMore>
115
- </element>
116
- </define>
117
- <define name="subject">
118
- <element name="subject">
119
- <oneOrMore>
120
- <ref name="TextElement"/>
121
- </oneOrMore>
122
- </element>
123
- </define>
124
- <define name="reqinherit">
125
- <element name="inherit">
126
- <oneOrMore>
127
- <ref name="TextElement"/>
128
- </oneOrMore>
129
- </element>
130
- </define>
131
- <define name="measurementtarget">
132
- <element name="measurement-target">
133
- <ref name="RequirementSubpart"/>
134
- </element>
135
- </define>
136
- <define name="specification">
137
- <element name="specification">
138
- <ref name="RequirementSubpart"/>
139
- </element>
140
- </define>
141
- <define name="verification">
142
- <element name="verification">
143
- <ref name="RequirementSubpart"/>
144
- </element>
145
- </define>
146
- <define name="import">
147
- <element name="import">
148
- <ref name="RequirementSubpart"/>
149
- </element>
150
- </define>
151
- <define name="description">
152
- <element name="description">
153
- <ref name="RequirementSubpart"/>
154
- </element>
155
- </define>
156
- <define name="component">
157
- <element name="component">
158
- <attribute name="class"/>
159
- <ref name="RequirementSubpart"/>
160
- </element>
161
- </define>
162
- <define name="reqt_references">
163
- <element name="references">
164
- <oneOrMore>
165
- <ref name="bibitem"/>
166
- </oneOrMore>
167
- </element>
168
- </define>
169
- <define name="RequirementSubpart">
170
- <optional>
171
- <attribute name="type"/>
172
- </optional>
173
- <optional>
174
- <attribute name="exclude">
175
- <data type="boolean"/>
176
- </attribute>
177
- </optional>
178
- <optional>
179
- <attribute name="keep-with-next">
180
- <data type="boolean"/>
181
- </attribute>
182
- </optional>
183
- <optional>
184
- <attribute name="keep-lines-together">
185
- <data type="boolean"/>
186
- </attribute>
187
- </optional>
188
- <optional>
189
- <attribute name="tag"/>
190
- </optional>
191
- <optional>
192
- <attribute name="multilingual-rendering">
193
- <ref name="MultilingualRenderingType"/>
194
- </attribute>
195
- </optional>
196
- <oneOrMore>
197
- <ref name="BasicBlock"/>
198
- </oneOrMore>
199
- </define>
200
- <define name="ObligationType">
201
- <choice>
202
- <value>requirement</value>
203
- <value>recommendation</value>
204
- <value>permission</value>
205
- </choice>
206
- </define>
207
- <define name="classification">
208
- <element name="classification">
209
- <ref name="classification_tag"/>
210
- <ref name="classification_value"/>
211
- </element>
212
- </define>
213
- <define name="classification_tag">
214
- <element name="tag">
215
- <text/>
216
- </element>
217
- </define>
218
- <define name="classification_value">
219
- <element name="value">
220
- <text/>
221
- </element>
222
- </define>
223
- </grammar>