07-21-2022, 06:15 PM | #1 |
Junior Member
Posts: 2
Karma: 10
Join Date: Jul 2022
Device: sigil
|
"fragment identifier is not defined" question
Hi, All,
I just ran a revised ePub file through pagina ePub Checker which alerted me to a "fragment identifier is not defined" error and cited the exact line of the error. When I open the ePub file to that location in SIGIL, I see the following code: <p class="ind" id="chap5_ft2"><a id="chap5_ftg"></a>Although he was then still largely unknown... Based on that information, I'm wondering if anyone reading this can suggest a way to correct the problematic code? Thanks! |
07-22-2022, 08:06 AM | #2 | |
the rook, bossing Never.
Posts: 12,218
Karma: 89201339
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
There is no content on the hyperlink which has a bookmark/anchor
Quote:
|
|
Advert | |
|
07-22-2022, 08:38 AM | #3 |
Resident Curmudgeon
Posts: 75,567
Karma: 134254544
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
I find in most cases, the IDs overall have no use. I don't know why so many are put int he eBooks when they have no use,
|
07-22-2022, 10:40 AM | #4 |
Grand Sorcerer
Posts: 6,639
Karma: 85000001
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Kindles
|
I don’t see anything in the html that would result in the reported error. Are you sure it is an “id” and not an “href” attribute in the “a” element?
|
07-22-2022, 05:07 PM | #5 | |
Junior Member
Posts: 2
Karma: 10
Join Date: Jul 2022
Device: sigil
|
the same code passes muster in original eBook text
Quote:
The line of code that ePub check flagged appears at the beginning of the paragraph in the eBook that includes the footnoted text for the second footnote, that is, the footnote that I didn't delete, but merely moved up to replace the other footnote that I deleted. If that's not too confusing, perhaps it reveals a clue as to why ePub checker lets the code pass in the original doc, but flags it for attention in the second, revised version of the same eBook. Thanks! |
|
Advert | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Fragment identifier is not defined | libre75 | Sigil | 4 | 04-04-2021 04:07 PM |
Fragment Identifier missing, but looks OK | flypig | ePub | 8 | 12-19-2018 06:58 PM |
Allow / inside fragment identifier | iliakan | Conversion | 1 | 02-11-2015 08:12 AM |
question about "user defined usb device" plugin | Kaverin | Plugins | 2 | 03-08-2014 09:59 PM |
Fragment Identifier Not Defined | lwa | Sigil | 6 | 07-10-2013 05:00 PM |