Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 11-23-2022, 01:10 PM   #1
arjaybe
Wizard
arjaybe ought to be getting tired of karma fortunes by now.arjaybe ought to be getting tired of karma fortunes by now.arjaybe ought to be getting tired of karma fortunes by now.arjaybe ought to be getting tired of karma fortunes by now.arjaybe ought to be getting tired of karma fortunes by now.arjaybe ought to be getting tired of karma fortunes by now.arjaybe ought to be getting tired of karma fortunes by now.arjaybe ought to be getting tired of karma fortunes by now.arjaybe ought to be getting tired of karma fortunes by now.arjaybe ought to be getting tired of karma fortunes by now.arjaybe ought to be getting tired of karma fortunes by now.
 
arjaybe's Avatar
 
Posts: 1,069
Karma: 12500000
Join Date: Aug 2013
Location: Okanagan
Device: Sony PRS-650, Kobo Clara
Epub Check and Validator find many errors

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?

rjb
arjaybe is offline   Reply With Quote
Old 11-23-2022, 01:24 PM   #2
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,758
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Save as DOCX and then convert.

Hopefully you;ve used styles otherwise, you could have a big code cleanup job on your hands.
JSWolf is offline   Reply With Quote
Old 11-23-2022, 02:13 PM   #3
arjaybe
Wizard
arjaybe ought to be getting tired of karma fortunes by now.arjaybe ought to be getting tired of karma fortunes by now.arjaybe ought to be getting tired of karma fortunes by now.arjaybe ought to be getting tired of karma fortunes by now.arjaybe ought to be getting tired of karma fortunes by now.arjaybe ought to be getting tired of karma fortunes by now.arjaybe ought to be getting tired of karma fortunes by now.arjaybe ought to be getting tired of karma fortunes by now.arjaybe ought to be getting tired of karma fortunes by now.arjaybe ought to be getting tired of karma fortunes by now.arjaybe ought to be getting tired of karma fortunes by now.
 
arjaybe's Avatar
 
Posts: 1,069
Karma: 12500000
Join Date: Aug 2013
Location: Okanagan
Device: Sony PRS-650, Kobo Clara
Solved

Quote:
Originally Posted by JSWolf View Post
Save as DOCX and then convert.

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.

Now, how to remember that for next year.-)
arjaybe is offline   Reply With Quote
Old 11-23-2022, 05:16 PM   #4
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,758
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by arjaybe View Post
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.
JSWolf is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Errors from IDPF Epub Validator miss mary Sigil 2 02-10-2018 07:20 PM
EPUB Validator Persistent Errors johnarthurnichol ePub 6 01-24-2018 11:13 AM
Epub validator errors / ePub 3 2manymovies Workshop 6 05-06-2017 09:42 AM
Clean conversion BUT many errors in Epub Validator Peerie Conversion 3 12-29-2014 08:28 PM
Epub Validator Errors for iBooks Producer tcorsonk ePub 0 06-11-2014 05:10 PM


All times are GMT -4. The time now is 03:25 AM.


MobileRead.com is a privately owned, operated and funded community.