05-17-2011, 02:30 PM
I have searched for the past two days, to find a solution to this issue.
this is a toc.text file, and is the only thing (well, not really) between me and a validated epub.
Here is what i am geting for ALL lines in my TOC.
ERROR: ShortCircuit1test Folder.epub/OEBPS/Text/TOC.xhtml(19): 'anchor-anchor': fragment identifier is not defined in 'OEBPS/Text/ExecSum.xhtml'
and here is the line of code
<p class="toc"><span class="bold"><a href="../Text/ExecSum.xhtml#anchor-anchor">“Executive Summary”</a></span></p>
05-17-2011, 07:21 PM
Had to re-anchor and renumber the TOC.ncx and the TOC.html. there was a tag missing and it threw the whole TOC off.
Still need help with the image not found in resource package.
05-18-2011, 01:46 AM
Are the links to the image correct? Remember to use relative paths.
09-02-2011, 11:30 AM
dgbeig, can you explain how you did this:
"re-anchor and renumber the TOC.ncx and the TOC.html"
I have a zillion errors assciated with the TOC and fought like crazy to figure out how TOC was being generated during the InDesign plug-in export to Kindle process.
ERROR: Apples_to_Apples.mobi/OEBPS/toc.ncx(3): 'toc-anchor-5': fragment identifier is not defined in 'OEBPS/Apples_to_Apples.xhtml'
All of those 'toc-anchor-N' tags were auto-generated from somewhere.
Any clues are hugely appreciated.
11-23-2013, 06:11 PM
dgbeig, were you ever able to identify exactly what tag was missing that made you re-anchor and renumber the TOC.ncx and the TOC.html?
I have exactly this problem and I cannot see why the fragment identifier in the toc.ncx file is being picked up as "missing" when it's right there in the index.xtml target file.
Unless the validators are actually broken, I guess...
11-23-2013, 07:21 PM
If you think it is there, the case can be mismatched - R is not r, or there could be a space in the file name. This can be a reason to confine your file names to lower case for all of them and to not have spaces. Makes it easier to troubleshoot, even when it is proper otherwise.