I've run into this issue before with the unique book id starting with a digit in the opf manifest that Kevin or DiapDealer fixed some while ago. I was the one who reported this problem way back when. What disappoints me is that when I just tested this current problem, Epupcheck still gives this weird error message for wrong ids in the toc.ncx:
Col: 72: ERROR(RSC-005): Error while parsing file 'value of attribute "id" is invalid; must be an XML name without colons'.
This error message would be highly confusing for any indie guy trying to get his book to pass Epubcheck. That error message tells you nothing whatsover about the problem and is highly misleading.
Just a suggestion, but would it be possible to implement a simple change in Sigil where, on opening any epub in Sigil, an automatic check of all the unique ids in the toc.ncx(with a helpful error message for the user if an id incorrectly starts with a digit)? Or another alternative would be to just update the Mend XHTML Source... feature to actually repair this problem automatically if it is found. I also realize that this problem has nothing to do with Sigil -- I'm only suggesting a solution that would perhaps help other Sigil users with this problem in the future.
Last edited by slowsmile; 09-25-2017 at 07:44 AM.
|