Mobileread
epub errors
#1  ebookscovers 11-16-2020, 05:39 PM
Hi there. I need help with passing my epub. i have put it through the epub check and it comes up with 2 errors both related. I will attach screen shots of the errors and also the area in the file it refers to. I know its something very simple but can get my head around it. frustrating. how do I resolve it/?? help. David
Screen Shot 2020-11-16 at 22.36.55.png Screen Shot 2020-11-16 at 22.36.35.png Screen Shot 2020-11-16 at 22.36.13.png 
Reply 

#2  phillipgessert 11-16-2020, 06:13 PM
My best guess is that you've got one too many closing tags in there. If so, it's not necessarily a closing </navmap>, but it could be. Could also be practically any other tag, with the warning referring to a mismatch.

Otherwise it could be that you've got two opening <navmap>s, but that seems harder to do unintentionally.

There are probably more elegant ways to do this, and I did not think about it long enough to be sure it would even work (giving myself an out here!) but you might try searching for ">" within the file, and also "</". If the former doesn't return double the results of the latter, it might set you down the right path.
Reply 

#3  DNSB 11-17-2020, 12:17 AM
Quote ebookscovers
Hi there. I need help with passing my epub. i have put it through the epub check and it comes up with 2 errors both related. I will attach screen shots of the errors and also the area in the file it refers to. I know its something very simple but can get my head around it. frustrating. how do I resolve it/?? help. David
Perhaps the two </navpoint> entries immediately prior to the </navmap> in your second image might be causing your problem?
Screen Shot 2020-11-16 at 22.36.35.png 
Reply 

#4  hobnail 11-17-2020, 02:17 AM
How was your toc.ncx produced? If it was generated by software then could you delete it and regenerate it? If your table of contents is entirely from h? tags you could open the epub in Sigil and use its table of contents generator.
Reply 

Today's Posts | Search this Thread | Login | Register