![]() |
#1 |
Head of lunatic asylum
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 349
Karma: 77620
Join Date: Jun 2012
Location: UTC +1
Device: Tolino Vision 3HD
|
Edit book/Check book/Parsing failed: Inconsistencies in counting
![]() Aim is an uniform (unbold) endnotes format. <sup>94</sup> vs. <sup><b>95</b></sup> My relevant regex skills are still basic, so simple F&R and Replace all. Searching done_Replaced 75 occurrences Subsequently, in a second step, the rest would then done. Find: </b></sup> Replace: </sup> Previously, indeterminate motives let me run Check book. Check book_Parsing failed: Opening and ending tag mismatch ... as it was to be expected. But not only in 3 cases, but in 75. Why Check book shows only 3 errors? Run: Try to correct all fixable errors automatically Run Check book again: No problems found Control: Find: </b></sup> Result: No matches were found for </b></sup> This means Check book had corrected all 75 occurrences, but showed only 3. Whether these were the 3 first ones (left to right procedure), I can not say for sure. Does that have to do with smart settings !? This should be a joke! Interna: Conze (DAudV) Last edited by chaot; 06-02-2016 at 10:15 AM. Reason: add Interna |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,190
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Once again, because when a parsing error occurs, check book is aborted. It's a simple concept, when there is parsing error, no further checks can be performed, because the HTML cannot be parsed reliably.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Head of lunatic asylum
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 349
Karma: 77620
Join Date: Jun 2012
Location: UTC +1
Device: Tolino Vision 3HD
|
Reference (presumably): Because when a parsing error occurrs, all further error checking is aborted.
No concept without rule/s. Otherwise it's arbitrary. If I understand correctly, no other types of errors, mistakes etc. may be displayed upon the occurrence of parsing errors. In the present case, however, only exist parsing errors, altogether 75. Why are only 3 displayed? Why these 3? By no means I want to annoy with pedantic questions. But a satisfactory answer I need for my understanding of the matter. |
![]() |
![]() |
![]() |
#4 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,903
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
![]() Many cleaning programs require multiple 'passes' to find and expose the 'next error' after a repair. It keeps things simpler, just to stop when it hits a Parse error, rather than figure what it would take to MEANINGFULLY continue I have been using computers from before the IBM PC. It has always been a standard debug technique to: run, fix, run until the compiler finishes without error ![]() ![]() ![]() |
|
![]() |
![]() |
![]() |
#5 |
Head of lunatic asylum
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 349
Karma: 77620
Join Date: Jun 2012
Location: UTC +1
Device: Tolino Vision 3HD
|
OK, that should suffice as an explanation.
Conclusion: It is necessary to know and take into account the special features regarding the treatment of parsing errors in calibre. ![]() |
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Edit book: Inconsistencies in Check Book | chaot | Editor | 1 | 05-18-2016 11:16 PM |
Calibre:Book Cover size in Book Details side pane & Edit Metadata Individually window | Volfer | Calibre | 3 | 01-05-2016 01:56 PM |
Default Edit Book Edit Window Font? | lhuxley | Editor | 2 | 03-26-2015 11:11 PM |
A too strict decision? - Check Book with parsing errors | arspr | Editor | 2 | 08-08-2014 06:11 PM |
[Check Book] shows previous book | phossler | Editor | 1 | 07-30-2014 11:19 PM |