@likecoin/epubcheck-ts 0.2.2 → 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 +1057 -101
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +1057 -101
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
- 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/structural.rng
DELETED
|
@@ -1,298 +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="section.elem">
|
|
5
|
-
<a:documentation> RELAX NG Schema for HTML 5: Block Markup Added in HTML5 #</a:documentation>
|
|
6
|
-
<!-- ##################################################################### -->
|
|
7
|
-
<a:documentation>Section: <section></a:documentation>
|
|
8
|
-
<element name="section">
|
|
9
|
-
<interleave>
|
|
10
|
-
<ref name="section.inner"/>
|
|
11
|
-
<ref name="section.attrs"/>
|
|
12
|
-
</interleave>
|
|
13
|
-
</element>
|
|
14
|
-
</define>
|
|
15
|
-
<define name="section.attrs">
|
|
16
|
-
<interleave>
|
|
17
|
-
<ref name="common.attrs"/>
|
|
18
|
-
<optional>
|
|
19
|
-
<choice>
|
|
20
|
-
<ref name="common.attrs.aria.implicit.region"/>
|
|
21
|
-
<ref name="common.attrs.aria.role.alert"/>
|
|
22
|
-
<ref name="common.attrs.aria.role.alertdialog"/>
|
|
23
|
-
<ref name="common.attrs.aria.role.application"/>
|
|
24
|
-
<ref name="common.attrs.aria.role.dialog"/>
|
|
25
|
-
<ref name="common.attrs.aria.role.feed"/>
|
|
26
|
-
<ref name="common.attrs.aria.role.group"/>
|
|
27
|
-
<ref name="common.attrs.aria.role.log"/>
|
|
28
|
-
<ref name="common.attrs.aria.role.marquee"/>
|
|
29
|
-
<ref name="common.attrs.aria.role.presentation"/>
|
|
30
|
-
<ref name="common.attrs.aria.role.region"/>
|
|
31
|
-
<ref name="common.attrs.aria.role.status"/>
|
|
32
|
-
<ref name="common.attrs.aria.role.tabpanel"/>
|
|
33
|
-
<ref name="common.attrs.aria.landmark.banner"/>
|
|
34
|
-
<ref name="common.attrs.aria.landmark.complementary"/>
|
|
35
|
-
<ref name="common.attrs.aria.landmark.contentinfo"/>
|
|
36
|
-
<ref name="common.attrs.aria.landmark.document"/>
|
|
37
|
-
<ref name="common.attrs.aria.landmark.main"/>
|
|
38
|
-
<ref name="common.attrs.aria.landmark.navigation"/>
|
|
39
|
-
<ref name="common.attrs.aria.landmark.note"/>
|
|
40
|
-
<ref name="common.attrs.aria.landmark.search"/>
|
|
41
|
-
<ref name="common.attrs.aria.role.doc-abstract"/>
|
|
42
|
-
<ref name="common.attrs.aria.role.doc-acknowledgments"/>
|
|
43
|
-
<ref name="common.attrs.aria.role.doc-afterword"/>
|
|
44
|
-
<ref name="common.attrs.aria.role.doc-appendix"/>
|
|
45
|
-
<ref name="common.attrs.aria.role.doc-bibliography"/>
|
|
46
|
-
<ref name="common.attrs.aria.role.doc-chapter"/>
|
|
47
|
-
<ref name="common.attrs.aria.role.doc-colophon"/>
|
|
48
|
-
<ref name="common.attrs.aria.role.doc-conclusion"/>
|
|
49
|
-
<ref name="common.attrs.aria.role.doc-credit"/>
|
|
50
|
-
<ref name="common.attrs.aria.role.doc-credits"/>
|
|
51
|
-
<ref name="common.attrs.aria.role.doc-dedication"/>
|
|
52
|
-
<ref name="common.attrs.aria.role.doc-endnotes"/>
|
|
53
|
-
<ref name="common.attrs.aria.role.doc-epigraph"/>
|
|
54
|
-
<ref name="common.attrs.aria.role.doc-epilogue"/>
|
|
55
|
-
<ref name="common.attrs.aria.role.doc-errata"/>
|
|
56
|
-
<ref name="common.attrs.aria.role.doc-example"/>
|
|
57
|
-
<ref name="common.attrs.aria.role.doc-foreword"/>
|
|
58
|
-
<ref name="common.attrs.aria.role.doc-glossary"/>
|
|
59
|
-
<ref name="common.attrs.aria.role.doc-index"/>
|
|
60
|
-
<ref name="common.attrs.aria.role.doc-introduction"/>
|
|
61
|
-
<ref name="common.attrs.aria.role.doc-notice"/>
|
|
62
|
-
<ref name="common.attrs.aria.role.doc-pagelist"/>
|
|
63
|
-
<ref name="common.attrs.aria.role.doc-part"/>
|
|
64
|
-
<ref name="common.attrs.aria.role.doc-preface"/>
|
|
65
|
-
<ref name="common.attrs.aria.role.doc-prologue"/>
|
|
66
|
-
<ref name="common.attrs.aria.role.doc-pullquote"/>
|
|
67
|
-
<ref name="common.attrs.aria.role.doc-qna"/>
|
|
68
|
-
<ref name="common.attrs.aria.role.doc-toc"/>
|
|
69
|
-
</choice>
|
|
70
|
-
</optional>
|
|
71
|
-
</interleave>
|
|
72
|
-
</define>
|
|
73
|
-
<define name="section.inner">
|
|
74
|
-
<ref name="common.inner.flow"/>
|
|
75
|
-
</define>
|
|
76
|
-
<define name="common.elem.flow" combine="choice">
|
|
77
|
-
<ref name="section.elem"/>
|
|
78
|
-
</define>
|
|
79
|
-
<define name="nav.elem">
|
|
80
|
-
<a:documentation>Navigational Links: <nav></a:documentation>
|
|
81
|
-
<element name="nav">
|
|
82
|
-
<interleave>
|
|
83
|
-
<ref name="nav.inner"/>
|
|
84
|
-
<ref name="nav.attrs"/>
|
|
85
|
-
</interleave>
|
|
86
|
-
</element>
|
|
87
|
-
</define>
|
|
88
|
-
<define name="nav.attrs">
|
|
89
|
-
<interleave>
|
|
90
|
-
<ref name="common.attrs"/>
|
|
91
|
-
<optional>
|
|
92
|
-
<choice>
|
|
93
|
-
<ref name="common.attrs.aria.implicit.navigation"/>
|
|
94
|
-
<ref name="common.attrs.aria.landmark.navigation"/>
|
|
95
|
-
<ref name="common.attrs.aria.role.doc-index"/>
|
|
96
|
-
<ref name="common.attrs.aria.role.doc-pagelist"/>
|
|
97
|
-
<ref name="common.attrs.aria.role.doc-toc"/>
|
|
98
|
-
<ref name="common.attrs.aria.role.menu"/>
|
|
99
|
-
<ref name="common.attrs.aria.role.menubar"/>
|
|
100
|
-
<ref name="common.attrs.aria.role.none"/>
|
|
101
|
-
<ref name="common.attrs.aria.role.presentation"/>
|
|
102
|
-
<ref name="common.attrs.aria.role.tablist"/>
|
|
103
|
-
</choice>
|
|
104
|
-
</optional>
|
|
105
|
-
</interleave>
|
|
106
|
-
</define>
|
|
107
|
-
<define name="nav.inner">
|
|
108
|
-
<ref name="common.inner.flow"/>
|
|
109
|
-
</define>
|
|
110
|
-
<define name="common.elem.flow" combine="choice">
|
|
111
|
-
<ref name="nav.elem"/>
|
|
112
|
-
</define>
|
|
113
|
-
<define name="article.elem">
|
|
114
|
-
<a:documentation>Article: <article></a:documentation>
|
|
115
|
-
<element name="article">
|
|
116
|
-
<interleave>
|
|
117
|
-
<ref name="article.inner"/>
|
|
118
|
-
<ref name="article.attrs"/>
|
|
119
|
-
</interleave>
|
|
120
|
-
</element>
|
|
121
|
-
</define>
|
|
122
|
-
<define name="article.attrs">
|
|
123
|
-
<interleave>
|
|
124
|
-
<ref name="common.attrs"/>
|
|
125
|
-
<optional>
|
|
126
|
-
<choice>
|
|
127
|
-
<ref name="common.attrs.aria.implicit.article"/>
|
|
128
|
-
<ref name="common.attrs.aria.landmark.article"/>
|
|
129
|
-
<ref name="common.attrs.aria.landmark.document"/>
|
|
130
|
-
<ref name="common.attrs.aria.role.application"/>
|
|
131
|
-
<ref name="common.attrs.aria.landmark.main"/>
|
|
132
|
-
<ref name="common.attrs.aria.role.feed"/>
|
|
133
|
-
<ref name="common.attrs.aria.role.region"/>
|
|
134
|
-
<ref name="common.attrs.aria.role.presentation"/>
|
|
135
|
-
</choice>
|
|
136
|
-
</optional>
|
|
137
|
-
</interleave>
|
|
138
|
-
</define>
|
|
139
|
-
<define name="article.inner">
|
|
140
|
-
<ref name="common.inner.flow"/>
|
|
141
|
-
</define>
|
|
142
|
-
<define name="common.elem.flow" combine="choice">
|
|
143
|
-
<ref name="article.elem"/>
|
|
144
|
-
</define>
|
|
145
|
-
<define name="aside.elem">
|
|
146
|
-
<a:documentation>Tangential Aside: <aside></a:documentation>
|
|
147
|
-
<element name="aside">
|
|
148
|
-
<interleave>
|
|
149
|
-
<ref name="aside.inner"/>
|
|
150
|
-
<ref name="aside.attrs"/>
|
|
151
|
-
</interleave>
|
|
152
|
-
</element>
|
|
153
|
-
</define>
|
|
154
|
-
<define name="aside.attrs">
|
|
155
|
-
<interleave>
|
|
156
|
-
<ref name="common.attrs"/>
|
|
157
|
-
<optional>
|
|
158
|
-
<choice>
|
|
159
|
-
<ref name="common.attrs.aria.implicit.complementary"/>
|
|
160
|
-
<ref name="common.attrs.aria.landmark.note"/>
|
|
161
|
-
<ref name="common.attrs.aria.landmark.complementary"/>
|
|
162
|
-
<ref name="common.attrs.aria.landmark.search"/>
|
|
163
|
-
<ref name="common.attrs.aria.role.feed"/>
|
|
164
|
-
<ref name="common.attrs.aria.role.region"/>
|
|
165
|
-
<ref name="common.attrs.aria.role.presentation"/>
|
|
166
|
-
<ref name="common.attrs.aria.role.doc-dedication"/>
|
|
167
|
-
<ref name="common.attrs.aria.role.doc-example"/>
|
|
168
|
-
<ref name="common.attrs.aria.role.doc-footnote"/>
|
|
169
|
-
<ref name="common.attrs.aria.role.doc-glossary"/>
|
|
170
|
-
<ref name="common.attrs.aria.role.doc-pullquote"/>
|
|
171
|
-
<ref name="common.attrs.aria.role.doc-tip"/>
|
|
172
|
-
</choice>
|
|
173
|
-
</optional>
|
|
174
|
-
</interleave>
|
|
175
|
-
</define>
|
|
176
|
-
<define name="aside.inner">
|
|
177
|
-
<ref name="common.inner.flow"/>
|
|
178
|
-
</define>
|
|
179
|
-
<define name="common.elem.flow" combine="choice">
|
|
180
|
-
<ref name="aside.elem"/>
|
|
181
|
-
</define>
|
|
182
|
-
<define name="header.elem">
|
|
183
|
-
<a:documentation>Header: <header></a:documentation>
|
|
184
|
-
<element name="header">
|
|
185
|
-
<interleave>
|
|
186
|
-
<ref name="header.inner"/>
|
|
187
|
-
<ref name="header.attrs"/>
|
|
188
|
-
</interleave>
|
|
189
|
-
</element>
|
|
190
|
-
</define>
|
|
191
|
-
<define name="header.attrs">
|
|
192
|
-
<interleave>
|
|
193
|
-
<ref name="common.attrs"/>
|
|
194
|
-
<optional>
|
|
195
|
-
<choice>
|
|
196
|
-
<ref name="common.attrs.aria.implicit.banner"/>
|
|
197
|
-
<ref name="common.attrs.aria.landmark.banner"/>
|
|
198
|
-
<ref name="common.attrs.aria.role.group"/>
|
|
199
|
-
<ref name="common.attrs.aria.role.presentation"/>
|
|
200
|
-
<ref name="common.attrs.aria.role.doc-footnote"/>
|
|
201
|
-
</choice>
|
|
202
|
-
</optional>
|
|
203
|
-
</interleave>
|
|
204
|
-
</define>
|
|
205
|
-
<define name="header.inner">
|
|
206
|
-
<ref name="common.inner.flow"/>
|
|
207
|
-
</define>
|
|
208
|
-
<define name="common.elem.flow" combine="choice">
|
|
209
|
-
<ref name="header.elem"/>
|
|
210
|
-
</define>
|
|
211
|
-
<define name="footer.elem">
|
|
212
|
-
<a:documentation>Footer: <footer></a:documentation>
|
|
213
|
-
<element name="footer">
|
|
214
|
-
<interleave>
|
|
215
|
-
<ref name="footer.inner"/>
|
|
216
|
-
<ref name="footer.attrs"/>
|
|
217
|
-
</interleave>
|
|
218
|
-
</element>
|
|
219
|
-
</define>
|
|
220
|
-
<define name="footer.attrs">
|
|
221
|
-
<interleave>
|
|
222
|
-
<ref name="common.attrs"/>
|
|
223
|
-
<optional>
|
|
224
|
-
<choice>
|
|
225
|
-
<ref name="common.attrs.aria.implicit.contentinfo"/>
|
|
226
|
-
<ref name="common.attrs.aria.landmark.contentinfo"/>
|
|
227
|
-
<ref name="common.attrs.aria.role.group"/>
|
|
228
|
-
<ref name="common.attrs.aria.role.presentation"/>
|
|
229
|
-
<ref name="common.attrs.aria.role.doc-footnote"/>
|
|
230
|
-
</choice>
|
|
231
|
-
</optional>
|
|
232
|
-
</interleave>
|
|
233
|
-
</define>
|
|
234
|
-
<define name="footer.inner">
|
|
235
|
-
<ref name="common.inner.flow"/>
|
|
236
|
-
</define>
|
|
237
|
-
<define name="common.elem.flow" combine="choice">
|
|
238
|
-
<ref name="footer.elem"/>
|
|
239
|
-
</define>
|
|
240
|
-
<define name="main.elem">
|
|
241
|
-
<a:documentation>main content: <main></a:documentation>
|
|
242
|
-
<element name="main">
|
|
243
|
-
<interleave>
|
|
244
|
-
<ref name="main.inner"/>
|
|
245
|
-
<ref name="main.attrs"/>
|
|
246
|
-
</interleave>
|
|
247
|
-
</element>
|
|
248
|
-
</define>
|
|
249
|
-
<define name="main.attrs">
|
|
250
|
-
<interleave>
|
|
251
|
-
<ref name="common.attrs"/>
|
|
252
|
-
<optional>
|
|
253
|
-
<choice>
|
|
254
|
-
<ref name="common.attrs.aria.implicit.main"/>
|
|
255
|
-
<ref name="common.attrs.aria.landmark.main"/>
|
|
256
|
-
</choice>
|
|
257
|
-
</optional>
|
|
258
|
-
</interleave>
|
|
259
|
-
</define>
|
|
260
|
-
<define name="main.inner">
|
|
261
|
-
<ref name="common.inner.flow"/>
|
|
262
|
-
</define>
|
|
263
|
-
<define name="common.elem.flow" combine="choice">
|
|
264
|
-
<ref name="main.elem"/>
|
|
265
|
-
</define>
|
|
266
|
-
<define name="search.elem">
|
|
267
|
-
<a:documentation>Search: <search></a:documentation>
|
|
268
|
-
<element name="search">
|
|
269
|
-
<interleave>
|
|
270
|
-
<ref name="search.inner"/>
|
|
271
|
-
<ref name="search.attrs"/>
|
|
272
|
-
</interleave>
|
|
273
|
-
</element>
|
|
274
|
-
</define>
|
|
275
|
-
<define name="search.attrs">
|
|
276
|
-
<interleave>
|
|
277
|
-
<ref name="common.attrs"/>
|
|
278
|
-
<optional>
|
|
279
|
-
<choice>
|
|
280
|
-
<ref name="common.attrs.aria.implicit.search"/>
|
|
281
|
-
<ref name="common.attrs.aria.landmark.search"/>
|
|
282
|
-
<ref name="common.attrs.aria.landmark.form"/>
|
|
283
|
-
<ref name="common.attrs.aria.role.group"/>
|
|
284
|
-
<ref name="common.attrs.aria.role.none"/>
|
|
285
|
-
<ref name="common.attrs.aria.role.presentation"/>
|
|
286
|
-
<ref name="common.attrs.aria.role.region"/>
|
|
287
|
-
<ref name="common.attrs.aria.role.search"/>
|
|
288
|
-
</choice>
|
|
289
|
-
</optional>
|
|
290
|
-
</interleave>
|
|
291
|
-
</define>
|
|
292
|
-
<define name="search.inner">
|
|
293
|
-
<ref name="common.inner.flow"/>
|
|
294
|
-
</define>
|
|
295
|
-
<define name="common.elem.flow" combine="choice">
|
|
296
|
-
<ref name="search.elem"/>
|
|
297
|
-
</define>
|
|
298
|
-
</grammar>
|