Reminder About EPUB Validation

Publishers that are providing distribution-ready files should make sure the ePubs validate and are free of errors before sending them to NBN. The latest ePub standard is 4.0.1, but some vendors are still using 3.0.1 to validate files and will reject files that don’t validate to that version. To check ePubs that are less than 10MB, you can use this IDPF validator. Common validation warnings and errors are below:

WARNING: Filenames contains spaces. Consider changing filenames such that URI escaping is not necessary
SOLUTION: Remove the spaces from the files names of the .html and .jpg files inside the ePub.
EPUBCHECK VERSION: 3.0.0, 3.0.1, 4.0.1

ERROR: element “font” not allowed anywhere; expected the element end-tag, text or element “a”, “abbr”, “acronym”, “applet”, “b”, “bdo”, “big”, “br”, “cite”, “code”, “del”, “dfn”, “em”, “i”, “iframe”, “img”, “ins”, “kbd”, “map”, “noscript”, “ns:svg”, “object”, “q”, “samp”, “script”, “small”, “span”, “strong”, “sub”, “sup”, “tt” or “var” (with xmlns:ns=”http://www.w3.org/2000/svg“)
SOLUTION: Instead of using a font tag, set the font size in the CSS stylesheet using the font-size property, and then apply that style to the line or paragraph that had the font tag.
EPUBCHECK VERSION: 3.0.0, 3.0.1, 4.0.1

ERROR: Non-standard stylesheet resource ‘OEBPS/page-template.xpgt’ of type ‘application/adobe-page-template+xml’. A fallback must be specified.
SOLUTION: Remove the reference to the page-template stylesheet.
EPUBCHECK VERSION: 3.0.1; This error is due to a glitch in epubcheck 3.0.1 but some vendors are still using that version, so files with this error won’t go up on those sites.

ERROR: OEBPS/Fonts/Fontname: referenced resource missing in the package (or /OEBPS/template.css: Referenced resource could not be found in the EPUB.)
SOLUTION: The font file is missing from within the ePub, In most cases, you can simply remove the src=”…” text from the place of reference since the ePub isn’t loading the font anyway.
EPUBCHECK VERSION: 3.0.0, 3.0.1, 4.0.1

ERROR: Referenced resource could not be found in the EPUB.
SOLUTION: A link or reference is made to content not provided within the ePub. This can be caused by several things including: 1. an improperly embedded font, 2. missing image file, or 3. incorrectly written hyperlink to a web address. Add the missing content or remove the reference.
EPUBCHECK VERSION: 3.0.0, 3.0.1, 4.0.1

ERROR: File name contains the following non-ascii characters: […]. Consider changing the filename.
SOLUTION: Change the file name of the image or html file that so that it contains only US keyboard characters.
EPUBCHECK VERSION: 3.0.0, 3.0.1, 4.0.1

If you have any questions about if your eBooks have validation errors, your Fusion representative will be glad to help.

Advertisements

Leave a comment

Filed under ePUB creation, File creation, Submission Requirements, Tech Tips, Uncategorized

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s