![]() |
#1 |
Enthusiast
![]() Posts: 34
Karma: 10
Join Date: Mar 2019
Device: epub
|
Epub error
Hi everyone, the validation of an epub made with sigil mi gives this error:
Error while parsing file: element "li" not allowed here; expected the element end-tag, text or element "a", "abbr", "acronym", "address", "applet", "b", "bdo", "big", "blockquote", "br", "cite", "code", "del", "dfn", "div", "dl", "em", "h1", "h2", "h3", "h4", "h5", "h6", "hr", "i", "iframe", "img", "ins", "kbd", "map", "noscript", "ns:svg", "object", "ol", "p", "pre", "q", "samp", "script", "small", "span", "strong", "sub", "sup", "table", "tt", "ul" or "var" (with xmlns:ns="http://www.w3.org/2000/svg") the problem that does not tell me the exact point, can someone help me? Thank you |
![]() |
![]() |
![]() |
#2 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,766
Karma: 6000000
Join Date: Nov 2009
Device: many
|
Is this the flightcrew plugin or the epubcheck plugin. Both should open the validation window and by clicking on the error should take you to the correct file and line in CodeView.
|
![]() |
![]() |
![]() |
#3 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Quote:
Most likely you have a stray: Code:
<li>Example</li> Code:
<ul> <li>Example</li> </ul> Last edited by Tex2002ans; 03-12-2020 at 01:29 PM. |
|
![]() |
![]() |
![]() |
#4 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,062
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
I would guess you are trying to start a new BLOCK without closing out the previous one.
or you forgot to declare a list type eg <ul> befor using a <li> |
![]() |
![]() |
![]() |
#5 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,766
Karma: 6000000
Join Date: Nov 2009
Device: many
|
Yes for a broken tag pair (without a matching end tag) flightcrew will not detect that the end is missing until the enclosing block ends. In many cases, this will be the closing body tag. If so, and it is a missing tag pair, even Sigil's own built-in sanity check will detect it and give you the starting and ending line numbers.
|
![]() |
![]() |
![]() |
#6 |
Enthusiast
![]() Posts: 34
Karma: 10
Join Date: Mar 2019
Device: epub
|
epubceker
Thanks to everyone, the problem is that epubcecher that doesn't indigend me the line of code of the problem
|
![]() |
![]() |
![]() |
#7 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,766
Karma: 6000000
Join Date: Nov 2009
Device: many
|
But which one and how are you using it?
|
![]() |
![]() |
![]() |
#8 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,758
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
![]() |
![]() |
![]() |
#9 |
Enthusiast
![]() Posts: 34
Karma: 10
Join Date: Mar 2019
Device: epub
|
now I have used epubchecker and I have solved the problem because it showed me the exact lines
|
![]() |
![]() |
![]() |
#10 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,758
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
![]() |
![]() |
![]() |
#11 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,574
Karma: 204127028
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Nope. Not happening. I've got enough time wrapped up in distributing Sigil, I'm not taking on the added duties of being responsible for distributing someone else's software, too. The third-party plugin available will have to suffice.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Help with Apple error - ERROR ITMS-9000: ".epub: wrong namespace in filename.epub fil | muzammil | ePub | 1 | 11-30-2012 05:25 AM |
"Error importing EPUB. EOCD not found. Not a ZIP archive? (Error Code 1068)" | oren | ePub | 8 | 02-20-2012 07:20 AM |
"Error importing EPUB. EOCD not found. Not a ZIP archive? (Error Code 1068)" | oren | Android Devices | 1 | 02-20-2012 04:10 AM |