Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 07-28-2012, 02:21 AM   #1
steventaylor
Junior Member
steventaylor began at the beginning.
 
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'
steventaylor is offline   Reply With Quote
Advert
Old 07-28-2012, 05:44 AM   #2
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,062
Karma: 9175645
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.
Jellby is offline   Reply With Quote
Old 07-30-2012, 12:46 PM   #3
Jesver
Junior Member
Jesver began at the beginning.
 
Jesver's Avatar
 
Posts: 9
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>.
Jesver is offline   Reply With Quote
Old 08-08-2012, 06:40 PM   #4
steventaylor
Junior Member
steventaylor began at the beginning.
 
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.
steventaylor is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

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


All times are GMT -4. The time now is 09:59 AM.


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