|
|
#1 |
|
Junior Member
![]() 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?
Last edited by Bremman; Yesterday at 03:34 PM. |
|
|
|
|
|
#2 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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?
|
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
|
|
|
|
|
#4 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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
|
|
|
|
|
|
#5 |
|
Junior Member
![]() 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! |
|
|
|
| Advert | |
|
|
![]() |
|
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 |