07-22-2011, 08:56 AM | #1 |
Member
Posts: 16
Karma: 10
Join Date: Jul 2011
Device: none
|
Epub validation errors
Hi everyone, I'm new here and I'm having some trouble. I created my ebook in open office, made the epub with the epub extension. Looks great in ADE however when I run a validation I come back with a long list of errors. I've downloaded Sigil to look at each file verbatim but I'm a little lost on what to do. Could any one provide assistance.
I see that its telling me text but what exactly am I looking for? Thanks in advance! /OEBPS/Text/content0002.xhtml(49): 'Chapter4': fragment identifier is not defined in 'OEBPS/Text/content0002.xhtml' /OEBPS/Text/content0002.xhtml(43): 'Chapter1': fragment identifier is not defined in 'OEBPS/Text/content0002.xhtml' |
07-22-2011, 10:53 AM | #2 |
Grand Sorcerer
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
Can you show us line 49 and line 43?
|
Advert | |
|
07-22-2011, 03:22 PM | #3 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Or better, the lines between 40 and 55.
|
07-23-2011, 01:24 AM | #4 |
Member
Posts: 16
Karma: 10
Join Date: Jul 2011
Device: none
|
Hi yes, thank you for the response. Here's what I have
39 <p> </p> <p>Table of Contents</p> <p><a href="#Chapter1"><span class="underline">Disclaimer</span></a>.</p> <p><a href="#Chapter2"><span class="underline">Foreword</span></a></p> <p><a href="#Chapter3"><span class="underline">The Journey of an L7</span></a></p> <p><a href="#Chapter4"><span class="underline">I got caught Slippin’</span></a></p> 52 <p><a href="#Chapter5"><span class="underline">A Lesson Learned</span></a></p> |
07-23-2011, 04:13 AM | #5 |
Wizard
Posts: 1,196
Karma: 1281258
Join Date: Sep 2009
Device: PRS-505
|
|
Advert | |
|
07-23-2011, 09:11 PM | #6 | |
Member
Posts: 16
Karma: 10
Join Date: Jul 2011
Device: none
|
Question??
Quote:
Do I need to include this for every href occurrence in content0002.xhtml and reference it accordingly to the other content00XX.xhtml files?? |
|
07-23-2011, 09:14 PM | #7 |
Resident Curmudgeon
Posts: 76,316
Karma: 136006010
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
If you have a good toc.ncx (external ToC), then you don't actually need the file with the links (internal ToC).
|
07-23-2011, 09:14 PM | #8 |
Member
Posts: 16
Karma: 10
Join Date: Jul 2011
Device: none
|
New error message
Playing around in Sigil I added the link after the href I validated again to see which errors I would get. It's a much shorter list but here's what the new errors are.
ERROR: a-how-to-guide-for-meeting-women-on-craigslist.epub/toc.ncx(56): assertion failed: different playOrder values for navPoint/navTarget/pageTarget that refer to same target ERROR: a-how-to-guide-for-meeting-women-on-craigslist.epub/toc.ncx(74): assertion failed: different playOrder values for navPoint/navTarget/pageTarget that refer to same target ERROR: a-how-to-guide-for-meeting-women-on-craigslist.epub/toc.ncx(66): 'Chapter9': fragment identifier is not defined in 'tmp_da02e54b013a717f705d92d610839337_GpOkmN.ch.fi xed.fc.tidied.stylehacked.xfixed_split_001.html' ERROR: a-how-to-guide-for-meeting-women-on-craigslist.epub/toc.ncx(72): 'Chapter10': fragment identifier is not defined in 'tmp_da02e54b013a717f705d92d610839337_GpOkmN.ch.fi xed.fc.tidied.stylehacked.xfixed_split_001.html' Last edited by Newauthor; 07-24-2011 at 01:39 AM. |
07-24-2011, 05:50 AM | #9 |
Wizard
Posts: 1,196
Karma: 1281258
Join Date: Sep 2009
Device: PRS-505
|
Let Sigil generate the ncx ToC automatically. You need to be very precise if you're editing it by hand.
|
07-24-2011, 06:22 AM | #10 |
Member
Posts: 16
Karma: 10
Join Date: Jul 2011
Device: none
|
Okay
Sorry I'm new with this software. How do I do that?
|
07-24-2011, 06:44 AM | #11 |
Wizard
Posts: 1,196
Karma: 1281258
Join Date: Sep 2009
Device: PRS-505
|
If you're using the 0.4.0RC1 release of Sigil then you need to click the button at the bottom of the Table of Contents window, it should happen automatically in older versions.
|
07-24-2011, 11:31 AM | #12 |
Grand Sorcerer
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
|
07-24-2011, 04:22 PM | #13 |
Member
Posts: 16
Karma: 10
Join Date: Jul 2011
Device: none
|
I seem to be lost guys. I tried the toc button at the bottom of the table of contents tab. Resaved, then ran another epub validation to see what errors I got this time. I received the same ones and I'm lost. Please help!
Here's what threepress said: epub/toc.ncx(74): assertion failed: different playOrder values for navPoint/navTarget/pageTarget that refer to same target So I went into Sigil, looked at the toc.ncx file and copied the section in question. 69 <navPoint id="navPoint-10" playOrder="10"> <navLabel> <text>The 5 things to avoid!</text> </navLabel> <content src="Text/content0011.xhtml" /> 74 </navPoint> Next I went to the content0011.xhtml to see if something was wrong in the coding there. I couldn't find anything other than this: <h1 class="center" id="heading_id_10"><span class="bold">The 5 things to avoid!</span></h1> Other than other help that I've read, is it possible the span tags could be creating the issue? Should I remove them or change them to 'strong'? |
07-24-2011, 07:32 PM | #14 | |
Grand Sorcerer
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
|
Quote:
What the error is saying is that there are two references in the TOC that point to the same place. It is likely that you have a case problem. Sigil is case sensitive. I suspect you have two references with different capitalization that point to the same place. Dale |
|
07-24-2011, 09:40 PM | #15 |
Member
Posts: 16
Karma: 10
Join Date: Jul 2011
Device: none
|
I'll take a look
Thanks Dalede, I'll take a look and see what I come up with.
|
Tags |
epub, errors, validation |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
epub validation missing errors | sassanik | Sigil | 7 | 06-13-2011 10:29 AM |
Help with validation errors | AThirstyMind | ePub | 2 | 05-13-2011 06:08 PM |
EPUB Validation errors | vhin3125 | Workshop | 1 | 04-01-2011 12:37 PM |
Can anyone tell me how to fix these validation errors? | grapplegirl | ePub | 9 | 12-18-2010 09:23 AM |
Validation Errors | luthar28 | ePub | 13 | 08-10-2010 12:24 PM |