You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
mattgarrish commentedon Sep 13, 2022
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.
feat: new requirements of package link 'media-type' attribute