MobileRead Forums

MobileRead Forums (https://www.mobileread.com/forums/index.php)
-   ePub (https://www.mobileread.com/forums/forumdisplay.php?f=179)
-   -   FRAGMENT ERROR MESSAGE (https://www.mobileread.com/forums/showthread.php?t=133532)

dgbeig 05-17-2011 03:30 PM

FRAGMENT ERROR MESSAGE
 
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.
please help!
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>

dgbeig 05-17-2011 08:21 PM

Figured this one out
 
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.

Toxaris 05-18-2011 02:46 AM

Are the links to the image correct? Remember to use relative paths.

flypig 09-02-2011 12:30 PM

toc-anchor creating fragment identifier errors
 
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.

frisket 11-23-2013 07: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...

mrmikel 11-23-2013 08: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.


All times are GMT -4. The time now is 08:32 PM.

Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.