-
Notifications
You must be signed in to change notification settings - Fork 405
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: update Package vocabularies and link element checks
Fix #883, Fix #884, Fix #885, Fix #886, Fix #887 Vocabulary Changes: - Declare the Package Document default vocabularies with their unique URIs - `meta` element properties: http://idpf.org/epub/vocab/package/meta/# - `link` element rel and properties: http://idpf.org/epub/vocab/package/link/# - `item` element properties: http://idpf.org/epub/vocab/package/item/# - `itemref` element properties: http://idpf.org/epub/vocab/package/itemref/# - Define 'onix' and 'xmp' as the only valid unprefixed properties on `link` elements. - Recognize 'acquire' and 'alternate' as valid link rel keywords. - Deprecate the following link rel keywords: 'marc21xml-record', 'mods-record', 'onix-record', 'xml-signature', and 'xmp-record'. New messages: - `OPF-089` (`ERROR`) is reported when the 'alternate' link rel keyword is not the only keyword in a `link` element `rel` attribute. - Add replacement suggestions for deprecated link rel keywords (`OPF-086`). Tests: - add more tests on 'record' links. - minimize various existing `link`-related tests.
- Loading branch information
Showing
29 changed files
with
409 additions
and
159 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.