Skip to content

media-type requirements on link #1307

Closed

Description

@mattgarrish

Epubcheck always emits an error on link rel="record" if the media-type attribute is missing, but we changed the requirement for 3.1 so that media-type is only required for resources in the container. See w3c/epub-specs#702

The spec wording is now:

The media-type attribute is OPTIONAL when a linked resource is located outside the EPUB Container, as more than one media type could be served from the same URL [URL]. EPUB Creators MUST specify the attribute for all Local Resources.

If you specify any other rel value, epubcheck doesn't appear to require media-type on resources in the container, but should per this definition.

Activity

  1. self-assigned this
    on Mar 8, 2022
  2. modified the milestones: v5.0.0-beta, v5.0.0 on Mar 8, 2022
  3. added
    type: specThe issue is related to a Specification update
    on Mar 8, 2022
  4. modified the milestones: v5.0.0, v5.0.0-beta on Apr 1, 2022
  5. mattgarrish commented on Sep 13, 2022

    @mattgarrish
    MemberAuthor

    FYI, I just made a test to check if a local resource would get flagged (in the testing branch), but there isn't an error in the beta-2 release.

  6. added
    status: in progressThe issue is being implemented by the development team
    and removed on Nov 18, 2022
  7. added a commit that references this issue on Nov 28, 2022
    3199b81
  8. added and removed
    status: in progressThe issue is being implemented by the development team
    on Dec 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

status: completedWork completed, can be closedtype: specThe issue is related to a Specification update

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    ⌂ 换网址