09-23-2010, 11:54 PM | #1 |
Guru
Posts: 774
Karma: 1211741
Join Date: May 2008
Location: Oregon
Device: EB1150, iPhone, Cool-er Purple, Pocketbook 360, Kindle Fire
|
epub validation error
I am very confused. I ran an epub I created in Sigil through a epub validation and I got the following errors:
ERROR: 9780982933053.epub/OEBPS/Text/titlepage.xhtml(19): bad value for attribute "preserveAspectRatio" ERROR: 9780982933053.epub/OEBPS/Text/index_split_001.xhtml(31): 'OEBPS/Text/': referenced resource missing in the package ERROR: 9780982933053.epub/OEBPS/Text/index_split_004.xhtml(50): 'OEBPS/Text/': referenced resource missing in the package ERROR: 9780982933053.epub/OEBPS/Text/index_split_004.xhtml(177): 'OEBPS/Text/': referenced resource missing in the package ERROR: 9780982933053.epub/OEBPS/Text/index_split_005.xhtml(156): 'OEBPS/Text/': referenced resource missing in the package I am not sure exactly what these errors mean and how to fix them. Help! I looked at the code but I was not seeing anything popping out at me. Suggestions and ideas? Thanks! Amy Last edited by sassanik; 09-23-2010 at 11:58 PM. |
09-24-2010, 09:42 AM | #2 |
Intentionally Left Blank
Posts: 172
Karma: 300106
Join Date: Feb 2006
Location: Royal Oak, MI, USA
Device: Nook STR
|
Regarding the first issue, if you are using epubcheck and have preserveaspectratio set to "none", it's just a bug in the validator.
Issue 63, here. Note that epubcheck, if that's what you're using, is only semi-reliable. Regarding the others, what code do you actually have on those lines? Last edited by DTM; 09-24-2010 at 09:58 AM. |
Advert | |
|
09-24-2010, 11:43 AM | #3 | |
Well trained by Cats
Posts: 30,494
Karma: 58055868
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
a WAG is you call for an image (scene break graphic ?) at those lines and it does not exist in the booklist pane. Look at the file in CV mode close to those lines and see what (filename) is called for, then plan what to do to correct the omission |
|
09-24-2010, 12:33 PM | #4 |
Guru
Posts: 774
Karma: 1211741
Join Date: May 2008
Location: Oregon
Device: EB1150, iPhone, Cool-er Purple, Pocketbook 360, Kindle Fire
|
aspect ratio error
Argh! Overdrive rejected that file because of the preserve aspect validation error.
What is different value that I can use? Or can I remove the aspect ratio entirely? ERROR: 9780982933084.epub/OEBPS/Text/index_split_001.xhtml(27): 'OEBPS/Text/': referenced resource missing in the package does the (27) mean that is the line that the problem is on? Thanks! Amy |
09-24-2010, 12:50 PM | #5 | |
Well trained by Cats
Posts: 30,494
Karma: 58055868
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
It could be the line +/- 1 OR (on other types of errors) it could be the ENDING line that finally trips the error because something expected did not happen and whatever is next precludes proper closure. |
|
Advert | |
|
09-24-2010, 12:58 PM | #6 |
Guru
Posts: 774
Karma: 1211741
Join Date: May 2008
Location: Oregon
Device: EB1150, iPhone, Cool-er Purple, Pocketbook 360, Kindle Fire
|
Okay so I think I figured out the problem, the line that is throwing the error has a </div> on it, it is closing a external link ie:
<div class="s6"> <p class="calibre3"><span class="none7">For this and other exciting titles see our website at:</span> <a class="calibre5" href=""><span class="none10">www.estarbooks.com</span></a></p> </div> So I guess the error makes more sense to me now... but uhh how do I fix it? Last edited by sassanik; 09-24-2010 at 01:01 PM. Reason: figured something out |
09-24-2010, 01:23 PM | #7 | |
Well trained by Cats
Posts: 30,494
Karma: 58055868
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
It is the EXTERNAL Anchor to the estarbooks. it is howling about (possibly in error). Baen uses the following Code:
<div class="calibre12"> <span class="bold">For more great books visit<br class="calibre2" /> <br class="calibre2" /> <a href="http://www.webscription.net">http://www.webscription.net/</a></span> </div> |
|
09-24-2010, 01:31 PM | #8 |
Intentionally Left Blank
Posts: 172
Karma: 300106
Join Date: Feb 2006
Location: Royal Oak, MI, USA
Device: Nook STR
|
|
09-24-2010, 01:39 PM | #9 | |
Wizard
Posts: 1,196
Karma: 1281258
Join Date: Sep 2009
Device: PRS-505
|
Quote:
While the epubcheck bug is annoying, there's not really much point in using a value of "none", I've no idea why calibre started using that. |
|
09-24-2010, 01:57 PM | #10 |
Well trained by Cats
Posts: 30,494
Karma: 58055868
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
09-25-2010, 04:16 PM | #11 | |
Guru
Posts: 774
Karma: 1211741
Join Date: May 2008
Location: Oregon
Device: EB1150, iPhone, Cool-er Purple, Pocketbook 360, Kindle Fire
|
Quote:
Thank you guys so much for the help! I really do appreciate it, I was about ready to pull out my hair trying to figure this out. Amy |
|
09-25-2010, 04:45 PM | #12 |
Intentionally Left Blank
Posts: 172
Karma: 300106
Join Date: Feb 2006
Location: Royal Oak, MI, USA
Device: Nook STR
|
You're welcome! Glad I could help!
I guess that doesn't really surprise me. Technically, you should always do that, even for links on a website. But every browser will assume http:// if you don't specify otherwise, so you can get away without it. On the other hand, it's not so obvious that an ebook reader would assume that, so I suppose it really should be there. |
09-27-2010, 04:01 PM | #13 |
Guru
Posts: 774
Karma: 1211741
Join Date: May 2008
Location: Oregon
Device: EB1150, iPhone, Cool-er Purple, Pocketbook 360, Kindle Fire
|
new and different error
Okay so I got a new and different error this time.
ERROR: 9781612100036.epub/OEBPS/content.opf(14): unfinished element I am not sure how to edit the content.opf? Suggestions and ideas? Thanks! Amy |
09-27-2010, 04:12 PM | #14 |
Intentionally Left Blank
Posts: 172
Karma: 300106
Join Date: Feb 2006
Location: Royal Oak, MI, USA
Device: Nook STR
|
Sigil creates that file, and you don't edit it directly. However, here is a guess: If you fail to enter a title and author in the metadata editor, Sigil won't insert a default value, and the resulting book will fail Epubcheck with that error message. (See Sigil issue #453.)
Try entering the Author and Title to see what happens. |
09-27-2010, 06:44 PM | #15 |
Not who you think I am...
Posts: 374
Karma: 30283
Join Date: Jan 2010
Location: Honolulu
Device: PocketBook 360 -- Ivory
|
Language, too.
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Error during validation | macdafydd | ePub | 19 | 12-01-2010 07:07 PM |
ePub validation error | sk19.gupta | Introduce Yourself | 6 | 10-19-2010 11:53 PM |
Validation error | rrosenwald | Calibre | 10 | 10-01-2010 12:12 PM |
ePub Validation Error | mrbillb | ePub | 6 | 09-28-2010 03:14 PM |
weird epub validation error message | GFMCo | ePub | 2 | 09-09-2010 08:25 PM |