I did my usual: LibreOffice ODT exported with Writer2Epub then edited in Calibre. Uploaded it to my usual site and got rejected with many errors. So I checked the file with epubcheck and validator and they both also reported many errors. This is after Calibre reported no errors. Here are the errors:
Spoiler:
ePubcheck
ERROR(RSC-005): ./books/Bo/databases/eBookIt/temp_uploads/1669219119.epub/index_split_001.xhtml(2,60): Error while parsing file: attribute "class" not allowed here; expected attribute "dir", "lang", "version" or "xml:lang"
ERROR(RSC-005): ./books/Bo/databases/eBookIt/temp_uploads/1669219119.epub/index_split_002.xhtml(2,60): Error while parsing file: attribute "class" not allowed here; expected attribute "dir", "lang", "version" or "xml:lang"
ERROR(RSC-005): ./books/Bo/databases/eBookIt/temp_uploads/1669219119.epub/index_split_004.xhtml(2,60): Error while parsing file: attribute "class" not allowed here; expected attribute "dir", "lang", "version" or "xml:lang"
ERROR(RSC-005): ./books/Bo/databases/eBookIt/temp_uploads/1669219119.epub/index_split_005.xhtml(2,60): Error while parsing file: attribute "class" not allowed here; expected attribute "dir", "lang", "version" or "xml:lang"
ERROR(RSC-005): ./books/Bo/databases/eBookIt/temp_uploads/1669219119.epub/index_split_006.xhtml(2,60): Error while parsing file: attribute "class" not allowed here; expected attribute "dir", "lang", "version" or "xml:lang"
ERROR(RSC-005): ./books/Bo/databases/eBookIt/temp_uploads/1669219119.epub/index_split_007.xhtml(2,60): Error while parsing file: attribute "class" not allowed here; expected attribute "dir", "lang", "version" or "xml:lang"
ERROR(RSC-005): ./books/Bo/databases/eBookIt/temp_uploads/1669219119.epub/index_split_008.xhtml(2,60): Error while parsing file: attribute "class" not allowed here; expected attribute "dir", "lang", "version" or "xml:lang"
ERROR(RSC-005): ./books/Bo/databases/eBookIt/temp_uploads/1669219119.epub/index_split_009.xhtml(2,60): Error while parsing file: attribute "class" not allowed here; expected attribute "dir", "lang", "version" or "xml:lang"
ERROR(RSC-005): ./books/Bo/databases/eBookIt/temp_uploads/1669219119.epub/index_split_010.xhtml(2,60): Error while parsing file: attribute "class" not allowed here; expected attribute "dir", "lang", "version" or "xml:lang"
ERROR(RSC-005): ./books/Bo/databases/eBookIt/temp_uploads/1669219119.epub/index_split_011.xhtml(2,60): Error while parsing file: attribute "class" not allowed here; expected attribute "dir", "lang", "version" or "xml:lang"
ERROR(RSC-005): ./books/Bo/databases/eBookIt/temp_uploads/1669219119.epub/index_split_012.xhtml(2,60): Error while parsing file: attribute "class" not allowed here; expected attribute "dir", "lang", "version" or "xml:lang"
ERROR(RSC-005): ./books/Bo/databases/eBookIt/temp_uploads/1669219119.epub/index_split_013.xhtml(2,60): Error while parsing file: attribute "class" not allowed here; expected attribute "dir", "lang", "version" or "xml:lang"
ERROR(RSC-005): ./books/Bo/databases/eBookIt/temp_uploads/1669219119.epub/index_split_014.xhtml(2,60): Error while parsing file: attribute "class" not allowed here; expected attribute "dir", "lang", "version" or "xml:lang"
ERROR(RSC-005): ./books/Bo/databases/eBookIt/temp_uploads/1669219119.epub/index_split_015.xhtml(2,60): Error while parsing file: attribute "class" not allowed here; expected attribute "dir", "lang", "version" or "xml:lang"
ERROR(RSC-005): ./books/Bo/databases/eBookIt/temp_uploads/1669219119.epub/index_split_016.xhtml(2,60): Error while parsing file: attribute "class" not allowed here; expected attribute "dir", "lang", "version" or "xml:lang"
ERROR(RSC-005): ./books/Bo/databases/eBookIt/temp_uploads/1669219119.epub/index_split_017.xhtml(2,60): Error while parsing file: attribute "class" not allowed here; expected attribute "dir", "lang", "version" or "xml:lang"
ERROR(RSC-005): ./books/Bo/databases/eBookIt/temp_uploads/1669219119.epub/index_split_018.xhtml(2,60): Error while parsing file: attribute "class" not allowed here; expected attribute "dir", "lang", "version" or "xml:lang"
ERROR(RSC-005): ./books/Bo/databases/eBookIt/temp_uploads/1669219119.epub/index_split_019.xhtml(2,60): Error while parsing file: attribute "class" not allowed here; expected attribute "dir", "lang", "version" or "xml:lang"
ERROR(RSC-005): ./books/Bo/databases/eBookIt/temp_uploads/1669219119.epub/index_split_020.xhtml(2,60): Error while parsing file: attribute "class" not allowed here; expected attribute "dir", "lang", "version" or "xml:lang"
ERROR(RSC-005): ./books/Bo/databases/eBookIt/temp_uploads/1669219119.epub/index_split_021.xhtml(2,60): Error while parsing file: attribute "class" not allowed here; expected attribute "dir", "lang", "version" or "xml:lang"
ERROR(RSC-005): ./books/Bo/databases/eBookIt/temp_uploads/1669219119.epub/index_split_022.xhtml(2,60): Error while parsing file: attribute "class" not allowed here; expected attribute "dir", "lang", "version" or "xml:lang"
ERROR(RSC-005): ./books/Bo/databases/eBookIt/temp_uploads/1669219119.epub/index_split_023.xhtml(2,60): Error while parsing file: attribute "class" not allowed here; expected attribute "dir", "lang", "version" or "xml:lang"
ERROR(RSC-005): ./books/Bo/databases/eBookIt/temp_uploads/1669219119.epub/index_split_024.xhtml(2,60): Error while parsing file: attribute "class" not allowed here; expected attribute "dir", "lang", "version" or "xml:lang"
ERROR(RSC-005): ./books/Bo/databases/eBookIt/temp_uploads/1669219119.epub/index_split_025.xhtml(2,60): Error while parsing file: attribute "class" not allowed here; expected attribute "dir", "lang", "version" or "xml:lang"
ERROR(RSC-005): ./books/Bo/databases/eBookIt/temp_uploads/1669219119.epub/index_split_026.xhtml(2,60): Error while parsing file: attribute "class" not allowed here; expected attribute "dir", "lang", "version" or "xml:lang"
ERROR(RSC-005): ./books/Bo/databases/eBookIt/temp_uploads/1669219119.epub/index_split_027.xhtml(2,60): Error while parsing file: attribute "class" not allowed here; expected attribute "dir", "lang", "version" or "xml:lang"
ERROR(RSC-005): ./books/Bo/databases/eBookIt/temp_uploads/1669219119.epub/index_split_028.xhtml(2,60): Error while parsing file: attribute "class" not allowed here; expected attribute "dir", "lang", "version" or "xml:lang"
ERROR(RSC-005): ./books/Bo/databases/eBookIt/temp_uploads/1669219119.epub/index_split_029.xhtml(2,60): Error while parsing file: attribute "class" not allowed here; expected attribute "dir", "lang", "version" or "xml:lang"
ERROR(RSC-005): ./books/Bo/databases/eBookIt/temp_uploads/1669219119.epub/index_split_030.xhtml(2,60): Error while parsing file: attribute "class" not allowed here; expected attribute "dir", "lang", "version" or "xml:lang"
ERROR(RSC-005): ./books/Bo/databases/eBookIt/temp_uploads/1669219119.epub/index_split_031.xhtml(2,60): Error while parsing file: attribute "class" not allowed here; expected attribute "dir", "lang", "version" or "xml:lang"
ERROR(RSC-005): ./books/Bo/databases/eBookIt/temp_uploads/1669219119.epub/index_split_032.xhtml(2,60): Error while parsing file: attribute "class" not allowed here; expected attribute "dir", "lang", "version" or "xml:lang"
ERROR(RSC-005): ./books/Bo/databases/eBookIt/temp_uploads/1669219119.epub/index_split_033.xhtml(2,60): Error while parsing file: attribute "class" not allowed here; expected attribute "dir", "lang", "version" or "xml:lang"
ERROR(RSC-005): ./books/Bo/databases/eBookIt/temp_uploads/1669219119.epub/index_split_034.xhtml(2,60): Error while parsing file: attribute "class" not allowed here; expected attribute "dir", "lang", "version" or "xml:lang"
ERROR(RSC-005): ./books/Bo/databases/eBookIt/temp_uploads/1669219119.epub/index_split_035.xhtml(2,60): Error while parsing file: attribute "class" not allowed here; expected attribute "dir", "lang", "version" or "xml:lang"
ERROR(RSC-005): ./books/Bo/databases/eBookIt/temp_uploads/1669219119.epub/index_split_036.xhtml(2,60): Error while parsing file: attribute "class" not allowed here; expected attribute "dir", "lang", "version" or "xml:lang"
ERROR(RSC-005): ./books/Bo/databases/eBookIt/temp_uploads/1669219119.epub/index_split_037.xhtml(2,60): Error while parsing file: attribute "class" not allowed here; expected attribute "dir", "lang", "version" or "xml:lang"
ERROR(RSC-005): ./books/Bo/databases/eBookIt/temp_uploads/1669219119.epub/index_split_038.xhtml(2,60): Error while parsing file: attribute "class" not allowed here; expected attribute "dir", "lang", "version" or "xml:lang"
ERROR(RSC-005): ./books/Bo/databases/eBookIt/temp_uploads/1669219119.epub/index_split_039.xhtml(2,60): Error while parsing file: attribute "class" not allowed here; expected attribute "dir", "lang", "version" or "xml:lang"
ERROR(RSC-005): ./books/Bo/databases/eBookIt/temp_uploads/1669219119.epub/index_split_040.xhtml(2,60): Error while parsing file: attribute "class" not allowed here; expected attribute "dir", "lang", "version" or "xml:lang"
Draft2Digital ePub Validator
ERROR(RSC-005): .tmp.tmpkw89q0h5.epub/index_split_001.xhtml(2,60): Error while parsing file: attribute "class" not allowed here; expected attribute "dir", "lang", "version" or "xml:lang"
ERROR(RSC-005): .tmp.tmpkw89q0h5.epub/index_split_002.xhtml(2,60): Error while parsing file: attribute "class" not allowed here; expected attribute "dir", "lang", "version" or "xml:lang"
ERROR(RSC-005): .tmp.tmpkw89q0h5.epub/index_split_004.xhtml(2,60): Error while parsing file: attribute "class" not allowed here; expected attribute "dir", "lang", "version" or "xml:lang"
ERROR(RSC-005): .tmp.tmpkw89q0h5.epub/index_split_005.xhtml(2,60): Error while parsing file: attribute "class" not allowed here; expected attribute "dir", "lang", "version" or "xml:lang"
ERROR(RSC-005): .tmp.tmpkw89q0h5.epub/index_split_006.xhtml(2,60): Error while parsing file: attribute "class" not allowed here; expected attribute "dir", "lang", "version" or "xml:lang"
ERROR(RSC-005): .tmp.tmpkw89q0h5.epub/index_split_007.xhtml(2,60): Error while parsing file: attribute "class" not allowed here; expected attribute "dir", "lang", "version" or "xml:lang"
ERROR(RSC-005): .tmp.tmpkw89q0h5.epub/index_split_008.xhtml(2,60): Error while parsing file: attribute "class" not allowed here; expected attribute "dir", "lang", "version" or "xml:lang"
ERROR(RSC-005): .tmp.tmpkw89q0h5.epub/index_split_009.xhtml(2,60): Error while parsing file: attribute "class" not allowed here; expected attribute "dir", "lang", "version" or "xml:lang"
ERROR(RSC-005): .tmp.tmpkw89q0h5.epub/index_split_010.xhtml(2,60): Error while parsing file: attribute "class" not allowed here; expected attribute "dir", "lang", "version" or "xml:lang"
ERROR(RSC-005): .tmp.tmpkw89q0h5.epub/index_split_011.xhtml(2,60): Error while parsing file: attribute "class" not allowed here; expected attribute "dir", "lang", "version" or "xml:lang"
ERROR(RSC-005): .tmp.tmpkw89q0h5.epub/index_split_012.xhtml(2,60): Error while parsing file: attribute "class" not allowed here; expected attribute "dir", "lang", "version" or "xml:lang"
ERROR(RSC-005): .tmp.tmpkw89q0h5.epub/index_split_013.xhtml(2,60): Error while parsing file: attribute "class" not allowed here; expected attribute "dir", "lang", "version" or "xml:lang"
ERROR(RSC-005): .tmp.tmpkw89q0h5.epub/index_split_014.xhtml(2,60): Error while parsing file: attribute "class" not allowed here; expected attribute "dir", "lang", "version" or "xml:lang"
ERROR(RSC-005): .tmp.tmpkw89q0h5.epub/index_split_015.xhtml(2,60): Error while parsing file: attribute "class" not allowed here; expected attribute "dir", "lang", "version" or "xml:lang"
ERROR(RSC-005): .tmp.tmpkw89q0h5.epub/index_split_016.xhtml(2,60): Error while parsing file: attribute "class" not allowed here; expected attribute "dir", "lang", "version" or "xml:lang"
ERROR(RSC-005): .tmp.tmpkw89q0h5.epub/index_split_017.xhtml(2,60): Error while parsing file: attribute "class" not allowed here; expected attribute "dir", "lang", "version" or "xml:lang"
ERROR(RSC-005): .tmp.tmpkw89q0h5.epub/index_split_018.xhtml(2,60): Error while parsing file: attribute "class" not allowed here; expected attribute "dir", "lang", "version" or "xml:lang"
ERROR(RSC-005): .tmp.tmpkw89q0h5.epub/index_split_019.xhtml(2,60): Error while parsing file: attribute "class" not allowed here; expected attribute "dir", "lang", "version" or "xml:lang"
ERROR(RSC-005): .tmp.tmpkw89q0h5.epub/index_split_020.xhtml(2,60): Error while parsing file: attribute "class" not allowed here; expected attribute "dir", "lang", "version" or "xml:lang"
ERROR(RSC-005): .tmp.tmpkw89q0h5.epub/index_split_021.xhtml(2,60): Error while parsing file: attribute "class" not allowed here; expected attribute "dir", "lang", "version" or "xml:lang"
ERROR(RSC-005): .tmp.tmpkw89q0h5.epub/index_split_022.xhtml(2,60): Error while parsing file: attribute "class" not allowed here; expected attribute "dir", "lang", "version" or "xml:lang"
ERROR(RSC-005): .tmp.tmpkw89q0h5.epub/index_split_023.xhtml(2,60): Error while parsing file: attribute "class" not allowed here; expected attribute "dir", "lang", "version" or "xml:lang"
ERROR(RSC-005): .tmp.tmpkw89q0h5.epub/index_split_024.xhtml(2,60): Error while parsing file: attribute "class" not allowed here; expected attribute "dir", "lang", "version" or "xml:lang"
ERROR(RSC-005): .tmp.tmpkw89q0h5.epub/index_split_025.xhtml(2,60): Error while parsing file: attribute "class" not allowed here; expected attribute "dir", "lang", "version" or "xml:lang"
ERROR(RSC-005): .tmp.tmpkw89q0h5.epub/index_split_026.xhtml(2,60): Error while parsing file: attribute "class" not allowed here; expected attribute "dir", "lang", "version" or "xml:lang"
ERROR(RSC-005): .tmp.tmpkw89q0h5.epub/index_split_027.xhtml(2,60): Error while parsing file: attribute "class" not allowed here; expected attribute "dir", "lang", "version" or "xml:lang"
ERROR(RSC-005): .tmp.tmpkw89q0h5.epub/index_split_028.xhtml(2,60): Error while parsing file: attribute "class" not allowed here; expected attribute "dir", "lang", "version" or "xml:lang"
ERROR(RSC-005): .tmp.tmpkw89q0h5.epub/index_split_029.xhtml(2,60): Error while parsing file: attribute "class" not allowed here; expected attribute "dir", "lang", "version" or "xml:lang"
ERROR(RSC-005): .tmp.tmpkw89q0h5.epub/index_split_030.xhtml(2,60): Error while parsing file: attribute "class" not allowed here; expected attribute "dir", "lang", "version" or "xml:lang"
ERROR(RSC-005): .tmp.tmpkw89q0h5.epub/index_split_031.xhtml(2,60): Error while parsing file: attribute "class" not allowed here; expected attribute "dir", "lang", "version" or "xml:lang"
ERROR(RSC-005): .tmp.tmpkw89q0h5.epub/index_split_032.xhtml(2,60): Error while parsing file: attribute "class" not allowed here; expected attribute "dir", "lang", "version" or "xml:lang"
ERROR(RSC-005): .tmp.tmpkw89q0h5.epub/index_split_033.xhtml(2,60): Error while parsing file: attribute "class" not allowed here; expected attribute "dir", "lang", "version" or "xml:lang"
ERROR(RSC-005): .tmp.tmpkw89q0h5.epub/index_split_034.xhtml(2,60): Error while parsing file: attribute "class" not allowed here; expected attribute "dir", "lang", "version" or "xml:lang"
ERROR(RSC-005): .tmp.tmpkw89q0h5.epub/index_split_035.xhtml(2,60): Error while parsing file: attribute "class" not allowed here; expected attribute "dir", "lang", "version" or "xml:lang"
ERROR(RSC-005): .tmp.tmpkw89q0h5.epub/index_split_036.xhtml(2,60): Error while parsing file: attribute "class" not allowed here; expected attribute "dir", "lang", "version" or "xml:lang"
ERROR(RSC-005): .tmp.tmpkw89q0h5.epub/index_split_037.xhtml(2,60): Error while parsing file: attribute "class" not allowed here; expected attribute "dir", "lang", "version" or "xml:lang"
ERROR(RSC-005): .tmp.tmpkw89q0h5.epub/index_split_038.xhtml(2,60): Error while parsing file: attribute "class" not allowed here; expected attribute "dir", "lang", "version" or "xml:lang"
ERROR(RSC-005): .tmp.tmpkw89q0h5.epub/index_split_039.xhtml(2,60): Error while parsing file: attribute "class" not allowed here; expected attribute "dir", "lang", "version" or "xml:lang"
ERROR(RSC-005): .tmp.tmpkw89q0h5.epub/index_split_040.xhtml(2,60): Error while parsing file: attribute "class" not allowed here; expected attribute "dir", "lang", "version" or "xml:lang"
I repeated the process with directly converting the ODT in Calibre and with directly exporting it with LO. Many errors every time.
The book looks fine in computer-based ereaders, as well as my Sony PR650, but with those reported errors nobody's going to accept my ebook.
Has anybody else been seeing this kind of thing lately?
Hopefully you;ve used styles otherwise, you could have a big code cleanup job on your hands.
Yes, thanks, I've been using styles. I've fixed the problem by blundering about, my usual method. I took all instances of Title and Subtitle and replaced them with Heading. All the errors disappeared and the file was accepted for upload.
Yes, thanks, I've been using styles. I've fixed the problem by blundering about, my usual method. I took all instances of Title and Subtitle and replaced them with Heading. All the errors disappeared and the file was accepted for upload.
Now, how to remember that for next year.-)
Did you check that the formatting looks good? Acceptable for upland does not mean it looks good.