Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generated epub files seem to be not valid. #51

Open
stelim opened this issue Nov 26, 2014 · 1 comment
Open

Generated epub files seem to be not valid. #51

stelim opened this issue Nov 26, 2014 · 1 comment

Comments

@stelim
Copy link
Contributor

stelim commented Nov 26, 2014

I can not open any generated EPub-File in iBooks (Mac OS X 10.9.5, iBooks 1.0.1 (281))

http://validator.idpf.org/ tells me, that there are errors in these files.
https://metacpan.org/pod/EBook::EPUB::Check provides a tool, to validate epub-Files:

➜  epub_check  local/bin/epubcheck ~/Downloads/Release_Catalyst-View-ByCode-0.25.epub
Epubcheck Version 3.0.1

Validating against EPUB version 2.0
WARNING: /Users/stefan/Downloads/Release_Catalyst-View-ByCode-0.25.epub/OPS/content.opf: spine contains only non-linear resources
WARNING: /Users/stefan/Downloads/Release_Catalyst-View-ByCode-0.25.epub/OPS/text/1.xhtml: Irregular DOCTYPE: found '-//W3C//DTD XHTML 1.0 Strict//EN', expecting '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">'.
WARNING: /Users/stefan/Downloads/Release_Catalyst-View-ByCode-0.25.epub/OPS/text/2.xhtml: Irregular DOCTYPE: found '-//W3C//DTD XHTML 1.0 Strict//EN', expecting '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">'.
ERROR: /Users/stefan/Downloads/Release_Catalyst-View-ByCode-0.25.epub/OPS/text/1.xhtml(62,20): 'app-': fragment identifier is not defined in 'OPS/text/1.xhtml'

Check finished with warnings or errors
@reneeb
Copy link
Owner

reneeb commented Nov 27, 2014

Thanks for the report. I will have a look at it next week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants