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.

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.

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.

In Him,
        DM


> On May 14, 2025, at 4:09 AM, David Haslam <dfh...@protonmail.com> wrote:
> 
> Dear all,
> 
> I will soon report this in MODTOOLS in the CrossWire tracker, but this is to 
> inform about the following:
> 
> emptyvss does not detect all empty verses!!!
> 
> I suspect that it's looking for verses with the "null string" so it misses 
> detecting any verse that only contains invisible XML content.
> 
> The main candidate of that class is the last verse of each chapter.
> When the verse text is missing, such a verse still contains the XML milestone
> <chapter eID="...." osisID="...." />
> E.g.
> <chapter eID="gen31843" osisID="Jas.1"/>
> 
> I encountered exactly this problem yesterday while I was working on the JST 
> module.
> Some of the missing verses were the last one in various chapters.
> 
> 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.
> 
> Best regards,
> 
> David
> 
> Sent with Proton Mail <https://pr.tn/ref/SWXT9A5YZ67G> secure email.
> _______________________________________________
> sword-devel mailing list: sword-devel@crosswire.org
> http://crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page

_______________________________________________
sword-devel mailing list: sword-devel@crosswire.org
http://crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Reply via email to