@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.
Files changed (66) hide show
  1. package/README.md +8 -8
  2. package/bin/epubcheck.js +4 -4
  3. package/bin/epubcheck.ts +4 -4
  4. package/dist/index.cjs +265 -14
  5. package/dist/index.cjs.map +1 -1
  6. package/dist/index.d.cts +1 -0
  7. package/dist/index.d.ts +1 -0
  8. package/dist/index.js +265 -14
  9. package/dist/index.js.map +1 -1
  10. package/package.json +2 -2
  11. package/schemas/applications.rng +0 -429
  12. package/schemas/aria.rng +0 -3355
  13. package/schemas/block.rng +0 -488
  14. package/schemas/common.rng +0 -1076
  15. package/schemas/container.rng +0 -24
  16. package/schemas/core-scripting.rng +0 -950
  17. package/schemas/data.rng +0 -161
  18. package/schemas/datatypes.rng +0 -401
  19. package/schemas/embed.rng +0 -980
  20. package/schemas/epub-mathml3-inc.rng +0 -161
  21. package/schemas/epub-nav-30.rnc +0 -44
  22. package/schemas/epub-nav-30.rng +0 -19985
  23. package/schemas/epub-nav-30.sch +0 -87
  24. package/schemas/epub-prefix-attr.rng +0 -17
  25. package/schemas/epub-shared-inc.rng +0 -29
  26. package/schemas/epub-ssml-attrs.rng +0 -17
  27. package/schemas/epub-svg-30.rnc +0 -17
  28. package/schemas/epub-svg-30.rng +0 -19903
  29. package/schemas/epub-svg-30.sch +0 -7
  30. package/schemas/epub-svg-forgiving-inc.rng +0 -315
  31. package/schemas/epub-switch.rng +0 -121
  32. package/schemas/epub-trigger.rng +0 -90
  33. package/schemas/epub-type-attr.rng +0 -12
  34. package/schemas/epub-xhtml-30.rnc +0 -6
  35. package/schemas/epub-xhtml-30.rng +0 -19882
  36. package/schemas/epub-xhtml-30.sch +0 -409
  37. package/schemas/epub-xhtml-inc.rng +0 -151
  38. package/schemas/epub-xhtml-integration.rng +0 -565
  39. package/schemas/epub-xhtml-svg-mathml.rng +0 -17
  40. package/schemas/form-datatypes.rng +0 -54
  41. package/schemas/mathml3-common.rng +0 -336
  42. package/schemas/mathml3-content.rng +0 -1552
  43. package/schemas/mathml3-inc.rng +0 -30
  44. package/schemas/mathml3-presentation.rng +0 -2341
  45. package/schemas/mathml3-strict-content.rng +0 -205
  46. package/schemas/media.rng +0 -374
  47. package/schemas/meta.rng +0 -754
  48. package/schemas/microdata.rng +0 -192
  49. package/schemas/ncx.rng +0 -308
  50. package/schemas/ocf-container-30.rnc +0 -37
  51. package/schemas/ocf-container-30.rng +0 -568
  52. package/schemas/opf.rng +0 -15
  53. package/schemas/opf20.rng +0 -513
  54. package/schemas/package-30.rnc +0 -133
  55. package/schemas/package-30.rng +0 -1153
  56. package/schemas/package-30.sch +0 -444
  57. package/schemas/phrase.rng +0 -746
  58. package/schemas/rdfa.rng +0 -552
  59. package/schemas/revision.rng +0 -106
  60. package/schemas/ruby.rng +0 -141
  61. package/schemas/sectional.rng +0 -278
  62. package/schemas/structural.rng +0 -298
  63. package/schemas/tables.rng +0 -420
  64. package/schemas/web-components.rng +0 -184
  65. package/schemas/web-forms.rng +0 -975
  66. package/schemas/web-forms2.rng +0 -1236
@@ -1,950 +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="">
3
- <!-- ##################################################################### -->
4
- <define name="script.elem.embedded">
5
- <a:documentation> RELAX NG Schema for HTML 5: Core Scripting #</a:documentation>
6
- <!-- ##################################################################### -->
7
- <!-- ##################################################################### -->
8
- <a:documentation>Scripting Elements</a:documentation>
9
- <a:documentation>Inline Scripts: &lt;script&gt;</a:documentation>
10
- <element name="script">
11
- <interleave>
12
- <ref name="script.inner.embedded"/>
13
- <ref name="script.attrs.embedded"/>
14
- </interleave>
15
- </element>
16
- </define>
17
- <define name="script.attrs.embedded">
18
- <interleave>
19
- <ref name="common.attrs"/>
20
- <optional>
21
- <ref name="script.attrs.type"/>
22
- </optional>
23
- <optional>
24
- <ref name="script.attrs.nomodule"/>
25
- </optional>
26
- <optional>
27
- <ref name="script.attrs.language"/>
28
- </optional>
29
- <optional>
30
- <!-- restricted in Schematron -->
31
- <ref name="script.attrs.integrity"/>
32
- </optional>
33
- <optional>
34
- <ref name="embedded.content.attrs.crossorigin"/>
35
- </optional>
36
- <optional>
37
- <ref name="referrerpolicy"/>
38
- </optional>
39
- </interleave>
40
- </define>
41
- <define name="script.elem.imported">
42
- <element name="script">
43
- <interleave>
44
- <ref name="script.inner.imported"/>
45
- <ref name="script.attrs.imported"/>
46
- </interleave>
47
- </element>
48
- </define>
49
- <define name="script.attrs.imported">
50
- <interleave>
51
- <ref name="common.attrs"/>
52
- <optional>
53
- <ref name="script.attrs.src"/>
54
- </optional>
55
- <optional>
56
- <ref name="script.attrs.defer"/>
57
- </optional>
58
- <optional>
59
- <ref name="script.attrs.async"/>
60
- </optional>
61
- <optional>
62
- <ref name="script.attrs.type"/>
63
- </optional>
64
- <optional>
65
- <ref name="script.attrs.nomodule"/>
66
- </optional>
67
- <optional>
68
- <ref name="script.attrs.charset"/>
69
- </optional>
70
- <optional>
71
- <ref name="script.attrs.language"/>
72
- </optional>
73
- <optional>
74
- <!-- restricted in Schematron -->
75
- <ref name="script.attrs.integrity"/>
76
- </optional>
77
- <optional>
78
- <ref name="embedded.content.attrs.crossorigin"/>
79
- </optional>
80
- <optional>
81
- <ref name="common.attrs.blocking"/>
82
- </optional>
83
- <optional>
84
- <ref name="common.attrs.fetchpriority"/>
85
- </optional>
86
- <optional>
87
- <ref name="referrerpolicy"/>
88
- </optional>
89
- </interleave>
90
- </define>
91
- <define name="script.attrs.src">
92
- <attribute name="src">
93
- <ref name="common.data.uri.non-empty"/>
94
- </attribute>
95
- </define>
96
- <define name="script.attrs.defer">
97
- <attribute name="defer">
98
- <choice>
99
- <value>defer</value>
100
- <value/>
101
- </choice>
102
- </attribute>
103
- </define>
104
- <define name="script.attrs.async">
105
- <interleave>
106
- <attribute name="async">
107
- <choice>
108
- <value>async</value>
109
- <value/>
110
- </choice>
111
- </attribute>
112
- <ref name="v5only"/>
113
- </interleave>
114
- </define>
115
- <define name="script.attrs.type">
116
- <attribute name="type">
117
- <choice>
118
- <value>module</value>
119
- <value>importmap</value>
120
- <value/>
121
- <ref name="common.data.scripttype"/>
122
- </choice>
123
- <!-- XXX without charset parameter! -->
124
- </attribute>
125
- </define>
126
- <define name="script.attrs.nomodule">
127
- <attribute name="nomodule">
128
- <choice>
129
- <value>nomodule</value>
130
- <value/>
131
- </choice>
132
- </attribute>
133
- </define>
134
- <define name="script.attrs.charset">
135
- <attribute name="charset">
136
- <data type="string"/>
137
- </attribute>
138
- </define>
139
- <define name="script.attrs.language">
140
- <attribute name="language">
141
- <data type="string"/>
142
- </attribute>
143
- </define>
144
- <define name="script.attrs.integrity">
145
- <attribute name="integrity">
146
- <ref name="common.data.integrity"/>
147
- </attribute>
148
- </define>
149
- <define name="script.inner.embedded">
150
- <ref name="common.inner.anything"/>
151
- </define>
152
- <define name="script.inner.imported">
153
- <ref name="common.inner.anything"/>
154
- </define>
155
- <define name="script.elem">
156
- <choice>
157
- <ref name="script.elem.embedded"/>
158
- <ref name="script.elem.imported"/>
159
- </choice>
160
- </define>
161
- <define name="common.elem.metadata" combine="choice">
162
- <ref name="script.elem"/>
163
- </define>
164
- <define name="common.elem.phrasing" combine="choice">
165
- <ref name="script.elem"/>
166
- </define>
167
- <define name="noscript.elem.head">
168
- <a:documentation>Fallback Unscripted Content: &lt;noscript&gt;</a:documentation>
169
- <interleave>
170
- <element name="noscript">
171
- <interleave>
172
- <ref name="noscript.inner.head"/>
173
- <ref name="noscript.attrs"/>
174
- </interleave>
175
- </element>
176
- <ref name="HTMLonly"/>
177
- </interleave>
178
- </define>
179
- <define name="noscript.inner.head">
180
- <zeroOrMore>
181
- <choice>
182
- <ref name="link.elem"/>
183
- <ref name="meta.http-equiv.default-style.elem"/>
184
- <ref name="meta.http-equiv.refresh.elem"/>
185
- <ref name="style.elem"/>
186
- </choice>
187
- </zeroOrMore>
188
- </define>
189
- <define name="noscript.elem.phrasing">
190
- <interleave>
191
- <element name="noscript">
192
- <interleave>
193
- <ref name="noscript.inner.phrasing"/>
194
- <ref name="noscript.attrs"/>
195
- </interleave>
196
- </element>
197
- <ref name="HTMLonly"/>
198
- </interleave>
199
- </define>
200
- <define name="noscript.inner.phrasing">
201
- <ref name="common.inner.phrasing"/>
202
- </define>
203
- <define name="noscript.elem.flow">
204
- <interleave>
205
- <element name="noscript">
206
- <interleave>
207
- <ref name="noscript.inner.flow"/>
208
- <ref name="noscript.attrs"/>
209
- </interleave>
210
- </element>
211
- <ref name="HTMLonly"/>
212
- </interleave>
213
- </define>
214
- <define name="noscript.inner.flow">
215
- <ref name="common.inner.flow"/>
216
- </define>
217
- <define name="noscript.attrs">
218
- <ref name="common.attrs"/>
219
- </define>
220
- <define name="common.elem.metadata" combine="choice">
221
- <ref name="noscript.elem.head"/>
222
- </define>
223
- <define name="common.elem.phrasing" combine="choice">
224
- <ref name="noscript.elem.phrasing"/>
225
- </define>
226
- <define name="common.elem.flow" combine="choice">
227
- <ref name="noscript.elem.flow"/>
228
- </define>
229
- <!-- ##################################################################### -->
230
- <define name="common.attrs.scripting" combine="interleave">
231
- <a:documentation>Event Handler Attribute Definitions</a:documentation>
232
- <interleave>
233
- <optional>
234
- <ref name="scripting.attr.onauxclick"/>
235
- </optional>
236
- <optional>
237
- <ref name="scripting.attr.onbeforeinput"/>
238
- </optional>
239
- <optional>
240
- <ref name="scripting.attr.onbeforematch"/>
241
- </optional>
242
- <optional>
243
- <ref name="scripting.attr.onblur"/>
244
- </optional>
245
- <optional>
246
- <ref name="scripting.attr.oncancel"/>
247
- </optional>
248
- <optional>
249
- <ref name="scripting.attr.oncanplay"/>
250
- </optional>
251
- <optional>
252
- <ref name="scripting.attr.oncanplaythrough"/>
253
- </optional>
254
- <optional>
255
- <ref name="scripting.attr.onchange"/>
256
- </optional>
257
- <optional>
258
- <ref name="scripting.attr.onclick"/>
259
- </optional>
260
- <optional>
261
- <ref name="scripting.attr.onclose"/>
262
- </optional>
263
- <optional>
264
- <ref name="scripting.attr.oncontextlost"/>
265
- </optional>
266
- <optional>
267
- <ref name="scripting.attr.oncontextmenu"/>
268
- </optional>
269
- <optional>
270
- <ref name="scripting.attr.oncontextrestored"/>
271
- </optional>
272
- <optional>
273
- <ref name="scripting.attr.oncopy"/>
274
- </optional>
275
- <optional>
276
- <ref name="scripting.attr.oncuechange"/>
277
- </optional>
278
- <optional>
279
- <ref name="scripting.attr.oncut"/>
280
- </optional>
281
- <optional>
282
- <ref name="scripting.attr.ondblclick"/>
283
- </optional>
284
- <optional>
285
- <ref name="scripting.attr.ondrag"/>
286
- </optional>
287
- <optional>
288
- <ref name="scripting.attr.ondragend"/>
289
- </optional>
290
- <optional>
291
- <ref name="scripting.attr.ondragenter"/>
292
- </optional>
293
- <optional>
294
- <ref name="scripting.attr.ondragleave"/>
295
- </optional>
296
- <optional>
297
- <ref name="scripting.attr.ondragover"/>
298
- </optional>
299
- <optional>
300
- <ref name="scripting.attr.ondragstart"/>
301
- </optional>
302
- <optional>
303
- <ref name="scripting.attr.ondrop"/>
304
- </optional>
305
- <optional>
306
- <ref name="scripting.attr.ondurationchange"/>
307
- </optional>
308
- <optional>
309
- <ref name="scripting.attr.onemptied"/>
310
- </optional>
311
- <optional>
312
- <ref name="scripting.attr.onended"/>
313
- </optional>
314
- <optional>
315
- <ref name="scripting.attr.onerror"/>
316
- </optional>
317
- <optional>
318
- <ref name="scripting.attr.onfocus"/>
319
- </optional>
320
- <optional>
321
- <ref name="scripting.attr.onformdata"/>
322
- </optional>
323
- <optional>
324
- <ref name="scripting.attr.oninput"/>
325
- </optional>
326
- <optional>
327
- <ref name="scripting.attr.oninvalid"/>
328
- </optional>
329
- <optional>
330
- <ref name="scripting.attr.onkeydown"/>
331
- </optional>
332
- <optional>
333
- <ref name="scripting.attr.onkeypress"/>
334
- </optional>
335
- <optional>
336
- <ref name="scripting.attr.onkeyup"/>
337
- </optional>
338
- <optional>
339
- <ref name="scripting.attr.onload"/>
340
- </optional>
341
- <optional>
342
- <ref name="scripting.attr.onloadeddata"/>
343
- </optional>
344
- <optional>
345
- <ref name="scripting.attr.onloadedmetadata"/>
346
- </optional>
347
- <optional>
348
- <ref name="scripting.attr.onloadstart"/>
349
- </optional>
350
- <optional>
351
- <ref name="scripting.attr.onmousedown"/>
352
- </optional>
353
- <optional>
354
- <ref name="scripting.attr.onmouseenter"/>
355
- </optional>
356
- <optional>
357
- <ref name="scripting.attr.onmouseleave"/>
358
- </optional>
359
- <optional>
360
- <ref name="scripting.attr.onmousemove"/>
361
- </optional>
362
- <optional>
363
- <ref name="scripting.attr.onmouseout"/>
364
- </optional>
365
- <optional>
366
- <ref name="scripting.attr.onmouseover"/>
367
- </optional>
368
- <optional>
369
- <ref name="scripting.attr.onmouseup"/>
370
- </optional>
371
- <optional>
372
- <ref name="scripting.attr.onpaste"/>
373
- </optional>
374
- <optional>
375
- <ref name="scripting.attr.onpause"/>
376
- </optional>
377
- <optional>
378
- <ref name="scripting.attr.onplay"/>
379
- </optional>
380
- <optional>
381
- <ref name="scripting.attr.onplaying"/>
382
- </optional>
383
- <optional>
384
- <ref name="scripting.attr.onprogress"/>
385
- </optional>
386
- <optional>
387
- <ref name="scripting.attr.onratechange"/>
388
- </optional>
389
- <optional>
390
- <ref name="scripting.attr.onreset"/>
391
- </optional>
392
- <optional>
393
- <ref name="scripting.attr.onresize"/>
394
- </optional>
395
- <optional>
396
- <ref name="scripting.attr.onscroll"/>
397
- </optional>
398
- <optional>
399
- <ref name="scripting.attr.onscrollend"/>
400
- </optional>
401
- <optional>
402
- <ref name="scripting.attr.onsecuritypolicyviolation"/>
403
- </optional>
404
- <optional>
405
- <ref name="scripting.attr.onseeked"/>
406
- </optional>
407
- <optional>
408
- <ref name="scripting.attr.onseeking"/>
409
- </optional>
410
- <optional>
411
- <ref name="scripting.attr.onselect"/>
412
- </optional>
413
- <optional>
414
- <ref name="scripting.attr.onslotchange"/>
415
- </optional>
416
- <optional>
417
- <ref name="scripting.attr.onstalled"/>
418
- </optional>
419
- <optional>
420
- <ref name="scripting.attr.onsubmit"/>
421
- </optional>
422
- <optional>
423
- <ref name="scripting.attr.onsuspend"/>
424
- </optional>
425
- <optional>
426
- <ref name="scripting.attr.ontimeupdate"/>
427
- </optional>
428
- <optional>
429
- <ref name="scripting.attr.ontoggle"/>
430
- </optional>
431
- <optional>
432
- <ref name="scripting.attr.onvolumechange"/>
433
- </optional>
434
- <optional>
435
- <ref name="scripting.attr.onwaiting"/>
436
- </optional>
437
- <optional>
438
- <ref name="scripting.attr.onwheel"/>
439
- </optional>
440
- </interleave>
441
- </define>
442
- <define name="common.attrs.other" combine="interleave">
443
- <ref name="common.attrs.scripting"/>
444
- </define>
445
- <define name="scripting.attr.onauxclick">
446
- <attribute name="onauxclick">
447
- <ref name="common.data.functionbody"/>
448
- </attribute>
449
- </define>
450
- <define name="scripting.attr.onbeforeinput">
451
- <attribute name="onbeforeinput">
452
- <ref name="common.data.functionbody"/>
453
- </attribute>
454
- </define>
455
- <define name="scripting.attr.onbeforematch">
456
- <attribute name="onbeforematch">
457
- <ref name="common.data.functionbody"/>
458
- </attribute>
459
- </define>
460
- <define name="scripting.attr.onblur">
461
- <attribute name="onblur">
462
- <ref name="common.data.functionbody"/>
463
- </attribute>
464
- </define>
465
- <define name="scripting.attr.oncancel">
466
- <attribute name="oncancel">
467
- <ref name="common.data.functionbody"/>
468
- </attribute>
469
- </define>
470
- <define name="scripting.attr.oncanplay">
471
- <attribute name="oncanplay">
472
- <ref name="common.data.functionbody"/>
473
- </attribute>
474
- </define>
475
- <define name="scripting.attr.oncanplaythrough">
476
- <attribute name="oncanplaythrough">
477
- <ref name="common.data.functionbody"/>
478
- </attribute>
479
- </define>
480
- <define name="scripting.attr.onchange">
481
- <attribute name="onchange">
482
- <ref name="common.data.functionbody"/>
483
- </attribute>
484
- </define>
485
- <define name="scripting.attr.onclick">
486
- <attribute name="onclick">
487
- <ref name="common.data.functionbody"/>
488
- </attribute>
489
- </define>
490
- <define name="scripting.attr.onclose">
491
- <attribute name="onclose">
492
- <ref name="common.data.functionbody"/>
493
- </attribute>
494
- </define>
495
- <define name="scripting.attr.oncontextlost">
496
- <attribute name="oncontextlost">
497
- <ref name="common.data.functionbody"/>
498
- </attribute>
499
- </define>
500
- <define name="scripting.attr.oncontextmenu">
501
- <attribute name="oncontextmenu">
502
- <ref name="common.data.functionbody"/>
503
- </attribute>
504
- </define>
505
- <define name="scripting.attr.oncontextrestored">
506
- <attribute name="oncontextrestored">
507
- <ref name="common.data.functionbody"/>
508
- </attribute>
509
- </define>
510
- <define name="scripting.attr.oncopy">
511
- <attribute name="oncopy">
512
- <ref name="common.data.functionbody"/>
513
- </attribute>
514
- </define>
515
- <define name="scripting.attr.oncuechange">
516
- <attribute name="oncuechange">
517
- <ref name="common.data.functionbody"/>
518
- </attribute>
519
- </define>
520
- <define name="scripting.attr.oncut">
521
- <attribute name="oncut">
522
- <ref name="common.data.functionbody"/>
523
- </attribute>
524
- </define>
525
- <define name="scripting.attr.ondblclick">
526
- <attribute name="ondblclick">
527
- <ref name="common.data.functionbody"/>
528
- </attribute>
529
- </define>
530
- <define name="scripting.attr.ondrag">
531
- <attribute name="ondrag">
532
- <ref name="common.data.functionbody"/>
533
- </attribute>
534
- </define>
535
- <define name="scripting.attr.ondragend">
536
- <attribute name="ondragend">
537
- <ref name="common.data.functionbody"/>
538
- </attribute>
539
- </define>
540
- <define name="scripting.attr.ondragenter">
541
- <attribute name="ondragenter">
542
- <ref name="common.data.functionbody"/>
543
- </attribute>
544
- </define>
545
- <define name="scripting.attr.ondragleave">
546
- <attribute name="ondragleave">
547
- <ref name="common.data.functionbody"/>
548
- </attribute>
549
- </define>
550
- <define name="scripting.attr.ondragover">
551
- <attribute name="ondragover">
552
- <ref name="common.data.functionbody"/>
553
- </attribute>
554
- </define>
555
- <define name="scripting.attr.ondragstart">
556
- <attribute name="ondragstart">
557
- <ref name="common.data.functionbody"/>
558
- </attribute>
559
- </define>
560
- <define name="scripting.attr.ondrop">
561
- <attribute name="ondrop">
562
- <ref name="common.data.functionbody"/>
563
- </attribute>
564
- </define>
565
- <define name="scripting.attr.ondurationchange">
566
- <attribute name="ondurationchange">
567
- <ref name="common.data.functionbody"/>
568
- </attribute>
569
- </define>
570
- <define name="scripting.attr.onemptied">
571
- <attribute name="onemptied">
572
- <ref name="common.data.functionbody"/>
573
- </attribute>
574
- </define>
575
- <define name="scripting.attr.onended">
576
- <attribute name="onended">
577
- <ref name="common.data.functionbody"/>
578
- </attribute>
579
- </define>
580
- <define name="scripting.attr.onerror">
581
- <attribute name="onerror">
582
- <ref name="common.data.functionbody"/>
583
- </attribute>
584
- </define>
585
- <define name="scripting.attr.onfocus">
586
- <attribute name="onfocus">
587
- <ref name="common.data.functionbody"/>
588
- </attribute>
589
- </define>
590
- <define name="scripting.attr.onformdata">
591
- <attribute name="onformdata">
592
- <ref name="common.data.functionbody"/>
593
- </attribute>
594
- </define>
595
- <define name="scripting.attr.oninput">
596
- <attribute name="oninput">
597
- <ref name="common.data.functionbody"/>
598
- </attribute>
599
- </define>
600
- <define name="scripting.attr.oninvalid">
601
- <attribute name="oninvalid">
602
- <ref name="common.data.functionbody"/>
603
- </attribute>
604
- </define>
605
- <define name="scripting.attr.onkeydown">
606
- <attribute name="onkeydown">
607
- <ref name="common.data.functionbody"/>
608
- </attribute>
609
- </define>
610
- <define name="scripting.attr.onkeypress">
611
- <attribute name="onkeypress">
612
- <ref name="common.data.functionbody"/>
613
- </attribute>
614
- </define>
615
- <define name="scripting.attr.onkeyup">
616
- <attribute name="onkeyup">
617
- <ref name="common.data.functionbody"/>
618
- </attribute>
619
- </define>
620
- <define name="scripting.attr.onload">
621
- <attribute name="onload">
622
- <ref name="common.data.functionbody"/>
623
- </attribute>
624
- </define>
625
- <define name="scripting.attr.onloadeddata">
626
- <attribute name="onloadeddata">
627
- <ref name="common.data.functionbody"/>
628
- </attribute>
629
- </define>
630
- <define name="scripting.attr.onloadedmetadata">
631
- <attribute name="onloadedmetadata">
632
- <ref name="common.data.functionbody"/>
633
- </attribute>
634
- </define>
635
- <define name="scripting.attr.onloadstart">
636
- <attribute name="onloadstart">
637
- <ref name="common.data.functionbody"/>
638
- </attribute>
639
- </define>
640
- <define name="scripting.attr.onmousedown">
641
- <attribute name="onmousedown">
642
- <ref name="common.data.functionbody"/>
643
- </attribute>
644
- </define>
645
- <define name="scripting.attr.onmouseenter">
646
- <attribute name="onmouseenter">
647
- <ref name="common.data.functionbody"/>
648
- </attribute>
649
- </define>
650
- <define name="scripting.attr.onmouseleave">
651
- <attribute name="onmouseleave">
652
- <ref name="common.data.functionbody"/>
653
- </attribute>
654
- </define>
655
- <define name="scripting.attr.onmousemove">
656
- <attribute name="onmousemove">
657
- <ref name="common.data.functionbody"/>
658
- </attribute>
659
- </define>
660
- <define name="scripting.attr.onmouseout">
661
- <attribute name="onmouseout">
662
- <ref name="common.data.functionbody"/>
663
- </attribute>
664
- </define>
665
- <define name="scripting.attr.onmouseover">
666
- <attribute name="onmouseover">
667
- <ref name="common.data.functionbody"/>
668
- </attribute>
669
- </define>
670
- <define name="scripting.attr.onmouseup">
671
- <attribute name="onmouseup">
672
- <ref name="common.data.functionbody"/>
673
- </attribute>
674
- </define>
675
- <define name="scripting.attr.onpaste">
676
- <attribute name="onpaste">
677
- <ref name="common.data.functionbody"/>
678
- </attribute>
679
- </define>
680
- <define name="scripting.attr.onpause">
681
- <attribute name="onpause">
682
- <ref name="common.data.functionbody"/>
683
- </attribute>
684
- </define>
685
- <define name="scripting.attr.onplay">
686
- <attribute name="onplay">
687
- <ref name="common.data.functionbody"/>
688
- </attribute>
689
- </define>
690
- <define name="scripting.attr.onplaying">
691
- <attribute name="onplaying">
692
- <ref name="common.data.functionbody"/>
693
- </attribute>
694
- </define>
695
- <define name="scripting.attr.onprogress">
696
- <attribute name="onprogress">
697
- <ref name="common.data.functionbody"/>
698
- </attribute>
699
- </define>
700
- <define name="scripting.attr.onratechange">
701
- <attribute name="onratechange">
702
- <ref name="common.data.functionbody"/>
703
- </attribute>
704
- </define>
705
- <define name="scripting.attr.onreset">
706
- <attribute name="onreset">
707
- <ref name="common.data.functionbody"/>
708
- </attribute>
709
- </define>
710
- <define name="scripting.attr.onresize">
711
- <attribute name="onresize">
712
- <ref name="common.data.functionbody"/>
713
- </attribute>
714
- </define>
715
- <define name="scripting.attr.onscroll">
716
- <attribute name="onscroll">
717
- <ref name="common.data.functionbody"/>
718
- </attribute>
719
- </define>
720
- <define name="scripting.attr.onscrollend">
721
- <attribute name="onscrollend">
722
- <ref name="common.data.functionbody"/>
723
- </attribute>
724
- </define>
725
- <define name="scripting.attr.onsecuritypolicyviolation">
726
- <attribute name="onsecuritypolicyviolation">
727
- <ref name="common.data.functionbody"/>
728
- </attribute>
729
- </define>
730
- <define name="scripting.attr.onseeked">
731
- <attribute name="onseeked">
732
- <ref name="common.data.functionbody"/>
733
- </attribute>
734
- </define>
735
- <define name="scripting.attr.onseeking">
736
- <attribute name="onseeking">
737
- <ref name="common.data.functionbody"/>
738
- </attribute>
739
- </define>
740
- <define name="scripting.attr.onselect">
741
- <attribute name="onselect">
742
- <ref name="common.data.functionbody"/>
743
- </attribute>
744
- </define>
745
- <define name="scripting.attr.onslotchange">
746
- <attribute name="onslotchange">
747
- <ref name="common.data.functionbody"/>
748
- </attribute>
749
- </define>
750
- <define name="scripting.attr.onstalled">
751
- <attribute name="onstalled">
752
- <ref name="common.data.functionbody"/>
753
- </attribute>
754
- </define>
755
- <define name="scripting.attr.onsubmit">
756
- <attribute name="onsubmit">
757
- <ref name="common.data.functionbody"/>
758
- </attribute>
759
- </define>
760
- <define name="scripting.attr.onsuspend">
761
- <attribute name="onsuspend">
762
- <ref name="common.data.functionbody"/>
763
- </attribute>
764
- </define>
765
- <define name="scripting.attr.ontimeupdate">
766
- <attribute name="ontimeupdate">
767
- <ref name="common.data.functionbody"/>
768
- </attribute>
769
- </define>
770
- <define name="scripting.attr.ontoggle">
771
- <attribute name="ontoggle">
772
- <ref name="common.data.functionbody"/>
773
- </attribute>
774
- </define>
775
- <define name="scripting.attr.onvolumechange">
776
- <attribute name="onvolumechange">
777
- <ref name="common.data.functionbody"/>
778
- </attribute>
779
- </define>
780
- <define name="scripting.attr.onwaiting">
781
- <attribute name="onwaiting">
782
- <ref name="common.data.functionbody"/>
783
- </attribute>
784
- </define>
785
- <define name="scripting.attr.onwheel">
786
- <attribute name="onwheel">
787
- <ref name="common.data.functionbody"/>
788
- </attribute>
789
- </define>
790
- <define name="common.attrs.scripting" combine="interleave">
791
- <a:documentation>Pointer Events</a:documentation>
792
- <interleave>
793
- <optional>
794
- <ref name="scripting.attr.onpointerover"/>
795
- </optional>
796
- <optional>
797
- <ref name="scripting.attr.onpointerenter"/>
798
- </optional>
799
- <optional>
800
- <ref name="scripting.attr.onpointerdown"/>
801
- </optional>
802
- <optional>
803
- <ref name="scripting.attr.onpointermove"/>
804
- </optional>
805
- <optional>
806
- <ref name="scripting.attr.onpointerrawupdate"/>
807
- </optional>
808
- <optional>
809
- <ref name="scripting.attr.onpointerup"/>
810
- </optional>
811
- <optional>
812
- <ref name="scripting.attr.onpointercancel"/>
813
- </optional>
814
- <optional>
815
- <ref name="scripting.attr.onpointerout"/>
816
- </optional>
817
- <optional>
818
- <ref name="scripting.attr.onpointerleave"/>
819
- </optional>
820
- <optional>
821
- <ref name="scripting.attr.ongotpointercapture"/>
822
- </optional>
823
- <optional>
824
- <ref name="scripting.attr.onlostpointercapture"/>
825
- </optional>
826
- </interleave>
827
- </define>
828
- <define name="scripting.attr.onpointerover">
829
- <attribute name="onpointerover">
830
- <ref name="common.data.functionbody"/>
831
- </attribute>
832
- </define>
833
- <define name="scripting.attr.onpointerenter">
834
- <attribute name="onpointerenter">
835
- <ref name="common.data.functionbody"/>
836
- </attribute>
837
- </define>
838
- <define name="scripting.attr.onpointerdown">
839
- <attribute name="onpointerdown">
840
- <ref name="common.data.functionbody"/>
841
- </attribute>
842
- </define>
843
- <define name="scripting.attr.onpointermove">
844
- <attribute name="onpointermove">
845
- <ref name="common.data.functionbody"/>
846
- </attribute>
847
- </define>
848
- <define name="scripting.attr.onpointerrawupdate">
849
- <attribute name="onpointerrawupdate">
850
- <ref name="common.data.functionbody"/>
851
- </attribute>
852
- </define>
853
- <define name="scripting.attr.onpointerup">
854
- <attribute name="onpointerup">
855
- <ref name="common.data.functionbody"/>
856
- </attribute>
857
- </define>
858
- <define name="scripting.attr.onpointercancel">
859
- <attribute name="onpointercancel">
860
- <ref name="common.data.functionbody"/>
861
- </attribute>
862
- </define>
863
- <define name="scripting.attr.onpointerout">
864
- <attribute name="onpointerout">
865
- <ref name="common.data.functionbody"/>
866
- </attribute>
867
- </define>
868
- <define name="scripting.attr.onpointerleave">
869
- <attribute name="onpointerleave">
870
- <ref name="common.data.functionbody"/>
871
- </attribute>
872
- </define>
873
- <define name="scripting.attr.ongotpointercapture">
874
- <attribute name="ongotpointercapture">
875
- <ref name="common.data.functionbody"/>
876
- </attribute>
877
- </define>
878
- <define name="scripting.attr.onlostpointercapture">
879
- <attribute name="onlostpointercapture">
880
- <ref name="common.data.functionbody"/>
881
- </attribute>
882
- </define>
883
- </grammar>
884
- <!--
885
- scripting.attr.common =
886
- ( scripting.attr.mouse
887
- & scripting.attr.keyboard
888
- & scripting.attr.focus
889
- )
890
-
891
- scripting.attr.mouse =
892
- ( scripting.attr.mouse.click?
893
- & scripting.attr.mouse.dblclick?
894
- & scripting.attr.mouse.down?
895
- & scripting.attr.mouse.up?
896
- & scripting.attr.mouse.over?
897
- & scripting.attr.mouse.move?
898
- & scripting.attr.mouse.out?
899
- )
900
- scripting.attr.mouse.click =
901
- attribute onclick { string }
902
- scripting.attr.mouse.dblclick =
903
- attribute ondblclick { string }
904
- scripting.attr.mouse.down =
905
- attribute onmousedown { string }
906
- scripting.attr.mouse.up =
907
- attribute onmouseup { string }
908
- scripting.attr.mouse.over =
909
- attribute onmouseover { string }
910
- scripting.attr.mouse.move =
911
- attribute onmousemove { string }
912
- scripting.attr.mouse.out =
913
- attribute onmouseout { string }
914
-
915
- scripting.attr.keyboard =
916
- ( scripting.attr.keyboard.press?
917
- & scripting.attr.keyboard.down?
918
- & scripting.attr.keyboard.up?
919
- )
920
- scripting.attr.keyboard.press =
921
- attribute onkeypress { string }
922
- scripting.attr.keyboard.down =
923
- attribute onkeydown { string }
924
- scripting.attr.keyboard.up =
925
- attribute onkeyup { string }
926
-
927
-
928
- scripting.attr.focus =
929
- ( scripting.attr.focus.gain?
930
- & scripting.attr.focus.lose?
931
- )
932
- scripting.attr.focus.gain =
933
- attribute onfocus { string }
934
- scripting.attr.focus.lose =
935
- attribute onblur { string }
936
-
937
- scripting.attr.loading =
938
- ( scripting.attr.loading.load?
939
- & scripting.attr.loading.unload?
940
- )
941
- scripting.attr.loading.load =
942
- attribute onload { string }
943
- scripting.attr.loading.unload =
944
- attribute onunload { string }
945
- -->
946
- <!--
947
- #####################################################################
948
- Event Handler Attribute Assignments
949
- -->
950
- <!-- body.attrs &= scripting.attr.loading -->