Thread: epubcheck Error
View Single Post
Old 05-21-2024, 04:02 PM   #26
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,983
Karma: 147448039
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 mdpeterson42 View Post
Hi all,

I am trying to publish my first book. I wrote it in HTML and converted it to epub using Calibre. On the Google Play Store, I received the following error on about half of my splits and I have no idea how to address them:

Error while parsing file: attribute "class" not allowed here; expected attribute "dir", "lang", "version" or "xml:lang"

Any thoughts would be greatly appreciated.
The best solution (IMHO) is to convert your eBook to text. Then load the text into MS Word or Libra Office. Use styles to set the styles you want. Then take the DocX file and convert it to ePub and clean it up from there. There should be a lot less errors.
JSWolf is offline   Reply With Quote