@likecoin/epubcheck-ts 0.2.3 → 0.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -8
- package/bin/epubcheck.js +4 -4
- package/bin/epubcheck.ts +4 -4
- package/dist/index.cjs +265 -14
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +265 -14
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/schemas/applications.rng +0 -429
- package/schemas/aria.rng +0 -3355
- package/schemas/block.rng +0 -488
- package/schemas/common.rng +0 -1076
- package/schemas/container.rng +0 -24
- package/schemas/core-scripting.rng +0 -950
- package/schemas/data.rng +0 -161
- package/schemas/datatypes.rng +0 -401
- package/schemas/embed.rng +0 -980
- package/schemas/epub-mathml3-inc.rng +0 -161
- package/schemas/epub-nav-30.rnc +0 -44
- package/schemas/epub-nav-30.rng +0 -19985
- package/schemas/epub-nav-30.sch +0 -87
- package/schemas/epub-prefix-attr.rng +0 -17
- package/schemas/epub-shared-inc.rng +0 -29
- package/schemas/epub-ssml-attrs.rng +0 -17
- package/schemas/epub-svg-30.rnc +0 -17
- package/schemas/epub-svg-30.rng +0 -19903
- package/schemas/epub-svg-30.sch +0 -7
- package/schemas/epub-svg-forgiving-inc.rng +0 -315
- package/schemas/epub-switch.rng +0 -121
- package/schemas/epub-trigger.rng +0 -90
- package/schemas/epub-type-attr.rng +0 -12
- package/schemas/epub-xhtml-30.rnc +0 -6
- package/schemas/epub-xhtml-30.rng +0 -19882
- package/schemas/epub-xhtml-30.sch +0 -409
- package/schemas/epub-xhtml-inc.rng +0 -151
- package/schemas/epub-xhtml-integration.rng +0 -565
- package/schemas/epub-xhtml-svg-mathml.rng +0 -17
- package/schemas/form-datatypes.rng +0 -54
- package/schemas/mathml3-common.rng +0 -336
- package/schemas/mathml3-content.rng +0 -1552
- package/schemas/mathml3-inc.rng +0 -30
- package/schemas/mathml3-presentation.rng +0 -2341
- package/schemas/mathml3-strict-content.rng +0 -205
- package/schemas/media.rng +0 -374
- package/schemas/meta.rng +0 -754
- package/schemas/microdata.rng +0 -192
- package/schemas/ncx.rng +0 -308
- package/schemas/ocf-container-30.rnc +0 -37
- package/schemas/ocf-container-30.rng +0 -568
- package/schemas/opf.rng +0 -15
- package/schemas/opf20.rng +0 -513
- package/schemas/package-30.rnc +0 -133
- package/schemas/package-30.rng +0 -1153
- package/schemas/package-30.sch +0 -444
- package/schemas/phrase.rng +0 -746
- package/schemas/rdfa.rng +0 -552
- package/schemas/revision.rng +0 -106
- package/schemas/ruby.rng +0 -141
- package/schemas/sectional.rng +0 -278
- package/schemas/structural.rng +0 -298
- package/schemas/tables.rng +0 -420
- package/schemas/web-components.rng +0 -184
- package/schemas/web-forms.rng +0 -975
- package/schemas/web-forms2.rng +0 -1236
package/schemas/rdfa.rng
DELETED
|
@@ -1,552 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<grammar xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
|
|
3
|
-
<define name="nonRDFaLite">
|
|
4
|
-
<empty/>
|
|
5
|
-
</define>
|
|
6
|
-
<!-- ##################################################################### -->
|
|
7
|
-
<!-- ##################################################################### -->
|
|
8
|
-
<define name="common.data.rdfa.safecurie">
|
|
9
|
-
<a:documentation> RELAX NG Schema for HTML 5: RDFa 1.1 and RDFa Lite 1.1 #</a:documentation>
|
|
10
|
-
<!-- ##################################################################### -->
|
|
11
|
-
<!-- ##################################################################### -->
|
|
12
|
-
<a:documentation> RDFa Datatypes #</a:documentation>
|
|
13
|
-
<data type="string">
|
|
14
|
-
<param name="pattern">\[(([\i-[:]][\c-[:]]*)?:?)[^\s]*\]</param>
|
|
15
|
-
<param name="minLength">2</param>
|
|
16
|
-
</data>
|
|
17
|
-
</define>
|
|
18
|
-
<define name="common.data.rdfa.curie">
|
|
19
|
-
<data type="string">
|
|
20
|
-
<param name="pattern">(([\i-[:]][\c-[:]]*)?:)[^\s]*</param>
|
|
21
|
-
<param name="minLength">1</param>
|
|
22
|
-
</data>
|
|
23
|
-
</define>
|
|
24
|
-
<define name="common.data.rdfa.term">
|
|
25
|
-
<data type="string">
|
|
26
|
-
<param name="pattern">[\i-[:]][/\c-[:]]*</param>
|
|
27
|
-
</data>
|
|
28
|
-
</define>
|
|
29
|
-
<!-- ##################################################################### -->
|
|
30
|
-
<!-- ##################################################################### -->
|
|
31
|
-
<define name="common.attrs.rdfa" combine="interleave">
|
|
32
|
-
<a:documentation> RDFa Attributes #</a:documentation>
|
|
33
|
-
<interleave>
|
|
34
|
-
<optional>
|
|
35
|
-
<ref name="common.attrs.rdfa.about"/>
|
|
36
|
-
</optional>
|
|
37
|
-
<optional>
|
|
38
|
-
<ref name="common.attrs.rdfa.prefix"/>
|
|
39
|
-
</optional>
|
|
40
|
-
<optional>
|
|
41
|
-
<ref name="common.attrs.rdfa.property"/>
|
|
42
|
-
</optional>
|
|
43
|
-
<optional>
|
|
44
|
-
<ref name="common.attrs.rdfa.typeof"/>
|
|
45
|
-
</optional>
|
|
46
|
-
<optional>
|
|
47
|
-
<ref name="common.attrs.rdfa.vocab"/>
|
|
48
|
-
</optional>
|
|
49
|
-
<optional>
|
|
50
|
-
<ref name="common.attrs.rdfa.content"/>
|
|
51
|
-
</optional>
|
|
52
|
-
<optional>
|
|
53
|
-
<ref name="common.attrs.rdfa.datatype"/>
|
|
54
|
-
</optional>
|
|
55
|
-
<optional>
|
|
56
|
-
<ref name="common.attrs.rdfa.rel"/>
|
|
57
|
-
</optional>
|
|
58
|
-
<optional>
|
|
59
|
-
<ref name="common.attrs.rdfa.resource"/>
|
|
60
|
-
</optional>
|
|
61
|
-
<optional>
|
|
62
|
-
<ref name="common.attrs.rdfa.rev"/>
|
|
63
|
-
</optional>
|
|
64
|
-
<optional>
|
|
65
|
-
<ref name="common.attrs.rdfa.inlist"/>
|
|
66
|
-
</optional>
|
|
67
|
-
</interleave>
|
|
68
|
-
</define>
|
|
69
|
-
<define name="common.attrs.rdfa.prefix">
|
|
70
|
-
<attribute name="prefix">
|
|
71
|
-
<choice>
|
|
72
|
-
<data type="string">
|
|
73
|
-
<param name="pattern">\s*([\i-[:]][\c-[:]]*: [^ ]+)(\s+[\i-[:]][\c-[:]]*: [^ ]+)*\s*</param>
|
|
74
|
-
</data>
|
|
75
|
-
<value type="string" datatypeLibrary=""/>
|
|
76
|
-
</choice>
|
|
77
|
-
</attribute>
|
|
78
|
-
</define>
|
|
79
|
-
<define name="common.attrs.rdfa.property">
|
|
80
|
-
<attribute name="property">
|
|
81
|
-
<choice>
|
|
82
|
-
<list>
|
|
83
|
-
<oneOrMore>
|
|
84
|
-
<choice>
|
|
85
|
-
<ref name="common.data.rdfa.term"/>
|
|
86
|
-
<ref name="common.data.rdfa.curie"/>
|
|
87
|
-
<ref name="common.data.uri.absolute"/>
|
|
88
|
-
</choice>
|
|
89
|
-
</oneOrMore>
|
|
90
|
-
</list>
|
|
91
|
-
<value type="string" datatypeLibrary=""/>
|
|
92
|
-
</choice>
|
|
93
|
-
</attribute>
|
|
94
|
-
</define>
|
|
95
|
-
<define name="common.attrs.rdfa.resource">
|
|
96
|
-
<attribute name="resource">
|
|
97
|
-
<choice>
|
|
98
|
-
<ref name="common.data.rdfa.safecurie"/>
|
|
99
|
-
<ref name="common.data.rdfa.curie"/>
|
|
100
|
-
<ref name="common.data.uri"/>
|
|
101
|
-
</choice>
|
|
102
|
-
</attribute>
|
|
103
|
-
</define>
|
|
104
|
-
<define name="common.attrs.rdfa.typeof">
|
|
105
|
-
<attribute name="typeof">
|
|
106
|
-
<choice>
|
|
107
|
-
<list>
|
|
108
|
-
<oneOrMore>
|
|
109
|
-
<choice>
|
|
110
|
-
<ref name="common.data.rdfa.term"/>
|
|
111
|
-
<ref name="common.data.rdfa.curie"/>
|
|
112
|
-
<ref name="common.data.uri.absolute"/>
|
|
113
|
-
</choice>
|
|
114
|
-
</oneOrMore>
|
|
115
|
-
</list>
|
|
116
|
-
<value type="string" datatypeLibrary=""/>
|
|
117
|
-
</choice>
|
|
118
|
-
</attribute>
|
|
119
|
-
</define>
|
|
120
|
-
<define name="common.attrs.rdfa.vocab">
|
|
121
|
-
<attribute name="vocab">
|
|
122
|
-
<choice>
|
|
123
|
-
<ref name="common.data.uri.absolute"/>
|
|
124
|
-
<value type="string" datatypeLibrary=""/>
|
|
125
|
-
</choice>
|
|
126
|
-
</attribute>
|
|
127
|
-
</define>
|
|
128
|
-
<define name="common.attrs.rdfa.about">
|
|
129
|
-
<interleave>
|
|
130
|
-
<attribute name="about">
|
|
131
|
-
<choice>
|
|
132
|
-
<ref name="common.data.rdfa.safecurie"/>
|
|
133
|
-
<ref name="common.data.rdfa.curie"/>
|
|
134
|
-
<ref name="common.data.uri"/>
|
|
135
|
-
</choice>
|
|
136
|
-
</attribute>
|
|
137
|
-
<ref name="nonRDFaLite"/>
|
|
138
|
-
</interleave>
|
|
139
|
-
</define>
|
|
140
|
-
<define name="common.attrs.rdfa.content">
|
|
141
|
-
<interleave>
|
|
142
|
-
<attribute name="content">
|
|
143
|
-
<data type="string" datatypeLibrary=""/>
|
|
144
|
-
</attribute>
|
|
145
|
-
<ref name="nonRDFaLite"/>
|
|
146
|
-
</interleave>
|
|
147
|
-
</define>
|
|
148
|
-
<define name="common.attrs.rdfa.datatype">
|
|
149
|
-
<interleave>
|
|
150
|
-
<attribute name="datatype">
|
|
151
|
-
<choice>
|
|
152
|
-
<ref name="common.data.rdfa.term"/>
|
|
153
|
-
<ref name="common.data.rdfa.curie"/>
|
|
154
|
-
<ref name="common.data.uri.absolute"/>
|
|
155
|
-
<value type="string" datatypeLibrary=""/>
|
|
156
|
-
</choice>
|
|
157
|
-
</attribute>
|
|
158
|
-
<ref name="nonRDFaLite"/>
|
|
159
|
-
</interleave>
|
|
160
|
-
</define>
|
|
161
|
-
<define name="common.attrs.rdfa.rel">
|
|
162
|
-
<interleave>
|
|
163
|
-
<attribute name="rel">
|
|
164
|
-
<choice>
|
|
165
|
-
<list>
|
|
166
|
-
<oneOrMore>
|
|
167
|
-
<choice>
|
|
168
|
-
<ref name="common.data.rdfa.term"/>
|
|
169
|
-
<ref name="common.data.rdfa.curie"/>
|
|
170
|
-
<ref name="common.data.uri.absolute"/>
|
|
171
|
-
</choice>
|
|
172
|
-
</oneOrMore>
|
|
173
|
-
</list>
|
|
174
|
-
<value type="string" datatypeLibrary=""/>
|
|
175
|
-
</choice>
|
|
176
|
-
</attribute>
|
|
177
|
-
<ref name="nonRDFaLite"/>
|
|
178
|
-
</interleave>
|
|
179
|
-
</define>
|
|
180
|
-
<define name="common.attrs.rdfa.rev">
|
|
181
|
-
<interleave>
|
|
182
|
-
<attribute name="rev">
|
|
183
|
-
<choice>
|
|
184
|
-
<list>
|
|
185
|
-
<oneOrMore>
|
|
186
|
-
<choice>
|
|
187
|
-
<ref name="common.data.rdfa.term"/>
|
|
188
|
-
<ref name="common.data.rdfa.curie"/>
|
|
189
|
-
<ref name="common.data.uri.absolute"/>
|
|
190
|
-
</choice>
|
|
191
|
-
</oneOrMore>
|
|
192
|
-
</list>
|
|
193
|
-
<value type="string" datatypeLibrary=""/>
|
|
194
|
-
</choice>
|
|
195
|
-
</attribute>
|
|
196
|
-
<ref name="nonRDFaLite"/>
|
|
197
|
-
</interleave>
|
|
198
|
-
</define>
|
|
199
|
-
<define name="common.attrs.rdfa.inlist">
|
|
200
|
-
<interleave>
|
|
201
|
-
<attribute name="inlist">
|
|
202
|
-
<data type="string" datatypeLibrary=""/>
|
|
203
|
-
</attribute>
|
|
204
|
-
<ref name="nonRDFaLite"/>
|
|
205
|
-
</interleave>
|
|
206
|
-
</define>
|
|
207
|
-
<define name="common.attrs.rdfa.no-rel" combine="interleave">
|
|
208
|
-
<interleave>
|
|
209
|
-
<optional>
|
|
210
|
-
<ref name="common.attrs.rdfa.about"/>
|
|
211
|
-
</optional>
|
|
212
|
-
<optional>
|
|
213
|
-
<ref name="common.attrs.rdfa.prefix"/>
|
|
214
|
-
</optional>
|
|
215
|
-
<optional>
|
|
216
|
-
<ref name="common.attrs.rdfa.property"/>
|
|
217
|
-
</optional>
|
|
218
|
-
<optional>
|
|
219
|
-
<ref name="common.attrs.rdfa.typeof"/>
|
|
220
|
-
</optional>
|
|
221
|
-
<optional>
|
|
222
|
-
<ref name="common.attrs.rdfa.vocab"/>
|
|
223
|
-
</optional>
|
|
224
|
-
<optional>
|
|
225
|
-
<ref name="common.attrs.rdfa.content"/>
|
|
226
|
-
</optional>
|
|
227
|
-
<optional>
|
|
228
|
-
<ref name="common.attrs.rdfa.datatype"/>
|
|
229
|
-
</optional>
|
|
230
|
-
<optional>
|
|
231
|
-
<ref name="common.attrs.rdfa.resource"/>
|
|
232
|
-
</optional>
|
|
233
|
-
<optional>
|
|
234
|
-
<ref name="common.attrs.rdfa.rev"/>
|
|
235
|
-
</optional>
|
|
236
|
-
<optional>
|
|
237
|
-
<ref name="common.attrs.rdfa.inlist"/>
|
|
238
|
-
</optional>
|
|
239
|
-
</interleave>
|
|
240
|
-
</define>
|
|
241
|
-
<define name="common.attrs.rdfa.no-rel-rev" combine="interleave">
|
|
242
|
-
<interleave>
|
|
243
|
-
<optional>
|
|
244
|
-
<ref name="common.attrs.rdfa.about"/>
|
|
245
|
-
</optional>
|
|
246
|
-
<optional>
|
|
247
|
-
<ref name="common.attrs.rdfa.prefix"/>
|
|
248
|
-
</optional>
|
|
249
|
-
<optional>
|
|
250
|
-
<ref name="common.attrs.rdfa.property"/>
|
|
251
|
-
</optional>
|
|
252
|
-
<optional>
|
|
253
|
-
<ref name="common.attrs.rdfa.typeof"/>
|
|
254
|
-
</optional>
|
|
255
|
-
<optional>
|
|
256
|
-
<ref name="common.attrs.rdfa.vocab"/>
|
|
257
|
-
</optional>
|
|
258
|
-
<optional>
|
|
259
|
-
<ref name="common.attrs.rdfa.content"/>
|
|
260
|
-
</optional>
|
|
261
|
-
<optional>
|
|
262
|
-
<ref name="common.attrs.rdfa.datatype"/>
|
|
263
|
-
</optional>
|
|
264
|
-
<optional>
|
|
265
|
-
<ref name="common.attrs.rdfa.resource"/>
|
|
266
|
-
</optional>
|
|
267
|
-
<optional>
|
|
268
|
-
<ref name="common.attrs.rdfa.inlist"/>
|
|
269
|
-
</optional>
|
|
270
|
-
</interleave>
|
|
271
|
-
</define>
|
|
272
|
-
<define name="common.attrs.rdfa.no-content-noproperty" combine="interleave">
|
|
273
|
-
<interleave>
|
|
274
|
-
<optional>
|
|
275
|
-
<ref name="common.attrs.rdfa.about"/>
|
|
276
|
-
</optional>
|
|
277
|
-
<optional>
|
|
278
|
-
<ref name="common.attrs.rdfa.prefix"/>
|
|
279
|
-
</optional>
|
|
280
|
-
<optional>
|
|
281
|
-
<ref name="common.attrs.rdfa.typeof"/>
|
|
282
|
-
</optional>
|
|
283
|
-
<optional>
|
|
284
|
-
<ref name="common.attrs.rdfa.vocab"/>
|
|
285
|
-
</optional>
|
|
286
|
-
<optional>
|
|
287
|
-
<ref name="common.attrs.rdfa.datatype"/>
|
|
288
|
-
</optional>
|
|
289
|
-
<optional>
|
|
290
|
-
<ref name="common.attrs.rdfa.resource"/>
|
|
291
|
-
</optional>
|
|
292
|
-
<optional>
|
|
293
|
-
<ref name="common.attrs.rdfa.inlist"/>
|
|
294
|
-
</optional>
|
|
295
|
-
</interleave>
|
|
296
|
-
</define>
|
|
297
|
-
<define name="common.attrs" combine="interleave">
|
|
298
|
-
<ref name="common.attrs.rdfa"/>
|
|
299
|
-
</define>
|
|
300
|
-
<define name="a.attrs" combine="interleave">
|
|
301
|
-
<ref name="common.attrs.rdfa.no-rel-rev"/>
|
|
302
|
-
</define>
|
|
303
|
-
<define name="area.attrs" combine="interleave">
|
|
304
|
-
<ref name="common.attrs.rdfa.no-rel"/>
|
|
305
|
-
</define>
|
|
306
|
-
<define name="base.attrs" combine="interleave">
|
|
307
|
-
<ref name="common.attrs.rdfa.no-rel"/>
|
|
308
|
-
</define>
|
|
309
|
-
<define name="link.rdfa.elem.metadata">
|
|
310
|
-
<element name="link">
|
|
311
|
-
<interleave>
|
|
312
|
-
<ref name="link.inner"/>
|
|
313
|
-
<ref name="link.rdfa.attrs.metadata"/>
|
|
314
|
-
</interleave>
|
|
315
|
-
</element>
|
|
316
|
-
</define>
|
|
317
|
-
<define name="link.rdfa.elem.phrasing">
|
|
318
|
-
<element name="link">
|
|
319
|
-
<interleave>
|
|
320
|
-
<ref name="link.inner"/>
|
|
321
|
-
<ref name="link.rdfa.attrs.phrasing"/>
|
|
322
|
-
</interleave>
|
|
323
|
-
</element>
|
|
324
|
-
</define>
|
|
325
|
-
<define name="link.rdfa.attrs.metadata">
|
|
326
|
-
<interleave>
|
|
327
|
-
<ref name="common.attrs.basic"/>
|
|
328
|
-
<ref name="common.attrs.i18n"/>
|
|
329
|
-
<ref name="common.attrs.present"/>
|
|
330
|
-
<ref name="common.attrs.other"/>
|
|
331
|
-
<choice>
|
|
332
|
-
<interleave>
|
|
333
|
-
<ref name="common.attrs.rdfa.property"/>
|
|
334
|
-
<optional>
|
|
335
|
-
<ref name="link.attrs.rel"/>
|
|
336
|
-
</optional>
|
|
337
|
-
</interleave>
|
|
338
|
-
<interleave>
|
|
339
|
-
<optional>
|
|
340
|
-
<ref name="common.attrs.rdfa.property"/>
|
|
341
|
-
</optional>
|
|
342
|
-
<ref name="link.attrs.rel"/>
|
|
343
|
-
</interleave>
|
|
344
|
-
</choice>
|
|
345
|
-
<optional>
|
|
346
|
-
<ref name="common.attrs.rdfa.about"/>
|
|
347
|
-
</optional>
|
|
348
|
-
<optional>
|
|
349
|
-
<ref name="common.attrs.rdfa.prefix"/>
|
|
350
|
-
</optional>
|
|
351
|
-
<optional>
|
|
352
|
-
<ref name="common.attrs.rdfa.typeof"/>
|
|
353
|
-
</optional>
|
|
354
|
-
<optional>
|
|
355
|
-
<ref name="common.attrs.rdfa.vocab"/>
|
|
356
|
-
</optional>
|
|
357
|
-
<optional>
|
|
358
|
-
<ref name="common.attrs.rdfa.content"/>
|
|
359
|
-
</optional>
|
|
360
|
-
<optional>
|
|
361
|
-
<ref name="common.attrs.rdfa.datatype"/>
|
|
362
|
-
</optional>
|
|
363
|
-
<choice>
|
|
364
|
-
<interleave>
|
|
365
|
-
<ref name="common.attrs.rdfa.resource"/>
|
|
366
|
-
<optional>
|
|
367
|
-
<ref name="link.attrs.href"/>
|
|
368
|
-
</optional>
|
|
369
|
-
</interleave>
|
|
370
|
-
<interleave>
|
|
371
|
-
<optional>
|
|
372
|
-
<ref name="common.attrs.rdfa.resource"/>
|
|
373
|
-
</optional>
|
|
374
|
-
<ref name="link.attrs.href"/>
|
|
375
|
-
</interleave>
|
|
376
|
-
</choice>
|
|
377
|
-
<optional>
|
|
378
|
-
<ref name="common.attrs.rdfa.rev"/>
|
|
379
|
-
</optional>
|
|
380
|
-
<optional>
|
|
381
|
-
<ref name="common.attrs.rdfa.inlist"/>
|
|
382
|
-
</optional>
|
|
383
|
-
<optional>
|
|
384
|
-
<ref name="shared-hyperlink.attrs.hreflang"/>
|
|
385
|
-
</optional>
|
|
386
|
-
<optional>
|
|
387
|
-
<ref name="shared-hyperlink.attrs.media"/>
|
|
388
|
-
</optional>
|
|
389
|
-
<optional>
|
|
390
|
-
<ref name="shared-hyperlink.attrs.type"/>
|
|
391
|
-
</optional>
|
|
392
|
-
<optional>
|
|
393
|
-
<ref name="link.attrs.sizes"/>
|
|
394
|
-
</optional>
|
|
395
|
-
<optional>
|
|
396
|
-
<ref name="link.attrs.as"/>
|
|
397
|
-
</optional>
|
|
398
|
-
<optional>
|
|
399
|
-
<!-- link.attrs.title included in common.attrs -->
|
|
400
|
-
<ref name="embedded.content.attrs.crossorigin"/>
|
|
401
|
-
</optional>
|
|
402
|
-
<optional>
|
|
403
|
-
<choice>
|
|
404
|
-
<ref name="common.attrs.aria.role.link"/>
|
|
405
|
-
<ref name="common.attrs.aria.role.presentation"/>
|
|
406
|
-
<ref name="common.attrs.aria.role.menuitem"/>
|
|
407
|
-
</choice>
|
|
408
|
-
</optional>
|
|
409
|
-
</interleave>
|
|
410
|
-
</define>
|
|
411
|
-
<define name="link.rdfa.attrs.phrasing">
|
|
412
|
-
<interleave>
|
|
413
|
-
<ref name="common.attrs.basic"/>
|
|
414
|
-
<ref name="common.attrs.i18n"/>
|
|
415
|
-
<ref name="common.attrs.present"/>
|
|
416
|
-
<ref name="common.attrs.other"/>
|
|
417
|
-
<ref name="common.attrs.rdfa.property"/>
|
|
418
|
-
<optional>
|
|
419
|
-
<ref name="link.attrs.rel"/>
|
|
420
|
-
</optional>
|
|
421
|
-
<choice>
|
|
422
|
-
<interleave>
|
|
423
|
-
<ref name="common.attrs.rdfa.resource"/>
|
|
424
|
-
<optional>
|
|
425
|
-
<ref name="link.attrs.href"/>
|
|
426
|
-
</optional>
|
|
427
|
-
</interleave>
|
|
428
|
-
<interleave>
|
|
429
|
-
<optional>
|
|
430
|
-
<ref name="common.attrs.rdfa.resource"/>
|
|
431
|
-
</optional>
|
|
432
|
-
<ref name="link.attrs.href"/>
|
|
433
|
-
</interleave>
|
|
434
|
-
</choice>
|
|
435
|
-
<optional>
|
|
436
|
-
<ref name="common.attrs.rdfa.about"/>
|
|
437
|
-
</optional>
|
|
438
|
-
<optional>
|
|
439
|
-
<ref name="common.attrs.rdfa.prefix"/>
|
|
440
|
-
</optional>
|
|
441
|
-
<optional>
|
|
442
|
-
<ref name="common.attrs.rdfa.typeof"/>
|
|
443
|
-
</optional>
|
|
444
|
-
<optional>
|
|
445
|
-
<ref name="common.attrs.rdfa.vocab"/>
|
|
446
|
-
</optional>
|
|
447
|
-
<optional>
|
|
448
|
-
<ref name="common.attrs.rdfa.content"/>
|
|
449
|
-
</optional>
|
|
450
|
-
<optional>
|
|
451
|
-
<ref name="common.attrs.rdfa.datatype"/>
|
|
452
|
-
</optional>
|
|
453
|
-
<optional>
|
|
454
|
-
<ref name="common.attrs.rdfa.rev"/>
|
|
455
|
-
</optional>
|
|
456
|
-
<optional>
|
|
457
|
-
<ref name="common.attrs.rdfa.inlist"/>
|
|
458
|
-
</optional>
|
|
459
|
-
<optional>
|
|
460
|
-
<ref name="shared-hyperlink.attrs.hreflang"/>
|
|
461
|
-
</optional>
|
|
462
|
-
<optional>
|
|
463
|
-
<ref name="shared-hyperlink.attrs.media"/>
|
|
464
|
-
</optional>
|
|
465
|
-
<optional>
|
|
466
|
-
<ref name="shared-hyperlink.attrs.type"/>
|
|
467
|
-
</optional>
|
|
468
|
-
<optional>
|
|
469
|
-
<ref name="link.attrs.sizes"/>
|
|
470
|
-
</optional>
|
|
471
|
-
<optional>
|
|
472
|
-
<!-- link.attrs.title included in common.attrs -->
|
|
473
|
-
<ref name="embedded.content.attrs.crossorigin"/>
|
|
474
|
-
</optional>
|
|
475
|
-
<optional>
|
|
476
|
-
<choice>
|
|
477
|
-
<ref name="common.attrs.aria.role.link"/>
|
|
478
|
-
<ref name="common.attrs.aria.role.presentation"/>
|
|
479
|
-
<ref name="common.attrs.aria.role.menuitem"/>
|
|
480
|
-
</choice>
|
|
481
|
-
</optional>
|
|
482
|
-
</interleave>
|
|
483
|
-
</define>
|
|
484
|
-
<define name="common.elem.metadata" combine="choice">
|
|
485
|
-
<ref name="link.rdfa.elem.metadata"/>
|
|
486
|
-
</define>
|
|
487
|
-
<define name="common.elem.phrasing" combine="choice">
|
|
488
|
-
<ref name="link.rdfa.elem.phrasing"/>
|
|
489
|
-
</define>
|
|
490
|
-
<define name="meta.property.elem">
|
|
491
|
-
<a:documentation><meta property=foo content=bar> in head ("name" attribute optional)</a:documentation>
|
|
492
|
-
<element name="meta">
|
|
493
|
-
<interleave>
|
|
494
|
-
<ref name="meta.inner"/>
|
|
495
|
-
<ref name="meta.property.attrs"/>
|
|
496
|
-
</interleave>
|
|
497
|
-
</element>
|
|
498
|
-
</define>
|
|
499
|
-
<define name="meta.property.attrs">
|
|
500
|
-
<interleave>
|
|
501
|
-
<ref name="common.attrs.basic"/>
|
|
502
|
-
<ref name="common.attrs.i18n"/>
|
|
503
|
-
<ref name="common.attrs.present"/>
|
|
504
|
-
<ref name="common.attrs.other"/>
|
|
505
|
-
<optional>
|
|
506
|
-
<ref name="meta.name.attrs.name"/>
|
|
507
|
-
</optional>
|
|
508
|
-
<ref name="common.attrs.rdfa.property"/>
|
|
509
|
-
<ref name="meta.name.attrs.content"/>
|
|
510
|
-
</interleave>
|
|
511
|
-
</define>
|
|
512
|
-
<define name="common.elem.metadata" combine="choice">
|
|
513
|
-
<ref name="meta.property.elem"/>
|
|
514
|
-
</define>
|
|
515
|
-
<define name="meta.property-no-name.elem">
|
|
516
|
-
<a:documentation><meta property=foo content=bar> in body ("name" attribute disallowed)</a:documentation>
|
|
517
|
-
<element name="meta">
|
|
518
|
-
<interleave>
|
|
519
|
-
<ref name="meta.inner"/>
|
|
520
|
-
<ref name="meta.property-no-name.attrs"/>
|
|
521
|
-
</interleave>
|
|
522
|
-
</element>
|
|
523
|
-
</define>
|
|
524
|
-
<define name="meta.property-no-name.attrs">
|
|
525
|
-
<interleave>
|
|
526
|
-
<ref name="common.attrs.basic"/>
|
|
527
|
-
<ref name="common.attrs.i18n"/>
|
|
528
|
-
<ref name="common.attrs.present"/>
|
|
529
|
-
<ref name="common.attrs.other"/>
|
|
530
|
-
<ref name="common.attrs.rdfa.property"/>
|
|
531
|
-
<ref name="meta.name.attrs.content"/>
|
|
532
|
-
<optional>
|
|
533
|
-
<choice>
|
|
534
|
-
<ref name="common.attrs.aria.role.presentation"/>
|
|
535
|
-
<ref name="common.attrs.aria.role.menuitem"/>
|
|
536
|
-
</choice>
|
|
537
|
-
</optional>
|
|
538
|
-
</interleave>
|
|
539
|
-
</define>
|
|
540
|
-
<define name="common.elem.phrasing" combine="choice">
|
|
541
|
-
<ref name="meta.property-no-name.elem"/>
|
|
542
|
-
</define>
|
|
543
|
-
<define name="meta.property.attrs" combine="interleave">
|
|
544
|
-
<ref name="common.attrs.rdfa.no-content-noproperty"/>
|
|
545
|
-
</define>
|
|
546
|
-
<define name="meta.property-no-name.attrs" combine="interleave">
|
|
547
|
-
<ref name="common.attrs.rdfa.no-content-noproperty"/>
|
|
548
|
-
</define>
|
|
549
|
-
<define name="meta.name.attrs" combine="interleave">
|
|
550
|
-
<ref name="common.attrs.rdfa.no-content-noproperty"/>
|
|
551
|
-
</define>
|
|
552
|
-
</grammar>
|
package/schemas/revision.rng
DELETED
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<grammar xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns="http://relaxng.org/ns/structure/1.0">
|
|
3
|
-
<!-- ##################################################################### -->
|
|
4
|
-
<define name="edit.attrs.cite">
|
|
5
|
-
<a:documentation> RELAX NG Schema for HTML 5: Revision Annotations #</a:documentation>
|
|
6
|
-
<!-- ##################################################################### -->
|
|
7
|
-
<a:documentation>Common Attributes</a:documentation>
|
|
8
|
-
<attribute name="cite">
|
|
9
|
-
<ref name="common.data.uri"/>
|
|
10
|
-
</attribute>
|
|
11
|
-
</define>
|
|
12
|
-
<define name="edit.attrs.datetime">
|
|
13
|
-
<attribute name="datetime">
|
|
14
|
-
<choice>
|
|
15
|
-
<ref name="common.data.datetime"/>
|
|
16
|
-
<ref name="common.data.date"/>
|
|
17
|
-
</choice>
|
|
18
|
-
</attribute>
|
|
19
|
-
</define>
|
|
20
|
-
<define name="ins.elem.flow">
|
|
21
|
-
<a:documentation>Inserts: <ins></a:documentation>
|
|
22
|
-
<element name="ins">
|
|
23
|
-
<interleave>
|
|
24
|
-
<ref name="ins.inner.flow"/>
|
|
25
|
-
<ref name="ins.attrs"/>
|
|
26
|
-
</interleave>
|
|
27
|
-
</element>
|
|
28
|
-
</define>
|
|
29
|
-
<define name="ins.elem.phrasing">
|
|
30
|
-
<element name="ins">
|
|
31
|
-
<interleave>
|
|
32
|
-
<ref name="ins.inner.phrasing"/>
|
|
33
|
-
<ref name="ins.attrs"/>
|
|
34
|
-
</interleave>
|
|
35
|
-
</element>
|
|
36
|
-
</define>
|
|
37
|
-
<define name="ins.attrs">
|
|
38
|
-
<interleave>
|
|
39
|
-
<ref name="common.attrs"/>
|
|
40
|
-
<optional>
|
|
41
|
-
<ref name="edit.attrs.cite"/>
|
|
42
|
-
</optional>
|
|
43
|
-
<optional>
|
|
44
|
-
<ref name="edit.attrs.datetime"/>
|
|
45
|
-
</optional>
|
|
46
|
-
<optional>
|
|
47
|
-
<ref name="common.attrs.aria"/>
|
|
48
|
-
</optional>
|
|
49
|
-
</interleave>
|
|
50
|
-
</define>
|
|
51
|
-
<define name="ins.inner.flow">
|
|
52
|
-
<ref name="common.inner.transparent.flow"/>
|
|
53
|
-
</define>
|
|
54
|
-
<define name="ins.inner.phrasing">
|
|
55
|
-
<ref name="common.inner.phrasing"/>
|
|
56
|
-
</define>
|
|
57
|
-
<define name="common.elem.flow" combine="choice">
|
|
58
|
-
<ref name="ins.elem.flow"/>
|
|
59
|
-
</define>
|
|
60
|
-
<define name="common.elem.phrasing" combine="choice">
|
|
61
|
-
<ref name="ins.elem.phrasing"/>
|
|
62
|
-
</define>
|
|
63
|
-
<define name="del.elem.flow">
|
|
64
|
-
<a:documentation>Deletions: <del></a:documentation>
|
|
65
|
-
<element name="del">
|
|
66
|
-
<interleave>
|
|
67
|
-
<ref name="del.inner.flow"/>
|
|
68
|
-
<ref name="del.attrs"/>
|
|
69
|
-
</interleave>
|
|
70
|
-
</element>
|
|
71
|
-
</define>
|
|
72
|
-
<define name="del.elem.phrasing">
|
|
73
|
-
<element name="del">
|
|
74
|
-
<interleave>
|
|
75
|
-
<ref name="del.inner.phrasing"/>
|
|
76
|
-
<ref name="del.attrs"/>
|
|
77
|
-
</interleave>
|
|
78
|
-
</element>
|
|
79
|
-
</define>
|
|
80
|
-
<define name="del.attrs">
|
|
81
|
-
<interleave>
|
|
82
|
-
<ref name="common.attrs"/>
|
|
83
|
-
<optional>
|
|
84
|
-
<ref name="edit.attrs.cite"/>
|
|
85
|
-
</optional>
|
|
86
|
-
<optional>
|
|
87
|
-
<ref name="edit.attrs.datetime"/>
|
|
88
|
-
</optional>
|
|
89
|
-
<optional>
|
|
90
|
-
<ref name="common.attrs.aria"/>
|
|
91
|
-
</optional>
|
|
92
|
-
</interleave>
|
|
93
|
-
</define>
|
|
94
|
-
<define name="del.inner.flow">
|
|
95
|
-
<ref name="common.inner.transparent.flow"/>
|
|
96
|
-
</define>
|
|
97
|
-
<define name="del.inner.phrasing">
|
|
98
|
-
<ref name="common.inner.phrasing"/>
|
|
99
|
-
</define>
|
|
100
|
-
<define name="common.elem.flow" combine="choice">
|
|
101
|
-
<ref name="del.elem.flow"/>
|
|
102
|
-
</define>
|
|
103
|
-
<define name="common.elem.phrasing" combine="choice">
|
|
104
|
-
<ref name="del.elem.phrasing"/>
|
|
105
|
-
</define>
|
|
106
|
-
</grammar>
|