You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Epub files currently output are malformed. This caused the following error on calibre-web, which was resolved when I removed the malformed epubs from my library:
lxml.etree.XMLSyntaxError: Namespace prefix dc on title is not defined, line 4, column 14
Checking the epubs with epubcheck returns three errors:
ERROR(RSC-005): ./books/Bo/databases/eBookIt/temp_uploads/1690815957.epub/OEBPS/content.opf(-1,-1): Error while parsing file: The prefix "dc" for element "dc:title" is not bound.
ERROR(OPF-001): ./books/Bo/databases/eBookIt/temp_uploads/1690815957.epub/OEBPS/content.opf(-1,-1): There was an error when parsing the EPUB version: Version not found.
ERROR(PKG-007): ./books/Bo/databases/eBookIt/temp_uploads/1690815957.epub/mimetype(-1,-1): Mimetype file should only contain the string "application/epub+zip" and should not be compressed.
Therefore, it seems to be the title element specifically that is causing the issue here, but there shouldn't be the other errors either.
Expected behavior
Epubs should be valid against W3C standards and compatible with standard epub software.
@blogbourri Thanks for report, we work on this can you please give me a link example?
Or confirm if this file work fine in your device? (image too) book.zip
@blogbourri Thanks for report, we work on this can you please give me a link example? Or confirm if this file work fine in your device? (image too) book.zip
just tested your epub and yes it does work :)
if you still want an example that breaks it, you can try this one:
Data
Describe the bug / actual behavior
Epub files currently output are malformed. This caused the following error on calibre-web, which was resolved when I removed the malformed epubs from my library:
janeczku/calibre-web#2834
Note from the error message:
lxml.etree.XMLSyntaxError: Namespace prefix dc on title is not defined, line 4, column 14
Checking the epubs with epubcheck returns three errors:
Therefore, it seems to be the title element specifically that is causing the issue here, but there shouldn't be the other errors either.
Expected behavior
Epubs should be valid against W3C standards and compatible with standard epub software.
To Reproduce
Steps to reproduce the behavior:
The text was updated successfully, but these errors were encountered: