Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecated link relationships #885

Closed
mattgarrish opened this issue Nov 12, 2018 · 0 comments
Closed

Deprecated link relationships #885

mattgarrish opened this issue Nov 12, 2018 · 0 comments
Assignees
Labels
spec: EPUB 3.2 Impacting the support of EPUB 3.2 status: completed Work completed, can be closed
Milestone

Comments

@mattgarrish
Copy link
Member

Use of the following link relationships is now deprecated:

  • marc21xml-record
  • mods-record
  • onix-record
  • xml-signature
  • xmp-record

Reference: https://idpf.github.io/epub-vocabs/package/link/#sec-link-properties

@mattgarrish mattgarrish added spec: EPUB 3.2 Impacting the support of EPUB 3.2 status: accepted Ready to be further processed labels Nov 12, 2018
@rdeltour rdeltour self-assigned this Feb 4, 2019
@rdeltour rdeltour added this to the 4.2.0-beta milestone Feb 4, 2019
@rdeltour rdeltour added status: in progress The issue is being implemented by the development team and removed status: accepted Ready to be further processed labels Feb 4, 2019
rdeltour added a commit that referenced this issue Feb 8, 2019
Fix #883, Fix #884, Fix #885, Fix #886

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.
rdeltour added a commit that referenced this issue Feb 8, 2019
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.
@rdeltour rdeltour added status: has PR The issue is being processed in a pull request status: completed Work completed, can be closed and removed status: in progress The issue is being implemented by the development team status: has PR The issue is being processed in a pull request labels Feb 8, 2019
@rdeltour rdeltour closed this as completed Feb 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
spec: EPUB 3.2 Impacting the support of EPUB 3.2 status: completed Work completed, can be closed
Projects
None yet
Development

No branches or pull requests

2 participants