Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Editor

Notices

Reply
 
Thread Tools Search this Thread
Old Yesterday, 03:32 PM   #1
Bremman
Junior Member
Bremman began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Jun 2025
Device: Kindle
Error message on numbered list -- epub

I sometimes have trouble with numbered lists when making epubs on Calibre. I learned last year that I get an error message when using a list: "1), 2), etc." or "(1), (2), etc.", but it has always worked when I use the simple list: "1., 2., etc." without parenthesis. Not today, though. It is flagging numbers 2 and 5 in this list, but not the others. Do you know why?
Attached Thumbnails
Click image for larger version

Name:	D2D epub validator.png
Views:	34
Size:	76.7 KB
ID:	221326   Click image for larger version

Name:	index_split_034.html(33).png
Views:	24
Size:	288.1 KB
ID:	221327   Click image for larger version

Name:	index_split_034.html(43).png
Views:	19
Size:	340.6 KB
ID:	221328  

Last edited by Bremman; Yesterday at 03:34 PM.
Bremman is offline   Reply With Quote
Old Yesterday, 09:17 PM   #2
Karellen
Wizard
Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.
 
Karellen's Avatar
 
Posts: 1,773
Karma: 9501034
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
If you upgrade your epub file to v3, does it clear the errors?
Karellen is offline   Reply With Quote
Advert
Old Yesterday, 10:01 PM   #3
enuddleyarbl
Guru
enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.
 
enuddleyarbl's Avatar
 
Posts: 811
Karma: 1538536
Join Date: Sep 2013
Device: Kobo Sage
I'm certainly no expert, but it looks good to me. Perhaps if you reversed the order of the class= and the value= bits so that value comes after class (it shouldn't make any difference, but there's nothing else in there besides ol, li, class and value -- all perfectly acceptable)?

EDIT: Could it possibly be an actual problem with EpubCheck? The version I'm using in the Calibre Editor is using version 3.3 rules vs 2.0.1 in whatever's throwing that error.

Code:
EPUBCheck 5.3.0
Validating using EPUB version 3.3 rules.

Last edited by enuddleyarbl; Yesterday at 10:16 PM.
enuddleyarbl is offline   Reply With Quote
Old Yesterday, 10:52 PM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 46,033
Karma: 29579868
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
This is a bug (well more a design limitation) in epubcheck. It validates against XHTML schemas. Nowadays HTML doesnt use XHTML schemas in any real rendering systems, making this part of epubcheck completely counterproductive. In this case the schema it validates against is complaining about the presence of value in <li> tags. This works in every real HTML rendering engine and thus calibre makes use of it. See this FAQ entry: https://manual.calibre-ebook.com/faq...e-is-not-valid
kovidgoyal is offline   Reply With Quote
Old Today, 02:00 PM   #5
Bremman
Junior Member
Bremman began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Jun 2025
Device: Kindle
Thank you for your replies! I sincerely appreciate it!

FYI: I thought you might be interested to know that I made a v3 version and tried it in D2D validator and it worked without showing an error. Then I downloaded both the v2 and v3 versions to my Kindle and both worked fine without errors.

Very grateful for your time!
Attached Thumbnails
Click image for larger version

Name:	Calibre - v3.png
Views:	6
Size:	30.0 KB
ID:	221361   Click image for larger version

Name:	D2D approves of v3.png
Views:	7
Size:	58.4 KB
ID:	221362  
Bremman is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Numbered list help Bigo2 Sigil 20 12-01-2021 11:38 PM
Converting Epub3 to mobi - TOC becomes numbered list readerwriter Conversion 7 10-21-2021 01:59 PM
Numbered List (ol) Problem w/Sigil v0.9.6 and Kindle planewryter Sigil 9 07-18-2016 10:22 PM
Numbered and bulleted list format lost on Nook Simple Touch epub Pondering ePub 2 10-15-2013 10:19 AM
Numbered list continuation bhuvana786 ePub 4 05-26-2010 02:17 AM


All times are GMT -4. The time now is 09:40 PM.


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