View Single Post
Old 01-14-2025, 06:29 PM   #185
ryder
Member
ryder began at the beginning.
 
Posts: 23
Karma: 10
Join Date: May 2024
Device: Clara 2E
Quote:
Originally Posted by Karellen View Post
I don't know. I can't see what the error is. Nor can I really see the code in the body of the chapter.
Hey, now I had the time to look further into the topic of errors of an epub. Here is an example how the conversion from epub to mobi and back to epub again can work. As you can see in the first picture there are 24 errors found by calibre and many more by epubcheck. The calibre errors are about invalid ids, the epubcheck finds errors of validation (the value of the attribute “id” is invalid. It has to be XML-name without a colon) (Col: 87 ERROR(RSC-005) and errors with attribute style is not allowed. Has to be dir, lang, version or xml:lang. (Col: 72 ERROR(RSC-005))

After the conversion from epub to mobi and from mobi back to epub you can see that the calibre errors are gone, but epubcheck finds other validation errors (took a screenshot of them). As you can see in the file preview window those ugly blank lines are gone so the reading flow is much better. But are those validation errors a dealbreaker or just something which could be ignored? Just want to understand more about epub errors. Thanks a lot.
Attached Thumbnails
Click image for larger version

Name:	before converting.jpg
Views:	114
Size:	584.0 KB
ID:	213084   Click image for larger version

Name:	after converting.jpg
Views:	87
Size:	525.8 KB
ID:	213085   Click image for larger version

Name:	epubcheck errors.jpg
Views:	92
Size:	257.9 KB
ID:	213086  
ryder is offline   Reply With Quote