![]() |
#1 |
Junior Member
![]() Posts: 4
Karma: 12
Join Date: Jul 2012
Device: none
|
ePubcheck 1.1/1.2 Validation line number
Upon running a validation check through Windows command line, I noticed for each error, regardless of the type, there is the same line number which makes it extremely difficult to locate. I've tried this on both OSX and Windows using ePubcheck versions 1.1 & 1.2 with the same results. Here is the output:
Code:
ERROR: C:\Users\Dropbox\Textbook EPUBs\Basics of Chemistry.epub /epub/gob-ch20_s06.html(3): element "p" not allowed here; expected the element e nd-tag, text or element "a", "abbr", "acronym", "applet", "b", "bdo", "big", "br ", "cite", "code", "del", "dfn", "em", "i", "iframe", "img", "ins", "kbd", "map" , "noscript", "ns:svg", "object", "q", "samp", "script", "small", "span", "stron g", "sub", "sup", "tt" or "var" (with xmlns:ns="http://www.w3.org/2000/svg") ERROR: C:\Users\Dropbox\Textbook EPUBs\Basics of Chemistry.epub /epub/gob-ch20_s06.html(3): element "p" not allowed here; expected the element e nd-tag, text or element "a", "abbr", "acronym", "applet", "b", "bdo", "big", "br ", "cite", "code", "del", "dfn", "em", "i", "iframe", "img", "ins", "kbd", "map" , "noscript", "ns:svg", "object", "q", "samp", "script", "small", "span", "stron g", "sub", "sup", "tt" or "var" (with xmlns:ns="http://www.w3.org/2000/svg") ERROR: C:\Users\Dropbox\Textbook EPUBs\Basics of Chemistry.epub /epub/gob-ch20_s06.html(3): element "p" not allowed here; expected the element e nd-tag, text or element "a", "abbr", "acronym", "applet", "b", "bdo", "big", "br ", "cite", "code", "del", "dfn", "em", "i", "iframe", "img", "ins", "kbd", "map" , "noscript", "ns:svg", "object", "q", "samp", "script", "small", "span", "stron g", "sub", "sup", "tt" or "var" (with xmlns:ns="http://www.w3.org/2000/svg") ERROR: C:\Users\Dropbox\Textbook EPUBs\Basics of Chemistry.epub /epub/gob-ch20_s06.html(3): element "p" not allowed here; expected the element e nd-tag, text or element "a", "abbr", "acronym", "applet", "b", "bdo", "big", "br ", "cite", "code", "del", "dfn", "em", "i", "iframe", "img", "ins", "kbd", "map" , "noscript", "ns:svg", "object", "q", "samp", "script", "small", "span", "stron g", "sub", "sup", "tt" or "var" (with xmlns:ns="http://www.w3.org/2000/svg") ERROR: C:\Users\Dropbox\Textbook EPUBs\Basics of Chemistry.epub /epub/gob-ch01_s02.html(3): 'gob-ch01_s01_f02': fragment identifier is not defin ed in 'epub/gob-ch01.html' ERROR: C:\Users\Dropbox\Textbook EPUBs\Basics of Chemistry.epub /epub/gob-ch03_s04.html(3): 'gob-ch03_s03_s01_t01': fragment identifier is not d efined in 'epub/gob-ch03_s03.html' ERROR: C:\Users\Dropbox\Textbook EPUBs\Basics of Chemistry.epub /epub/gob-ch03_s04.html(3): 'gob-ch03_s03_s01_t01': fragment identifier is not d efined in 'epub/gob-ch03_s03.html' ERROR: C:\Users\Dropbox\Textbook EPUBs\Basics of Chemistry.epub /epub/gob-ch03_s04.html(3): 'gob-ch03_s03_s01_t01': fragment identifier is not d efined in 'epub/gob-ch03_s03.html' ERROR: C:\Users\Dropbox\Textbook EPUBs\Basics of Chemistry.epub /epub/gob-ch03_s04.html(3): 'gob-ch03_s02_s02_f02': fragment identifier is not d efined in 'epub/gob-ch03_s02.html' ERROR: C:\Users\Dropbox\Textbook EPUBs\Basics of Chemistry.epub /epub/gob-ch04_s02.html(3): 'gob-ch03_s03_s01_t01': fragment identifier is not d efined in 'epub/gob-ch03_s03.html' |
![]() |
![]() |
![]() |
#2 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,546
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Maybe the file has no linebreaks (or they are not in a format recognized by epubcheck), so everything is in the same line.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Member
![]() Posts: 10
Karma: 10
Join Date: Jul 2012
Location: Chennai
Device: ipad, Kindle, Nook, kobo
|
un wanted P element
Hi,
I think you are used <p> element with in <p>. So kindly check this. this not allowed. Second one is link problem, You have to create id first. If idref's called in in same file, you have code: <a href= #id">----</a>. if other file <a href= 1.html#id">---</a>. |
![]() |
![]() |
![]() |
#4 |
Junior Member
![]() Posts: 4
Karma: 12
Join Date: Jul 2012
Device: none
|
Thanks for your responses. The bulk of the work was fixing the unique ID errors (reported by Sigil/Flightcrew) which were referring to duplicate ID's in just about every file. Once this was completed, miraculously, all other errors were dropped from ePubCheck. As strange as this is, it's why I use ePubCheck with Flightcrew.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Do the number of pages in an ebook differ from the number of pages in a physical book | Phoebemy | General Discussions | 12 | 07-19-2012 09:25 AM |
ePub validation in epubcheck 1.1 | islandcharlie | Conversion | 13 | 08-02-2011 09:28 PM |
Adding page breaks in Calibre breaks ePubcheck validation | bookraft | Conversion | 16 | 03-01-2011 01:23 PM |
Error Message Has Wrong Line Number | mrbillb | ePub | 5 | 09-08-2010 05:58 PM |
Web-based epubcheck upgraded to epubcheck 1.0.5 | kjk | ePub | 4 | 02-09-2010 09:53 PM |