Questions tagged [epubcheck]

EpubCheck is a tool to validate EPUB files.

Filter by
Sorted by
Tagged with
0 votes
0 answers
40 views

The mimetype file has an extra field of length n error, while generating an ebook from command line

I'm using command line in linux to generate an ebook from a directory. I use these commands to generate: First I add mimetype in the epub. zip -0 mp.epub mimetype Next I add META-INF/ and OEBPS/ ...
Rafid Al Haque's user avatar
1 vote
1 answer
90 views

Why does EPUBCheck report warnings and errors for ISO8601 date-time string?

While working on a PHP script that builds EPUB 3.0.1 content from external data, I encountered a situation where EPUBCheck complains about a valid ISO8601 date-time string in two places in the ...
Ray N. Franklin's user avatar
0 votes
2 answers
627 views

EpubCheck in Calibre gives errors with epub:type and aside

I get these two errors: ERROR(RSC-005): Error while parsing file 'attribute "epub:type" not allowed here; ERROR(RSC-005): Error while parsing file 'element "aside" not allowed anywhere; How can I ...
Dan's user avatar
  • 21
2 votes
1 answer
729 views

What tag use is expected in an ePub toc.xhtml?

I asked a similar question at What do I need my (ePub) toc.ncx to have?, but thought to create a different question about what to do for a toc.xhtml file. The error I am getting when I try to ...
Christos Hayward's user avatar
3 votes
0 answers
1k views

What do I need my (ePub) toc.ncx to have?

I am trying to figure out an appropriate toc.ncx that EpubCheck will recognize as correct. Right now I have: <?xml version="1.0" encoding="utf-8"?> <ncx version="2005-1" xmlns="http://www....
Christos Hayward's user avatar
1 vote
1 answer
754 views

ePub validator is giving me errors. How can I address these reported errors?

I am working a "Christmas tree packet" version of a kind of (version 3.0) ePub I am working on, and I would like help understanding the results. This ePub includes images, and is available from https:/...
Christos Hayward's user avatar
0 votes
2 answers
732 views

CSS error in EPUB

Epubcheck reports an error for a paragraph like: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/...
Paulb's user avatar
  • 185
3 votes
2 answers
1k views

The mimetype file has an extra field of length n. The use of the extra field feature of the ZIP format is not permitted for the mimetype file

I am using the C# library DotNetZip (Ionic.Zip and Ionic.Zlib) to generate an ebook from a directory. Directory looks like this: BookName | |___content/ | images/ | css/ | (html ...
zuddsy's user avatar
  • 131
1 vote
1 answer
199 views

How can we validate an ePub3 file in Windows 8 system [duplicate]

We have validate an ePub files in the epubcheck-3.0.1 version in windows 8.1 system, and we received below error message in the epub files. could you please help for us? ERROR: 9088098774672.epub: ...
Prabhu's user avatar
  • 11
6 votes
1 answer
602 views

Can an ePub 2.0 contain multiple .opf files?

I've received an ePub with the following structure: Abstract Container: META-INF/ container.xml varience.txt OEBPS/ content.opf Great Expectations.opf cover.html chapters/ ...
Matthew Dunlop's user avatar
15 votes
6 answers
10k views

epubcheck error: mimetype entry missing or not the first in archive

I have an ePub that returns "mimetype entry missing or not the first in archive" error in epubcheck, even though the mimetype file is correctly placed. How to fix that?
Allan Veloso's user avatar
8 votes
3 answers
5k views

How to run EpubCheck on Windows?

How to run EpubCheck on Windows and verify ePub erros without uploading to validator.idpf.org?
Allan Veloso's user avatar