CARVIEW |
Select Language
HTTP/2 200
date: Tue, 15 Jul 2025 16:14:27 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/"80e5dc08ac16b8efec055f092802c09d"
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=DZ3HnEmUReQL9fHChDOuPijYMQ9VufEKxWuTGdhx5Oe2GGNsBX5JQisjC67Wy40NFPxTfnJVbEFcLx9nljE1Hzk%2Bfpy5Dr%2B1HmGtO5CYEA5ATVKsRLsasLRlxHE2ipC7q%2Bffl%2FNpwjkqf71T%2FStS27HfOkzzKxQlg3jiRHUU1VhaGCLNoNNcklJEE1ar8MH1mHChTIyXjIKOMvddCfsgesjKmFM8s1anYr5EiELrExCBM9RTEa%2BepUg39qXZhdvCqfqrzO4N2A9EmbFYRem%2F%2BA%3D%3D--J3iT32%2B6WJA2atQB--kgUb8DXGUKDpWb8xzRoekQ%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.616224619.1752596066; Path=/; Domain=github.com; Expires=Wed, 15 Jul 2026 16:14:26 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Wed, 15 Jul 2026 16:14:26 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: D412:1CBC5F:25EED:2CF3F:68767E62
fix: do not require the Navigation Document to have an index in an In… · w3c/epubcheck@33f2f99 · GitHub
Copy file name to clipboardExpand all lines: src/main/java/com/adobe/epubcheck/nav/NavChecker.java
Copy file name to clipboardExpand all lines: src/test/resources/epub-indexes/indexes-publication.feature
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 418
Commit 33f2f99
committed
fix: do not require the Navigation Document to have an index in an Index Publication
This fix removes the index-specific schemas when checking the Navigation
Document.
It is probably too simple, a better implementation would only do so if
the Nav Doc is not in the spine or is not the only Content Document in
the spine, but there is no easy way to check that latter condition in
the NavChecker.
The fix is a reasonable compromise, as a false-negative (the Nav Doc
**must** have index content when it is the unique Content Document) should
be pretty rare, and is always better than a false-positive.
Fixes #11221 parent 177af8f commit 33f2f99Copy full SHA for 33f2f99
File tree
Expand file treeCollapse file tree
2 files changed
+6
-14
lines changedFilter options
- src
- main/java/com/adobe/epubcheck/nav
- test/resources/epub-indexes
Expand file treeCollapse file tree
2 files changed
+6
-14
lines changedsrc/main/java/com/adobe/epubcheck/nav/NavChecker.java
Copy file name to clipboardExpand all lines: src/main/java/com/adobe/epubcheck/nav/NavChecker.java+5-6Lines changed: 5 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
50 | 50 |
| |
51 | 51 |
| |
52 | 52 |
| |
53 |
| - | |
54 |
| - | |
55 |
| - | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
56 | 56 |
| |
57 | 57 |
| |
58 | 58 |
| |
| |||
61 | 61 |
| |
62 | 62 |
| |
63 | 63 |
| |
64 |
| - | |
65 |
| - | |
| 64 | + | |
66 | 65 |
| |
67 |
| - | |
| 66 | + | |
68 | 67 |
| |
69 | 68 |
| |
70 | 69 |
| |
|
src/test/resources/epub-indexes/indexes-publication.feature
Copy file name to clipboardExpand all lines: src/test/resources/epub-indexes/indexes-publication.feature+1-8Lines changed: 1 addition & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
22 | 22 |
| |
23 | 23 |
| |
24 | 24 |
| |
25 |
| - | |
26 |
| - | |
27 |
| - | |
28 | 25 |
| |
29 | 26 |
| |
30 | 27 |
| |
| |||
47 | 44 |
| |
48 | 45 |
| |
49 | 46 |
| |
50 |
| - | |
51 |
| - | |
52 |
| - | |
53 | 47 |
| |
54 | 48 |
| |
55 | 49 |
| |
56 | 50 |
| |
57 | 51 |
| |
58 |
| - | |
59 |
| - | |
| 52 | + | |
60 | 53 |
| |
61 | 54 |
| |
62 | 55 |
| |
|
You can’t perform that action at this time.
0 commit comments