View Single Post
Old 08-04-2010, 12:24 AM   #1
Adjust
Addict
Adjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel is
 
Adjust's Avatar
 
Posts: 351
Karma: 70000
Join Date: Jul 2010
Location: Australia
Device: ADE, iPad
What's this validation error and how to fix it.

I just had an error pop up validating a epub with a mountain load of hyperlinks

Code:
ERROR: BlahBlah.epub/OEBPS/Chapter_03.xhtml(101): 'endnote-35-anchor': fragment identifier is not defined in 'OEBPS/Endnotes_Chapter_03.xhtml'
I've solved the problem... (turns out there was a "&" in web addresses jumping in everywhere).

Anyway my point is:
It would be great if there were a sticky thread listing error messages which epubcheck throws up and also the solution to the error...

Saves us spending hours looking up solutions to it....
Unless there is already one here, of course...


Error:
Code:
ERROR: /Users/Blah/Desktop/blahblah.epub/OEBPS/Endnotes_Chapter_03.xhtml(43): The reference to entity "skin" must end with the ';' delimiter.
This refers to the a web address hyperlink at line 43.

Solution
The web address had missing ; after an ampersand, and also ampersands didn't have the correct & in place:

For example, the bold in the code line is what I inserted to make it work:
Code:
hameleon?sessionid=2010022217330412116&skin;=default&lng;=en&inst;=consortium&conf;=.%2fchameleon.conf&search=
Fixing this also automatically fixes the "fragment identifier is not defined in" error

Last edited by Adjust; 08-04-2010 at 01:29 AM.
Adjust is offline   Reply With Quote