<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">Is this related to MODTOOLS-108 in Jira, which Michael just created a few days ago? See: <a href="http://tracker.crosswire.org/browse/MODTOOLS-108">http://tracker.crosswire.org/browse/MODTOOLS-108</a><div><br></div><div>If so, can you add the comment there. Otherwise can you find or create an appropriate issue in Jira in MODTOOLS?</div><div><br></div><div>Can you supply a mock osis xml that reliably goes into an infinite loop? I’ve heard reports of this but cannot reproduce.</div><div><br></div><div>I’m not sure what you meant by “do not exist in any of the SWORD versifications” as osis2mod only considers the versification that is supplied when running it.</div><div><br></div><div>The goal of osis2mod is to build a module, handling most errors as recoverable and giving exactly what recovery was provided. So in that sense, it should not stop.</div><div><br></div><div>When a book is not in the v11n, it is appended to the module, which means it is appended to the last verse of the chosen v11n.</div><div><br></div><div>Maybe a different message if the book or chapter is not in the versification? This would avoid calling out each verse that is not in the v11n.</div><div><br></div><div>Perhaps a flag for diagnostics only?</div><div><br></div><div>Maybe creating a histogram of repeated messages (don’t output the same message, one right after the other but rather buffer them with a count. When the new message is different from the last, output the last with a count. At the end of the program, output the outstanding buffered messages).</div><div><br></div><div>Maybe we need a separate tool to find the best v11n, of the known v11ns? I.e. the one with the least mismatches.</div><div><br></div><div>DM</div><div><div><br><blockquote type="cite"><div>On Apr 1, 2025, at 2:19 AM, David Haslam <dfhdfh@protonmail.com> wrote:</div><br class="Apple-interchange-newline"><div><div> <div dir="auto">If osis2mod encounters a set of osisID that do not exist in any of the SWORD versifications - it appears to go into an endless loop attempting to link each one to Rev.22.21</div><div dir="auto"><br></div><div dir="auto">Wouldn’t it be preferable for it to fail with an error message? eg</div><div dir="auto"><br></div><div dir="auto">INVALID osisID - cannot continue!</div><div dir="auto"><br></div><div dir="auto">Best regards,</div><div dir="auto"><br></div><div dir="auto">David</div><div><br></div> <div id="protonmail_mobile_signature_block"><div>Sent from <a href="https://proton.me/mail/home">Proton Mail</a> for iOS</div></div></div>_______________________________________________<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></div></blockquote></div><br></div></body></html>