12-21-2011, 09:16 AM | #1 |
Enthusiast
Posts: 38
Karma: 689100
Join Date: Dec 2011
Location: Oakton, VA
Device: Ipad and Kindle
|
Need help with Sigil validation error
I've created my first epub using Sigil, and it works just fine in iBooks on my iPad.
However, when I use the Sigil validation check, it gives me two errors clearly related to a section of the book I removed: OEBPS/Text/anotherday.xhtml NA This OPS document is reachable but not present in the OPF <spine>. "Reachable" means that a reference of some kind that points to this resource exists in the epub. and OEBPS/Text/anotherday.xhtml NA This resource is reachable but not present in the OPF <manifest>. "Reachable" means that a reference of some kind that points to this resource exists in the epub. The NA means there is no line number to search for. How can I find these references to a file no longer in the epub and remove them? Thanks for any help you can give. wraylewis Promotional link deleted - MODERATOR] Last edited by Dr. Drib; 12-21-2011 at 10:32 AM. |
12-21-2011, 09:52 AM | #2 | |
Well trained by Cats
Posts: 29,804
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
search all (in code view)fore the name part: anotherday.xhtml in Sigil CV: OEBPS is the Code:
../ |
|
Advert | |
|
12-21-2011, 10:01 AM | #3 |
Grand Sorcerer
Posts: 27,550
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
You'll probably just have to manually check each anchor reference (<a>) to make sure that its href attribute is pointing to a file that exists in the epub.
|
12-21-2011, 10:34 AM | #4 |
Enthusiast
Posts: 38
Karma: 689100
Join Date: Dec 2011
Location: Oakton, VA
Device: Ipad and Kindle
|
Not sure I follow the ducks completely.
I did do a "find" in Sigil looking for the text "another day" and "another day.xhtml". I told it to "find" in all html documents. Both times the search came up empty. Do I need to search for the entire line, beginning with OEBPS? Or do I need the ../ before the search term? If so, how do I set it up? ../ [what?] |
12-21-2011, 10:44 AM | #5 | |
Grand Sorcerer
Posts: 27,550
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
You need to look for anotherday.xhtml (if you're using the latest beta version of Sigil... make sure you're starting in Code View as well as selecting "All HTML Files") Last edited by DiapDealer; 12-21-2011 at 10:57 AM. |
|
Advert | |
|
12-21-2011, 11:07 AM | #6 |
Enthusiast
Posts: 38
Karma: 689100
Join Date: Dec 2011
Location: Oakton, VA
Device: Ipad and Kindle
|
I did not put a space in there when I searched.
Just tried anotherday and anotherday.xhtml and it didn't work. BTW, when I typed anotherday above and hit space, the forum editor "helped" me by automatically separating another from day. Like so: another day I just typed it as one word, and the editor made it two when I hit space. |
12-21-2011, 11:26 AM | #7 |
Grand Sorcerer
Posts: 27,550
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
It could be that anotherday.xhtml is just the file where the orphaned link occurs. Like I said before, you might just have to find each anchor (<a href="../blahblah"...>) in the code of that file and verify that the target file indeed does exist.
Search for "<a" in the anotherday.xhtml file in Code View and make sure that the file each one points to does exist in the epub's file list. Last edited by DiapDealer; 12-21-2011 at 11:28 AM. |
12-21-2011, 11:56 AM | #8 |
Jr. - Junior Member
Posts: 586
Karma: 2000358
Join Date: Aug 2010
Location: Alabama
Device: Archos, Asus, HP, Lenovo, Nexus and Samsung tablets in 7,8 and 10"
|
@wraylewis
Since you said that you removed an html file you can look in "content.opf" (bottom of the book browser). Look for something like this: <item href="/Text/anotherday.xhtml" id="..... /> Sometimes removing it will cure the problem. Regards - John |
12-21-2011, 02:46 PM | #9 |
Enthusiast
Posts: 38
Karma: 689100
Join Date: Dec 2011
Location: Oakton, VA
Device: Ipad and Kindle
|
That did the trick!!!!!
Thanks so much. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ePub Validation Fail after Sigil edit | dm1839 | Sigil | 7 | 10-16-2011 07:59 PM |
Validation error | dezignlady | ePub | 4 | 07-20-2011 02:34 AM |
Validation error | soparch | ePub | 2 | 04-15-2011 01:09 PM |
Sigil epub validation | sassanik | Sigil | 0 | 01-25-2011 11:58 AM |
Error during validation | macdafydd | ePub | 19 | 12-01-2010 06:07 PM |