CARVIEW |
Select Language
HTTP/2 200
date: Tue, 15 Jul 2025 15:56:05 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/"e72e3f4d1f87049ca609082f874905ad"
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=KfVJh6Xl30lGiwdGWEMjPSPQXVJZw0y3%2FuQ6dkKN%2BMq0jjhmp5F%2FrAoZazgpF4cNTIf01WWTzQZ1IifLRm0YEX19Cnovd42dcr76%2FzKff%2BpethrLe2WvE8zvOL2OcMahdI4Se%2FFq2KMI8ac0bQd3QEpzSVouhwrbeJ5nT8CaYgX3yX5IixIfhCsj%2BGxl7M%2FrEYdHDEdp4%2BQB%2B5KbaWZbJPAtkYV3JboFtN7fieBuYxOybkdoU%2BF9yMvvm7X6edpTzQUTCaXeAnXzs8Nk5uQGqw%3D%3D--T0bBo3ME8D8B1NDT--jUqOh4EHV%2Fw5ETkrjLzLuA%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.878984701.1752594965; Path=/; Domain=github.com; Expires=Wed, 15 Jul 2026 15:56:05 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Wed, 15 Jul 2026 15:56:05 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: C28E:1BB543:1113CA:140220:68767A15
feat: check `epub:type` restrictions in XHTML and SVG · w3c/epubcheck@0fab5c8 · GitHub
Copy file name to clipboardExpand all lines: src/main/java/com/adobe/epubcheck/ops/OPSChecker.java
Copy file name to clipboardExpand all lines: src/main/java/com/adobe/epubcheck/xml/XMLValidators.java
Copy file name to clipboardExpand all lines: src/main/resources/com/adobe/epubcheck/schema/30/epub-nav-30.rnc
Copy file name to clipboardExpand all lines: src/main/resources/com/adobe/epubcheck/schema/30/epub-svg-30-informative.nvdl
Copy file name to clipboard
Copy file name to clipboard
Copy file name to clipboardExpand all lines: src/main/resources/com/adobe/epubcheck/schema/30/epub-svg-informative.rnc
Copy file name to clipboard
Copy file name to clipboardExpand all lines: src/main/resources/com/adobe/epubcheck/schema/30/mod/epub-mathml3-inc.rnc
Copy file name to clipboard
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 418
Commit 0fab5c8
committed
feat: check
This commit refactors the RelaxNG XHTML and SVG schemas to check that
the `epub:type` attribute is only allowed on:
- palpable content in XHTML
- structural, shape, and text elements in SVG
It also reorganizes and renames the schemas in a slightly more
consistent way.
Fixes #1348epub:type
restrictions in XHTML and SVG1 parent 8631b7d commit 0fab5c8Copy full SHA for 0fab5c8
File tree
Expand file treeCollapse file tree
32 files changed
+700
-358
lines changedFilter options
- src
- main
- java/com/adobe/epubcheck
- ops
- xml
- resources/com/adobe/epubcheck/schema/30
- mod
- test/resources
- epub-region-nav
- epub3
- 00-minimal/files/minimal/EPUB
- 06-content-document
- files
Expand file treeCollapse file tree
32 files changed
+700
-358
lines changedsrc/main/java/com/adobe/epubcheck/ops/OPSChecker.java
Copy file name to clipboardExpand all lines: src/main/java/com/adobe/epubcheck/ops/OPSChecker.java+2-2Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
56 | 56 |
| |
57 | 57 |
| |
58 | 58 |
| |
59 |
| - | |
| 59 | + | |
60 | 60 |
| |
61 | 61 |
| |
62 | 62 |
| |
63 |
| - | |
| 63 | + | |
64 | 64 |
| |
65 | 65 |
| |
66 | 66 |
| |
|
src/main/java/com/adobe/epubcheck/xml/XMLValidators.java
Copy file name to clipboardExpand all lines: src/main/java/com/adobe/epubcheck/xml/XMLValidators.java+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
39 | 39 |
| |
40 | 40 |
| |
41 | 41 |
| |
42 |
| - | |
| 42 | + | |
43 | 43 |
| |
44 | 44 |
| |
45 | 45 |
| |
|
src/main/resources/com/adobe/epubcheck/schema/30/epub-nav-30.rnc
Copy file name to clipboardExpand all lines: src/main/resources/com/adobe/epubcheck/schema/30/epub-nav-30.rnc+5Lines changed: 5 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
5 | 10 |
| |
6 | 11 |
| |
7 | 12 |
| |
|
src/main/resources/com/adobe/epubcheck/schema/30/epub-svg-informative.nvdl renamed to src/main/resources/com/adobe/epubcheck/schema/30/epub-svg-30-informative.nvdl
Copy file name to clipboardExpand all lines: src/main/resources/com/adobe/epubcheck/schema/30/epub-svg-30-informative.nvdl+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 | 3 |
| |
4 |
| - | |
| 4 | + | |
5 | 5 |
| |
6 | 6 |
| |
7 | 7 |
| |
|
src/main/resources/com/adobe/epubcheck/schema/30/epub-svg-30-informative.rnc
Copy file name to clipboard+17Lines changed: 17 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 | + |
src/main/resources/com/adobe/epubcheck/schema/30/epub-svg-30.rnc
Copy file name to clipboard+10-13Lines changed: 10 additions & 13 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
2 | 1 |
| |
3 |
| - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
4 | 7 |
| |
| 8 | + | |
| 9 | + | |
| 10 | + | |
5 | 11 |
| |
6 |
| - | |
7 |
| - | |
8 |
| - | |
9 |
| - | |
10 |
| - | |
11 |
| - | |
12 |
| - | |
13 |
| - | |
14 |
| - | |
15 |
| - | |
16 | 12 |
| |
17 |
| - | |
| 13 | + | |
| 14 | + |
src/main/resources/com/adobe/epubcheck/schema/30/epub-svg-informative.rnc
Copy file name to clipboardExpand all lines: src/main/resources/com/adobe/epubcheck/schema/30/epub-svg-informative.rnc-21Lines changed: 0 additions & 21 deletions
This file was deleted.
src/main/resources/com/adobe/epubcheck/schema/30/epub-xhtml-30.rnc
Copy file name to clipboard+4-17Lines changed: 4 additions & 17 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
2 | 1 |
| |
3 |
| - | |
4 |
| - | |
5 |
| - | |
6 |
| - | |
7 |
| - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
8 | 5 |
| |
9 |
| - | |
10 |
| - | |
11 |
| - | |
12 |
| - | |
13 |
| - | |
14 |
| - | |
15 |
| - | |
16 |
| - | |
17 |
| - | |
18 |
| - | |
19 |
| - | |
| 6 | + |
src/main/resources/com/adobe/epubcheck/schema/30/mod/epub-mathml3.rnc renamed to src/main/resources/com/adobe/epubcheck/schema/30/mod/epub-mathml3-inc.rnc
Copy file name to clipboardExpand all lines: src/main/resources/com/adobe/epubcheck/schema/30/mod/epub-mathml3-inc.rnc+3-2Lines changed: 3 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
29 | 29 |
| |
30 | 30 |
| |
31 | 31 |
| |
32 |
| - | |
33 | 32 |
| |
34 | 33 |
| |
35 | 34 |
| |
36 | 35 |
| |
37 | 36 |
| |
| 37 | + | |
| 38 | + | |
38 | 39 |
| |
39 | 40 |
| |
40 | 41 |
| |
41 | 42 |
| |
| 43 | + | |
42 | 44 |
| |
43 | 45 |
| |
44 | 46 |
| |
| |||
84 | 86 |
| |
85 | 87 |
| |
86 | 88 |
| |
87 |
| - | |
|
src/main/resources/com/adobe/epubcheck/schema/30/mod/epub-prefix-attr.rnc
Copy file name to clipboard+16-6Lines changed: 16 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
| 2 | + | |
2 | 3 |
| |
3 |
| - | |
4 |
| - | |
5 |
| - | |
6 |
| - | |
7 |
| - | |
8 |
| - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + |
You can’t perform that action at this time.
0 commit comments