06-05-2012, 01:53 PM | #1 |
Member
Posts: 11
Karma: 10
Join Date: Feb 2012
Device: None
|
Validation issues: spine and manifest
I would appreciate help with how to fix a particular Sigil ePub validation problem.
The validation results say about "OEBPS/Text/Introduction.xhtml": * "This document is reachable but not present in the OPF <spine>", as well as that * "This resource is reachable but not in present in the OPOF <manifest>". But Introduction.xhtml does occur in both places: <manifest> <item href="Text/Introduction.xhtml" id="Introduction.xhtml" media-type="application/xhtml+xml" /> </manifest> <spine toc="ncx"> <itemref idref="Introduction.xhtml" /> </spine> I have checked the toc.ncx file, but Introduction.xhtml is correctly spelled there. What is causing this file to show up as invalid? Thank you. |
06-05-2012, 02:11 PM | #2 |
Member
Posts: 11
Karma: 10
Join Date: Feb 2012
Device: None
|
Validation issues: spine and manifest
Ah, the problem was in the index file I had created, where the following malformed link lurked (note period after .xhtml):
<a href="../Text/Introduction.xhtml.#link32"> Once the period (or full stop) had been removed, this validation issue disappeared. Last edited by Daaf; 06-06-2012 at 03:58 PM. Reason: Problem recurred |
Advert | |
|
06-06-2012, 03:58 PM | #3 | ||
Member
Posts: 11
Karma: 10
Join Date: Feb 2012
Device: None
|
No, <spine> <manifest> issues are back
When I ran Sigil's validation tool on the manuscript I was working on, the results suddenly showed an entry that had been absent until now:
Quote:
Quote:
<manifest> <item href="Text/EndNotes.xhtml" id="EndNotes.xhtml" media-type="application/xhtml+xml" /> </manifest>and <spine toc="ncx"> <itemref idref="EndNotes.xhtml" /> </spine>I am baffled as to why this result would suddenly appear when it was absent the previous time I opened the file. I have gone through every section looking for errors such as "...xhtml.#" but have not found anything. Any suggestions, please, as to what the problem is and how I can fix it? Last edited by Daaf; 06-06-2012 at 04:11 PM. |
||
06-06-2012, 04:18 PM | #4 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
There is a wrong reference to EndNotes.xhtml. Look at the error, it says "OEBPS/Text/..Text/Endnotes.xhtml". The ..Text is not correct.
|
06-06-2012, 08:29 PM | #5 | |
Well trained by Cats
Posts: 30,412
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:
|
|
Advert | |
|
06-07-2012, 03:27 PM | #6 |
Member
Posts: 11
Karma: 10
Join Date: Feb 2012
Device: None
|
How do I fix the error?
Thanks, TheDucks and Toxaris.
I presumed the problem was in the ePub somewhere, but have hunted through all sections (in Code View) for both "Text/..Text" and "EndNotes" without finding it. How do I fix the error? |
06-07-2012, 05:02 PM | #7 | |
Well trained by Cats
Posts: 30,412
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:
in the Manifest and NCX files |
|
06-07-2012, 06:16 PM | #8 | |||||
Member
Posts: 11
Karma: 10
Join Date: Feb 2012
Device: None
|
@ TheDucks:
Inserting "../Text/" where you suggest multiplies the errors: In the manifest: Quote:
Quote:
Quote:
Quote:
Quote:
|
|||||
06-08-2012, 02:47 AM | #9 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Could you please post your ncx and opf file?
|
06-08-2012, 12:41 PM | #10 | |||
Member
Posts: 11
Karma: 10
Join Date: Feb 2012
Device: None
|
Spine and manifest validation errors unsolved
I have sold all my validation errors apart from these two:
Quote:
Quote:
Here are the complete content.opf and toc.ncx files: content.opf: Quote:
Spoiler:
Last edited by theducks; 06-12-2012 at 01:52 PM. Reason: Wrapped long paste in Spoiler |
|||
06-08-2012, 02:09 PM | #11 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Please try to recreate the opf and ncx by pressing the 'Generate ToC' button bottom right. I think that will help in this case.
|
06-08-2012, 05:27 PM | #12 |
Member
Posts: 11
Karma: 10
Join Date: Feb 2012
Device: None
|
@ Toxaris:
The above post was copied directly from the opf and ncx files, which I opened with <alt> f1, clicking on content.opf, and looking at the file in Code View. Ditto for the toc.ncx. If you can tell me what it is that you are looking for in the above files, I can copy and insert it for you. By the "Generate TOC" button, do you mean the one at the bottom of the Table of Contents menu that appears after keying <alt> f3? As far as I can tell, the files generated then look exactly like those above. |
06-12-2012, 12:57 PM | #13 |
Member
Posts: 11
Karma: 10
Join Date: Feb 2012
Device: None
|
Please see post # 10, above, for unresolved errors. All help will be appreciated.
|
06-12-2012, 02:30 PM | #14 |
Grand Sorcerer
Posts: 27,986
Karma: 199001268
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
You need to search all of your (x)html for links that look like
Code:
<a href="OEBPS/Text/..Text/EndNotes.xhtml"> |
06-12-2012, 05:43 PM | #15 |
Member
Posts: 11
Karma: 10
Join Date: Feb 2012
Device: None
|
@ DiapDealer:
Thanks for the suggestion. I have already done exactly that and found nothing, but I will try it again - maybe this time... |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Spine is empty? | artbatista | Conversion | 44 | 07-01-2012 02:37 PM |
html file outside spine? | Ryn | ePub | 14 | 03-27-2012 04:31 AM |
EPUB metadata has no spine | addressee | Recipes | 7 | 10-18-2011 10:14 PM |
Validation issues | Alda | Sigil | 18 | 01-30-2011 01:42 PM |
Spine....Where to get this for sony 650. | wayIman | Sony Reader | 20 | 11-12-2010 04:19 PM |