Menu

#498 Wrong displaying Catholic Millenium Bible

V3.4
open
nobody
None
1
2023-05-29
2023-05-11
Anonymous
No

In OpenSong v3.4 and earlier. The program responsible for displaying the Bible divides the books of the Old and New Testaments according to an internal scheme: 39 books of the Old Testament and the rest of the New Testament - KJV ver.
The Catholic Millennium Bible has 47 books of the Old Testament. OpenSong is dividing the books incorrectly, causing the books to display incorrectly and missing several New Testament books from the "New Testament" window.

1 Attachments

Discussion

  • Ed Palmer

    Ed Palmer - 2023-05-11

    The issues with formatting Bibles that do not conform to the KJV division of the testaments, books, and verses were the primary reason I started contributing to the OpenSong project in 2005. All the way back to the early days of V1.0 (and perhaps before), OpenSong has supported a second format for Bibles that is as simple as the original format but which is self describing and does not assume the KJV structure. If you look for information about that format, it is referred to as the NAB format because it was developed to accommodate the New American Bible then in use in US Catholic Churches.

    Since then, OpenSong has embraced the first Zefania format (the one from about 2005) as another alternative. It has more options than we support in OpenSong, but it does have the concept of a book's short name or abbreviation to override OpenSong's [admittedly English-biased] algorithm to generate a short name for searching.

    Probably the easiest way to resolve your issue with the Catholic Millennium Bible is to alter the file's formatting from OpenSong KJV to OpenSong NAB (but making the additional effort to go to Zefania 2005 would open its use to any other application that supports that format).

    If you are unsure how to do this or do not have the tools, feel free to contact me so I can arrange to get a copy of the file. Do not upload it here so we do not run into issues with a copyright violation if the translation is under copyright.

    Here are small excerpts of the three formats. Consult the Zefania documentation for the details on their XML schema.

    OpenSong "KJV"

    <?xml version="1.0" encoding="ISO-8859-1"?>
    <bible>
      <b n="Genesis">
        <c n="1">
          <v n="1">In the beginning God created the heaven and the earth.</v>
          <v n="2">And the earth was without form, and void; and darkness was upon the face of the deep. And the Spirit of God moved upon the face of the waters.</v>
          <v n="3">And God said, Let there be light: and there was light.</v>
          <v n="4">And God saw the light, that it was good: and God divided the light from the darkness.</v>
          <v n="5">And God called the light Day, and the darkness he called Night. And the evening and the morning were the first day.</v>
          <v n="6">And God said, Let there be a firmament in the midst of the waters, and let it divide the waters from the waters.</v>
    

    OpenSong "NAB"

    Note the primary differences:

    • The <OT> and <NT> sections identify which books belong in a testament
    • The <b> (book) element includes a CHAPTERS attribute to indicate how many chapters are in the book. (Case is sensitive here)
    • The <c> (chapter) element includes a VERSES attribute to indicate how many verses are in the chapter. (Again, case sensitive)

    In retrospect, now that I understand XML better, the CHAPTERS and VERSES attributes could have easily been calculated with a simple XML query but I doubt there is enough use of this format to justify the change.

        <book n="Zephaniah"/>
        <book n="Haggai"/>
        <book n="Zechariah"/>
        <book n="Malachi"/>
      </OT>
      <NT>
        <book n="Matthew"/>
        <book n="Mark"/>
        <book n="Luke"/>
        <book n="John"/>
        <book n="Acts"/>
        <book n="Romans"/>
        <book n="1 Corinthians"/>
        <book n="2 Corinthians"/>
        <book n="Galatians"/>
        <book n="Ephesians"/>
        <book n="Philippians"/>
        <book n="Colossians"/>
        <book n="1 Thessalonians"/>
        <book n="2 Thessalonians"/>
        <book n="1 Timothy"/>
        <book n="2 Timothy"/>
        <book n="Titus"/>
        <book n="Philemon"/>
        <book n="Hebrews"/>
        <book n="James"/>
        <book n="1 Peter"/>
        <book n="2 Peter"/>
        <book n="1 John"/>
        <book n="2 John"/>
        <book n="3 John"/>
        <book n="Jude"/>
        <book n="Revelation"/>
      </NT>
      <b n="Genesis" CHAPTERS="50">
        <c n="1" VERSES="31">
          <v n="1">In the beginning, when God created the heavens and the earth,</v>
          <v n="2">the earth was a formless wasteland, and darkness covered the abyss, while a mighty wind swept over the waters.</v>
          <v n="3">Then God said, "Let there be light," and there was light.</v>
          <v n="4">God saw how good the light was. God then separated the light from the darkness.</v>
          <v n="5">God called the light "day," and the darkness he called "night." Thus evening came, and morning followed--the first day.</v>
          <v n="6">Then God said, "Let there be a dome in the middle of the waters, to separate one body of water from the other." And so it happened:</v>
    

    Zefania (2005)

    <?xml version="1.0" encoding="UTF-8"?>
    <!--Visit the online documentation for Zefania XML Markup-->
    <!--http://bgfdb.de/zefaniaxml/bml/-->
    <!--Download another Zefania XML files from-->
    <!--http://sourceforge.net/projects/zefania-sharp-->
    <XMLBIBLE xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="zef2005.xsd" biblename="Ukrainian Version" status="v" version="2.0.1.18" type="x-bible" revision="0">
      <INFORMATION>
        <title>Ukrainian Version</title>
        <creator/>
        <subject>The Holy Bible</subject>
        <description/>
        <publisher>Free Bible Software Group</publisher>
        <contributors>The Unbound Bible Biola University: Administrative Computing 13800 Biola Ave. La Mirada, CA 90639 United States of America 562-903-4722</contributors>
        <date>2009-01-23</date>
        <format>Zefania XML Bible Markup Language</format>
        <identifier>UKRUB</identifier>
        <source>ftp://unboundftp.biola.edu/pub/ukrainian_utf8.zip</source>
        <coverage>provide the bible to then world</coverage>
        <rights/>
        <type/>
      </INFORMATION>
      <BIBLEBOOK bnumber="1" bname="Genesis" bsname="Gen">
        <CHAPTER cnumber="1">
          <VERS vnumber="1">На початку Бог створив Небо та землю.</VERS>
          <VERS vnumber="2">А земля була пуста та порожня, і темрява була над безоднею, і Дух Божий ширяв над поверхнею води.</VERS>
          <VERS vnumber="3">І сказав Бог: Хай станеться світло! І сталося світло.</VERS>
          <VERS vnumber="4">І побачив Бог світло, що добре воно, і Бог відділив світло від темряви.</VERS>
          <VERS vnumber="5">І Бог назвав світло: День, а темряву назвав: Ніч. І був вечір, і був ранок, день перший.</VERS>
          <VERS vnumber="6">І сказав Бог: Нехай станеться твердь посеред води, і нехай відділяє вона між водою й водою.</VERS>
    
     

    Last edit: Ed Palmer 2023-05-11
  • Anonymous

    Anonymous - 2023-05-26

    While the NAB format has division markers <ot> - Old Testament and <nt> - New Testament, Zefania (2005) does not have such markers. I rewrote the file of the Millennium Bible from the KJV format to the Zefania (2005) format and then the division of the books is not good. How to use the Zefania (2005) format correctly so that the division of the books of the Old and New Testaments is correct in OpenSong?</nt></ot>

     
    • Ed Palmer

      Ed Palmer - 2023-05-26

      The Zefania (2005) format has complexities that are not fully covered by the schema definition. The schema definition and almost all of the documentation that is still available on the web excludes how to properly define the book number (bnumber attribute for BIBLEBOOK) . Zefania has a designated book number for each of the books of the Bible, including the Deuterocanonical books (also called the Apocrypha). In fact, it has designated book numbers for non-Bible religious texts such as the Quran and the Book of Mormon.

      OpenSong is able to partially handle the Deuterocanonical books when the proper book number is used. I say "partially handle" because OpenSong does not place them in the correct order. I can find stubs of code and documentation where I started work on getting the order correct. For some reason I did not complete that work (yet).

      As I mentioned above, OpenSong uses the convention for book numbers based on documentation I was able to find. In it, the common 39 books of the Old Testament are numbered 1-39. The New Testament (which invariably has 27 books in every translation I have examined) are assigned book numbers 40-66. The Deuterocanonical books and the books of the other religious texts Zefania considered are assigned book numbers above 66.

      At present, when using a Zefania-formatted Bible, OpenSong will place book numbers 40-66 in the New Testament column and any books with book numbers less than 40 or greater than 66 are placed in the Old Testament column in ascending book number order. This is why the order is currently incorrect: OpenSong should be consulting a table to provide the correct order instead of using the numerical sequence of the book number. Unfortunately, no order seems to have a formal definition in the Zefania schema. (The later Zefania standard may have corrected that oversight; I have not examined the later schema closely.) That means that any table OpenSong might use in the future could be incorrect for a specific Bible. (Of course, defining a default order needs to be addressed first.)

      Attached is a file I have showing the Zefania book numbers and the book order. If you will use these book numbers in your translation, OpenSong should divide the OT and NT properly. (By the way, in your screenshot above I suspect that if you scroll the OT column you will find the last seven books of the NT listed because of OpenSong's "<40 or >66" rule.)

       
  • SvA

    SvA - 2023-05-27

    bnames.xml contains lists in various languages with book numbers, book names and short names for use in bible references. Here you can find out the correct numbers for your deuterocanonical books. bnames.xml is located in the folder "OpenSong Settings" below the installation path of OpenSong (where the executable lives).
    or here are the definitions for "english-common":

        <!-- APO -->
        <BOOK bnumber="67" bshort="Jdt">Judith</BOOK>
        <BOOK bnumber="68" bshort="Wis">Wisdom</BOOK>
        <BOOK bnumber="69" bshort="Tob">Tobit</BOOK>
        <BOOK bnumber="70" bshort="Sir">Sirach</BOOK>
        <BOOK bnumber="71" bshort="Bar">Baruch</BOOK>
        <BOOK bnumber="72" bshort="1Macc">1 Maccabees</BOOK>
        <BOOK bnumber="73" bshort="2Macc">2 Maccabees</BOOK>
        <BOOK bnumber="74" bshort="AddDan">AddDan</BOOK>
        <BOOK bnumber="75" bshort="AddEsth">AddEsth</BOOK>
        <BOOK bnumber="76" bshort="PrMan">Manassse</BOOK>
        <BOOK bnumber="77" bshort="3Macc">3 Maccabees</BOOK>
        <BOOK bnumber="78" bshort="4Macc">4 Maccabees</BOOK>
        <BOOK bnumber="79" bshort="EpJer">Letter of Jeremiah</BOOK>
        <BOOK bnumber="80" bshort="1Esd">1 Esdras</BOOK>
        <BOOK bnumber="81" bshort="2Esd">2 Esdras</BOOK>
        <BOOK bnumber="82" bshort="OdesSol">Odes of Solomon</BOOK>
        <BOOK bnumber="83" bshort="PssSol">Psalms of Solomon</BOOK>
        <BOOK bnumber="84" bshort="Lao">Laodiceans</BOOK>
        <BOOK bnumber="85" bshort="1En">1 Enoch</BOOK>
        <BOOK bnumber="86" bshort="Jub">Jubilees</BOOK>
        <BOOK bnumber="87" bshort="Sus">Susanna</BOOK>
        <BOOK bnumber="88" bshort="Bel">Bel and the Dragon</BOOK>
        <BOOK bnumber="89" bshort="Ps151">Psalm 151</BOOK>
        <BOOK bnumber="90" bshort="SusTh">Susanna (Theodotion)</BOOK>
        <BOOK bnumber="91" bshort="BelTh">Bel and the Dragon (Theodotion)</BOOK>
    
     
  • Anonymous

    Anonymous - 2023-05-29

    Thank you very much for the last tips, which were the key to solving the problem of the correct display of the books of the Old and New Testaments. The BookNamesTabDelimited.txt file is helpful in understanding how OpenSong divides and arranges books. Thank you for your patience and understanding.

     
  • SvA

    SvA - 2023-05-29

    I now recognize that I did not look closely enough at BookNamesTabDelimited.txt.
    As I am not used to bibles which include deuterocanonical books, I expected those books to be listed at the end of the list (according to their bnumber) or in-between OT and NT, where they are in many protestant bibles, following Luther which considered them to be not Scripture proper, but still edifying to read, and thus put then in a separate section on their own.

     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB