Uploaded image for project: 'JSword'
  1. JSword
  2. JS-99

Mark module unsupported if versification is not known

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5 (was 1.0.7)
    • Fix Version/s: 1.7
    • Component/s: None
    • Labels:
      None

      Description

      There's a JSword problem with at least some Sword mods of German Bible versions, and maybe with Bibles in other languages: for some verses, JSword returns concatenated verses as the verse text; "in exchange", there are then some following verses where JSword returns no text. This does not happen with the Sword C++ library for the same modules, hence I think it's a JSword bug. I tested with an own JSword app (using JSword 1.5) and with Bible Desktop 1.6 (which JSword version does it use?).

      I traced this down to AbstractPassageBook#getRawText(Verse), when it became quite technical.

      How to reproduce:

      (1) Open BibleDesktop 1.6 (I used the WebStart version) and install the German Bible GerElb1905.
      (2) In this Bible, navigate to Job 39:30. This verse contains the concatenated text of Job 39:30-40:5 (6 verses).
      (3) Compare this with the rendering of the same module, same verse in the Sword C++ libary, where no verses are concatenated. See e.g. here:
      http://crosswire.org/study/parallelstudy.jsp?del=all&add=GerElb1905&key=Job+39%3A30#cv
      (4) In BibleDesktop 1.6 in GerElb1905, navigate to Job 41. The chapter has 25 verses here.
      (5) Compare this with Job 41 as presented by the Sword C++ library, where the chapter has 34 verses:
      http://crosswire.org/study/parallelstudy.jsp?del=all&add=GerElb1905&key=Job+41%3A1#cv
      Verses 26-34 are rendered with empty text by JSword.

      Job 39-41 is a passage where the original verse numbering of the GerElb1905 version differs from the KJV numbering used in Sword. The bug appears seemingly only under such circumstances, but I don't know how this can be, as I thought the KJV verse numbering is hard-coded into the module source? (However, I found the version's original verse numbering in annotations in the OSIS web application, see the last link.)

      For the Job 39-41example above, what JSword does is this (hope I got all the numbers right):
      – JSword renders Job 39:1-29 as Job 39:1-29 (OK)
      – JSword renders Job 39:30; 40:1-5 as Job 39:30 (CONCATENATION)
      – JSword renders Job 40:6-24; 41:1-4 as Job 40:1-23 (SHIFTED)
      – JSword renders Job 41:5-9 as Job 40:24 (CONCATENATION)
      – JSword renders Job 41:10-34 as Job 41:1-25 (SHIFTED)
      – JSword renders Job 41:26-34 as empty verses (EMPTY)

      I have here lists of verses from German Bible modules (20-40 per module) that are rendered empty by JSword, and I think they all or nearly all indicate problems with concatenation of verse texts, at some verses before. I can attach these lists on request. For a start, here are all the empty verses in the GerElb1905 module: Lev 6:24-30; I Sam 23:29; II Ki 11:21; Job 41:26-34; Ps 13:6; Ecc 6:12; Isa 7:25; Eze 20:45-49; Dan 5:31; Hos 11:12; Jona 1:17; Micha 5:15; Lu 17:37; Acts 15:34; II Cor 13:14

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dmsmith DM Smith
                Reporter:
                matew matew
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: