Commit 8eb8492
committed
feat: no longer check collection
This commit suppresses and removes the code of the following checks:
- `OPF-068`: checked that a role token were one the defined roles in
the collection role registry
(see https://idpf.github.io/epub-registries/roles/)
- `OPF-069`: checked that a custom role URL did not contain the string
"idpf.org".
These restrictions were removed in EPUB 3.3.
The attribute value is still tokenized, and any URL-looking string
(in the shape `scheme:something`) is checked to be a valid URL string.
Fix #1350.role
1 parent c733273 commit 8eb8492
File tree
4 files changed
+16
-28
lines changed- src
- main
- java/com/adobe/epubcheck
- messages
- opf
- resources/com/adobe/epubcheck/messages
- test/resources/epub3/05-package-document/files
4 files changed
+16
-28
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
257 | 257 | | |
258 | 258 | | |
259 | 259 | | |
260 | | - | |
261 | | - | |
| 260 | + | |
| 261 | + | |
262 | 262 | | |
263 | 263 | | |
264 | 264 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
407 | 407 | | |
408 | 408 | | |
409 | 409 | | |
410 | | - | |
411 | 410 | | |
412 | 411 | | |
413 | | - | |
414 | | - | |
415 | | - | |
416 | | - | |
417 | | - | |
418 | | - | |
419 | | - | |
420 | | - | |
421 | | - | |
| 412 | + | |
422 | 413 | | |
423 | 414 | | |
424 | 415 | | |
| 416 | + | |
425 | 417 | | |
426 | 418 | | |
427 | | - | |
428 | | - | |
429 | | - | |
430 | | - | |
431 | | - | |
432 | | - | |
433 | | - | |
434 | | - | |
435 | | - | |
436 | | - | |
437 | | - | |
438 | | - | |
439 | | - | |
| 419 | + | |
440 | 420 | | |
441 | 421 | | |
442 | 422 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
247 | 247 | | |
248 | 248 | | |
249 | 249 | | |
250 | | - | |
251 | | - | |
252 | | - | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
253 | 253 | | |
254 | 254 | | |
255 | 255 | | |
| |||
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
19 | 27 | | |
0 commit comments