Skip to content

media-type requirements on link #1307

@mattgarrish

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.

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