<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;">I think this bug is in osis2mod. It is not supposed to output book, chapter or verse starts or ends. I’m guessing that the chapter ends are present because of the handling of colophons, which come after the end of the last chapter of the book.<div><br></div><div>The design of emptyvss is that it doesn’t care what kind of markup (e.g. ThML, GBF, OSIS) is used. If the verse content has zero length then the verse is missing.</div><div><br></div><div>I think you have been trying to add “invisible” markup to modules to make them seem like they are present in Xiphos. It’s hard to have it both ways.</div><div><br></div><div>In Him,</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>DM<br><div><div><br id="lineBreakAtBeginningOfMessage"><div><br><blockquote type="cite"><div>On May 14, 2025, at 4:09 AM, David Haslam <dfhdfh@protonmail.com> wrote:</div><br class="Apple-interchange-newline"><div><div style="font-family: Arial, sans-serif; font-size: 14px;">Dear all,</div><div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px;">I will soon report this in <b>MODTOOLS</b> in the CrossWire tracker, but this is to inform about the following:<br><br><div style="text-align: center;"><span style="font-size: 13.5pt; line-height: normal;"><b style="line-height: normal;">emptyvss</b></span><span style="font-size: 13.5pt; line-height: normal;"> does not detect all empty verses!!!</span></div>
<br>I suspect that it's looking for verses with the "null string" so it misses detecting any verse that <b><i>only</i></b> contains invisible XML content.<br><br>The main candidate of that class is the <b>last verse of each chapter</b>.<br>When the verse text is missing, such a verse still contains the XML milestone<br><blockquote style="border-left: 3px solid rgb(200, 200, 200); border-top-color: rgb(200, 200, 200); border-right-color: rgb(200, 200, 200); border-bottom-color: rgb(200, 200, 200); padding-left: 10px; color: rgb(102, 102, 102);"><span style="font-family: Menlo, Consolas, "Courier New", monospace;"><</span><span style="font-family: Menlo, Consolas, "Courier New", monospace; font-size: 12pt; line-height: normal;">chapter eID="...." osisID="...." /></span><br></blockquote>
E.g.</div><div style="font-family: Arial, sans-serif; font-size: 14px;"><blockquote style="border-left: 3px solid rgb(200, 200, 200); border-top-color: rgb(200, 200, 200); border-right-color: rgb(200, 200, 200); border-bottom-color: rgb(200, 200, 200); padding-left: 10px; color: rgb(102, 102, 102);"><span style="font-family: Menlo, Consolas, "Courier New", monospace; font-size: 12pt; line-height: normal;"><chapter eID="gen31843" osisID="Jas.1"/></span><br></blockquote><div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div>I encountered exactly this problem yesterday while I was working on the <b>JST</b> module.<br>Some of the missing verses were the last one in various chapters.<br><br>I'm quite astounded that I've been using this utility for almost 15 years and it's only just come to light.  It's a vital part of our armory for analysing new and updated modules.</div><div style="font-family: Arial, sans-serif; font-size: 14px;"><br>

<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>_______________________________________________<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></div></div></body></html>