[sword-devel] Major change to osis2mod - Module, NT & OT introductions and bug fixes

Troy A. Griffitts scribe at crosswire.org
Sat Aug 9 02:31:39 EDT 2025


Well done, DM! That sounds like a lot of work and great improvement. It's so good to have you back around.

Nice work,

Troy

On August 8, 2025 6:29:25 PM GMT+02:00, DM Smith <dmsmith at crosswire.org> wrote:
>I just checked in the following:
>
>MODTOOLS-111 osis2mod - Added module and testament introductions.
> * Made div of type bookGroup or book the demarcation between Module Introduction and module content.
> * From John Austin, changed the demarcation of chapter introductions and pre-verse,
>   from a section div to a section, subSection or majorSection div when the subType isn't x-introduction.
>   ** MODTOOLS-94 subSection pre-verse titles are not recognized
>   ** MODTOOLS-95 majorSection titles are not always imported properly- and sometimes drops text
> * Removed old commented out code for majorSection 
> * Added two more exit codes EXIT_BAD_COMMENT and EXIT_BAD_ENTITY to replace misuse of EXIT_BAD_NESTING.
> * Reformatted diagnostic messages to be more readable.
> * Used global v11n rather than calling currentVerse.getVersificationSystem().
> * Changed 1 and 0 to true and false where the argument is bool.
> * If the module has module or testament introductions, prepend the revision to the first one, otherwise do as before.
> * Fixed bug where New Testament content is appended to Malachi. 
>   ** MODTOOLS-4  osis2mod: bug in handling preverse material
>   ** MODTOOLS-8  osis2mod does not place the New Testament bookGroup title in the correct place
>   ** MODTOOLS-93 New Testament introduction is appended to end of Malachi
> * Rather than generating an sID/eID pair for book, chapter or verse, use the osisID value.
> * updated osis testcases to pass
>_______________________________________________
>sword-devel mailing list: sword-devel at crosswire.org
>http://crosswire.org/mailman/listinfo/sword-devel
>Instructions to unsubscribe/change your settings at above page

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://crosswire.org/pipermail/sword-devel/attachments/20250809/1b1e752d/attachment.htm>


More information about the sword-devel mailing list