Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 08-06-2020, 03:54 PM   #1
jmmd48
Junior Member
jmmd48 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Sep 2014
Device: Kindle Paperwhite
Error Messages because of duplicate IDs (anchors)

I got careless adding endnotes to an ebook and created duplicate anchors with the same name that led to the error message below when I try to validate the book.

ERROR(RSC-005): ./books/Bo/databases/eBookIt/temp_uploads/1596678236.epub/OEBPS/Text/Endnotes.xhtml(14,48): Error while parsing file: Duplicate ID 'EndnotesChapter1_3'

I want to have the ebook work on Google Play Books so that if users download free ebooks from my site at URL REMOVED BY MODERATOR,
they will be able to read it in Google Play Books. Google is currently rejecting it.

I have searched Sigil and can't find where to delete the extra ID.

I would appreciate your thoughts.

Last edited by KevinH; 08-06-2020 at 05:11 PM. Reason: url was not relevant to question and self promotion is not allowed in this forum
jmmd48 is offline   Reply With Quote
Old 08-06-2020, 04:56 PM   #2
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 7,652
Karma: 5433388
Join Date: Nov 2009
Device: many
The error message explains that the id attribute "EndnotesChapter1_3" is used twice.

Load the epub into Sigil and use Search in the file "Endnotes.xhtml" to see exactly where this id string is being used twice and change one of the ids making sure the one you change is unique and then look for that id in other files href fragments to find your links to those ids and update them properly.
KevinH is online now   Reply With Quote
Advert
Old 08-06-2020, 08:51 PM   #3
jmmd48
Junior Member
jmmd48 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Sep 2014
Device: Kindle Paperwhite
Quote:
Originally Posted by KevinH View Post
The error message explains that the id attribute "EndnotesChapter1_3" is used twice.

Load the epub into Sigil and use Search in the file "Endnotes.xhtml" to see exactly where this id string is being used twice and change one of the ids making sure the one you change is unique and then look for that id in other files href fragments to find your links to those ids and update them properly.
Thank you. Your solution worked perfectly.
jmmd48 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Duplicate IDs in Calibre enidad2 Library Management 2 01-01-2018 12:25 AM
Validation error for anchors eggheadbooks1 Sigil 3 09-08-2016 07:32 PM
Duplicate IDs gregf Conversion 4 11-09-2012 09:26 PM
frustrating error messages patrickyoung Sigil 8 01-31-2012 09:51 AM
error messages on new PC huskerruth Devices 1 02-16-2011 11:56 AM


All times are GMT -4. The time now is 09:41 AM.


MobileRead.com is a privately owned, operated and funded community.