Quote:
Originally Posted by frisket
I am getting "ERROR: OEBPS/toc.ncx(25,47): 'd1e97': fragment identifier is not defined in 'OEBPS/index.xhtml'" (and others) from the online validator at ebookit.com for this:
21 <navPoint id="d1e97" playOrder="3">
22 <navLabel>
23 <text>Dedication</text>
24 </navLabel>
25 <content src="index.xhtml#d1e97"/>
26 </navPoint>
where index.xhtml says:
<div class="dedication" id="d1e97">
<p>To xxxx, yyyy, zzzz for their patience
and support.
</p>
</div>
Given that you are not allowed by EPUB3 to use <a name="..."> (the ebookit validator marks all occurrences of that as an error), what is the mechanism for the resolution of these links? What is the fragment identifier in line 25 supposed to point at? if not a name attribute on an <a> element, or an ID?
|
You don't actually need #d1e97 in line 25 since all you are doing is going straight to the beginning of index.xhtml. So just remove #d1e97 and any others like it and the errors will be gone.