Today, 04:08 PM | #16 | |
Grand Sorcerer
Posts: 27,909
Karma: 198500000
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
|
|
Today, 04:11 PM | #17 |
Guru
Posts: 771
Karma: 2297170
Join Date: Jan 2017
Location: Poland
Device: Various
|
Of course, after your last PR.
|
Today, 04:45 PM | #18 | |
Groupie
Posts: 158
Karma: 10
Join Date: Nov 2015
Location: Europe EEC
Device: Kindle Fire HD6
|
Quote:
The fragments I looked at were all footnote links in the text body linking to a reference at the end of the chapter. Only one footnote/chapter. The footnote had a return link to the text. These fragments had all worked fine for years and had never been flagged as undefined by Epubcheck over multiple checks. As soon as the quotes error was corrected, the next Epubcheck was completely clean with no reference to any fragments in any chapter. I haven't understood the possible connections between a single missing or mismatched quote and unidentified fragments elsewhere. It seems a most unlikely scenario. |
|
Today, 05:32 PM | #19 |
Guru
Posts: 771
Karma: 2297170
Join Date: Jan 2017
Location: Poland
Device: Various
|
The connection is simple.
Parsing encounters erroneous incompatible quotes, which results in the inability to check the rest of the text where the footnote text is located, hence the message about the unidentified fragments. Incompatible quotes are dangerous and I don't understand where they would come from in Sigil, which takes great care to ensure that the code is well-formed. You simply have to be careful when editing your code to avoid such situations. Here is another example of a file that, when you run the "Mend" option, causes the contents to be cleared. Code:
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Test</title> </head> <body> <div class='badclass"> <h1>Chapter</h1> <p class="first">Blah</p> <p>Blah<a id="fn1" href="#fntext">[1]</a></p> <div class="footnotes"> <div class="footnote"> <p><a id="fntext" href="#fn1">[1]</a> Footnote 1</p> </div> </div> </div> </body> </html> |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sigil Font use without error messages | qkiazd | Sigil | 16 | 11-18-2023 11:04 AM |
Copying error messages | AlanHK | Sigil | 1 | 09-27-2017 02:07 PM |
About translation and error messages | hermida | Development | 12 | 05-05-2016 04:34 PM |
What's with the DRM error messages? | AndyElk | Calibre | 3 | 02-28-2016 08:14 PM |
error messages on new PC | huskerruth | Devices | 1 | 02-16-2011 11:56 AM |