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 05-06-2017, 10:52 AM   #1
ebookscovers
Enthusiast
ebookscovers began at the beginning.
 
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")'.
ebookscovers is offline   Reply With Quote
Old 05-06-2017, 10:19 PM   #2
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: 45,190
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Replace <li> with <div>
kovidgoyal is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 06:55 PM.


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