CARVIEW |
Select Language
HTTP/2 200
date: Mon, 14 Jul 2025 21:28:26 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/w3c/epubcheck.git
etag: W/"719f91420fdb9951ebd1d208cf34f6ab"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=BHd4Yx5P%2F6fvqwSMalV9uvmYH%2BU0TNiZZRghCpO75UVnntPZD%2FfWSl60EWoy0jayqxLRJ9wtAbxC8vYL1WYKO6G5yXCR3SSzT8MP5cQ9mGCKl%2BObR9tLoGtQ7wDJuKSxhf7ansk9LzStOhpAsoiPF80%2BzT8ymx8el3GJGToTQWIaUMtaVt%2Fm1R5xfFweLTYSV%2BmyYzPHJ5pT9M2NscXzd4dU53GkS%2F%2B%2BT%2FdOAZy0dILYgWBBsFQklk6JZb%2ByVtB%2F3RYySqBQINPvRWyS760skQ%3D%3D--RUCTQnDywYqyFzPd--GaxsDSOHZQjDmr3dMki3Lg%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1086352450.1752528505; Path=/; Domain=github.com; Expires=Tue, 14 Jul 2026 21:28:25 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Tue, 14 Jul 2026 21:28:25 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: B0A2:1BAFF9:76135:A8642:68757679
feat: check references between Media Overlays and Content documents · w3c/epubcheck@f49aa84 · GitHub
Dismiss banner
Copy file name to clipboardExpand all lines: src/main/java/com/adobe/epubcheck/messages/DefaultSeverities.java
Copy file name to clipboardExpand all lines: src/main/java/com/adobe/epubcheck/messages/MessageId.java
Copy file name to clipboardExpand all lines: src/main/java/com/adobe/epubcheck/opf/OPFChecker.java
Copy file name to clipboardExpand all lines: src/main/java/com/adobe/epubcheck/opf/OPFChecker30.java
Copy file name to clipboardExpand all lines: src/main/java/com/adobe/epubcheck/opf/OPFHandler.java
Copy file name to clipboardExpand all lines: src/main/java/com/adobe/epubcheck/opf/OPFItem.java
Copy file name to clipboardExpand all lines: src/main/java/com/adobe/epubcheck/opf/ValidationContext.java
Copy file name to clipboardExpand all lines: src/main/java/com/adobe/epubcheck/overlay/OverlayHandler.java
Copy file name to clipboard
Copy file name to clipboardExpand all lines: src/main/resources/com/adobe/epubcheck/messages/MessageBundle.properties
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 418
Commit f49aa84
feat: check references between Media Overlays and Content documents
Add the following new errors:
- Error MED-010 when an item is missing a media-overlay attribute
- Error MED-011 when the media-overlay attribute references the wrong
overlay
- Error MED-012 when the media-overlay attribute references an overlay
that does not reference the underlying content document
- Error MED-013 when a content doc is referenced from multiple overlays
Also Add tests for the new errors.
Implementation note:
- pull the unique references from the text elements while parsing
the overlay documents
- then run checks on the affected content documents in the post-processing
function.1 parent 11b652e commit f49aa84Copy full SHA for f49aa84
File tree
Expand file treeCollapse file tree
46 files changed
+492
-5
lines changedFilter options
- src
- main
- java/com/adobe/epubcheck
- messages
- opf
- overlay
- resources/com/adobe/epubcheck/messages
- test/resources/epub3
- files/epub
- mediaoverlays-incorrect-overlay-ref-error
- EPUB
- META-INF
- mediaoverlays-missing-mo-attr-error
- EPUB
- META-INF
- mediaoverlays-multiple-overlay-ref-error
- EPUB
- META-INF
- mediaoverlays-no-overlay-ref-error
- EPUB
- META-INF
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Expand file treeCollapse file tree
46 files changed
+492
-5
lines changedsrc/main/java/com/adobe/epubcheck/messages/DefaultSeverities.java
Copy file name to clipboardExpand all lines: src/main/java/com/adobe/epubcheck/messages/DefaultSeverities.java+4Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
146 | 146 |
| |
147 | 147 |
| |
148 | 148 |
| |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
149 | 153 |
| |
150 | 154 |
| |
151 | 155 |
| |
|
src/main/java/com/adobe/epubcheck/messages/MessageId.java
Copy file name to clipboardExpand all lines: src/main/java/com/adobe/epubcheck/messages/MessageId.java+4Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
140 | 140 |
| |
141 | 141 |
| |
142 | 142 |
| |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
143 | 147 |
| |
144 | 148 |
| |
145 | 149 |
| |
|
src/main/java/com/adobe/epubcheck/opf/OPFChecker.java
Copy file name to clipboardExpand all lines: src/main/java/com/adobe/epubcheck/opf/OPFChecker.java+2Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
43 | 43 |
| |
44 | 44 |
| |
45 | 45 |
| |
| 46 | + | |
46 | 47 |
| |
47 | 48 |
| |
48 | 49 |
| |
| |||
114 | 115 |
| |
115 | 116 |
| |
116 | 117 |
| |
| 118 | + | |
117 | 119 |
| |
118 | 120 |
| |
119 | 121 |
| |
|
src/main/java/com/adobe/epubcheck/opf/OPFChecker30.java
Copy file name to clipboardExpand all lines: src/main/java/com/adobe/epubcheck/opf/OPFChecker30.java+24Lines changed: 24 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
40 | 40 |
| |
41 | 41 |
| |
42 | 42 |
| |
| 43 | + | |
43 | 44 |
| |
44 | 45 |
| |
45 | 46 |
| |
| |||
182 | 183 |
| |
183 | 184 |
| |
184 | 185 |
| |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
185 | 209 |
| |
186 | 210 |
| |
187 | 211 |
| |
|
src/main/java/com/adobe/epubcheck/opf/OPFHandler.java
Copy file name to clipboardExpand all lines: src/main/java/com/adobe/epubcheck/opf/OPFHandler.java+3Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
314 | 314 |
| |
315 | 315 |
| |
316 | 316 |
| |
| 317 | + | |
| 318 | + | |
| 319 | + | |
317 | 320 |
| |
318 | 321 |
| |
319 | 322 |
| |
|
src/main/java/com/adobe/epubcheck/opf/OPFItem.java
Copy file name to clipboardExpand all lines: src/main/java/com/adobe/epubcheck/opf/OPFItem.java+16-2Lines changed: 16 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
54 | 54 |
| |
55 | 55 |
| |
56 | 56 |
| |
| 57 | + | |
57 | 58 |
| |
58 | 59 |
| |
59 | 60 |
| |
60 |
| - | |
| 61 | + | |
61 | 62 |
| |
62 | 63 |
| |
63 | 64 |
| |
| |||
74 | 75 |
| |
75 | 76 |
| |
76 | 77 |
| |
| 78 | + | |
77 | 79 |
| |
78 | 80 |
| |
79 | 81 |
| |
| |||
240 | 242 |
| |
241 | 243 |
| |
242 | 244 |
| |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
243 | 250 |
| |
244 | 251 |
| |
245 | 252 |
| |
| |||
293 | 300 |
| |
294 | 301 |
| |
295 | 302 |
| |
| 303 | + | |
296 | 304 |
| |
297 | 305 |
| |
298 | 306 |
| |
| |||
339 | 347 |
| |
340 | 348 |
| |
341 | 349 |
| |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
342 | 356 |
| |
343 | 357 |
| |
344 | 358 |
| |
| |||
388 | 402 |
| |
389 | 403 |
| |
390 | 404 |
| |
391 |
| - | |
| 405 | + | |
392 | 406 |
| |
393 | 407 |
| |
394 | 408 |
|
src/main/java/com/adobe/epubcheck/opf/ValidationContext.java
Copy file name to clipboardExpand all lines: src/main/java/com/adobe/epubcheck/opf/ValidationContext.java+16-2Lines changed: 16 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
| 13 | + | |
13 | 14 |
| |
14 | 15 |
| |
15 | 16 |
| |
| |||
77 | 78 |
| |
78 | 79 |
| |
79 | 80 |
| |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
80 | 85 |
| |
81 | 86 |
| |
82 | 87 |
| |
| |||
90 | 95 |
| |
91 | 96 |
| |
92 | 97 |
| |
93 |
| - | |
| 98 | + | |
94 | 99 |
| |
95 | 100 |
| |
96 | 101 |
| |
| |||
104 | 109 |
| |
105 | 110 |
| |
106 | 111 |
| |
| 112 | + | |
107 | 113 |
| |
108 | 114 |
| |
109 | 115 |
| |
| |||
125 | 131 |
| |
126 | 132 |
| |
127 | 133 |
| |
| 134 | + | |
128 | 135 |
| |
129 | 136 |
| |
130 | 137 |
| |
| |||
148 | 155 |
| |
149 | 156 |
| |
150 | 157 |
| |
| 158 | + | |
151 | 159 |
| |
152 | 160 |
| |
153 | 161 |
| |
| |||
207 | 215 |
| |
208 | 216 |
| |
209 | 217 |
| |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
210 | 224 |
| |
211 | 225 |
| |
212 | 226 |
| |
| |||
243 | 257 |
| |
244 | 258 |
| |
245 | 259 |
| |
246 |
| - | |
| 260 | + | |
247 | 261 |
| |
248 | 262 |
| |
249 | 263 |
| |
|
src/main/java/com/adobe/epubcheck/overlay/OverlayHandler.java
Copy file name to clipboardExpand all lines: src/main/java/com/adobe/epubcheck/overlay/OverlayHandler.java+27Lines changed: 27 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
| 3 | + | |
3 | 4 |
| |
4 | 5 |
| |
5 | 6 |
| |
| |||
20 | 21 |
| |
21 | 22 |
| |
22 | 23 |
| |
| 24 | + | |
23 | 25 |
| |
24 | 26 |
| |
25 | 27 |
| |
| |||
40 | 42 |
| |
41 | 43 |
| |
42 | 44 |
| |
| 45 | + | |
| 46 | + | |
43 | 47 |
| |
44 | 48 |
| |
45 | 49 |
| |
| |||
158 | 162 |
| |
159 | 163 |
| |
160 | 164 |
| |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
161 | 173 |
| |
162 | 174 |
| |
163 | 175 |
| |
| |||
176 | 188 |
| |
177 | 189 |
| |
178 | 190 |
| |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
179 | 197 |
| |
180 | 198 |
| |
181 | 199 |
| |
| |||
185 | 203 |
| |
186 | 204 |
| |
187 | 205 |
| |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
188 | 215 |
|
src/main/java/com/adobe/epubcheck/overlay/OverlayTextChecker.java
Copy file name to clipboard+35Lines changed: 35 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + |
src/main/resources/com/adobe/epubcheck/messages/MessageBundle.properties
Copy file name to clipboardExpand all lines: src/main/resources/com/adobe/epubcheck/messages/MessageBundle.properties+4Lines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
133 | 133 |
| |
134 | 134 |
| |
135 | 135 |
| |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
136 | 140 |
| |
137 | 141 |
| |
138 | 142 |
| |
|
You can’t perform that action at this time.
0 commit comments