<div style="font-family: Arial, sans-serif; font-size: 14px;">Hi Peter,</div><div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px;">More than one module is affected!<br><br>The previous version of <b>diatheke</b> didn't do this even with the CPDV.</div><div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div>
<div class="protonmail_signature_block" style="font-family: Arial, sans-serif; font-size: 14px;">
    <div class="protonmail_signature_block-user">
        Best regards,<br><br>David
    </div>
    <div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div>
    <div class="protonmail_signature_block-proton">
        Sent with <a target="_blank" href="https://pr.tn/ref/SWXT9A5YZ67G">Proton Mail</a> secure email.
    </div>
</div>
<div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div><div class="protonmail_quote">
        On Wednesday, April 23rd, 2025 at 6:52 AM, Peter von Kaehne <refdoc@gmx.net> wrote:<br>
        <blockquote class="protonmail_quote" type="cite">
            <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 dir="ltr" id="ms-outlook-mobile-body-separator-line"><br></div><div id="ms-outlook-mobile-signature">Sent from <a href="https://aka.ms/o0ukef" target="_blank" rel="noreferrer nofollow noopener">Outlook for iOS</a></div><div> </div><div class="ms-outlook-mobile-reference-message" id="mail-editor-reference-message-container"><hr style="display: inline-block; width: 98%;"><div dir="ltr" id="divRplyFwdMsg"><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 style="font-family: Arial, sans-serif; font-size: 14px;" dir="ltr"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px;">See forwarded email thread.</div><div style="font-family: Arial, sans-serif; font-size: 14px;" dir="ltr"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px;" class="protonmail_signature_block-user">
        Best regards,<br><br>David
</div><div style="font-family: Arial, sans-serif; font-size: 14px;" class="protonmail_signature_block" dir="ltr"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px;" class="protonmail_signature_block-proton">
        Sent with <a href="https://pr.tn/ref/SWXT9A5YZ67G" target="_blank" rel="noreferrer nofollow noopener">Proton Mail</a> secure email.
</div><div style="font-family: Arial, sans-serif; font-size: 14px;" dir="ltr"><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 style="border-collapse: collapse; border-spacing: 0px; box-sizing: border-box;" cellpadding="0" cellspacing="0" class="moz-email-headers-table"><tbody><tr><th style="width: 14.609375px; height: 144px;" class="moz-email-headers-table"><div class="moz-email-headers-table">Subject:
</div></th><td style="width: 246.390625px; height: 144px;" class="moz-email-headers-table"><div class="moz-email-headers-table">Re: Diatheke issue</div></td></tr><tr><th style="width: 14.609375px; height: 96px;" class="moz-email-headers-table"><div class="moz-email-headers-table">Date:</div></th><td style="width: 246.390625px; height: 96px;" class="moz-email-headers-table"><div class="moz-email-headers-table">Mon, 21 Apr 2025 18:43:13 +0100</div></td></tr><tr><th style="width: 14.609375px; height: 120px;" class="moz-email-headers-table"><div class="moz-email-headers-table">From:</div></th><td style="width: 246.390625px; height: 120px;" class="moz-email-headers-table"><div class="moz-email-headers-table">David F. Haslam <a rel="noreferrer nofollow noopener" class="moz-txt-link-rfc2396E" href="mailto:df.haslam@btinternet.com"><df.haslam@btinternet.com></a></div></td></tr><tr><th style="width: 14.609375px; height: 48px;" class="moz-email-headers-table"><div class="moz-email-headers-table">To:</div></th><td style="width: 246.390625px; height: 48px;" class="moz-email-headers-table"><div class="moz-email-headers-table">Marjan Šavli <a rel="noreferrer nofollow noopener" class="moz-txt-link-rfc2396E" href="mailto:marjan.savli@gmail.com"><marjan.savli@gmail.com></a></div></td></tr><tr><th style="width: 14.609375px; height: 168px;" class="moz-email-headers-table"><div class="moz-email-headers-table">CC:</div></th><td style="width: 246.390625px; height: 168px;" class="moz-email-headers-table"><div class="moz-email-headers-table">Dominique Corbex <a rel="noreferrer nofollow noopener" class="moz-txt-link-rfc2396E" href="mailto:dominique@corbex.org"><dominique@corbex.org></a>, Greg
              Hellings <a rel="noreferrer nofollow noopener" class="moz-txt-link-rfc2396E" href="mailto:greg.hellings@gmail.com"><greg.hellings@gmail.com></a>, Troy A.
              Griffitts <a rel="noreferrer nofollow noopener" class="moz-txt-link-rfc2396E" href="mailto:scribe777@gmail.com"><scribe777@gmail.com></a>, Karl Kleinpaste
 <a rel="noreferrer nofollow noopener" class="moz-txt-link-rfc2396E" href="mailto:karl@kleinpaste.org"><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 rel="noreferrer nofollow noopener" href="https://en.wikipedia.org/wiki/Eight_disciplines_problem_solving" target="_blank">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 class="moz-forward-container" dir="ltr">Yes. I can see headings repeated.<br>
</div><div class="gmail_signature" dir="ltr"><br>
<br>
                                     ------------   Marjan
                              ---------------------<br>
</div><div class="gmail_signature" dir="ltr">e-mail: <a rel="noreferrer nofollow noopener" class="moz-txt-link-freetext" href="mailto:marjan.savli@gmail.com">marjan.savli@gmail.com</a></div><div class="gmail_signature" dir="ltr">
                              -----------------------------------------------</div><div class="moz-forward-container" dir="ltr"><br>
</div><div class="moz-forward-container"><br>
</div><div class="gmail_attr" dir="ltr">V V sob., 19. apr. 2025 ob
            10:38 je oseba David F. Haslam <<a rel="noreferrer nofollow noopener" class="moz-txt-link-freetext" href="mailto:df.haslam@btinternet.com">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><p>_______________________________________________<br>
sword-devel mailing list: sword-devel@crosswire.org<br>
http://crosswire.org/mailman/listinfo/sword-devel<br>
Instructions to unsubscribe/change your settings at above page<br>
</p>
        </blockquote><br>
    </div>