CARVIEW |
Select Language
HTTP/2 200
date: Tue, 15 Jul 2025 01:43:31 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/"3be9b772c20d36cfad82a9bf060c4ae6"
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=6mkf5lvUOcJeSIKzOI%2Bda8a7NPWCziGyefCaOkNmm94Y7G%2FxOimkx1L2fPaF8TRKiMUgcD0eIAJ9Cvmqcs%2FaJhoy5hutxp5J8K5bgR%2B1MCT99bwj3DbGoVB0LwSryyPebyhtWOShBEjM4vzMD2FyLqxXzUnY6aL3zPtpDm0OxJlOaWZ5o3dErrMKVfqzm45UEJbzDV%2Betl%2F8zhEFbOBKEu8kH6Cww%2FWyUkStz%2BLidaodhfxz%2FNhyg9VQgt8rQGx6KuitC9zFujYLdVua7PSE5Q%3D%3D--4ZHnIsU0o9cBRDbR--5CdUw7OS54HW7ml%2Fewew3Q%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.2076504415.1752543810; Path=/; Domain=github.com; Expires=Wed, 15 Jul 2026 01:43:30 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Wed, 15 Jul 2026 01:43:30 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: DF1A:3B9C31:279FC:3B835:6875B242
feat: report as a usage when no reference were found to manifest items · w3c/epubcheck@09244a4 · GitHub
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/java/org/w3c/epubcheck/core/references/Reference.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/com/adobe/epubcheck/tools/20-severity-tester/OPS/toc.ncx
Copy file name to clipboardExpand all lines: src/test/resources/com/adobe/epubcheck/tools/20-warning-tester/OPS/content_002.xhtml
Copy file name to clipboardExpand all lines: src/test/resources/com/adobe/epubcheck/tools/20-warning-tester/OPS/package.opf
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 418
Commit 09244a4
committed
feat: report as a usage when no reference were found to manifest items
This PR introduces a new usage message (`OPF-097`) reported when the
manifest includes a resource for which no reference was found in content.
This is legit for instance for exempt resources (like data files included
in the container). But it is likely an author error otherwise, so reporting
a usage message can help to detect that.
We do not report an error since:
- references can be added via scripting, so the check can only be
informative for scripted content
- EPUBCheck historically required all container resources to be listed
in the manifest (not doing so was reported as a warning, `OPF-003`),
which is conflicting with a requirement to **not** list unsused
resources
Close #14521 parent f81b423 commit 09244a4Copy full SHA for 09244a4
File tree
Expand file treeCollapse file tree
13 files changed
+52
-16
lines changedFilter options
- src
- main
- java
- com/adobe/epubcheck
- messages
- opf
- org/w3c/epubcheck/core/references
- resources/com/adobe/epubcheck/messages
- test/resources
- com/adobe/epubcheck/tools
- 20-severity-tester/OPS
- 20-warning-tester/OPS
- epub3/09-media-overlays/files/mediaoverlays-active-class-stylesheet-undeclared-valid/EPUB
Expand file treeCollapse file tree
13 files changed
+52
-16
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+1Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
291 | 291 |
| |
292 | 292 |
| |
293 | 293 |
| |
| 294 | + | |
294 | 295 |
| |
295 | 296 |
| |
296 | 297 |
| |
|
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+1Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
285 | 285 |
| |
286 | 286 |
| |
287 | 287 |
| |
| 288 | + | |
288 | 289 |
| |
289 | 290 |
| |
290 | 291 |
| |
|
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+23Lines changed: 23 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
122 | 122 |
| |
123 | 123 |
| |
124 | 124 |
| |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
125 | 136 |
| |
126 | 137 |
| |
127 | 138 |
| |
| |||
156 | 167 |
| |
157 | 168 |
| |
158 | 169 |
| |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
159 | 182 |
| |
160 | 183 |
| |
161 | 184 |
| |
|
src/main/java/org/w3c/epubcheck/core/references/Reference.java
Copy file name to clipboardExpand all lines: src/main/java/org/w3c/epubcheck/core/references/Reference.java+20-1Lines changed: 20 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
15 | 15 |
| |
16 | 16 |
| |
17 | 17 |
| |
| 18 | + | |
18 | 19 |
| |
19 | 20 |
| |
20 | 21 |
| |
| |||
30 | 31 |
| |
31 | 32 |
| |
32 | 33 |
| |
33 |
| - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
34 | 53 |
| |
35 | 54 |
| |
36 | 55 |
| |
|
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+2-1Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
212 | 212 |
| |
213 | 213 |
| |
214 | 214 |
| |
215 |
| - | |
| 215 | + | |
| 216 | + | |
216 | 217 |
| |
217 | 218 |
| |
218 | 219 |
| |
|
File renamed without changes.
src/test/resources/com/adobe/epubcheck/tools/20-severity-tester/OPS/toc.ncx
Copy file name to clipboardExpand all lines: src/test/resources/com/adobe/epubcheck/tools/20-severity-tester/OPS/toc.ncx+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
15 |
| - | |
| 15 | + | |
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
|
File renamed without changes.
src/test/resources/com/adobe/epubcheck/tools/20-warning-tester/OPS/content_002.xhtml
Copy file name to clipboardExpand all lines: src/test/resources/com/adobe/epubcheck/tools/20-warning-tester/OPS/content_002.xhtml-11Lines changed: 0 additions & 11 deletions
This file was deleted.
src/test/resources/com/adobe/epubcheck/tools/20-warning-tester/OPS/package.opf
Copy file name to clipboardExpand all lines: src/test/resources/com/adobe/epubcheck/tools/20-warning-tester/OPS/package.opf+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
9 |
| - | |
| 9 | + | |
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
|
You can’t perform that action at this time.
0 commit comments