View Single Post
Old 10-16-2022, 02:05 PM   #3
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,921
Karma: 146918083
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 Simons Mith View Post
I was using epubcheck, and it's validating an epub of mine to version 2.0.1

I'm getting an error as follows:
ERROR(RSC-005): ebook.epub/OPS/xhtml/chapter10.xhtml(234,15): Error while parsing file: attribute "start" not allowed here; expected attribute "class", "dir", "id", "lang", "style", "title" or "xml:lang"

The culprit is an <ol> tag which resumes from an earlier section so needs to start counting from 7. I'd prefer my book to validate correctly, but I wonder if this might be an oversight in the validator. Is epubcheck correct in telling me that 2.0.1 era epubs are not capable of using custom list numbering? None of the various ebook readers I've tried (including Calibre) appear upset by the glitch, and I'm wondering if it even IS an error.

IIRC somewhere on the IDPF pages there was a list of what tags/attributes are permissible in which epub version, but of course I can't find it right now
Yes, that's correct about ePub 2. You can try ePub 3 and see what happens.
JSWolf is offline   Reply With Quote