<html><body><div dir="ltr">Generally speaking most such bugs come from modules rather than the engine or diatheke. Can you please check if the same behaviour exists witg the KJV(A)? If so it will more likely be in engine or diatheke. If not I suggest first a careful look at the CPDV’s encoding which may then well be (subtly but effectively) broken. </div><div dir="ltr"><br></div><div dir="ltr">I am not dismissing that the diatheke has a bug but in my experience bugs originate more likely in modules when undefined abd weird behaviour is shown. </div><div dir="ltr"><br></div><div dir="ltr">Peter</div><div id="ms-outlook-mobile-body-separator-line" dir="ltr"><br></div><div id="ms-outlook-mobile-signature">Sent from <a href="https://aka.ms/o0ukef">Outlook for iOS</a></div><div> </div><div id="mail-editor-reference-message-container" class="ms-outlook-mobile-reference-message"><hr style="display: inline-block; width: 98%;"><div id="divRplyFwdMsg" dir="ltr"><span style="font-family: Calibri, sans-serif;"><b>From:</b> sword-devel <sword-devel-bounces@crosswire.org> on behalf of David Haslam <dfhdfh@protonmail.com><br><b>Sent:</b> Wednesday, April 23, 2025 6:33 am<br><b>To:</b> sword-bugs@crosswire.org <sword-bugs@crosswire.org><br><b>Cc:</b> sword-devel mailing list <sword-devel@crosswire.org><br><b>Subject:</b> [sword-devel] Fw: Fwd: Diatheke issue</span><div style="font-family: Calibri, sans-serif;"> </div></div><div style="font-family: Arial, sans-serif; font-size: 14px;">There's a serious bug in <b>diatheke</b>!</div><div dir="ltr" style="font-family: Arial, sans-serif; font-size: 14px;"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px;">See forwarded email thread.</div><div dir="ltr" style="font-family: Arial, sans-serif; font-size: 14px;"><br></div><div class="protonmail_signature_block-user" style="font-family: Arial, sans-serif; font-size: 14px;">
Best regards,<br><br>David
</div><div dir="ltr" class="protonmail_signature_block" style="font-family: Arial, sans-serif; font-size: 14px;"><br></div><div class="protonmail_signature_block-proton" style="font-family: Arial, sans-serif; font-size: 14px;">
Sent with <a href="https://pr.tn/ref/SWXT9A5YZ67G">Proton Mail</a> secure email.
</div><div dir="ltr" style="font-family: Arial, sans-serif; font-size: 14px;"><br></div><div class="protonmail_quote">
------- Forwarded Message -------<br>
From: David F. Haslam <df.haslam@btinternet.com><br>
Date: On Wednesday, April 23rd, 2025 at 6:30 AM<br>
Subject: Fwd: Diatheke issue<br>
To: David Haslam (ProtonMail) <dfhdfh@protonmail.com><br>
<br>
</div><blockquote><div class="protonmail_quote"><br>
</div><div class="moz-forward-container"><br>
<br>
-------- Forwarded Message --------
</div><table class="moz-email-headers-table" cellspacing="0" cellpadding="0" style="border-collapse: collapse; border-spacing: 0px; box-sizing: border-box;"><tbody><tr><th class="moz-email-headers-table" style="width: 14.609375px; height: 144px;"><div class="moz-email-headers-table">Subject:
</div></th><td class="moz-email-headers-table" style="width: 246.390625px; height: 144px;"><div class="moz-email-headers-table">Re: Diatheke issue</div></td></tr><tr><th class="moz-email-headers-table" style="width: 14.609375px; height: 96px;"><div class="moz-email-headers-table">Date:</div></th><td class="moz-email-headers-table" style="width: 246.390625px; height: 96px;"><div class="moz-email-headers-table">Mon, 21 Apr 2025 18:43:13 +0100</div></td></tr><tr><th class="moz-email-headers-table" style="width: 14.609375px; height: 120px;"><div class="moz-email-headers-table">From:</div></th><td class="moz-email-headers-table" style="width: 246.390625px; height: 120px;"><div class="moz-email-headers-table">David F. Haslam <a href="mailto:df.haslam@btinternet.com" class="moz-txt-link-rfc2396E" rel="noreferrer nofollow noopener"><df.haslam@btinternet.com></a></div></td></tr><tr><th class="moz-email-headers-table" style="width: 14.609375px; height: 48px;"><div class="moz-email-headers-table">To:</div></th><td class="moz-email-headers-table" style="width: 246.390625px; height: 48px;"><div class="moz-email-headers-table">Marjan Šavli <a href="mailto:marjan.savli@gmail.com" class="moz-txt-link-rfc2396E" rel="noreferrer nofollow noopener"><marjan.savli@gmail.com></a></div></td></tr><tr><th class="moz-email-headers-table" style="width: 14.609375px; height: 168px;"><div class="moz-email-headers-table">CC:</div></th><td class="moz-email-headers-table" style="width: 246.390625px; height: 168px;"><div class="moz-email-headers-table">Dominique Corbex <a href="mailto:dominique@corbex.org" class="moz-txt-link-rfc2396E" rel="noreferrer nofollow noopener"><dominique@corbex.org></a>, Greg
Hellings <a href="mailto:greg.hellings@gmail.com" class="moz-txt-link-rfc2396E" rel="noreferrer nofollow noopener"><greg.hellings@gmail.com></a>, Troy A.
Griffitts <a href="mailto:scribe777@gmail.com" class="moz-txt-link-rfc2396E" rel="noreferrer nofollow noopener"><scribe777@gmail.com></a>, Karl Kleinpaste
<a href="mailto:karl@kleinpaste.org" class="moz-txt-link-rfc2396E" rel="noreferrer nofollow noopener"><karl@kleinpaste.org></a></div></td></tr></tbody></table><div class="moz-forward-container"><br>
<br>
It gets even worse!<br>
<br>
I just used <b>diatheke</b> to output "Gen-Rev" for the updated <b>CPDV</b>
module, not even using the command line switch "-o h"<br>
<br>
The following heading occurs <b>12,365</b> times <span style="color: rgb(255, 0, 0);">!!!!!!!!!!</span> 😭
</div><blockquote><div class="moz-forward-container">This is a copy of the letter that Jeremiah sent to
those who would be taken captive into Babylon by the king of
Babylon, so as to prophesy to them according to the warning he
had received about them from God.<br>
</div></blockquote><div class="moz-forward-container">
The first instance is before <b>Baruch 6:1</b><br>
<br>
Something really catastrophic in the latest SWORD software (the
utilities bundled with <b>Xiphos</b>) !<br>
Methinks that this requires an <a href="https://en.wikipedia.org/wiki/Eight_disciplines_problem_solving" rel="noreferrer nofollow noopener">8D Problem Solving</a> approach.<br>
<br>
Best regards,<br>
<br>
David<br>
<br>
</div><div class="moz-cite-prefix">On 2025-04-19 10:27, Marjan Šavli
wrote:<br>
</div><blockquote><div dir="ltr" class="moz-forward-container">Yes. I can see headings repeated.<br>
</div><div dir="ltr" class="gmail_signature"><br>
<br>
------------ Marjan
---------------------<br>
</div><div dir="ltr" class="gmail_signature">e-mail: <a href="mailto:marjan.savli@gmail.com" class="moz-txt-link-freetext" rel="noreferrer nofollow noopener">marjan.savli@gmail.com</a></div><div dir="ltr" class="gmail_signature">
-----------------------------------------------</div><div dir="ltr" class="moz-forward-container"><br>
</div><div class="moz-forward-container"><br>
</div><div dir="ltr" class="gmail_attr">V V sob., 19. apr. 2025 ob
10:38 je oseba David F. Haslam <<a href="mailto:df.haslam@btinternet.com" class="moz-txt-link-freetext" rel="noreferrer nofollow noopener">df.haslam@btinternet.com</a>>
napisala:<br>
</div><blockquote style="margin: 0px 0px 0px 0.8ex; padding-left: 1ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204);"><div class="gmail_quote">Hi Marjan,<br>
<br>
See the attached <b>7-Zip</b> file.<br>
<br>
Command line was as in <b>S:\Analyse\ExportModH.cmd</b><br>
where drive <b>S:</b> is mapped to my Sword path using
Windows <b>subst</b><br>
<br>
..\xiphos\diatheke -b %1 -f plain -o h -k "Gen-Rev"
>..\Export\%1\%1.diatheke.h.txt<br>
<br>
Look at <b>Genesis 2:</b> as the first example of
repeating the same heading.<br>
<br>
David<br>
<br>
</div></blockquote></blockquote><div class="moz-forward-container"><br>
</div></blockquote><div class="protonmail_quote"><br>
</div></div></body></html>