CARVIEW |
Select Language
HTTP/2 200
date: Tue, 15 Jul 2025 14:02:42 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/"695a8ce36c4af4f85a232cdb3ec1c54a"
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=LWbU4fg0B7rW0T5sx9HX8aB%2FEUu4rVGEkFuT%2FnXGCKpq6QdgJZ7lw6X0fO1bOtEPYsVmXUJUe5%2FP3cgrCMUkulS%2F9gvG6mpNSSSJI2U9jajECQ4Jwj8XrpLBUdYmAApA1qTv7U2yRBhOSPYQGAqNVvVpiV20o8LuJB4EduZltcSnXNUleV8tqo%2BUL5RqE1iDLLJhjjcjo%2F5GmHTugWoxeBL2FhrZitkRiUQLqWozX9gMsfbjQAkg8KYMACT8BjngIo2K7dZjQT3g%2FrIAGhvTdg%3D%3D--CjhhkT8%2FLII0phUT--5DK0oI%2ByxOQ4aabij%2BT3Pg%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.344816449.1752588162; Path=/; Domain=github.com; Expires=Wed, 15 Jul 2026 14:02:42 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Wed, 15 Jul 2026 14:02:42 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 8D6E:9BF98:9F2DEB:B2FA7E:68765F82
feat: better parse URL fragment micro syntaxes · w3c/epubcheck@bec390e · GitHub
Copy file name to clipboardExpand all lines: src/main/java/com/adobe/epubcheck/opf/OPFChecker.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/com/adobe/epubcheck/opf/XRefChecker.java
Copy file name to clipboardExpand all lines: src/main/java/com/adobe/epubcheck/ops/OPSHandler.java
Copy file name to clipboardExpand all lines: src/main/java/org/w3c/epubcheck/constants/MIMEType.java
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 418
Commit bec390e
committed
feat: better parse URL fragment micro syntaxes
This commit introduce a new `URLFragment` class to represent URL fragments.
Fragment strings are parsed into `URLFragment` instances using MIME type-specific logic, implementing some validity checks for a few micro syntaxes
including:
- shortand bare name IDs
- scheme-based fragments
- media fragments
SVG and HTML/XHTML MIME types are supported.
The parser is tested in the `url-fragment.feature` feature file, in a new `unit-tests` directory.1 parent 2e474e3 commit bec390eCopy full SHA for bec390e
File tree
Expand file treeCollapse file tree
9 files changed
+636
-32
lines changedFilter options
- src
- main/java
- com/adobe/epubcheck
- opf
- ops
- org/w3c/epubcheck
- constants
- url
- test
- java/org/w3c/epubcheck/url
- resources
- epub-previews/files/epub/preview-embedded-link-cfi-error/EPUB
- unit-tests
Expand file treeCollapse file tree
9 files changed
+636
-32
lines changedsrc/main/java/com/adobe/epubcheck/opf/OPFChecker.java
Copy file name to clipboardExpand all lines: src/main/java/com/adobe/epubcheck/opf/OPFChecker.java+3Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
116 | 116 |
| |
117 | 117 |
| |
118 | 118 |
| |
| 119 | + | |
| 120 | + | |
| 121 | + | |
119 | 122 |
| |
120 | 123 |
| |
121 | 124 |
| |
|
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+4-1Lines changed: 4 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
25 | 25 |
| |
26 | 26 |
| |
27 | 27 |
| |
| 28 | + | |
| 29 | + | |
28 | 30 |
| |
29 | 31 |
| |
30 | 32 |
| |
| |||
387 | 389 |
| |
388 | 390 |
| |
389 | 391 |
| |
390 |
| - | |
| 392 | + | |
| 393 | + | |
391 | 394 |
| |
392 | 395 |
| |
393 | 396 |
| |
|
src/main/java/com/adobe/epubcheck/opf/XRefChecker.java
Copy file name to clipboardExpand all lines: src/main/java/com/adobe/epubcheck/opf/XRefChecker.java+45-24Lines changed: 45 additions & 24 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
31 | 31 |
| |
32 | 32 |
| |
33 | 33 |
| |
34 |
| - | |
35 | 34 |
| |
| 35 | + | |
| 36 | + | |
36 | 37 |
| |
37 | 38 |
| |
38 | 39 |
| |
| |||
126 | 127 |
| |
127 | 128 |
| |
128 | 129 |
| |
| 130 | + | |
129 | 131 |
| |
130 | 132 |
| |
131 | 133 |
| |
| |||
137 | 139 |
| |
138 | 140 |
| |
139 | 141 |
| |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
140 | 149 |
| |
141 | 150 |
| |
142 | 151 |
| |
| |||
231 | 240 |
| |
232 | 241 |
| |
233 | 242 |
| |
234 |
| - | |
235 |
| - | |
236 | 243 |
| |
237 | 244 |
| |
238 | 245 |
| |
| |||
281 | 288 |
| |
282 | 289 |
| |
283 | 290 |
| |
284 |
| - | |
| 291 | + | |
285 | 292 |
| |
286 | 293 |
| |
287 | 294 |
| |
| |||
413 | 420 |
| |
414 | 421 |
| |
415 | 422 |
| |
416 |
| - | |
| 423 | + | |
| 424 | + | |
417 | 425 |
| |
418 | 426 |
| |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
419 | 432 |
| |
420 | 433 |
| |
421 | 434 |
| |
| |||
470 | 483 |
| |
471 | 484 |
| |
472 | 485 |
| |
473 |
| - | |
474 |
| - | |
475 | 486 |
| |
476 | 487 |
| |
477 | 488 |
| |
478 | 489 |
| |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
479 | 494 |
| |
480 |
| - | |
481 |
| - | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
482 | 498 |
| |
483 | 499 |
| |
484 | 500 |
| |
| |||
494 | 510 |
| |
495 | 511 |
| |
496 | 512 |
| |
497 |
| - | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
498 | 518 |
| |
499 | 519 |
| |
500 | 520 |
| |
501 | 521 |
| |
502 | 522 |
| |
503 | 523 |
| |
504 |
| - | |
| 524 | + | |
505 | 525 |
| |
506 | 526 |
| |
507 | 527 |
| |
508 | 528 |
| |
509 |
| - | |
| 529 | + | |
510 | 530 |
| |
511 | 531 |
| |
512 | 532 |
| |
513 | 533 |
| |
514 | 534 |
| |
515 |
| - | |
| 535 | + | |
516 | 536 |
| |
517 | 537 |
| |
518 | 538 |
| |
519 | 539 |
| |
520 | 540 |
| |
521 |
| - | |
| 541 | + | |
522 | 542 |
| |
523 | 543 |
| |
524 | 544 |
| |
| |||
527 | 547 |
| |
528 | 548 |
| |
529 | 549 |
| |
530 |
| - | |
| 550 | + | |
531 | 551 |
| |
532 | 552 |
| |
533 | 553 |
| |
| |||
551 | 571 |
| |
552 | 572 |
| |
553 | 573 |
| |
554 |
| - | |
| 574 | + | |
555 | 575 |
| |
556 | 576 |
| |
557 | 577 |
| |
| |||
562 | 582 |
| |
563 | 583 |
| |
564 | 584 |
| |
565 |
| - | |
566 |
| - | |
| 585 | + | |
567 | 586 |
| |
568 | 587 |
| |
569 |
| - | |
| 588 | + | |
570 | 589 |
| |
| 590 | + | |
571 | 591 |
| |
572 | 592 |
| |
573 | 593 |
| |
574 | 594 |
| |
575 |
| - | |
| 595 | + | |
576 | 596 |
| |
577 | 597 |
| |
578 | 598 |
| |
579 | 599 |
| |
580 | 600 |
| |
581 | 601 |
| |
582 |
| - | |
583 |
| - | |
| 602 | + | |
| 603 | + | |
584 | 604 |
| |
585 | 605 |
| |
586 | 606 |
| |
587 | 607 |
| |
588 | 608 |
| |
589 | 609 |
| |
590 |
| - | |
| 610 | + | |
591 | 611 |
| |
592 | 612 |
| |
593 | 613 |
| |
| |||
674 | 694 |
| |
675 | 695 |
| |
676 | 696 |
| |
677 |
| - | |
| 697 | + | |
| 698 | + | |
678 | 699 |
| |
679 | 700 |
| |
680 | 701 |
| |
|
src/main/java/com/adobe/epubcheck/ops/OPSHandler.java
Copy file name to clipboardExpand all lines: src/main/java/com/adobe/epubcheck/ops/OPSHandler.java-5Lines changed: 0 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
141 | 141 |
| |
142 | 142 |
| |
143 | 143 |
| |
144 |
| - | |
145 |
| - | |
146 |
| - | |
147 |
| - | |
148 |
| - | |
149 | 144 |
| |
150 | 145 |
| |
151 | 146 |
| |
|
src/main/java/org/w3c/epubcheck/constants/MIMEType.java
Copy file name to clipboardExpand all lines: src/main/java/org/w3c/epubcheck/constants/MIMEType.java+1-1Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
54 | 54 |
| |
55 | 55 |
| |
56 | 56 |
| |
57 |
| - | |
| 57 | + | |
58 | 58 |
| |
59 | 59 |
|
You can’t perform that action at this time.
0 commit comments