CARVIEW |
Select Language
HTTP/2 200
date: Mon, 14 Jul 2025 16:35:37 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/"3c4ae142583fb3839b078811effffe2e"
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=5GlZ5e6sLl4xwXRF%2FPmp6NqoKlKIbjttDxqafx2t535bVPgDXG1SjacSOWGC4gYnUCvJzmqraQ92%2BcaRUfEQNaKqxNa0TGpClgR2G2qLLYA%2F9BoLHJdKLz%2FXixfCC%2BPesVS36Lv00y95%2F8BtB8uWv%2BjPSrqsfHBoptPth5tnCi6BuYa6iOuOx9l5T9ocAhuoDgBgF4RGx3kUlzMXTe%2FsQfg%2BaO%2Bhnhg%2FJ8xGk1GjQ5fcmnMVxOKuEGJQloUskVeRGubb7Nreud%2B4cjU6kKh%2Bog%3D%3D--obG7swyL92dcsdXi--HqWStMFP6dOFhJzrSPFSkA%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1386517989.1752510936; Path=/; Domain=github.com; Expires=Tue, 14 Jul 2026 16:35:36 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Tue, 14 Jul 2026 16:35:36 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: C378:26C2E5:14D0CCE:19B228A:687531D8
feat: check that non-linear content is reachable · w3c/epubcheck@f20993e · 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/OPFChecker30.java
Copy file name to clipboardExpand all lines: src/main/resources/com/adobe/epubcheck/messages/MessageBundle.properties
Copy file name to clipboardExpand all lines: src/test/resources/epub-edupub/edupub-publication.feature
Copy file name to clipboardExpand all lines: src/test/resources/epub-edupub/files/epub/edupub-non-linear-valid/EPUB/nav.xhtml
Copy file name to clipboardExpand all lines: src/test/resources/epub-edupub/files/epub/edupub-non-linear-valid/EPUB/package.opf
Copy file name to clipboardExpand all lines: src/test/resources/epub-region-nav/files/epub/data-nav-in-spine-warning/EPUB/nav.xhtml
Copy file name to clipboard
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 418
Commit f20993e
committed
feat: check that non-linear content is reachable
EPUB 3.3 says:
> EPUB creators MUST provide a means of accessing all non-linear content
> (e.g., hyperlinks in the content or from the EPUB navigation document).
This commit adds a check for the above statement.
- new error `OPF-096` is reported when no hyperlink was found to
non-linear content in an EPUB with no script
- new usage `OPF-096b` is reported when no hyperlink was found to
non-linear content in a scripted EPUB (a link may be added via
scripting, so we cannot report this as an error)
Fix #14511 parent 0175818 commit f20993eCopy full SHA for f20993e
File tree
Expand file treeCollapse file tree
54 files changed
+402
-22
lines changedFilter options
- src
- main
- java/com/adobe/epubcheck
- messages
- opf
- resources/com/adobe/epubcheck/messages
- test/resources
- epub-edupub
- files/epub/edupub-non-linear-valid/EPUB
- epub-region-nav/files/epub/data-nav-in-spine-warning/EPUB
- epub3
- 05-package-document
- files
- spine-nonlinear-not-reachable-error
- EPUB
- META-INF
- spine-nonlinear-reachable-via-hyperlink-valid
- EPUB
- META-INF
- spine-nonlinear-reachable-via-nav-valid
- EPUB
- META-INF
- spine-nonlinear-reachable-via-script-valid
- EPUB
- META-INF
- spine-not-listing-hyperlink-target-error
- EPUB
- META-INF
- spine-not-listing-navigation-document-target-error
- EPUB
- META-INF
- 06-content-document
- 08-layout/files
- content-fxl-svg-no-viewbox-error/EPUB
- content-fxl-svg-no-viewbox-on-inner-svg-valid/EPUB
- content-fxl-svg-no-viewbox-width-height-percent-error/EPUB
- content-fxl-svg-no-viewbox-width-height-units-error/EPUB
- content-fxl-svg-valid/EPUB
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
54 files changed
+402
-22
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+2Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
289 | 289 |
| |
290 | 290 |
| |
291 | 291 |
| |
| 292 | + | |
| 293 | + | |
292 | 294 |
| |
293 | 295 |
| |
294 | 296 |
| |
|
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+2Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
283 | 283 |
| |
284 | 284 |
| |
285 | 285 |
| |
| 286 | + | |
| 287 | + | |
286 | 288 |
| |
287 | 289 |
| |
288 | 290 |
| |
|
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+24-3Lines changed: 24 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
24 | 24 |
| |
25 | 25 |
| |
26 | 26 |
| |
| 27 | + | |
27 | 28 |
| |
28 | 29 |
| |
29 | 30 |
| |
| |||
183 | 184 |
| |
184 | 185 |
| |
185 | 186 |
| |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
186 | 207 |
| |
187 | 208 |
| |
188 | 209 |
| |
| |||
194 | 215 |
| |
195 | 216 |
| |
196 | 217 |
| |
197 |
| - | |
198 |
| - | |
| 218 | + | |
199 | 219 |
| |
200 | 220 |
| |
201 | 221 |
| |
202 | 222 |
| |
203 | 223 |
| |
204 | 224 |
| |
| 225 | + | |
| 226 | + | |
205 | 227 |
| |
206 | 228 |
| |
207 | 229 |
| |
| |||
213 | 235 |
| |
214 | 236 |
| |
215 | 237 |
| |
216 |
| - | |
217 | 238 |
| |
218 | 239 |
| |
219 | 240 |
| |
|
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+3-1Lines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
210 | 210 |
| |
211 | 211 |
| |
212 | 212 |
| |
213 |
| - | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
214 | 216 |
| |
215 | 217 |
| |
216 | 218 |
| |
|
src/test/resources/epub-edupub/edupub-publication.feature
Copy file name to clipboardExpand all lines: src/test/resources/epub-edupub/edupub-publication.feature+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
51 | 51 |
| |
52 | 52 |
| |
53 | 53 |
| |
54 |
| - | |
| 54 | + | |
55 | 55 |
| |
56 | 56 |
| |
57 | 57 |
| |
|
src/test/resources/epub-edupub/files/epub/edupub-non-linear-valid/EPUB/nav.xhtml
Copy file name to clipboardExpand all lines: src/test/resources/epub-edupub/files/epub/edupub-non-linear-valid/EPUB/nav.xhtml+1Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
| 11 | + | |
11 | 12 |
| |
12 | 13 |
| |
13 | 14 |
| |
|
src/test/resources/epub-edupub/files/epub/edupub-non-linear-valid/EPUB/package.opf
Copy file name to clipboardExpand all lines: src/test/resources/epub-edupub/files/epub/edupub-non-linear-valid/EPUB/package.opf+2-2Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
14 |
| - | |
| 14 | + | |
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
18 |
| - | |
| 18 | + | |
19 | 19 |
| |
20 | 20 |
|
src/test/resources/epub-region-nav/files/epub/data-nav-in-spine-warning/EPUB/nav.xhtml
Copy file name to clipboardExpand all lines: src/test/resources/epub-region-nav/files/epub/data-nav-in-spine-warning/EPUB/nav.xhtml+1Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
| 11 | + | |
11 | 12 |
| |
12 | 13 |
| |
13 | 14 |
| |
|
src/test/resources/epub3/05-package-document/files/spine-empty-error.opf
Copy file name to clipboard+16Lines changed: 16 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 | + |
File renamed without changes.
You can’t perform that action at this time.
0 commit comments