CARVIEW |
Select Language
HTTP/2 200
date: Wed, 16 Jul 2025 23:30:02 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/"3d2e9c3b5b25c4f79ed4778c80bc8da8"
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=Mgok2REVr2jScihT2R5p%2FJcSaK8ojE7PbVoyE%2BR%2F98SEkLdVwkNL5cu2413J5%2F6NcBCVfI8IgL%2FDPp7XcTfILSP5Ww%2F6grnbymx6Y%2BALn7r03PvzRIrJ2PLH3hw%2BISXORJXmFGGzki8v%2BClR1YH32on1ewd10XyeNQP2FbhLOu0GAjRcURtdt%2FAASWZInHB%2B%2Bcu5SDy1hnoBOEIQ%2FUA1pJFZCrrUengiKLnZCBV1842nQIrPOJKmJJiAC2J3BXT%2FkDh0ZrijC4UBORtloyM20g%3D%3D--cF1Ek8b3wSwXxenj--Kb8HC68PMRGlGHLaKTS6xw%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1036042239.1752708601; Path=/; Domain=github.com; Expires=Thu, 16 Jul 2026 23:30:01 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Thu, 16 Jul 2026 23:30:01 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: B35A:30A5C3:12C116:1B1B00:687835F9
feat: new requirements of package link 'media-type' attribute · w3c/epubcheck@3199b81 · 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/OPFHandler30.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/main/resources/com/adobe/epubcheck/schema/30/package-30.sch
Copy file name to clipboardExpand all lines: src/test/resources/epub3/03-resources/files/file-url-in-package-document-error.opf
Copy file name to clipboardExpand all lines: src/test/resources/epub3/05-package-document/files/link-to-publication-resource-error.opf
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 418
Commit 3199b81
committed
feat: new requirements of package link 'media-type' attribute
This commit implements the new requirements of the `media-type` attribute
of the package document `link` element.
- new `OPF-093` error is reported when the `media-type` attribute is
missing on linked resources located inside the EPUB container
- new `OPF-094` error is reported when the `media-type` attribute is
missing on a link where the `rel` keyword requires it (this was
previously checked with Schematron)
- new `OPF-095` error is reported when the media type of a "voicing"
linked resource is not an audio type (this was previously checked with
Schematron)
These new checks are implemented in Java, and the old schematron logic
is removed.
Fixes #13071 parent 035effa commit 3199b81Copy full SHA for 3199b81
File tree
Expand file treeCollapse file tree
23 files changed
+150
-48
lines changedFilter options
- src
- main
- java/com/adobe/epubcheck
- messages
- opf
- resources/com/adobe/epubcheck
- messages
- schema/30
- test/resources/epub3
- 03-resources/files
- 05-package-document
- files
- package-link-media-type-missing-local-error
- EPUB
- META-INF
- package-link-media-type-missing-remote-valid
- EPUB
- META-INF
- package-link-missing-media-type-error/EPUB
- D-vocabularies
- files
Expand file treeCollapse file tree
23 files changed
+150
-48
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+3Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
283 | 283 |
| |
284 | 284 |
| |
285 | 285 |
| |
| 286 | + | |
| 287 | + | |
| 288 | + | |
286 | 289 |
| |
287 | 290 |
| |
288 | 291 |
| |
|
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+3Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
277 | 277 |
| |
278 | 278 |
| |
279 | 279 |
| |
| 280 | + | |
| 281 | + | |
| 282 | + | |
280 | 283 |
| |
281 | 284 |
| |
282 | 285 |
| |
|
src/main/java/com/adobe/epubcheck/opf/OPFHandler30.java
Copy file name to clipboardExpand all lines: src/main/java/com/adobe/epubcheck/opf/OPFHandler30.java+48-9Lines changed: 48 additions & 9 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
336 | 336 |
| |
337 | 337 |
| |
338 | 338 |
| |
339 |
| - | |
| 339 | + | |
340 | 340 |
| |
341 | 341 |
| |
342 | 342 |
| |
| |||
350 | 350 |
| |
351 | 351 |
| |
352 | 352 |
| |
353 |
| - | |
| 353 | + | |
354 | 354 |
| |
355 | 355 |
| |
356 | 356 |
| |
| |||
363 | 363 |
| |
364 | 364 |
| |
365 | 365 |
| |
366 |
| - | |
| 366 | + | |
367 | 367 |
| |
368 | 368 |
| |
369 | 369 |
| |
| |||
446 | 446 |
| |
447 | 447 |
| |
448 | 448 |
| |
449 |
| - | |
| 449 | + | |
450 | 450 |
| |
| 451 | + | |
451 | 452 |
| |
452 |
| - | |
| 453 | + | |
| 454 | + | |
453 | 455 |
| |
454 | 456 |
| |
455 |
| - | |
456 | 457 |
| |
457 | 458 |
| |
458 | 459 |
| |
459 | 460 |
| |
460 | 461 |
| |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
461 | 501 |
| |
462 | 502 |
| |
463 |
| - | |
464 | 503 |
| |
465 |
| - | |
466 |
| - | |
| 504 | + | |
467 | 505 |
| |
468 | 506 |
| |
469 | 507 |
| |
470 | 508 |
| |
| 509 | + | |
471 | 510 |
| |
472 | 511 |
| |
473 | 512 |
| |
|
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+3Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
289 | 289 |
| |
290 | 290 |
| |
291 | 291 |
| |
| 292 | + | |
| 293 | + | |
| 294 | + | |
292 | 295 |
| |
293 | 296 |
| |
294 | 297 |
| |
|
src/main/resources/com/adobe/epubcheck/schema/30/package-30.sch
Copy file name to clipboardExpand all lines: src/main/resources/com/adobe/epubcheck/schema/30/package-30.sch+2-3Lines changed: 2 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
34 | 34 |
| |
35 | 35 |
| |
36 | 36 |
| |
37 |
| - | |
38 |
| - | |
| 37 | + | |
39 | 38 |
| |
40 | 39 |
| |
41 | 40 |
| |
42 | 41 |
| |
43 | 42 |
| |
44 | 43 |
| |
45 | 44 |
| |
46 |
| - | |
| 45 | + | |
47 | 46 |
| |
48 | 47 |
| |
49 | 48 |
| |
|
src/test/resources/epub3/03-resources/files/file-url-in-package-document-error.opf
Copy file name to clipboardExpand all lines: src/test/resources/epub3/03-resources/files/file-url-in-package-document-error.opf+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5 | 5 |
| |
6 | 6 |
| |
7 | 7 |
| |
8 |
| - | |
| 8 | + | |
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
|
src/test/resources/epub3/05-package-document/files/link-to-publication-resource-error.opf
Copy file name to clipboardExpand all lines: src/test/resources/epub3/05-package-document/files/link-to-publication-resource-error.opf+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
|
You can’t perform that action at this time.
0 commit comments