Serious issue with SWORD utility emptyvss

David Haslam <dfhdfh-g/[email protected]> Wed, 14 May 2025 08:09:19 +0000
Newsgroups gmane.comp.literature.sword.devel
Message-ID <1XxJ8vTLHiXTyZ9zcW6gxvECbLPBJcN6XjMnwtkK0vAhSIsXa-YzYoPh-ERxV-SOMVIk14q7TXDK_POvJsfW63Q6Tg21B1Qr4HZanBZlnfU=@protonmail.com>
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: [email protected]
http://crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page