@likecoin/epubcheck-ts 0.1.0

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.
Files changed (65) hide show
  1. package/LICENSE +674 -0
  2. package/README.md +339 -0
  3. package/dist/index.cjs +1904 -0
  4. package/dist/index.cjs.map +1 -0
  5. package/dist/index.d.cts +523 -0
  6. package/dist/index.d.ts +523 -0
  7. package/dist/index.js +1895 -0
  8. package/dist/index.js.map +1 -0
  9. package/package.json +69 -0
  10. package/schemas/applications.rng +429 -0
  11. package/schemas/aria.rng +3355 -0
  12. package/schemas/block.rng +488 -0
  13. package/schemas/common.rng +1076 -0
  14. package/schemas/container.rng +24 -0
  15. package/schemas/core-scripting.rng +950 -0
  16. package/schemas/data.rng +161 -0
  17. package/schemas/datatypes.rng +401 -0
  18. package/schemas/embed.rng +980 -0
  19. package/schemas/epub-mathml3-inc.rng +161 -0
  20. package/schemas/epub-nav-30.rnc +44 -0
  21. package/schemas/epub-nav-30.rng +19985 -0
  22. package/schemas/epub-nav-30.sch +87 -0
  23. package/schemas/epub-prefix-attr.rng +17 -0
  24. package/schemas/epub-shared-inc.rng +29 -0
  25. package/schemas/epub-ssml-attrs.rng +17 -0
  26. package/schemas/epub-svg-30.rnc +17 -0
  27. package/schemas/epub-svg-30.rng +19903 -0
  28. package/schemas/epub-svg-30.sch +7 -0
  29. package/schemas/epub-svg-forgiving-inc.rng +315 -0
  30. package/schemas/epub-switch.rng +121 -0
  31. package/schemas/epub-trigger.rng +90 -0
  32. package/schemas/epub-type-attr.rng +12 -0
  33. package/schemas/epub-xhtml-30.rnc +6 -0
  34. package/schemas/epub-xhtml-30.rng +19882 -0
  35. package/schemas/epub-xhtml-30.sch +409 -0
  36. package/schemas/epub-xhtml-inc.rng +151 -0
  37. package/schemas/epub-xhtml-integration.rng +565 -0
  38. package/schemas/epub-xhtml-svg-mathml.rng +17 -0
  39. package/schemas/form-datatypes.rng +54 -0
  40. package/schemas/mathml3-common.rng +336 -0
  41. package/schemas/mathml3-content.rng +1552 -0
  42. package/schemas/mathml3-inc.rng +30 -0
  43. package/schemas/mathml3-presentation.rng +2341 -0
  44. package/schemas/mathml3-strict-content.rng +205 -0
  45. package/schemas/media.rng +374 -0
  46. package/schemas/meta.rng +754 -0
  47. package/schemas/microdata.rng +192 -0
  48. package/schemas/ncx.rng +308 -0
  49. package/schemas/ocf-container-30.rnc +37 -0
  50. package/schemas/ocf-container-30.rng +568 -0
  51. package/schemas/opf.rng +15 -0
  52. package/schemas/opf20.rng +513 -0
  53. package/schemas/package-30.rnc +133 -0
  54. package/schemas/package-30.rng +1153 -0
  55. package/schemas/package-30.sch +444 -0
  56. package/schemas/phrase.rng +746 -0
  57. package/schemas/rdfa.rng +552 -0
  58. package/schemas/revision.rng +106 -0
  59. package/schemas/ruby.rng +141 -0
  60. package/schemas/sectional.rng +278 -0
  61. package/schemas/structural.rng +298 -0
  62. package/schemas/tables.rng +420 -0
  63. package/schemas/web-components.rng +184 -0
  64. package/schemas/web-forms.rng +975 -0
  65. package/schemas/web-forms2.rng +1236 -0
@@ -0,0 +1,1076 @@
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
+ <!-- ##################################################################### -->
4
+ <define name="XMLonly">
5
+ <a:documentation> RELAX NG Schema for HTML 5: Common Definitions #</a:documentation>
6
+ <!-- ##################################################################### -->
7
+ <!-- ##################################################################### -->
8
+ <a:documentation> Language Parameters - redefine in inclusion block as necessary #</a:documentation>
9
+ <!-- ##################################################################### -->
10
+ <a:documentation>HTML vs. XHTML restrictions</a:documentation>
11
+ <empty/>
12
+ </define>
13
+ <define name="HTMLonly">
14
+ <notAllowed/>
15
+ </define>
16
+ <!--
17
+ (This only affects mixed-version modules; wholly HTML5
18
+ modules should simply be left out of the inclusion list.)
19
+ -->
20
+ <define name="v5only">
21
+ <a:documentation>HTML 4 Compatibility - set to notAllowed to disallow markup introduced in HTML 5</a:documentation>
22
+ <empty/>
23
+ </define>
24
+ <!-- (xml:base on elements other than <html>) -->
25
+ <define name="nonRoundtrippable">
26
+ <a:documentation>HTML Compatibility Switches - set to notAllowed to disallow</a:documentation>
27
+ <a:documentation>XML features that can't be roundtripped HTML &lt;-&gt; XHTML</a:documentation>
28
+ <empty/>
29
+ </define>
30
+ <define name="nonHTMLizable">
31
+ <a:documentation>XML features that can't be serialized as HTML</a:documentation>
32
+ <empty/>
33
+ </define>
34
+ <!-- ##################################################################### -->
35
+ <define name="common.attr.anything">
36
+ <a:documentation> Wildcards #</a:documentation>
37
+ <!-- ##################################################################### -->
38
+ <a:documentation>Any attribute from any namespace</a:documentation>
39
+ <zeroOrMore>
40
+ <attribute>
41
+ <anyName/>
42
+ </attribute>
43
+ </zeroOrMore>
44
+ </define>
45
+ <define name="common.elem.anything">
46
+ <a:documentation>Any element from any namespace</a:documentation>
47
+ <element>
48
+ <anyName/>
49
+ <interleave>
50
+ <ref name="common.inner.anything"/>
51
+ <ref name="common.attr.anything"/>
52
+ </interleave>
53
+ </element>
54
+ </define>
55
+ <define name="common.inner.anything">
56
+ <a:documentation>Any content from any namespace</a:documentation>
57
+ <interleave>
58
+ <text/>
59
+ <zeroOrMore>
60
+ <ref name="common.elem.anything"/>
61
+ </zeroOrMore>
62
+ </interleave>
63
+ </define>
64
+ <!-- ##################################################################### -->
65
+ <define name="common.elem.metadata">
66
+ <a:documentation> Common Element Classes #</a:documentation>
67
+ <!-- ##################################################################### -->
68
+ <a:documentation>Metadata Elements</a:documentation>
69
+ <notAllowed/>
70
+ </define>
71
+ <define name="common.elem.phrasing">
72
+ <a:documentation>Phrase Elements</a:documentation>
73
+ <notAllowed/>
74
+ </define>
75
+ <define name="common.elem.flow">
76
+ <a:documentation>Prose Elements</a:documentation>
77
+ <ref name="common.elem.phrasing"/>
78
+ </define>
79
+ <!-- ##################################################################### -->
80
+ <define name="common.inner.metadata">
81
+ <a:documentation> Common Content Models #</a:documentation>
82
+ <!-- ##################################################################### -->
83
+ <a:documentation>Metadata Content</a:documentation>
84
+ <zeroOrMore>
85
+ <ref name="common.elem.metadata"/>
86
+ </zeroOrMore>
87
+ </define>
88
+ <define name="common.inner.phrasing">
89
+ <a:documentation>Phrase Content</a:documentation>
90
+ <interleave>
91
+ <text/>
92
+ <zeroOrMore>
93
+ <ref name="common.elem.phrasing"/>
94
+ </zeroOrMore>
95
+ </interleave>
96
+ </define>
97
+ <define name="common.inner.transparent.flow">
98
+ <a:documentation>Prose Content</a:documentation>
99
+ <interleave>
100
+ <text/>
101
+ <zeroOrMore>
102
+ <ref name="common.elem.flow"/>
103
+ </zeroOrMore>
104
+ </interleave>
105
+ </define>
106
+ <define name="common.inner.flow">
107
+ <interleave>
108
+ <text/>
109
+ <zeroOrMore>
110
+ <ref name="common.elem.flow"/>
111
+ </zeroOrMore>
112
+ </interleave>
113
+ </define>
114
+ <!-- ##################################################################### -->
115
+ <!-- ##################################################################### -->
116
+ <!-- When updating, check <bdo> definition too -->
117
+ <define name="common.attrs">
118
+ <a:documentation> Common Attributes #</a:documentation>
119
+ <interleave>
120
+ <ref name="common.attrs.basic"/>
121
+ <ref name="common.attrs.i18n"/>
122
+ <ref name="common.attrs.present"/>
123
+ <ref name="common.attrs.other"/>
124
+ </interleave>
125
+ </define>
126
+ <define name="common.attrs.basic">
127
+ <interleave>
128
+ <optional>
129
+ <ref name="common.attrs.id"/>
130
+ </optional>
131
+ <optional>
132
+ <ref name="common.attrs.class"/>
133
+ </optional>
134
+ <optional>
135
+ <ref name="common.attrs.title"/>
136
+ </optional>
137
+ <optional>
138
+ <ref name="common.attrs.base"/>
139
+ </optional>
140
+ <optional>
141
+ <ref name="common.attrs.space"/>
142
+ </optional>
143
+ </interleave>
144
+ </define>
145
+ <define name="common.attrs.id">
146
+ <attribute name="id">
147
+ <ref name="common.data.id"/>
148
+ </attribute>
149
+ </define>
150
+ <define name="common.attrs.class">
151
+ <attribute name="class">
152
+ <ref name="common.data.tokens"/>
153
+ </attribute>
154
+ </define>
155
+ <define name="common.attrs.title">
156
+ <attribute name="title"/>
157
+ </define>
158
+ <define name="common.attrs.base">
159
+ <interleave>
160
+ <ref name="common.attrs.xmlbase"/>
161
+ <ref name="nonRoundtrippable"/>
162
+ </interleave>
163
+ </define>
164
+ <define name="common.attrs.xmlbase">
165
+ <interleave>
166
+ <attribute name="xml:base">
167
+ <ref name="common.data.uri"/>
168
+ </attribute>
169
+ <ref name="XMLonly"/>
170
+ </interleave>
171
+ </define>
172
+ <define name="common.attrs.space">
173
+ <ref name="common.attrs.xmlspace"/>
174
+ </define>
175
+ <define name="common.attrs.xmlspace">
176
+ <interleave>
177
+ <attribute name="xml:space">
178
+ <choice>
179
+ <value type="string" datatypeLibrary="">preserve</value>
180
+ <value type="string" datatypeLibrary="">default</value>
181
+ </choice>
182
+ </attribute>
183
+ <ref name="XMLonly"/>
184
+ </interleave>
185
+ </define>
186
+ <define name="common.attrs.i18n">
187
+ <interleave>
188
+ <optional>
189
+ <ref name="common.attrs.dir"/>
190
+ </optional>
191
+ <optional>
192
+ <ref name="common.attrs.language"/>
193
+ </optional>
194
+ <optional>
195
+ <ref name="common.attrs.translate"/>
196
+ </optional>
197
+ </interleave>
198
+ </define>
199
+ <define name="common.attrs.dir">
200
+ <attribute name="dir">
201
+ <choice>
202
+ <value>ltr</value>
203
+ <value>rtl</value>
204
+ <value>auto</value>
205
+ </choice>
206
+ </attribute>
207
+ </define>
208
+ <!--
209
+ This lang definition is a hack for environments where
210
+ the HTML5 parser maps lang to xml:lang.
211
+ Sameness check left to Schematron
212
+ -->
213
+ <define name="common.attrs.language">
214
+ <interleave>
215
+ <optional>
216
+ <ref name="common.attrs.xmllang"/>
217
+ </optional>
218
+ <optional>
219
+ <ref name="common.attrs.lang"/>
220
+ </optional>
221
+ </interleave>
222
+ </define>
223
+ <define name="common.attrs.lang">
224
+ <interleave>
225
+ <attribute name="lang">
226
+ <ref name="common.data.langcode"/>
227
+ </attribute>
228
+ <ref name="XMLonly"/>
229
+ </interleave>
230
+ </define>
231
+ <define name="common.attrs.xmllang">
232
+ <attribute name="xml:lang">
233
+ <ref name="common.data.langcode"/>
234
+ </attribute>
235
+ </define>
236
+ <!--
237
+ common.attrs.language =
238
+ ( common.attrs.lang
239
+ | common.attrs.xmllang
240
+ )
241
+ common.attrs.lang =
242
+ attribute lang {
243
+ common.data.langcode
244
+ } & HTMLonly
245
+ common.attrs.xmllang =
246
+ attribute xml:lang {
247
+ common.data.langcode
248
+ } & XMLonly
249
+ -->
250
+ <define name="common.attrs.translate">
251
+ <attribute name="translate">
252
+ <choice>
253
+ <value/>
254
+ <value>yes</value>
255
+ <value>no</value>
256
+ </choice>
257
+ </attribute>
258
+ </define>
259
+ <define name="common.attrs.present">
260
+ <interleave>
261
+ <optional>
262
+ <ref name="common.attrs.style"/>
263
+ </optional>
264
+ <optional>
265
+ <ref name="common.attrs.tabindex"/>
266
+ </optional>
267
+ <optional>
268
+ <ref name="common.attrs.accesskey"/>
269
+ </optional>
270
+ </interleave>
271
+ </define>
272
+ <define name="common.attrs.style">
273
+ <attribute name="style">
274
+ <data type="string" datatypeLibrary=""/>
275
+ </attribute>
276
+ </define>
277
+ <define name="common.attrs.tabindex">
278
+ <attribute name="tabindex">
279
+ <ref name="common.data.integer"/>
280
+ </attribute>
281
+ </define>
282
+ <!-- REVISIT move style to a module and bundle tabindex with ARIA -->
283
+ <define name="common.attrs.accesskey">
284
+ <attribute name="accesskey">
285
+ <ref name="common.data.keylabellist"/>
286
+ </attribute>
287
+ </define>
288
+ <define name="common.attrs.other">
289
+ <interleave>
290
+ <optional>
291
+ <ref name="common.attrs.autofocus"/>
292
+ </optional>
293
+ <optional>
294
+ <ref name="common.attrs.nonce"/>
295
+ </optional>
296
+ <optional>
297
+ <ref name="common.attrs.inert"/>
298
+ </optional>
299
+ </interleave>
300
+ </define>
301
+ <define name="common.attrs.autofocus">
302
+ <attribute name="autofocus">
303
+ <choice>
304
+ <value>autofocus</value>
305
+ <value/>
306
+ </choice>
307
+ </attribute>
308
+ </define>
309
+ <define name="common.attrs.blocking">
310
+ <attribute name="blocking">
311
+ <list>
312
+ <value>render</value>
313
+ </list>
314
+ </attribute>
315
+ </define>
316
+ <define name="common.attrs.fetchpriority">
317
+ <attribute name="fetchpriority">
318
+ <choice>
319
+ <value>high</value>
320
+ <value>low</value>
321
+ <value>auto</value>
322
+ </choice>
323
+ </attribute>
324
+ </define>
325
+ <define name="common.attrs.nonce">
326
+ <attribute name="nonce">
327
+ <data type="string" datatypeLibrary=""/>
328
+ </attribute>
329
+ </define>
330
+ <define name="common.attrs.inert">
331
+ <attribute name="inert">
332
+ <choice>
333
+ <value type="string" datatypeLibrary="">inert</value>
334
+ <value type="string" datatypeLibrary=""/>
335
+ </choice>
336
+ </attribute>
337
+ </define>
338
+ <!-- ##################################################################### -->
339
+ <define name="common.data.tokens">
340
+ <a:documentation> Common Datatypes #</a:documentation>
341
+ <!-- ##################################################################### -->
342
+ <a:documentation>Names and Tokens</a:documentation>
343
+ <list>
344
+ <zeroOrMore>
345
+ <data type="token" datatypeLibrary=""/>
346
+ </zeroOrMore>
347
+ </list>
348
+ </define>
349
+ <define name="common.data.browsing-context">
350
+ <ref name="datatype.html5.browsing.context.name"/>
351
+ </define>
352
+ <define name="common.data.browsing-context-or-keyword">
353
+ <ref name="datatype.html5.browsing.context.name.or.keyword"/>
354
+ </define>
355
+ <!--
356
+ xsd:string {
357
+ pattern = "()|([^_].*)|(_[bB][lL][aA][nN][kK])|(_[sS][eE][lL][fF])|(_[pP][aA][rR][eE][nN][tT])|(_[tT][oO][pP])"
358
+ }
359
+ -->
360
+ <define name="common.data.id">
361
+ <a:documentation>IDs and IDREFs</a:documentation>
362
+ <ref name="datatype.html5.token"/>
363
+ </define>
364
+ <!--
365
+ xsd:string {
366
+ pattern = "\S+"
367
+ }
368
+ -->
369
+ <define name="common.data.idref">
370
+ <ref name="datatype.html5.token"/>
371
+ </define>
372
+ <define name="common.data.idrefs">
373
+ <ref name="datatype.html5.space.separated.tokens"/>
374
+ </define>
375
+ <define name="common.data.name">
376
+ <ref name="datatype.html5.token"/>
377
+ </define>
378
+ <define name="common.data.hash-name">
379
+ <ref name="datatype.html5.name.reference"/>
380
+ </define>
381
+ <!--
382
+ xsd:string {
383
+ pattern = "#.+"
384
+ }
385
+ -->
386
+ <define name="common.data.integer">
387
+ <a:documentation>Numerical</a:documentation>
388
+ <ref name="datatype.integer"/>
389
+ </define>
390
+ <!--
391
+ xsd:string {
392
+ pattern = "-?[0-9]+"
393
+ }
394
+ -->
395
+ <define name="common.data.integer.positive">
396
+ <ref name="datatype.positive.integer"/>
397
+ </define>
398
+ <!--
399
+ xsd:string {
400
+ pattern = "0*[1-9][0-9]*"
401
+ }
402
+ -->
403
+ <define name="common.data.integer.non-negative">
404
+ <ref name="datatype.non-negative.integer"/>
405
+ </define>
406
+ <!--
407
+ xsd:string {
408
+ pattern = "[0-9]+"
409
+ }
410
+ -->
411
+ <!--
412
+ common.data.percent =
413
+ xsd:string {
414
+ pattern = "(100)|([1-9]?[0-9](\.[0-9]+)?)%"
415
+ }
416
+ -->
417
+ <define name="common.data.float">
418
+ <ref name="datatype.float"/>
419
+ </define>
420
+ <!--
421
+ xsd:string {
422
+ pattern = "-?[0-9]+(\.[0-9]+)?([eE]-?[0-9]+)?"
423
+ }
424
+ -->
425
+ <define name="common.data.float.positive">
426
+ <ref name="datatype.float.positive"/>
427
+ </define>
428
+ <!--
429
+ xsd:string {
430
+ pattern = "(0*[1-9][0-9]*(\.[0-9]+)?)|([0-9]+(\.0*[1-9][0-9]*)?)([eE]-?[0-9]+)?"
431
+ }
432
+ -->
433
+ <define name="common.data.float.non-negative">
434
+ <ref name="datatype.float.non-negative"/>
435
+ </define>
436
+ <!--
437
+ xsd:string {
438
+ pattern = "[0-9]+(\.[0-9]+)?([eE]-?[0-9]+)?"
439
+ }
440
+ -->
441
+ <define name="common.data.datetime">
442
+ <a:documentation>Temporal</a:documentation>
443
+ <ref name="datatype.html5.datetime"/>
444
+ </define>
445
+ <define name="common.data.date">
446
+ <ref name="datatype.html5.date"/>
447
+ </define>
448
+ <define name="common.data.time-datetime">
449
+ <ref name="datatype.html5.date.or.time"/>
450
+ </define>
451
+ <define name="common.data.uri">
452
+ <a:documentation>IRIs</a:documentation>
453
+ <!--
454
+ allow either a non-empty IRI ref or zero or more HTML
455
+ space characters (which are: space, tab, LF, FF, CR)
456
+ -->
457
+ <choice>
458
+ <ref name="datatype.IRI"/>
459
+ <data type="string">
460
+ <param name="pattern">[
461
+ -&#xD;]*</param>
462
+ </data>
463
+ </choice>
464
+ <!--
465
+ NOTE The range above incorrectly allows U+000B
466
+ in addition to the HTML space characters; but
467
+ that's not a problem in practice because HTML
468
+ and XML parsers will both catch any U+000B
469
+ and report an error for it before that pattern
470
+ ever gets evaluated.
471
+ -->
472
+ </define>
473
+ <define name="common.data.uri.non-empty">
474
+ <ref name="datatype.string.nonempty"/>
475
+ </define>
476
+ <define name="common.data.uris">
477
+ <list>
478
+ <zeroOrMore>
479
+ <ref name="datatype.IRI"/>
480
+ </zeroOrMore>
481
+ </list>
482
+ </define>
483
+ <define name="common.data.uris.http.or.https">
484
+ <list>
485
+ <zeroOrMore>
486
+ <ref name="datatype.URI.absolute"/>
487
+ </zeroOrMore>
488
+ </list>
489
+ </define>
490
+ <define name="common.data.uri.absolute">
491
+ <ref name="datatype.URI.absolute"/>
492
+ </define>
493
+ <define name="common.data.sizes">
494
+ <a:documentation>&lt;link type='icon'&gt; sizes</a:documentation>
495
+ <!-- list { w:sizes } -->
496
+ <list>
497
+ <oneOrMore>
498
+ <data type="string">
499
+ <param name="pattern">[1-9][0-9]*x[1-9][0-9]*</param>
500
+ </data>
501
+ </oneOrMore>
502
+ </list>
503
+ </define>
504
+ <define name="common.data.color">
505
+ <a:documentation>color for &lt;link rel="mask-icon"&gt; and &lt;meta name="theme-color"&gt;</a:documentation>
506
+ <ref name="datatype.html5.color"/>
507
+ </define>
508
+ <define name="common.data.mimetype">
509
+ <a:documentation>MIME types</a:documentation>
510
+ <ref name="datatype.mimetype"/>
511
+ </define>
512
+ <define name="common.data.scripttype">
513
+ <a:documentation>Script type</a:documentation>
514
+ <ref name="datatype.string"/>
515
+ </define>
516
+ <define name="common.data.charset">
517
+ <a:documentation>Encodings</a:documentation>
518
+ <ref name="datatype.character.encoding"/>
519
+ </define>
520
+ <define name="common.data.meta-charset">
521
+ <ref name="datatype.string"/>
522
+ </define>
523
+ <define name="common.data.refresh">
524
+ <a:documentation>Refresh</a:documentation>
525
+ <ref name="datatype.string"/>
526
+ </define>
527
+ <define name="common.data.default-style">
528
+ <a:documentation>Default style</a:documentation>
529
+ <data type="string" datatypeLibrary=""/>
530
+ </define>
531
+ <!-- w:default-style -->
532
+ <define name="common.data.x-ua-compatible">
533
+ <a:documentation>X-UA-Compatible</a:documentation>
534
+ <data type="string" datatypeLibrary=""/>
535
+ </define>
536
+ <define name="common.data.mediaquery">
537
+ <a:documentation>Media Queries</a:documentation>
538
+ <ref name="datatype.html5.media.query"/>
539
+ </define>
540
+ <define name="common.data.langcode">
541
+ <a:documentation>Language Codes</a:documentation>
542
+ <choice>
543
+ <value/>
544
+ <ref name="datatype.languagecode"/>
545
+ </choice>
546
+ </define>
547
+ <define name="common.data.keylabellist">
548
+ <a:documentation>List of Key Labels</a:documentation>
549
+ <ref name="datatype.html5.accesskey"/>
550
+ </define>
551
+ <define name="common.data.source.size.list">
552
+ <a:documentation>List of Source Sizes</a:documentation>
553
+ <ref name="datatype.string"/>
554
+ </define>
555
+ <define name="common.data.integrity">
556
+ <a:documentation>Subresource Integrity</a:documentation>
557
+ <ref name="datatype.string"/>
558
+ </define>
559
+ <define name="common.data.content-security-policy">
560
+ <a:documentation>Content Security Policy</a:documentation>
561
+ <ref name="datatype.string"/>
562
+ </define>
563
+ <define name="common.data.feature-policy">
564
+ <a:documentation>Feature Policy</a:documentation>
565
+ <data type="string" datatypeLibrary=""/>
566
+ </define>
567
+ <define name="common.data.sandbox-allow-list">
568
+ <a:documentation>List of sandbox keywords</a:documentation>
569
+ <choice>
570
+ <value/>
571
+ <list>
572
+ <optional>
573
+ <value>allow-top-navigation</value>
574
+ </optional>
575
+ <optional>
576
+ <value>allow-same-origin</value>
577
+ </optional>
578
+ <optional>
579
+ <value>allow-forms</value>
580
+ </optional>
581
+ <optional>
582
+ <value>allow-scripts</value>
583
+ </optional>
584
+ </list>
585
+ <list>
586
+ <optional>
587
+ <value>allow-top-navigation</value>
588
+ </optional>
589
+ <optional>
590
+ <value>allow-same-origin</value>
591
+ </optional>
592
+ <optional>
593
+ <value>allow-scripts</value>
594
+ </optional>
595
+ <optional>
596
+ <value>allow-forms</value>
597
+ </optional>
598
+ </list>
599
+ </choice>
600
+ </define>
601
+ <define name="common.data.custom.element.name">
602
+ <a:documentation>Custom element name</a:documentation>
603
+ <ref name="datatype.string"/>
604
+ </define>
605
+ <define name="common.data.microdata-properties">
606
+ <a:documentation>Microdata Properties</a:documentation>
607
+ <list>
608
+ <oneOrMore>
609
+ <ref name="datatype.string"/>
610
+ </oneOrMore>
611
+ </list>
612
+ </define>
613
+ <define name="common.data.zero">
614
+ <a:documentation>Zero</a:documentation>
615
+ <value>0</value>
616
+ </define>
617
+ <define name="common.data.functionbody">
618
+ <a:documentation>ECMAScript FunctionBody</a:documentation>
619
+ <data type="string" datatypeLibrary=""/>
620
+ </define>
621
+ <define name="common.data.autocomplete.any">
622
+ <a:documentation>autocomplete</a:documentation>
623
+ <ref name="datatype.string"/>
624
+ </define>
625
+ <!-- ##################################################################### -->
626
+ <!-- ##################################################################### -->
627
+ <define name="common-form.attrs.form">
628
+ <a:documentation> WF2 Module Hook #</a:documentation>
629
+ <notAllowed/>
630
+ </define>
631
+ <!-- ##################################################################### -->
632
+ <!-- ##################################################################### -->
633
+ <define name="common.elem.script-supporting">
634
+ <a:documentation> Script-supporting elements</a:documentation>
635
+ <notAllowed/>
636
+ </define>
637
+ <!-- ##################################################################### -->
638
+ <!-- ##################################################################### -->
639
+ <define name="common.attrs.aria">
640
+ <a:documentation> ARIA Module Hooks #</a:documentation>
641
+ <notAllowed/>
642
+ </define>
643
+ <define name="common.attrs.aria.role.alert">
644
+ <notAllowed/>
645
+ </define>
646
+ <define name="common.attrs.aria.role.alertdialog">
647
+ <notAllowed/>
648
+ </define>
649
+ <define name="common.attrs.aria.role.application">
650
+ <notAllowed/>
651
+ </define>
652
+ <define name="common.attrs.aria.role.article">
653
+ <notAllowed/>
654
+ </define>
655
+ <define name="common.attrs.aria.role.banner">
656
+ <notAllowed/>
657
+ </define>
658
+ <define name="common.attrs.aria.role.button">
659
+ <notAllowed/>
660
+ </define>
661
+ <define name="common.attrs.aria.role.cell" combine="choice">
662
+ <notAllowed/>
663
+ </define>
664
+ <define name="common.attrs.aria.role.checkbox">
665
+ <notAllowed/>
666
+ </define>
667
+ <define name="common.attrs.aria.role.combobox">
668
+ <notAllowed/>
669
+ </define>
670
+ <define name="common.attrs.aria.role.complementary">
671
+ <notAllowed/>
672
+ </define>
673
+ <define name="common.attrs.aria.role.dialog">
674
+ <notAllowed/>
675
+ </define>
676
+ <define name="common.attrs.aria.role.directory">
677
+ <notAllowed/>
678
+ </define>
679
+ <define name="common.attrs.aria.role.document">
680
+ <notAllowed/>
681
+ </define>
682
+ <define name="common.attrs.aria.role.feed" combine="choice">
683
+ <notAllowed/>
684
+ </define>
685
+ <define name="common.attrs.aria.role.figure" combine="choice">
686
+ <notAllowed/>
687
+ </define>
688
+ <define name="common.attrs.aria.role.group">
689
+ <notAllowed/>
690
+ </define>
691
+ <define name="common.attrs.aria.role.heading">
692
+ <notAllowed/>
693
+ </define>
694
+ <define name="common.attrs.aria.role.img">
695
+ <notAllowed/>
696
+ </define>
697
+ <define name="common.attrs.aria.role.link">
698
+ <notAllowed/>
699
+ </define>
700
+ <define name="common.attrs.aria.role.list">
701
+ <notAllowed/>
702
+ </define>
703
+ <define name="common.attrs.aria.role.listitem">
704
+ <notAllowed/>
705
+ </define>
706
+ <define name="common.attrs.aria.role.log">
707
+ <notAllowed/>
708
+ </define>
709
+ <define name="common.attrs.aria.role.listbox">
710
+ <notAllowed/>
711
+ </define>
712
+ <define name="common.attrs.aria.role.main">
713
+ <notAllowed/>
714
+ </define>
715
+ <define name="common.attrs.aria.role.marquee">
716
+ <notAllowed/>
717
+ </define>
718
+ <define name="common.attrs.aria.role.menu">
719
+ <notAllowed/>
720
+ </define>
721
+ <define name="common.attrs.aria.role.menubar">
722
+ <notAllowed/>
723
+ </define>
724
+ <define name="common.attrs.aria.role.menuitem">
725
+ <notAllowed/>
726
+ </define>
727
+ <define name="common.attrs.aria.role.menuitemcheckbox">
728
+ <notAllowed/>
729
+ </define>
730
+ <define name="common.attrs.aria.role.menuitemradio">
731
+ <notAllowed/>
732
+ </define>
733
+ <define name="common.attrs.aria.role.option">
734
+ <notAllowed/>
735
+ </define>
736
+ <define name="common.attrs.aria.role.presentation">
737
+ <notAllowed/>
738
+ </define>
739
+ <define name="common.attrs.aria.role.progressbar">
740
+ <notAllowed/>
741
+ </define>
742
+ <define name="common.attrs.aria.role.radio">
743
+ <notAllowed/>
744
+ </define>
745
+ <define name="common.attrs.aria.role.radiogroup" combine="choice">
746
+ <notAllowed/>
747
+ </define>
748
+ <define name="common.attrs.aria.role.region">
749
+ <notAllowed/>
750
+ </define>
751
+ <define name="common.attrs.aria.role.rowgroup" combine="choice">
752
+ <notAllowed/>
753
+ </define>
754
+ <define name="common.attrs.aria.role.search">
755
+ <notAllowed/>
756
+ </define>
757
+ <define name="common.attrs.aria.role.searchbox" combine="choice">
758
+ <notAllowed/>
759
+ </define>
760
+ <define name="common.attrs.aria.role.separator">
761
+ <notAllowed/>
762
+ </define>
763
+ <define name="common.attrs.aria.role.slider">
764
+ <notAllowed/>
765
+ </define>
766
+ <define name="common.attrs.aria.role.spinbutton">
767
+ <notAllowed/>
768
+ </define>
769
+ <define name="common.attrs.aria.role.status">
770
+ <notAllowed/>
771
+ </define>
772
+ <define name="common.attrs.aria.role.switch">
773
+ <notAllowed/>
774
+ </define>
775
+ <define name="common.attrs.aria.role.tab">
776
+ <notAllowed/>
777
+ </define>
778
+ <define name="common.attrs.aria.role.table" combine="choice">
779
+ <notAllowed/>
780
+ </define>
781
+ <define name="common.attrs.aria.role.tablist">
782
+ <notAllowed/>
783
+ </define>
784
+ <define name="common.attrs.aria.role.tabpanel">
785
+ <notAllowed/>
786
+ </define>
787
+ <define name="common.attrs.aria.role.textbox">
788
+ <notAllowed/>
789
+ </define>
790
+ <define name="common.attrs.aria.role.toolbar">
791
+ <notAllowed/>
792
+ </define>
793
+ <define name="common.attrs.aria.role.tree">
794
+ <notAllowed/>
795
+ </define>
796
+ <define name="common.attrs.aria.role.treeitem">
797
+ <notAllowed/>
798
+ </define>
799
+ <define name="common.attrs.aria.implicit.article">
800
+ <notAllowed/>
801
+ </define>
802
+ <define name="common.attrs.aria.implicit.banner">
803
+ <notAllowed/>
804
+ </define>
805
+ <define name="common.attrs.aria.implicit.button">
806
+ <notAllowed/>
807
+ </define>
808
+ <define name="common.attrs.aria.implicit.cell" combine="choice">
809
+ <notAllowed/>
810
+ </define>
811
+ <define name="common.attrs.aria.implicit.checkbox">
812
+ <notAllowed/>
813
+ </define>
814
+ <define name="common.attrs.aria.implicit.column-or-row-header">
815
+ <notAllowed/>
816
+ </define>
817
+ <define name="common.attrs.aria.implicit.combobox">
818
+ <notAllowed/>
819
+ </define>
820
+ <define name="common.attrs.aria.implicit.complementary">
821
+ <notAllowed/>
822
+ </define>
823
+ <define name="common.attrs.aria.implicit.contentinfo">
824
+ <notAllowed/>
825
+ </define>
826
+ <define name="common.attrs.aria.implicit.dialog">
827
+ <notAllowed/>
828
+ </define>
829
+ <define name="common.attrs.aria.implicit.figure" combine="choice">
830
+ <notAllowed/>
831
+ </define>
832
+ <define name="common.attrs.aria.implicit.document">
833
+ <notAllowed/>
834
+ </define>
835
+ <define name="common.attrs.aria.implicit.form">
836
+ <notAllowed/>
837
+ </define>
838
+ <define name="common.attrs.aria.implicit.group">
839
+ <notAllowed/>
840
+ </define>
841
+ <define name="common.attrs.aria.implicit.heading">
842
+ <notAllowed/>
843
+ </define>
844
+ <define name="common.attrs.aria.implicit.img">
845
+ <notAllowed/>
846
+ </define>
847
+ <define name="common.attrs.aria.implicit.landmark">
848
+ <notAllowed/>
849
+ </define>
850
+ <define name="common.attrs.aria.implicit.link">
851
+ <notAllowed/>
852
+ </define>
853
+ <define name="common.attrs.aria.implicit.list">
854
+ <notAllowed/>
855
+ </define>
856
+ <define name="common.attrs.aria.implicit.listbox">
857
+ <notAllowed/>
858
+ </define>
859
+ <define name="common.attrs.aria.implicit.listitem">
860
+ <notAllowed/>
861
+ </define>
862
+ <define name="common.attrs.aria.implicit.main">
863
+ <notAllowed/>
864
+ </define>
865
+ <define name="common.attrs.aria.implicit.math" combine="choice">
866
+ <notAllowed/>
867
+ </define>
868
+ <define name="common.attrs.aria.implicit.navigation">
869
+ <notAllowed/>
870
+ </define>
871
+ <define name="common.attrs.aria.implicit.option">
872
+ <notAllowed/>
873
+ </define>
874
+ <define name="common.attrs.aria.implicit.progressbar">
875
+ <notAllowed/>
876
+ </define>
877
+ <define name="common.attrs.aria.implicit.radio">
878
+ <notAllowed/>
879
+ </define>
880
+ <define name="common.attrs.aria.implicit.region">
881
+ <notAllowed/>
882
+ </define>
883
+ <define name="common.attrs.aria.implicit.row" combine="choice">
884
+ <notAllowed/>
885
+ </define>
886
+ <define name="common.attrs.aria.implicit.rowgroup" combine="choice">
887
+ <notAllowed/>
888
+ </define>
889
+ <define name="common.attrs.aria.implicit.search">
890
+ <notAllowed/>
891
+ </define>
892
+ <define name="common.attrs.aria.implicit.searchbox" combine="choice">
893
+ <notAllowed/>
894
+ </define>
895
+ <define name="common.attrs.aria.implicit.section">
896
+ <notAllowed/>
897
+ </define>
898
+ <define name="common.attrs.aria.implicit.select">
899
+ <notAllowed/>
900
+ </define>
901
+ <define name="common.attrs.aria.implicit.separator">
902
+ <notAllowed/>
903
+ </define>
904
+ <define name="common.attrs.aria.implicit.slider">
905
+ <notAllowed/>
906
+ </define>
907
+ <define name="common.attrs.aria.implicit.spinbutton">
908
+ <notAllowed/>
909
+ </define>
910
+ <define name="common.attrs.aria.implicit.status">
911
+ <notAllowed/>
912
+ </define>
913
+ <define name="common.attrs.aria.implicit.structure">
914
+ <notAllowed/>
915
+ </define>
916
+ <define name="common.attrs.aria.implicit.table" combine="choice">
917
+ <notAllowed/>
918
+ </define>
919
+ <define name="common.attrs.aria.implicit.textbox">
920
+ <notAllowed/>
921
+ </define>
922
+ <define name="common.attrs.aria.implicit.toolbar">
923
+ <notAllowed/>
924
+ </define>
925
+ <define name="common.attrs.aria.prop.readonly">
926
+ <notAllowed/>
927
+ </define>
928
+ <define name="common.attrs.aria.landmark.banner">
929
+ <notAllowed/>
930
+ </define>
931
+ <define name="common.attrs.aria.landmark.complementary">
932
+ <notAllowed/>
933
+ </define>
934
+ <define name="common.attrs.aria.landmark.contentinfo">
935
+ <notAllowed/>
936
+ </define>
937
+ <define name="common.attrs.aria.landmark.form">
938
+ <notAllowed/>
939
+ </define>
940
+ <define name="common.attrs.aria.landmark.main">
941
+ <notAllowed/>
942
+ </define>
943
+ <define name="common.attrs.aria.landmark.navigation">
944
+ <notAllowed/>
945
+ </define>
946
+ <define name="common.attrs.aria.landmark.search">
947
+ <notAllowed/>
948
+ </define>
949
+ <!-- per ARIA spec: article, document, and note are not actually landmarks -->
950
+ <define name="common.attrs.aria.landmark.article">
951
+ <notAllowed/>
952
+ </define>
953
+ <define name="common.attrs.aria.landmark.document">
954
+ <notAllowed/>
955
+ </define>
956
+ <define name="common.attrs.aria.landmark.note">
957
+ <notAllowed/>
958
+ </define>
959
+ <define name="common.attrs.aria.role.doc-abstract">
960
+ <notAllowed/>
961
+ </define>
962
+ <define name="common.attrs.aria.role.doc-acknowledgments">
963
+ <notAllowed/>
964
+ </define>
965
+ <define name="common.attrs.aria.role.doc-afterword">
966
+ <notAllowed/>
967
+ </define>
968
+ <define name="common.attrs.aria.role.doc-appendix">
969
+ <notAllowed/>
970
+ </define>
971
+ <define name="common.attrs.aria.role.doc-backlink">
972
+ <notAllowed/>
973
+ </define>
974
+ <define name="common.attrs.aria.role.doc-biblioentry">
975
+ <notAllowed/>
976
+ </define>
977
+ <define name="common.attrs.aria.role.doc-bibliography">
978
+ <notAllowed/>
979
+ </define>
980
+ <define name="common.attrs.aria.role.doc-biblioref">
981
+ <notAllowed/>
982
+ </define>
983
+ <define name="common.attrs.aria.role.doc-chapter">
984
+ <notAllowed/>
985
+ </define>
986
+ <define name="common.attrs.aria.role.doc-colophon">
987
+ <notAllowed/>
988
+ </define>
989
+ <define name="common.attrs.aria.role.doc-conclusion">
990
+ <notAllowed/>
991
+ </define>
992
+ <define name="common.attrs.aria.role.doc-cover">
993
+ <notAllowed/>
994
+ </define>
995
+ <define name="common.attrs.aria.role.doc-credit">
996
+ <notAllowed/>
997
+ </define>
998
+ <define name="common.attrs.aria.role.doc-credits">
999
+ <notAllowed/>
1000
+ </define>
1001
+ <define name="common.attrs.aria.role.doc-dedication">
1002
+ <notAllowed/>
1003
+ </define>
1004
+ <define name="common.attrs.aria.role.doc-endnote">
1005
+ <notAllowed/>
1006
+ </define>
1007
+ <define name="common.attrs.aria.role.doc-endnotes">
1008
+ <notAllowed/>
1009
+ </define>
1010
+ <define name="common.attrs.aria.role.doc-epigraph">
1011
+ <notAllowed/>
1012
+ </define>
1013
+ <define name="common.attrs.aria.role.doc-epilogue">
1014
+ <notAllowed/>
1015
+ </define>
1016
+ <define name="common.attrs.aria.role.doc-errata">
1017
+ <notAllowed/>
1018
+ </define>
1019
+ <define name="common.attrs.aria.role.doc-example">
1020
+ <notAllowed/>
1021
+ </define>
1022
+ <define name="common.attrs.aria.role.doc-footnote">
1023
+ <notAllowed/>
1024
+ </define>
1025
+ <define name="common.attrs.aria.role.doc-foreword">
1026
+ <notAllowed/>
1027
+ </define>
1028
+ <define name="common.attrs.aria.role.doc-glossary">
1029
+ <notAllowed/>
1030
+ </define>
1031
+ <define name="common.attrs.aria.role.doc-glossref">
1032
+ <notAllowed/>
1033
+ </define>
1034
+ <define name="common.attrs.aria.role.doc-index">
1035
+ <notAllowed/>
1036
+ </define>
1037
+ <define name="common.attrs.aria.role.doc-introduction">
1038
+ <notAllowed/>
1039
+ </define>
1040
+ <define name="common.attrs.aria.role.doc-noteref">
1041
+ <notAllowed/>
1042
+ </define>
1043
+ <define name="common.attrs.aria.role.doc-notice">
1044
+ <notAllowed/>
1045
+ </define>
1046
+ <define name="common.attrs.aria.role.doc-pagebreak">
1047
+ <notAllowed/>
1048
+ </define>
1049
+ <define name="common.attrs.aria.role.doc-pagelist">
1050
+ <notAllowed/>
1051
+ </define>
1052
+ <define name="common.attrs.aria.role.doc-part">
1053
+ <notAllowed/>
1054
+ </define>
1055
+ <define name="common.attrs.aria.role.doc-preface">
1056
+ <notAllowed/>
1057
+ </define>
1058
+ <define name="common.attrs.aria.role.doc-prologue">
1059
+ <notAllowed/>
1060
+ </define>
1061
+ <define name="common.attrs.aria.role.doc-pullquote">
1062
+ <notAllowed/>
1063
+ </define>
1064
+ <define name="common.attrs.aria.role.doc-qna">
1065
+ <notAllowed/>
1066
+ </define>
1067
+ <define name="common.attrs.aria.role.doc-subtitle">
1068
+ <notAllowed/>
1069
+ </define>
1070
+ <define name="common.attrs.aria.role.doc-tip">
1071
+ <notAllowed/>
1072
+ </define>
1073
+ <define name="common.attrs.aria.role.doc-toc">
1074
+ <notAllowed/>
1075
+ </define>
1076
+ </grammar>