![]() |
#1 |
Member
![]() Posts: 23
Karma: 10
Join Date: Aug 2010
Device: iPad
|
Error Message Has Wrong Line Number
The following error messages were generated by ePub validation at threepress.org:
ERROR: A Visual Guide to Mastering the Digitrax Zephyr.epub/content.opf(12): date value '2010-09-06T05:00:00+00:00' is not valid, YYYY[-MM[-DD]] expected ERROR: A Visual Guide to Mastering the Digitrax Zephyr.epub/zephyr_split_030.htm(2466): element "img" from namespace "http://www.w3.org/1999/xhtml" not allowed in this context ERROR: A Visual Guide to Mastering the Digitrax Zephyr.epub/zephyr_split_030.htm(2466): element "strong" from namespace "http://www.w3.org/1999/xhtml" not allowed in this context ERROR: A Visual Guide to Mastering the Digitrax Zephyr .epub/zephyr_split_030.htm(2468): element "sup" from namespace "http://www.w3.org/1999/xhtml" not allowed in this context ERROR: A Visual Guide to Mastering the Digitrax Zephyr.epub/zephyr_split_030.htm(2468): element "strong" from namespace "http://www.w3.org/1999/xhtml" not allowed in this context ERROR: A Visual Guide to Mastering the Digitrax Zephyr.epub/zephyr_split_030.htm(2469): element "img" from namespace "http://www.w3.org/1999/xhtml" not allowed in this context ERROR: A Visual Guide to Mastering the Digitrax Zephyr.epub/zephyr_split_030.htm(2469): element "br" from namespace "http://www.w3.org/1999/xhtml" not allowed in this context ERROR: A Visual Guide to Mastering the Digitrax Zephyr.epub/zephyr_split_030.htm(2470): element "br" from namespace "http://www.w3.org/1999/xhtml" not allowed in this context Check finished with warnings or errors! The problem with all but the first error is that zephyr_split_030.htm has only 1251 lines! Supposedly, the number in parentheses is the line containing the error, but with Sigil I can see only 1250 lines. Now for the first line. Where is "content.opf". Sigil does not list it within the "epub" file. Any ideas? |
![]() |
![]() |
![]() |
#2 | |
Created Sigil, FlightCrew
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
|
Quote:
This is an epub infrastructure file. You can see it by opening the epub with any zip tool. |
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Member
![]() Posts: 23
Karma: 10
Join Date: Aug 2010
Device: iPad
|
The line numbers must be off by at least 1200 if that is the cause. Could they possibly refer to line numbers in the original "htm" file? That does not seem to be the case. If the error messages do not refer to the correct file and the correct line, they are virtually useless.
|
![]() |
![]() |
![]() |
#4 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,196
Karma: 1281258
Join Date: Sep 2009
Device: PRS-505
|
Check that file again. I suspect some sort of junk has got itself inserted near the end. The errors you're seeing are possibly due to code being present after the closing </body> tag. The date error is a bug in threepress' epubcheck, which doesn't recognise the full W3CDTF date code that calibre uses.
|
![]() |
![]() |
![]() |
#5 |
Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 345
Karma: 3473
Join Date: Apr 2007
Location: Brooklyn, NY, USA
Device: iRex iLiad v1, Blackberry Tour, Kindle DX, iPad.
|
Generally speaking, if you want to check errors then I recommend unzipping the actual ePub and opening the relevant xhtml file in a text editor. On Windows, I think Notepad++ is highly useful for this kind of quick and dirty debugging.
|
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Member
![]() Posts: 23
Karma: 10
Join Date: Aug 2010
Device: iPad
|
Checking referenced file for errors
Quote:
|
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
error message: ERROR ITMS-4099: "Invalid ISBN: [#] at Book (MZItmspBookPac | NewDay | ePub | 3 | 10-07-2010 01:47 PM |
wrong number of pages in calibre and nook | woodwindow376 | Calibre | 1 | 07-27-2010 04:53 PM |
Error code number 1 | asocias | Calibre | 1 | 12-12-2009 03:24 PM |
html->lrf line spacing between wrong lines? | flowoeB | Calibre | 6 | 08-21-2009 12:43 PM |
Error message | thibaulthalpern | Calibre | 1 | 05-15-2009 03:12 PM |