![]() |
#1 |
Enthusiast
![]() Posts: 49
Karma: 10
Join Date: Mar 2016
Device: Ipad mini 2
|
TOC error from epub checker
have a small issue with the contents page at the back of the ebook. no errors in calibre check. all looks in order. Its on the nav.xhtml and its the line as follows for Chapter 5 entry. same issue with the others. once I fix one I can fix them all. I see its the element 'li' but what do I replace this line below with so it passes checker.
<li class="calibre13"><a href="Flow_6.xhtml" class="calibre14">Chapter 5</a></li> when I put through the epub checker it picks up: Error while parsing file 'element "li" not allowed here; expected the element end-tag or element "address", "blockquote", "del", "div", "dl", "h1", "h2", "h3", "h4", "h5", "h6", "hr", "ins", "noscript", "ns:svg", "ol", "p", "pre", "script", "table" or "ul" (with xmlns:ns="http://www.w3.org/2000/svg")'. |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,190
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Replace <li> with <div>
|
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Ibooks epub 3 error : exactly one 'toc' nav element must be present | Firebrand007 | ePub | 6 | 01-02-2015 10:00 PM |
Error when checking with ePub-Checker | gers1978 | ePub | 12 | 06-13-2013 04:24 PM |
Validation Error from ePub Checker | sgirsberger | ePub | 6 | 01-17-2012 05:20 PM |
TOC errors in PDF to EPUB conversion - software or user error? | AhShoo5n | Conversion | 4 | 08-28-2011 08:05 AM |
Epub validation error (toc) | StirlingEditor | Sigil | 4 | 07-22-2011 09:04 PM |