Skip to content
EPUBCheck · Package document (OPF)

EPUBCheck OPF-095: voicing link not audio

Updated:

EPUBCheck OPF-095 is an error message: “The "media-type" attribute of "voicing" links must be an audio MIME type, but found "…".” A voicing link in the metadata declares a media type that is not audio. A voicing link points to a recording of a title or name being spoken, so its media type must be an audio type.

The official message

The "media-type" attribute of "voicing" links must be an audio MIME type, but found "%1$s".

Default severity
Error. The EPUB breaks a rule of the specification and is invalid. Stores and Send to Kindle may reject it, and EPUBCheck exits with status 1.
EPUBCheck version
5.4.0

%1$s, %2$s… are filled in with the file, value or element EPUBCheck found.

Typical causes

  • A media type typo, such as audio/mp3 written as application/mp3.
  • A link to a non-audio file marked as voicing by mistake.
  • A media type copied from another link.

How to fix it

  1. Find the link EPUBCheck points to and check the file it links to.
  2. Set media-type to the file's real audio type, for example audio/mpeg for MP3 or audio/mp4 for AAC.
  3. If the file is not audio, change rel or remove the link.

When it's not this

If the voicing link has no media type at all, that is OPF-094.

Terms used here

Other OPF messages

  • OPF-094 The "media-type" attribute is required for "…" links.
  • OPF-096 Non-linear content must be reachable, but found no hyperlink to "…".
  • OPF-096b No hyperlink was found to non-linear document "…", please check that it can be reached from scripted content.
  • OPF-093 The "media-type" attribute is required for linked resources located in the EPUB container
  • OPF-097 Resource "…" is listed in the manifest, but no reference to it was found in content documents.
  • OPF-092 Language tag "…" is not well-formed: …

Sources

Message text and severity from EPUBCheck 5.4.0 (W3C, BSD-3-Clause). Explanation by EpubCC.

FAQ

What does EPUBCheck OPF-095 mean?

EPUBCheck OPF-095 is an error message: “The "media-type" attribute of "voicing" links must be an audio MIME type, but found "…".” A voicing link in the metadata declares a media type that is not audio. A voicing link points to a recording of a title or name being spoken, so its media type must be an audio type.

Is OPF-095 an error?

OPF-095 is reported as error by default. The EPUB breaks a rule of the specification and is invalid. Stores and Send to Kindle may reject it, and EPUBCheck exits with status 1.

PDF to EPUB tools

Every tool uses the same engine and starts with a free 5-page sample.