<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.crosswire.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Dmsmith</id>
		<title>CrossWire Bible Society - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.crosswire.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Dmsmith"/>
		<link rel="alternate" type="text/html" href="https://wiki.crosswire.org/Special:Contributions/Dmsmith"/>
		<updated>2026-05-30T18:53:03Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.27.7</generator>

	<entry>
		<id>https://wiki.crosswire.org/index.php?title=KJV_1611&amp;diff=17765</id>
		<title>KJV 1611</title>
		<link rel="alternate" type="text/html" href="https://wiki.crosswire.org/index.php?title=KJV_1611&amp;diff=17765"/>
				<updated>2025-11-30T07:13:31Z</updated>
		
		<summary type="html">&lt;p&gt;Dmsmith: /* Facsimile editions */  Removed bad link which redirects to a possible virus page&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Sample: Genesis 1==&lt;br /&gt;
The following is a faithful representation of Genesis 1 from Authorized Version of 1611&amp;lt;ref&amp;gt;This was manually transcribed from: http://dewey.library.upenn.edu/sceti/printedbooksNew/index.cfm?TextID=kjbible&amp;amp;PagePosition=77&amp;lt;/ref&amp;gt;, commonly called the King James Version.&amp;lt;BR&amp;gt;This is frequently confused with 1769 edition by Benjamin Blayney,&amp;lt;ref&amp;gt;Current KJV printings feature certain post-1611-edition editorial changes, 18th century spelling, an enhanced system of &amp;quot;supplied words&amp;quot; (the words printed in italics as having no equivalent in the original Biblical texts but added for clarity), and emended punctuation.&amp;lt;/ref&amp;gt; which is the basis of most modern printings.&lt;br /&gt;
&lt;br /&gt;
               THE FIRST BOOKE OF MOSES, called GENESIS.&lt;br /&gt;
               Chap.j.&lt;br /&gt;
               The creation of the world.&lt;br /&gt;
               1 The creation of Heauen and Earth, 3 of the&lt;br /&gt;
               light, 6 of the firmament, 9 of the earth ſe-&lt;br /&gt;
               parated from the waters, 11 and made fruit-&lt;br /&gt;
               full, 14 of the Sunne, Moone and Starres,&lt;br /&gt;
               20 of fiſh and fowle, 24 of beaſts and cat-&lt;br /&gt;
               tell, 26 of Man in the Image of God. 29 Al-&lt;br /&gt;
               ſo the appointment of food.&lt;br /&gt;
 *Pſal.33.6.                             n *the beginning&lt;br /&gt;
 and 136.5.                              God created the&lt;br /&gt;
 acts.14.15.                             Heauen and the&lt;br /&gt;
 and 17.24.                              Earth.&lt;br /&gt;
 hebr.11.3.              I                 2   And the&lt;br /&gt;
                                         earth was with=&lt;br /&gt;
                                         out forme , and&lt;br /&gt;
                                         voyd; and darke=&lt;br /&gt;
                                         neſſe ''was'' vpon&lt;br /&gt;
               the face of the deepe: And the Spirit&lt;br /&gt;
               of God mooued vpon the face of the&lt;br /&gt;
               waters.&lt;br /&gt;
 *2.Cor.         3   And God ſaid, *Let there be light:&lt;br /&gt;
 4.6           and there was light.&lt;br /&gt;
 †Hebr.be-       4   And God ſaw the light, that ''it was''&lt;br /&gt;
 tweene the    good: and God diuided †the light from&lt;br /&gt;
 light and be- the darkeneſſe.&lt;br /&gt;
 tweene the      5   And God called the light, Day,&lt;br /&gt;
 darkeneſſe.   and the darkneſſe he called Night: †and&lt;br /&gt;
 †Hebr. and    the euening and the morning were the&lt;br /&gt;
 the euening   firſt day.&lt;br /&gt;
 was, and the    6   ¶And God faid, *Let there be a&lt;br /&gt;
 morning was.  †firmament in the midſt of the waters:&lt;br /&gt;
 etc           and let it diuide the waters from the&lt;br /&gt;
 *Pfal.136.    waters.&lt;br /&gt;
 5 ier.10.12     7   And God made the firmament&lt;br /&gt;
 and 51.15.    and diuided the waters, which ''were'' vn=&lt;br /&gt;
 †Hebr.Ex-     der the firmament, from the waters,&lt;br /&gt;
 panſion.      which ''were'' above the firmament: and it&lt;br /&gt;
               was ſo.&lt;br /&gt;
 column break&lt;br /&gt;
 *Ier.51.15.     8   And God called the *firmament&lt;br /&gt;
               Heaven : and the euening and the mor=&lt;br /&gt;
               ning were the ſecond day.&lt;br /&gt;
 *Pſal.33.7.     9   ¶And God ſaid, *Let the waters&lt;br /&gt;
 and 136.5.    vnder the heauen be gathered together&lt;br /&gt;
 iob.38.8.     vnto one place, and let the dry land ap=&lt;br /&gt;
               peare: and it was ſo.&lt;br /&gt;
                 10  And God called the drie land,&lt;br /&gt;
               Earth, the gathering together of&lt;br /&gt;
               the waters called hee, Seas: and God&lt;br /&gt;
               ſaw that ''it was'' good.&lt;br /&gt;
 †Heb.tender     11  And God ſaid, Let the Earth bring&lt;br /&gt;
 graſſe.       foorth †graſſe, the herbe yeelding ſeed,&lt;br /&gt;
               ''and'' the fruit tree, yeelding fruit after his&lt;br /&gt;
               kinde, whole ſeed ''is'' in it ſelfe, vpon the&lt;br /&gt;
               earth : and it was ſo.&lt;br /&gt;
                 12  And the earth brought foorth&lt;br /&gt;
               graſſe, ''and'' herbe yeelding ſeed after his&lt;br /&gt;
               kinde, and the tree yeelding fruit, whole&lt;br /&gt;
               ſeed ''was'' in it ſelfe , after his kinde: and&lt;br /&gt;
               God ſaw that ''it was'' good.&lt;br /&gt;
                 13  And the euening and the morning&lt;br /&gt;
               were the third day.&lt;br /&gt;
 *Deu.4.19       14  ¶And God ſaid, Let there bee&lt;br /&gt;
 pſal.136.7.   *lights in the firmament of the heauen,&lt;br /&gt;
               to diuide †the day from the night: and&lt;br /&gt;
 †Hebr.be-     let them be for ſignes and for ſeaſons,&lt;br /&gt;
 tweene the    and for dayes and yeeres.&lt;br /&gt;
 day and be-    15  And let them be for lights in the&lt;br /&gt;
 tweene the    firmament of the heaven, to give light&lt;br /&gt;
 night.        vpon the earth: and it was ſo.&lt;br /&gt;
                 16  And God made two great lights:&lt;br /&gt;
 †Hebr. for    the greater light † to rule the day, and&lt;br /&gt;
 the rule of   the leſſer light to rule the night: ''he made''&lt;br /&gt;
 the day, etc. the ſtarres alſo.&lt;br /&gt;
                 17  And God ſet them in the firma=&lt;br /&gt;
               ment of the heauen, to give light vpon&lt;br /&gt;
               the earth:&lt;br /&gt;
 *Ier.31.35      18  And to * rule ouer the day , and&lt;br /&gt;
                                        A         ouer&lt;br /&gt;
 page break&lt;br /&gt;
 The creation of man. Geneſis. The firft Sabbath.&lt;br /&gt;
               ouer the night, and to diuide the light&lt;br /&gt;
               from the darkeneſſe: and God ſaw that&lt;br /&gt;
               ''it was'' good.&lt;br /&gt;
                 19  And the euening and the morning&lt;br /&gt;
               were the fourth day.&lt;br /&gt;
 *4.Eſdr.6.      20  And God ſaid, *Let the waters&lt;br /&gt;
 47.           bring foorth aboundantly the ||mouing&lt;br /&gt;
 ||Or, cree-   creature that hath †life , and foule ''that''&lt;br /&gt;
 ping.         may flie aboue the earth in the †open&lt;br /&gt;
 †Heb.ſoule.   firmament of heauen.&lt;br /&gt;
 †Heb. face    21  And God created great whales,&lt;br /&gt;
 of the firma- and every liuing creature that moueth,&lt;br /&gt;
 ment of hea-  which the waters brought forth aboun=&lt;br /&gt;
 uen.          dantly after their kinde, and euery win=&lt;br /&gt;
               ged foule after his kinde : and God ſaw&lt;br /&gt;
               that ''it was'' good.&lt;br /&gt;
 *Chap.8.        22  And God bleſſed them, ſaying, *Be&lt;br /&gt;
 17.and 9.1.   fruitfull, and multiply, and fill the wa=&lt;br /&gt;
               ters in the Seas, and let foule multiply&lt;br /&gt;
               in the earth.&lt;br /&gt;
                 23 And the euening and the morning&lt;br /&gt;
               were the fift day.&lt;br /&gt;
                 24 ¶And God ſaid, Let the earth&lt;br /&gt;
               bring forth the liuing creature after his&lt;br /&gt;
               kinde, cattell, and creeping thing, and&lt;br /&gt;
               beaſt of the earth after his kinde: and it&lt;br /&gt;
               was ſo.&lt;br /&gt;
                 25  And God made the beaſt of the&lt;br /&gt;
               earth after his kinde, and cattell after&lt;br /&gt;
               their kinde, and euery thing that cree=&lt;br /&gt;
               peth vpon the earth , after his kinde:&lt;br /&gt;
               and God ſaw that ''it was'' good.&lt;br /&gt;
 *Chap.5.1.      26  ¶And God ſaid, *Let us make&lt;br /&gt;
 and 9.6.      man in our Image , after our likeneſſe:&lt;br /&gt;
 1.corin.11.   and let them haue dominion ouer the&lt;br /&gt;
 7.ephes.4.    fiſh of the ſea, and ouer the foule of the&lt;br /&gt;
 14.col.3.     aire, and ouer the cattell, and ouer all&lt;br /&gt;
 10            the earth,and ouer euery creeping thing&lt;br /&gt;
               that creepeth vpon the earth.&lt;br /&gt;
                 27  So God created man in his owne&lt;br /&gt;
 *Matth.19     Image, in the Image of God created&lt;br /&gt;
 4. wiſd.2.    hee him; *male and female created hee&lt;br /&gt;
 23.           them.&lt;br /&gt;
                 28  And God bleſſed them, and God&lt;br /&gt;
 *Chap.9.1     ſaid vnto them, *Be fruitfull, and mul=&lt;br /&gt;
               tiply, and repleniſh the earth, and ſub=&lt;br /&gt;
               due it, and haue dominion ouer the fiſh&lt;br /&gt;
               of the ſea, and ouer the foule of the aire,&lt;br /&gt;
 †Heb.cree-    and ouer euery liuing thing that †moo=&lt;br /&gt;
 peth.         ueth upon the earth.&lt;br /&gt;
                 29  ¶And God faid, Behold, I haue&lt;br /&gt;
 †Hebr.ſee-    giuen you euery herbe †bearing ſeede,&lt;br /&gt;
 ding ſeed.    which ''is'' vpon the face of all the earth,&lt;br /&gt;
               and euery tree, in the which ''is'' the fruit&lt;br /&gt;
 *Chap.9.3     of a tree yeelding ſeed, *to you it ſhall be&lt;br /&gt;
               for meat:&lt;br /&gt;
                 30  And to euery beaſt of the earth,&lt;br /&gt;
               and to euery foule of the aire, and to eue=&lt;br /&gt;
               ry thing that creepeth vpon the earth,&lt;br /&gt;
 column break&lt;br /&gt;
 †Hebr.a li-   wherein there ''is'' †life, ''I haue giuen'' euery&lt;br /&gt;
 uing foule.   greene herbe for meat: and it was ſo.&lt;br /&gt;
 *Ecclus.39      31  And *God ſaw euerything that&lt;br /&gt;
  16.          hee had made : and behold, ''it was'' very&lt;br /&gt;
               good. And the euening and the morn=&lt;br /&gt;
               ning were the ſixth day.&lt;br /&gt;
&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== The Apocrypha ==&lt;br /&gt;
Most editions of the KJV printed before the mid-nineteenth century contained the Apocrypha (''aka'' Deuterocanonical books).&lt;br /&gt;
&lt;br /&gt;
== Margin notes and cross-references ==&lt;br /&gt;
Blayney's 1769 edition contained both marginal notes and cross-references. The OT references included many to the deuterocanonical books (''aka'' the Apocrypha). &amp;lt;ref&amp;gt;The KJV SWORD module contains 6959 notes, but as yet, we have found a reliable digital source for the cross-references.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Historic reprints==&lt;br /&gt;
There was a scrupulous original-spelling, page-for-page, and line-for-line reprint of the 1611 edition (including all chapter headings, marginalia, and original italicization, but with Roman type substituted for the black letter of the original), published by Oxford in 1833. &amp;lt;ref&amp;gt;See http://en.wikipedia.org/wiki/Authorized_King_James_Version#cite_note-95.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Note:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Modern reprints==&lt;br /&gt;
===Digitally remastered edition===&lt;br /&gt;
* http://www.amazon.co.uk/Bible-James-Version-400th-Anniversary/dp/0310440297/&lt;br /&gt;
&lt;br /&gt;
===Facsimile editions===&lt;br /&gt;
* http://dewey.library.upenn.edu/sceti/printedbooksNew/index.cfm?TextID=kjbible (first printing)&lt;br /&gt;
* http://books.google.com/books?id=OHFbAAAAMAAJ&amp;amp;printsec=frontcover (first printing)&lt;br /&gt;
* http://www.archive.org/details/holybibleexactre00oxfouoft and http://www.archive.org/details/holybibleexactre02oxfouoft (first printing)&lt;br /&gt;
* http://sceti.library.upenn.edu/sceti/printedbooksNew/index.cfm?TextID=kjbible&amp;amp;PagePosition=1 &amp;amp;ndash; The Holy Bible, conteyning the Old Testament, and the New. Imprinted at London : By Robert Barker ..., 1611. In Annenberg Rare Book and Manuscript Library. BS185 1611 .L65.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&lt;br /&gt;
===Further reading===&lt;br /&gt;
&lt;br /&gt;
* Scrivener, F. H. A., ''The Authorized Edition of the English Bible (1611) - Its Subsequent Reprints and Modern Representatives''. (1884). A modern (2004) reprint (with some additions &amp;amp; corrections) is available as paperback from Wipf &amp;amp; Stock Publishers. ISBN 1-59244-634-5&lt;br /&gt;
&lt;br /&gt;
* Nicolson, Adam, ''God's Secretaries: The Making of the King James Bible'' (2003) [http://www.amazon.co.uk/gp/product/0060185163/ ].&amp;lt;BR&amp;gt;Same book with different title, ''When God Spoke English: The Making of the King James Bible'' (2011) [http://www.amazon.co.uk/When-God-Spoke-English-Making/dp/0007431007/ ]&lt;br /&gt;
&lt;br /&gt;
* McGrath, Alister, ''In the Beginning: The Story of the King James Bible'' (2011) [http://www.amazon.co.uk/Beginning-Story-King-James-Bible/dp/0340785853/ ]&lt;br /&gt;
&lt;br /&gt;
===External links===&lt;br /&gt;
* http://en.wikipedia.org/wiki/Authorized_King_James_Version&lt;br /&gt;
* http://www.bible-researcher.com/kjvbib.html&lt;br /&gt;
* http://www.studylight.org/&lt;br /&gt;
&lt;br /&gt;
==== Library Holdings ====&lt;br /&gt;
* http://copac.jisc.ac.uk/search?&amp;amp;keyword=1769+Bible+%E2%80%93+Benjamin+Blayney+Edition&lt;br /&gt;
* https://www.worldcat.org/search?q=kw%3A1769+Bible+%E2%80%93+Benjamin+Blayney+Edition&amp;amp;qt=advanced&amp;amp;dblist=638&lt;br /&gt;
&lt;br /&gt;
====Text Development Sites====&lt;br /&gt;
* [http://www.originalbibles.com/1769-king-james-bible-benjamin-blayney/ The 1769 King James Bible – Benjamin Blayney Edition]&lt;br /&gt;
&lt;br /&gt;
====Quatercentenary====&lt;br /&gt;
* http://www.2011trust.org/&lt;br /&gt;
&lt;br /&gt;
[[Category:English Bibles]]&lt;/div&gt;</summary>
		<author><name>Dmsmith</name></author>	</entry>

	<entry>
		<id>https://wiki.crosswire.org/index.php?title=Osis2mod&amp;diff=17764</id>
		<title>Osis2mod</title>
		<link rel="alternate" type="text/html" href="https://wiki.crosswire.org/index.php?title=Osis2mod&amp;diff=17764"/>
				<updated>2025-07-14T16:50:27Z</updated>
		
		<summary type="html">&lt;p&gt;Dmsmith: /* Module and Testament Introductions */ Making progress toward having Module and Testament Introductions&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
osis2mod transforms an OSIS encoded [[OSIS Bibles|Bible]] or [[OSIS_Commentaries|commentary]] into a SWORD module.&lt;br /&gt;
&lt;br /&gt;
==Where to get it==&lt;br /&gt;
* See [[DevTools:Modules#Collect_and_Install_Software_Tools|Collect and Install Software Tools]]&lt;br /&gt;
&lt;br /&gt;
== Current status ==&lt;br /&gt;
&lt;br /&gt;
Software bugs relating to osis2mod should be reported in https://tracker.crosswire.org/browse/MODTOOLS&lt;br /&gt;
&lt;br /&gt;
:''Please describe current status of osis2mod, including a list of any outstanding issues or unsolved difficulties''.&lt;br /&gt;
&lt;br /&gt;
==History of Changes==&lt;br /&gt;
The following outlines in reverse chronological order the major changes to osis2mod. When several changes were made over the span of a few days, they are lumped into the most recent date. Bug fixes are not mentioned.&lt;br /&gt;
&lt;br /&gt;
{|width=&amp;quot;100%&amp;quot; border=&amp;quot;0&amp;quot; class=&amp;quot;sortable&amp;quot;&lt;br /&gt;
!width=&amp;quot;10%&amp;quot;|Date&lt;br /&gt;
!Revision&lt;br /&gt;
!Feature&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2025-07-07'''&lt;br /&gt;
|&lt;br /&gt;
r3907&lt;br /&gt;
|&lt;br /&gt;
* MODTOOLS-25 give location in input for messages.&lt;br /&gt;
&lt;br /&gt;
 Created identifyMsg which creates a standardized message for reporting and used it for all messages to standard out.&lt;br /&gt;
 &lt;br /&gt;
 The message is of the form: type(kind)[linePos,charPos] osisID=osisID: message&lt;br /&gt;
 &lt;br /&gt;
 Where:&lt;br /&gt;
  type           The message type (e.g., &amp;quot;ERROR&amp;quot;, &amp;quot;WARNING&amp;quot;, &amp;quot;INFO&amp;quot;).&lt;br /&gt;
  kind           The message category or kind (e.g., &amp;quot;REF&amp;quot;, &amp;quot;PARSE&amp;quot;).&lt;br /&gt;
  linePos        The position in the file of the last line that was read.&lt;br /&gt;
  charPos        The position in the line of the last character that was read.&lt;br /&gt;
  osisID         (Optional) The current OSIS ID to include. May be nullptr or empty.&lt;br /&gt;
  message        event description with details&lt;br /&gt;
 &lt;br /&gt;
 * If linePos is 0, the position ([linePos,charPos]) is omitted.&lt;br /&gt;
 * If osisID is nullptr or empty, the osisID part is omitted.&lt;br /&gt;
 * The returned string always ends with a colon and a trailing space (&amp;quot;: &amp;quot;).&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2025-06-25'''&lt;br /&gt;
|&lt;br /&gt;
r3906&lt;br /&gt;
|&lt;br /&gt;
* MODTOOLS-76: Enhance -v argument handling in osis2mod with case-insensitive and prefix matching, and improved error reporting.&lt;br /&gt;
** Outputs the name of the versification system being used at program start&lt;br /&gt;
** Adds layered resolution of versifications:&lt;br /&gt;
## Case-sensitive exact match&lt;br /&gt;
## Case-insensitive exact match&lt;br /&gt;
## Case-insensitive prefix match&lt;br /&gt;
** Shows detailed error messages when input is invalid or ambiguous:&lt;br /&gt;
*** Lists all matches in case of ambiguity&lt;br /&gt;
*** Lists input and valid options if no match is found&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2025-06-19'''&lt;br /&gt;
|&lt;br /&gt;
r3903&lt;br /&gt;
|&lt;br /&gt;
* MODTOOLS-108  fix. Properly append verses beyond the last chapter of a book at the end of the book in the last verse of the chapter, which caused an infinite loop.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2020-07-26'''&lt;br /&gt;
|&lt;br /&gt;
r3769&lt;br /&gt;
|&lt;br /&gt;
* Fixed linking bug with ranges in osis2mod&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2020-05-08'''&lt;br /&gt;
|&lt;br /&gt;
r3737&lt;br /&gt;
|&lt;br /&gt;
* Added support putting reponumber into nano position of SWORD version string and output current SWORD version&lt;br /&gt;
* standardize on (SWORD: {SWVersion::currentVersion.getText()}) for all reported SWORD versions in utilities&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2016-08-16'''&lt;br /&gt;
|&lt;br /&gt;
r3431&lt;br /&gt;
|&lt;br /&gt;
* commented out  a set of lines handling &amp;quot;div type=&amp;quot;majorSection&amp;quot; &amp;quot; - see comments in code. &lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2016-02-06'''&lt;br /&gt;
|&lt;br /&gt;
r3401&lt;br /&gt;
|&lt;br /&gt;
* Added entity handling.&lt;br /&gt;
* div type='colophon' now not changed to milestones.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2015-02-16'''&lt;br /&gt;
|&lt;br /&gt;
r3322&lt;br /&gt;
| &lt;br /&gt;
* Correct casing of COUT&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2015-02-16'''&lt;br /&gt;
|&lt;br /&gt;
r3321&lt;br /&gt;
|&lt;br /&gt;
* cleaned up whitespace in osis2mod&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2014-12-17'''&lt;br /&gt;
|&lt;br /&gt;
r3310&lt;br /&gt;
|&lt;br /&gt;
* MODTOOLS-55 endless loop fix.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2014-12-15'''&lt;br /&gt;
|&lt;br /&gt;
r3307&lt;br /&gt;
|&lt;br /&gt;
* Greg Helling's patch to osis2mod for majorSections&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2014-03-17'''&lt;br /&gt;
|&lt;br /&gt;
r3139&lt;br /&gt;
|&lt;br /&gt;
* Added support for large entries (&amp;amp;gt; 64K) in compressed modules (aka zText4).&lt;br /&gt;
* Added support for UTF-16 and SCSU using the -e flag. SCSU is experimental.&lt;br /&gt;
* Added support for BZip2 and XZ compression, changing -z and -Z to -z &amp;amp;lt;l|z|b|x&amp;amp;gt;&lt;br /&gt;
* Added support for compression levels of 1 to 9 using the -l [1-9] flag.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2014-01-21'''&lt;br /&gt;
|&lt;br /&gt;
r3011&lt;br /&gt;
|&lt;br /&gt;
* Changed the transformation of &amp;amp;lt;p&amp;amp;gt; from &amp;amp;lt;div type=&amp;quot;paragraph&amp;quot; sID=&amp;quot;xxx&amp;quot;/&amp;amp;gt; to &amp;amp;lt;div type=&amp;quot;x-p&amp;quot; sID=&amp;quot;xxx&amp;quot;/&amp;amp;gt; This is a semantic change that brings osis2mod into alignment with the OSIS specification.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2012-03-24'''&lt;br /&gt;
|&lt;br /&gt;
r2693&lt;br /&gt;
|&lt;br /&gt;
* Allow for XML comments to be in the document, but stripped from the module. This allows for large parts of a document to be commented out, which is especially important during development.&lt;br /&gt;
* Allow for &amp;amp;lt;p&amp;amp;gt; elements to be in the &amp;amp;lt;header&amp;amp;gt; element but ignored. Previously, the p in a header, having been transformed to a div, was taken to be the start of the module's content.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2011-11-12'''&lt;br /&gt;
|&lt;br /&gt;
r2671&lt;br /&gt;
|&lt;br /&gt;
* Restored pre-verse handling. Titles no longer need to be specially specified in OSIS.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2010-06-04'''&lt;br /&gt;
|&lt;br /&gt;
r2519&lt;br /&gt;
|&lt;br /&gt;
* Removed pre-verse handling. Titles now have to be specially specified in OSIS. In OSIS there should also be no tags between verse elements except title and those marking book and chapter.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-06-06'''&lt;br /&gt;
|&lt;br /&gt;
r2435&lt;br /&gt;
|&lt;br /&gt;
* Improved handling of chapter introductions.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-05-30'''&lt;br /&gt;
|&lt;br /&gt;
r2421&lt;br /&gt;
|&lt;br /&gt;
* '''-d flags''' now always available.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-05-14'''&lt;br /&gt;
|&lt;br /&gt;
r2413&lt;br /&gt;
|&lt;br /&gt;
*Added '''-d flags''' as a compile time option.&lt;br /&gt;
*Improved exit codes and documented them here.&lt;br /&gt;
*Labeled all diagnostic and debug output.&lt;br /&gt;
*Can now read from standard input.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-04-28'''&lt;br /&gt;
|&lt;br /&gt;
r2358&lt;br /&gt;
|&lt;br /&gt;
*Predictable handling of inter-verse material.&lt;br /&gt;
*All tags, except verse, included in the module.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-04-26'''&lt;br /&gt;
|&lt;br /&gt;
r2345&lt;br /&gt;
|&lt;br /&gt;
*'''-v v11n''' added to support [[Alternate Versification]].&lt;br /&gt;
*'''-s &amp;lt;2|4&amp;gt;''' added to support uncompressed commentaries with large entries (exceeding 64K bytes).&lt;br /&gt;
*Replace paragraph hack with milestoned paragraphs: &amp;amp;lt;div type=&amp;quot;paragraph&amp;quot; sID=&amp;quot;xxx&amp;quot;/&amp;gt; ... &amp;amp;lt;div type=&amp;quot;paragraph&amp;quot; eID=&amp;quot;xxx&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2008-09-11'''&lt;br /&gt;
|&lt;br /&gt;
r2196&lt;br /&gt;
|&lt;br /&gt;
*Words of Christ (WoC) can be marked up naturally. osis2mod does the right thing.&lt;br /&gt;
*Container elements converted to their milestoned form.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2008-02-29'''&lt;br /&gt;
|&lt;br /&gt;
r2141&lt;br /&gt;
|&lt;br /&gt;
*Now supports commentaries in addition to Bibles.&lt;br /&gt;
*Added utf-8 detection and automatic conversion from cp1252 and iso8859-1 to utf-8, making that the default behavior&lt;br /&gt;
*Added NFC [[Encoding#Normalization|normalization]], making it the default&lt;br /&gt;
*Now handles the full definition of an osisID and an osisRef, including workID and grain.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2007-09-27'''&lt;br /&gt;
|&lt;br /&gt;
r2090&lt;br /&gt;
|&lt;br /&gt;
*Changed command-line parsing from positional parameters to flags.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2007-05-13'''&lt;br /&gt;
|&lt;br /&gt;
r2050&lt;br /&gt;
|&lt;br /&gt;
*All whitespace tokens are converted into blanks and adjacent spaces are merged into one. Leading whitespace on each verse is still removed.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2007-05-01'''&lt;br /&gt;
|&lt;br /&gt;
r2044&lt;br /&gt;
|&lt;br /&gt;
*Added version identification to the running of osis2mod.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2007-04-24'''&lt;br /&gt;
|&lt;br /&gt;
r2038&lt;br /&gt;
|&lt;br /&gt;
*Added ignoring of unknown books&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2006-07-15'''&lt;br /&gt;
|&lt;br /&gt;
r1948&lt;br /&gt;
|&lt;br /&gt;
*Optimized writing to module.&lt;br /&gt;
*Added simple transformations of &amp;amp;lt;q&amp;gt; and &amp;amp;lt;p&amp;gt; into milestones.&lt;br /&gt;
*Now allow empty attributes, such as marker=&amp;quot;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2006-07-04'''&lt;br /&gt;
|&lt;br /&gt;
r1914&lt;br /&gt;
|&lt;br /&gt;
*Updated to support OSIS 2.1&lt;br /&gt;
*Added validation that verses in isolation are well formed&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2005-12-22'''&lt;br /&gt;
|&lt;br /&gt;
r1876&lt;br /&gt;
|&lt;br /&gt;
*Added command-line options for compress and encipher.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2005-05-02'''&lt;br /&gt;
|&lt;br /&gt;
r1790&lt;br /&gt;
|&lt;br /&gt;
*Removed &amp;amp;lt;verse&amp;gt; and &amp;amp;lt;/verse&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2005-02-03'''&lt;br /&gt;
|&lt;br /&gt;
r1707&lt;br /&gt;
|&lt;br /&gt;
*Reverted pre-verse title handling&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2004-06-12'''&lt;br /&gt;
|&lt;br /&gt;
r1620&lt;br /&gt;
|&lt;br /&gt;
*Removed pre-verse title handling&lt;br /&gt;
*Added &amp;amp;lt;verse&amp;gt; and &amp;amp;lt;/verse&amp;gt;&lt;br /&gt;
*Added support for milestoned version of some OSIS elements&lt;br /&gt;
*Added support for verses that are not in the KJV versification by appending them to the closest prior verse.&lt;br /&gt;
*Added support for osisIDs with sub-verse references (i.e. osisID grains)&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2004-05-19'''&lt;br /&gt;
|&lt;br /&gt;
r1597&lt;br /&gt;
|&lt;br /&gt;
*Added support for linked verses&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2003-11-21'''&lt;br /&gt;
|&lt;br /&gt;
r1407&lt;br /&gt;
|&lt;br /&gt;
*Added recognition for &amp;lt;chapter&amp;gt; element&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2003-05-26'''&lt;br /&gt;
|&lt;br /&gt;
r1183&lt;br /&gt;
|&lt;br /&gt;
*Initial version&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Transformations==&lt;br /&gt;
:''This section may need further updating''.&lt;br /&gt;
&lt;br /&gt;
Osis2mod performs the following transformations&amp;lt;ref&amp;gt;These transformations are all performed &amp;quot;under the hood&amp;quot; as it were. Tweaking OSIS XML files to fix problems with pre-verse titles, etc., was never intended to be done by module developers as part of the preprocessing before using osis2mod.&amp;lt;/ref&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
* '''Whitespace''' -- Allows for human-readable OSIS files.&lt;br /&gt;
**Leading whitespace on books, chapters and verses is removed&lt;br /&gt;
**Whitespace is normalized into blanks&lt;br /&gt;
**Multiple adjacent whitespace is reduced to a single space&lt;br /&gt;
&lt;br /&gt;
* '''Unicode handling''' - All modules should be UTF-8, NFC.&amp;lt;ref&amp;gt;With the possible exception of Biblical Hebrew and some Indic scripts that should not be normalized.&amp;lt;/ref&amp;gt;&lt;br /&gt;
**Latin-1 (cp1252 and iso8859-1) are converted into UTF-8&lt;br /&gt;
**UTF-8 is normalized into NFC, unless specified otherwise (i.e. by using the -N option).&lt;br /&gt;
&lt;br /&gt;
* '''Verse ranges''' - also known as linked verses.&lt;br /&gt;
** Verses within a specified OSIS verse range are each linked to the first verse of the range.&lt;br /&gt;
&lt;br /&gt;
* '''Milestone conversion''' - necessary for frontends to show a verse at a time.&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;q ...&amp;gt;...&amp;amp;lt;/q&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;q sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;q eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;ref&amp;gt;'''gen#''' is unique for an sID/eID pair, where '''#''' is a number.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;Quotes with who=&amp;quot;Jesus&amp;quot; are not transformed at this stage.&amp;lt;/ref&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;p ...&amp;gt;...&amp;amp;lt;/p&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;div sID=&amp;quot;gen#&amp;quot; type=&amp;quot;x-p&amp;quot; .../&amp;gt;... &amp;amp;lt;div eID=&amp;quot;gen#&amp;quot; type=&amp;quot;x-p&amp;quot; ...&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;chapter ...&amp;gt;...&amp;amp;lt;/chapter&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;chapter sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;chapter eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;closer ...&amp;gt;...&amp;amp;lt;/closer&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;closer sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;closer eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;div ...&amp;gt;...&amp;amp;lt;/div&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;div sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;div eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;ref&amp;gt;As of r3401, &amp;amp;lt;div type=&amp;quot;colophon&amp;quot;...&amp;gt; is unchanged.&amp;lt;/ref&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;l ...&amp;gt;...&amp;amp;lt;/l&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;l sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;l eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;lg ...&amp;gt;...&amp;amp;lt;/lg&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;lg sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;lg eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;salute ...&amp;gt;...&amp;amp;lt;/salute&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;salute sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;salute eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;signed ...&amp;gt;...&amp;amp;lt;/signed&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;signed sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;signed eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;speech ...&amp;gt;...&amp;amp;lt;/speech&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;speech sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;speech eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;verse ...&amp;gt;...&amp;amp;lt;/verse&amp;gt;&amp;lt;/tt&amp;gt; becomes (when using -d 2 for debugging.)&amp;lt;BR&amp;gt;&amp;lt;tt&amp;gt;&amp;amp;lt;milestone resp=&amp;quot;v&amp;quot; sID=&amp;quot;gen#&amp;quot; ... /&amp;gt;...&amp;amp;lt;milestone resp=&amp;quot;v&amp;quot; eID=&amp;quot;gen#&amp;quot; ... /&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* '''Words of Christ''' - necessary for front-ends to appropriately highlight the WOC, a verse at a time.&amp;lt;ref&amp;gt;The examples given have the null string as the quotation marks in the '''marker''' attribute (as in the KJV module), but proper quotation marks are also supported.&amp;lt;/ref&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;q sID=&amp;quot;gen#&amp;quot; who=&amp;quot;Jesus&amp;quot; .../&amp;gt;...&amp;amp;lt;eID=&amp;quot;gen#&amp;quot; who=&amp;quot;Jesus&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt; becomes&amp;lt;BR&amp;gt;&amp;lt;tt&amp;gt;&amp;amp;lt;q who=&amp;quot;Jesus&amp;quot; marker=&amp;quot;&amp;quot;&amp;gt;&amp;amp;lt;q sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;q eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;amp;lt;/q&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;q who=&amp;quot;Jesus&amp;quot; ...&amp;gt;...&amp;amp;lt;/q&amp;gt;&amp;lt;/tt&amp;gt; becomes&amp;lt;BR&amp;gt;&amp;lt;tt&amp;gt;&amp;amp;lt;q who=&amp;quot;Jesus&amp;quot; marker=&amp;quot;&amp;quot;&amp;gt;&amp;amp;lt;q sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;q eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;amp;lt;/q&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** Within the following construct, &amp;lt;tt&amp;gt;&amp;amp;lt;q who=&amp;quot;Jesus&amp;quot; marker=&amp;quot;&amp;quot;&amp;gt;...&amp;lt;/q&amp;gt;&amp;lt;/tt&amp;gt; will surround verse text.&lt;br /&gt;
&lt;br /&gt;
* '''Pre-Verse Titles'''&amp;lt;ref&amp;gt;The older method that fixed titles only became obsolete with SVN revision 2358 for the SWORD 1.6.0 release and replaced with '''InterVerse Content'''.&amp;lt;/ref&amp;gt;&lt;br /&gt;
** InterVerse or postVerse&amp;lt;ref&amp;gt;For example, the '''colophon''' div as found at the end of some Epistles.&amp;lt;/ref&amp;gt; content not in titles is appended to the prior verse.&lt;br /&gt;
** Titles immediately preceeding a verse are converted into either&amp;lt;BR&amp;gt;&amp;lt;tt&amp;gt;&amp;amp;lt;title canonical=&amp;quot;true&amp;quot; type=&amp;quot;psalm&amp;quot;&amp;gt;...&amp;amp;lt;/title&amp;gt;&amp;lt;/tt&amp;gt; or&amp;lt;BR&amp;gt;&amp;lt;tt&amp;gt;&amp;amp;lt;title canonical=&amp;quot;false&amp;quot; type=&amp;quot;sub&amp;quot;&amp;gt;...&amp;amp;lt;/title&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;ref&amp;gt;type=&amp;quot;sub&amp;quot; is used irrespective of whether the non-canonical title is a section title or a subSection title.&amp;lt;/ref&amp;gt;&amp;lt;BR&amp;gt;and the whole such '''title''' element is wrapped within a special preverse '''div''' element. ''See below''.&lt;br /&gt;
&lt;br /&gt;
* '''InterVerse Content'''&amp;lt;ref&amp;gt;Introduced with SVN revision 2358 for the SWORD 1.6.0 release.&amp;lt;/ref&amp;gt;&lt;br /&gt;
** InterVerse Content refers to all content not contained by the verse element.&amp;lt;ref&amp;gt;i.e. Content between the '''eID''' milestone of a verse and the '''sID''' milestone of the next verse, or before the first verse of the chapter.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;For OSIS files derived from USFM files, the implication of this requirement is the following rule:&lt;br /&gt;
&amp;lt;blockquote&amp;gt;Do not place a title (or similar element) between a matching pair of verse milestones&amp;lt;BR&amp;gt;&lt;br /&gt;
except where the translation places the title somewhere within the verse text in the USFM file.&amp;lt;/blockquote&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
** Such content is divided between the prior and the current verse.&lt;br /&gt;
** Content appended to the prior verse is not marked in any special way.&lt;br /&gt;
** Content prepended&amp;lt;ref&amp;gt;This ensures that when the verse is called the prepended content is also displayed, subject to whatever filters are in place.&amp;lt;/ref&amp;gt; to the current verse is marked with&amp;lt;BR&amp;gt;&amp;lt;tt&amp;gt;&amp;amp;lt;div type=&amp;quot;x-milestone&amp;quot; subType=&amp;quot;x-preverse&amp;quot; sID=&amp;quot;pv#&amp;quot;/&amp;gt;...&amp;amp;lt;div type=&amp;quot;x-milestone&amp;quot; subType=&amp;quot;x-preverse&amp;quot; eID=&amp;quot;pv#&amp;quot;/&amp;gt;.&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Handling of Introductions, Titles and Inter-Verse Material==&lt;br /&gt;
SWORD looks for module, testament, book and chapter introductory material. Those introductions can have appropriate titles as well. &lt;br /&gt;
In SWORD 1.6.0 the handling of this material has changed.&lt;br /&gt;
&lt;br /&gt;
'''Note:'''&lt;br /&gt;
# In the following, the effects of the above transformations are not shown. The tagging of the pre-verse material is also not shown.&lt;br /&gt;
&lt;br /&gt;
===Module Introduction===&lt;br /&gt;
&lt;br /&gt;
At this time, osis2mod does not fully support module introduction. It is intended that the following will work. All material after the &amp;amp;lt;/header&amp;amp;gt; and before a div with a type of book or bookGroup is a module heading.&lt;br /&gt;
&lt;br /&gt;
A module introduction should be place into testament 0, book 0, chapter 0, verse 0.&lt;br /&gt;
In SWORD Module introductions have the special id of:&lt;br /&gt;
*&amp;lt;nowiki&amp;gt;[ Module Heading ]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
and can be accessed by setting a VerseKey's testament as&lt;br /&gt;
 // In order to access headings, aka intros, one has to set intros to true.&lt;br /&gt;
 vk.setIntros(true);&lt;br /&gt;
 // Setting the testament will also set book, chapter and verse to 0 when intros is set to true&lt;br /&gt;
 vk.setTestament(0);&lt;br /&gt;
&lt;br /&gt;
===Testament Introductions===&lt;br /&gt;
At this time, osis2mod does not fully support testament introductions. It is the intention that the following will work.&lt;br /&gt;
&lt;br /&gt;
A testament introduction contains all the material that is after a module introduction and before the first book for the Old Testament introduction or before the first book in the New Testament.&amp;lt;br/&amp;gt;&lt;br /&gt;
Note: here first OT or NT book means the first that occurs in the OSIS xml.&lt;br /&gt;
&lt;br /&gt;
It is required that &amp;amp;lt;div type=&amp;quot;bookGroup&amp;quot;&amp;amp;gt; contains the books. Either as all the books, or sets of books, e.g. OT, NT, Apocrypha, Torah, History, Major Prophets, Minor Prophets, with nesting groups as desired.&lt;br /&gt;
&lt;br /&gt;
Minimal example of a module consisting of 2 books, Psalms and John:&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;bookGroup&amp;quot;&amp;amp;gt;&lt;br /&gt;
   ... Old Testament introductory material ...&lt;br /&gt;
   &amp;amp;lt;div type=&amp;quot;book&amp;quot; osisID=&amp;quot;Ps&amp;quot;&amp;amp;gt;&lt;br /&gt;
     ... Chapters of Psalms ...&lt;br /&gt;
   &amp;amp;lt;/div&amp;gt;  &amp;amp;lt;!-- end of Psalms --&amp;amp;gt;&lt;br /&gt;
   ... New Testament introductory material ...&lt;br /&gt;
   &amp;amp;lt;div type=&amp;quot;book&amp;quot; osisID=&amp;quot;Jn&amp;quot;&amp;amp;gt;&lt;br /&gt;
   &amp;amp;lt;/div&amp;gt;  &amp;amp;lt;!-- end of John --&amp;amp;gt;&lt;br /&gt;
 &amp;amp;lt;/div&amp;gt;  &amp;amp;lt;!-- end of the Bible --&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example of testaments in separate book groups. Again using a module of 2 books.&lt;br /&gt;
  &amp;amp;lt;div type=&amp;quot;bookGroup&amp;quot; subType=&amp;quot;x-OT&amp;quot;&amp;amp;gt;&lt;br /&gt;
   ... Old Testament introductory material ...&lt;br /&gt;
    &amp;amp;lt;div type=&amp;quot;book&amp;quot; osisID=&amp;quot;Ps&amp;quot;&amp;amp;gt;&lt;br /&gt;
     ... Chapters of Psalms ...&lt;br /&gt;
   &amp;amp;lt;/div&amp;gt;  &amp;amp;lt;!-- end of Psalms --&amp;amp;gt;&lt;br /&gt;
 &amp;amp;lt;/div&amp;gt;  &amp;amp;lt;!-- end of the OT --&amp;amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;bookGroup&amp;quot; subType=&amp;quot;x-NT&amp;quot;&amp;amp;gt;&lt;br /&gt;
   ... New Testament introductory material ...&lt;br /&gt;
   &amp;amp;lt;div type=&amp;quot;book&amp;quot; osisID=&amp;quot;Jn&amp;quot;&amp;amp;gt;&lt;br /&gt;
   &amp;amp;lt;/div&amp;gt;  &amp;amp;lt;!-- end of John --&amp;amp;gt;&lt;br /&gt;
 &amp;amp;lt;/div&amp;gt;  &amp;amp;lt;!-- end of the NT --&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
Example of testaments in separate book groups with the Apocrypha book group.&lt;br /&gt;
  &amp;amp;lt;div type=&amp;quot;bookGroup&amp;quot; subType=&amp;quot;x-Old&amp;quot;&amp;amp;gt;&lt;br /&gt;
   ... Old Testament introductory material ...&lt;br /&gt;
    &amp;amp;lt;div type=&amp;quot;book&amp;quot; osisID=&amp;quot;Ps&amp;quot;&amp;amp;gt;&lt;br /&gt;
     ... Chapters of Psalms ...&lt;br /&gt;
   &amp;amp;lt;/div&amp;gt;  &amp;amp;lt;!-- end of Psalms --&amp;amp;gt;&lt;br /&gt;
 &amp;amp;lt;/div&amp;gt;  &amp;amp;lt;!-- end of the OT --&amp;amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;bookGroup&amp;quot; subType=&amp;quot;x-non-canon&amp;quot;&amp;amp;gt;&lt;br /&gt;
   ... Books of the Apocrypha ...&lt;br /&gt;
 &amp;amp;lt;/div&amp;gt;  &amp;amp;lt;!-- end of the Deuterocanon --&amp;amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;bookGroup&amp;quot; subType=&amp;quot;x-New&amp;quot;&amp;amp;gt;&lt;br /&gt;
   ... New Testament introductory material ...&lt;br /&gt;
   &amp;amp;lt;div type=&amp;quot;book&amp;quot; osisID=&amp;quot;Jn&amp;quot;&amp;amp;gt;&lt;br /&gt;
   &amp;amp;lt;/div&amp;gt;  &amp;amp;lt;!-- end of John --&amp;amp;gt;&lt;br /&gt;
 &amp;amp;lt;/div&amp;gt;  &amp;amp;lt;!-- end of the New --&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
A testament introduction should be placed into testament 1 or 2, book 0, chapter 0, verse 0. &lt;br /&gt;
In SWORD Testament introductions have the special ids of:&lt;br /&gt;
*&amp;lt;nowiki&amp;gt;[ Testament 1 Heading ]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
*&amp;lt;nowiki&amp;gt;[ Testament 2 Heading ]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
but can be accessed by setting a VerseKey's testament as&lt;br /&gt;
 // In order to access headings, aka intros, one has to set intros to true.&lt;br /&gt;
 vk.setIntros(true);&lt;br /&gt;
 // Setting the testament will also set book, chapter and verse to 0 when intros is set to true&lt;br /&gt;
 vk.setTestament(1);&lt;br /&gt;
&lt;br /&gt;
===Book Introductions and Titles===&lt;br /&gt;
Book introductions and titles are straight forward. It includes the start of the book and everything following it up to, but not including the start of the chapter. See [[OSIS Bibles]] for best practices in marking up titles and introductions.&lt;br /&gt;
&lt;br /&gt;
For example:&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;book&amp;quot; ...&amp;gt;&lt;br /&gt;
 ... introductory material ...&lt;br /&gt;
 &amp;amp;lt;chapter&amp;quot;...&amp;gt;&lt;br /&gt;
will put the following into the book introduction:&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;book&amp;quot; ...&amp;gt;&lt;br /&gt;
 ... introductory material ...&lt;br /&gt;
&lt;br /&gt;
===Chapter Introductions===&lt;br /&gt;
Chapter introductions and titles are a bit problematic. Between the start of a chapter and its first verse, we could have a chapter title, a chapter introduction and/or a start of a section of verses or a titled verse. Osis2mod now handles this in a predictable fashion. From the start of the chapter up to and not including a section div or a title that has a type that is not ''main'', ''chapter'' or ''sub'', the content is chapter introduction. After that, it is part of the verse.&lt;br /&gt;
&lt;br /&gt;
Specifically, the following list gives the possible first elements following the chapter introduction.:&lt;br /&gt;
*&amp;amp;lt;div type=&amp;quot;section&amp;quot; ...&amp;gt;&lt;br /&gt;
*&amp;amp;lt;title type=&amp;quot;yyy&amp;quot; ...&amp;gt; where yyy is not ''main'', ''chapter'' or ''sub''.&lt;br /&gt;
&lt;br /&gt;
For example,&lt;br /&gt;
 &amp;amp;lt;chapter ...&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;Chapter Title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title type=&amp;quot;sub&amp;quot;&amp;gt;Chapter Subtitle&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;introduction&amp;quot;&amp;gt;... intro ...&amp;amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;section&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;A section title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;verse ...&amp;gt;...verse content...&amp;amp;lt;/verse&amp;gt;&lt;br /&gt;
will put the following into the chapter introduction:&lt;br /&gt;
 &amp;amp;lt;chapter ...&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;Chapter Title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title type=&amp;quot;sub&amp;quot;&amp;gt;Chapter Subtitle&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;introduction&amp;quot;&amp;gt;... intro ...&amp;amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
will put the following into verse 1 of that chapter&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;section&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;A section title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;verse ...&amp;gt;...verse content...&amp;amp;lt;/verse&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Between Verses===&lt;br /&gt;
Between verses we may have closing tags to finish off what was started earlier, structural opening tags (e.g. line groups, divisions, paragraphs, ...), titles and/or introductory material.&lt;br /&gt;
&lt;br /&gt;
Upon finding the close of a verse, osis2mod will append all adjacent closing tags to it. Once it finds a start tag, it will attach that to the following verse.&lt;br /&gt;
&lt;br /&gt;
For example, suppose the following is between &amp;amp;lt;/verse&amp;gt; and &amp;amp;lt;verse ...&amp;gt;:&lt;br /&gt;
 &amp;amp;lt;/lg&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;section&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;Section title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;lg&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
then it will append the following to the prior verse:&lt;br /&gt;
 &amp;amp;lt;/lg&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and will prepend the following to the current verse:&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;section&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;Section title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;lg&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Last Verse===&lt;br /&gt;
The material following the last verse of a chapter is appended to that verse. You might find:&lt;br /&gt;
 ... verse content ...&lt;br /&gt;
 &amp;amp;lt;/chapter&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;colophon&amp;quot;&amp;gt;... colophon text ...&amp;amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Exclusions==&lt;br /&gt;
Only content starting the first &amp;amp;lt;div&amp;gt; to the last &amp;amp;lt;/div&amp;gt; is retained. All other is excluded. From a practical perspective, this excludes the OSIS header information.&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
It is always preferable to use the most recent version of osis2mod and compiling it from SVN is best. &lt;br /&gt;
&lt;br /&gt;
'''Note:'''&lt;br /&gt;
# After the SWORD 1.5.9 release, osis2mod was changed to take flags rather than positional arguments.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
You are running osis2mod: $Rev: 3431 $&lt;br /&gt;
OSIS Bible/commentary module creation tool for The SWORD Project&lt;br /&gt;
&lt;br /&gt;
usage: ./osis2mod &amp;lt;output/path&amp;gt; &amp;lt;osisDoc&amp;gt; [OPTIONS]&lt;br /&gt;
  &amp;lt;output/path&amp;gt;		 an existing folder that the module will be written&lt;br /&gt;
  &amp;lt;osisDoc&amp;gt;		 path to the validated OSIS document, or '-' to&lt;br /&gt;
				 read from standard input&lt;br /&gt;
  -a			 augment module if exists (default is to create new)&lt;br /&gt;
  -z &amp;lt;l|z|b|x&amp;gt;		 compression type (default: none)&lt;br /&gt;
				 l - LZSS; z - ZIP; b - bzip2; x - xz&lt;br /&gt;
  -b &amp;lt;2|3|4&amp;gt;		 compression block size (default: 4)&lt;br /&gt;
				 2 - verse; 3 - chapter; 4 - book&lt;br /&gt;
  -l &amp;lt;1-9&amp;gt;		 compression level (default varies by compression type)&lt;br /&gt;
  -c &amp;lt;cipher_key&amp;gt;	 encipher module using supplied key&lt;br /&gt;
				 (default no enciphering)&lt;br /&gt;
  -e &amp;lt;1|2|s&amp;gt;		 convert Unicode encoding (default: 1)&lt;br /&gt;
				 1 - UTF-8 ; 2 - UTF-16 ; s - SCSU&lt;br /&gt;
  -N			 do not normalize to NFC&lt;br /&gt;
  -s &amp;lt;2|4&amp;gt;		 bytes used to store entry size (default is 2).&lt;br /&gt;
  -v &amp;lt;v11n&amp;gt;		 specify a versification scheme to use (default is KJV)&lt;br /&gt;
				 Note: The following are valid values for v11n:&lt;br /&gt;
				   Calvin      	Catholic    	Catholic2   &lt;br /&gt;
				   DarbyFr     	German      	KJV         &lt;br /&gt;
				   KJVA        	LXX         	Leningrad   &lt;br /&gt;
				   Luther      	MT          	NRSV        &lt;br /&gt;
				   NRSVA       	Orthodox    	Segond      &lt;br /&gt;
				   Synodal     	SynodalProt 	Vulg        &lt;br /&gt;
  -h 			 print verbose usage text&lt;br /&gt;
&lt;br /&gt;
See http://www.crosswire.org/wiki/osis2mod for more details.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Earlier builds (e.g. $Rev: 2893 $) also included the debug option help: See [[Osis2mod#Debug_Messages|Debug Messages]].&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  -d &amp;lt;flags&amp;gt;		 turn on debugging (default is 0)&lt;br /&gt;
				 Note: This flag may change in the future.&lt;br /&gt;
				 Flags: The following are valid values:&lt;br /&gt;
					0   - no debugging&lt;br /&gt;
					1   - writes to module, very verbose&lt;br /&gt;
					2   - verse start and end&lt;br /&gt;
					4   - quotes, esp. Words of Christ&lt;br /&gt;
					8   - titles&lt;br /&gt;
					16  - inter-verse material&lt;br /&gt;
					32  - BSP to BCV transformations&lt;br /&gt;
					64  - v11n exceptions&lt;br /&gt;
					128 - parsing of osisID and osisRef&lt;br /&gt;
					256 - internal stack&lt;br /&gt;
					512 - miscellaneous&lt;br /&gt;
				 This argument can be used more than once. (Or&lt;br /&gt;
				 the flags may be added together.)&lt;br /&gt;
&lt;br /&gt;
See http://www.crosswire.org/wiki/osis2mod for more details.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== Parameters and Options ===&lt;br /&gt;
'''&amp;amp;lt;output/path&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This a path to any existing directory. It is best for it to be empty.&lt;br /&gt;
&lt;br /&gt;
'''&amp;amp;lt;osisDoc&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This is a single, well-formed, valid OSIS document.&lt;br /&gt;
&lt;br /&gt;
If '''-''' is used instead of a file name, the document will be read from standard input. This allows for two constructs:&lt;br /&gt;
* Redirection&lt;br /&gt;
 osis2mod ./modules/texts/ztext/KJV - &amp;lt; kjv.xml&lt;br /&gt;
* Piping&lt;br /&gt;
 cat kjv.xml | osis2mod ./modules/texts/ztext/KJV -&lt;br /&gt;
&lt;br /&gt;
'''-a'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Osis2mod can create a Bible all at once or incrementally, depending on the presence of the -a flag. This&lt;br /&gt;
provides for two abilities,&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Assembling a Bible from book files:&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir /tmp/mymodule&lt;br /&gt;
osis2mod /tmp/mymodule  matt.xml&lt;br /&gt;
osis2mod /tmp/mymodule -a mark.xml&lt;br /&gt;
...&lt;br /&gt;
osis2mod /tmp/mymodule -a rev.xml&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
'''Note:''' The book files can be in any order. SWORD will order them correctly in the index.&lt;br /&gt;
&amp;lt;li&amp;gt;Adding corrections to a Bible:&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
osis2mod /tmp/mymodule -a fixes.xml&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
'''Note:''' When fixes are put into the module they are appended to the data file and do not actually replace the verses. The index file is adjusted to point to the new place in the data file.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''-z &amp;amp;lt;l|z|b|x&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
A SWORD Bible can be compressed with Zip (-z z), LZSS (-z l), BZip2 (-z b) '''or''' XZ (-lx). All of CrossWire's compressed Bible and commentary modules are compressed with Zip. This saves significant space over an uncompressed module. Uncompressed modules are useful for debugging.&lt;br /&gt;
&lt;br /&gt;
'''-b &amp;amp;lt;2|3|4&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This setting is only useful for a compressed module. The choice as to whether to use Verse (2), Chapter (3) or Book (4, the default) level compression depends upon the amount of data in the block. A typical Bible is best compressed book by book. A commentary, chapter by chapter. If the commentary is very robust and the amount of text per verse is really huge, then verse compression might make sense.&lt;br /&gt;
&lt;br /&gt;
All of SWORD's compressed Bible modules are compressed by book. Basically, all of the verses in a block are compressed and appended to the data file. For this reason, the datafile cannot be uncompressed by anything other than the SWORD and JSword libraries.&lt;br /&gt;
&lt;br /&gt;
When creating the module by appending it is important to do so by whole compression block. That is, if blockType is Chapter, then the osisDoc needs to contain one or more whole chapters.&lt;br /&gt;
&lt;br /&gt;
'''-l [1-9]'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This setting is useful for a compressed module and provides the level of compression to be used. The default varies depending on the compressor used. The default is typically used.&lt;br /&gt;
&lt;br /&gt;
'''-c cipherKey'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This is typically 16 characters in length, having no leading or trailing spaces, consisting of alternating sets of 4 alpha and 4 numeric characters, such as Aduf0274PjNq0328. The key is case-sensitive.&lt;br /&gt;
&lt;br /&gt;
'''-e &amp;amp;lt;1|2|s&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This flag gives whether the input is to be converted to UTF-8, UTF-16, or SCSU. By default the encoding is UTF-8. Using UTF-16 is reasonable for non-latin texts with little markup. SCSU will compress the Unicode, but it has not been sufficiently tested, requires [[DevTools:ICU|ICU]] support when compiling osis2mod and when running (not all frontends do).&lt;br /&gt;
&lt;br /&gt;
'''-N'''&amp;lt;br/&amp;gt;&lt;br /&gt;
All OSIS modules should be UTF-8 and all that are UTF-8 are also to be NFC. The default is to automatically detect the presense of Latin-1 (either cp1252 or iso8859-1) and convert it to UTF-8 and to normalize UTF-8 to NFC. This flag will turn off this behavior and is useful for creating Latin-1 modules or for modules for which the source text is already UTF-8 and NFC. It is also advised for Biblical Hebrew modules for which the source text (with accents and cantillation points) is intentionally not normalized, as &amp;quot;Unicode normalization can easily break Biblical Hebrew&amp;quot;. Quoted from page 9 of the SBL Hebrew Font Manual.&amp;lt;ref&amp;gt;See https://www.sbl-site.org/Fonts/SBLHebrewUserManual1.5x.pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: this was added late Feb 2008 and requires [[DevTools:ICU|ICU]] support when compiling.&lt;br /&gt;
&lt;br /&gt;
'''-s &amp;amp;lt;2|4&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
A value of 2, the default, restricts modules to 64K bytes per entry. A value of 4, breaks this barrier. This is needed for Bibles, having large introductory materials, and for commentaries with large entries.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' 4 was added late Apr 2009 for raw, uncompressed modules and will be part of the SWORD 1.6.0 release (formerly known as 1.5.11). A later release extended support to compressed modules.&lt;br /&gt;
&lt;br /&gt;
'''-v v11n'''&amp;lt;br/&amp;gt;&lt;br /&gt;
By default, osis2mod uses the KJV versification. The practical implication of this is that only books in the KJV canon are allowed and any text in an allowed book are retained. However, if the verse reference of a supported book falls outside of the versification it is appended to the prior verse in the canon. This flag allows for an [[Alternate Versification|alternate versification]].&lt;br /&gt;
&lt;br /&gt;
'''Note:''' This option was added in April 2009 as part of the SWORD 1.6.0 release.&lt;br /&gt;
&lt;br /&gt;
'''-d flags'''&amp;lt;br/&amp;gt;&lt;br /&gt;
The flag can be used more than once or the flags can be added together. For example,&lt;br /&gt;
 -d 2 -d 4&lt;br /&gt;
is the same as&lt;br /&gt;
 -d 6&lt;br /&gt;
&lt;br /&gt;
To do verbose debugging use:&lt;br /&gt;
 -d -1&lt;br /&gt;
&lt;br /&gt;
For the most part these flags are not intended for debugging modules, but rather for debugging problems in osis2mod.&lt;br /&gt;
&lt;br /&gt;
The -d 2 flag produces no output but puts milestones into the module where verses start and end. The form of the milestone is:&lt;br /&gt;
 &amp;amp;lt;milestone resp=&amp;quot;v&amp;quot; [attributes from verse] /&amp;gt;&lt;br /&gt;
The milestone will contain the osisID from the verse and also a valid sID or eID. The sID/eID indicates the start of end of the verse.&lt;br /&gt;
&lt;br /&gt;
Note: the -d 2 flag might change at any time, or may even be removed.&lt;br /&gt;
&lt;br /&gt;
==Messages==&lt;br /&gt;
Osis2mod has robust, mind-boggling messages. These are provided here in hopes that it will help problem diagnosis.&lt;br /&gt;
&lt;br /&gt;
Messages are output with a standard format:&lt;br /&gt;
TYPE(KIND)[line,column'](osisID'): Message&lt;br /&gt;
&lt;br /&gt;
'''TYPE''' is one of&lt;br /&gt;
* FATAL  - Usually accompanied by an immediate exit. The problem should be fixed and osis2mod rerun.&lt;br /&gt;
* ERROR - A non-fatal problem that should be fixed before the module is used.&lt;br /&gt;
* WARNING - A problem with the input that probably should be fixed.&lt;br /&gt;
* INFO - Information about what the program is doing.&lt;br /&gt;
* DEBUG - Managed by the -d flag.&lt;br /&gt;
&lt;br /&gt;
'''KIND''' is one of:&lt;br /&gt;
* UTF8 - Deals with conversion from Latin-1 to UTF8.&lt;br /&gt;
* V11N - Messages related to Versification.&lt;br /&gt;
* WRITE - Messages related to writing to the module.&lt;br /&gt;
* LINK - Messages related to linked verses.&lt;br /&gt;
* REF - Messages related to the normalization of osis references to SWORD references.&lt;br /&gt;
* NESTING - Messages related to improper overlapping of BCV and BSP&lt;br /&gt;
* COMMENTS - Messages related to XML comment processing.&lt;br /&gt;
* PARSE - Messages related to XML entity processing.&lt;br /&gt;
* QUOTE - Handling of quotes, especially the Words of Christ (WoC)&lt;br /&gt;
* TITLE - Handling of Introductions and Titles&lt;br /&gt;
* INTERVERSE - Handling of material between verses and before verse 1.&lt;br /&gt;
* FOUND - Diagnostics related to finding of Books, Chapters and Verses.&lt;br /&gt;
* ARGS - Summary of command line arguments.&lt;br /&gt;
Some of these are described more fully below&lt;br /&gt;
&lt;br /&gt;
'''Line''' and '''Column''' gives the location of the last line and column read in the file. Since processing is handled after the reading, the location is approximate. If the processing is before the file is read, such as during the reading of command line arguments, it won't show up.&lt;br /&gt;
&lt;br /&gt;
'''osisID''' gives the osisID being processed or N/A. It also is optionally output early in the execution of the program.&lt;br /&gt;
&lt;br /&gt;
In the following, example values are given in '''{...}'''. The brackets do not actually appear in the message. Also, the messages are a bit prettier here than in reality.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Diagnostic Messages===&lt;br /&gt;
&lt;br /&gt;
 WARNING(UTF8)['''{ line }''','''{ col }''']('''{ osisID }'''):     Should be converted to UTF-8 ('''{text }''')&lt;br /&gt;
The program will always check for text that is not UTF-8.&lt;br /&gt;
&lt;br /&gt;
 INFO(UTF8)['''{ line }''','''{ col }''']('''{ osisID }'''):        Converting to UTF-8 ('''{ text before conversion }''')&lt;br /&gt;
Text that is converted to UTF-8 is noted.&lt;br /&gt;
&lt;br /&gt;
 ERROR(UTF8)['''{ line }''','''{ col }''']('''{ osisID }'''):       Converting to UTF-8 ('''{ text after first conversion }''')&lt;br /&gt;
It is an error if after a conversion it still is not UTF-8.&lt;br /&gt;
&lt;br /&gt;
 WARNING(UTF8)['''{ line }''','''{ col }''']('''{ osisID }'''):     osis2mod is not compiled with support for ICU. Ignoring -n flag.&lt;br /&gt;
Normalization was requested, but since osis2mod was not compiled for it, it cannot honor the default request.&lt;br /&gt;
&lt;br /&gt;
 INFO(V11N)['''{ line }''','''{ col }''']('''{ osisID }'''):        is not in the '''{ v11n }''' versification.&lt;br /&gt;
Indicates that a verse is not in the versification.&lt;br /&gt;
&lt;br /&gt;
 INFO(V11N)['''{ line }''','''{ col }''']('''{ osisID }'''):        is not in the '''{ v11n }''' versification. Appending content to '''{ osisID }'''&lt;br /&gt;
This like the other indicates a versification problem, but shows where the text will be found. Osis2mod preserves all module content for supported books.&lt;br /&gt;
&lt;br /&gt;
 WARNING(V11N)['''{ line }''','''{ col }''']('''{ osisID }'''):     New book is '''{ name }'''  and is not in '''{ v11n }''' versification, ignoring&lt;br /&gt;
The name of the book was not recognized as belonging to the chosen versification, it and all of it's content is ignored.&lt;br /&gt;
&lt;br /&gt;
 INFO(WRITE)['''{ line }''','''{ col }''']('''{ osisID }'''):       Appending entry: '''{ osisID }''': '''{ text so far }'''&lt;br /&gt;
If osis2mod encounters text that needs to be appended to a verse that is already in the module. This could indicate that&lt;br /&gt;
* the reference is in the input twice. This typically indicates a problem.&lt;br /&gt;
* more text was found that needs to be added to the prior verse.&lt;br /&gt;
* osis2mod is being run in append mode to fix a verse in the module.&lt;br /&gt;
&lt;br /&gt;
 INFO(LINK)['''{ line }''','''{ col }''']('''{ osisID }'''):        Linking '''{ osisID }''' to '''{ osisID }'''&lt;br /&gt;
An osisID such as &amp;quot;Gen.1.1 Gen.1.2 Gen.1.3&amp;quot; was used and the latter are linked to the first.&lt;br /&gt;
&lt;br /&gt;
 ERROR(REF)['''{ line }''','''{ col }''']('''{ osisID }'''):        Invalid osisID/annotateRef: '''{ invalid attribute value }'''&lt;br /&gt;
This indicates that the SWORD library was unable to parse the osisID or annotateRef.&lt;br /&gt;
&lt;br /&gt;
 FATAL(NESTING)['''{ line }''','''{ col }''']('''{ osisID }'''):    tag expected&lt;br /&gt;
This indicates that the specified verse is not balanced with regard to its tags. Building a raw text module, looking in the module for the verse and pairing begin/end tags will help find the problem. Typically, this indicates an end tag that did not have a matching begin tag and all tags before it were properly paired.&lt;br /&gt;
&lt;br /&gt;
 FATAL(NESTING)['''{ line }''','''{ col }''']('''{ osisID }'''):    Expected '''{ topToken.getName() }''' found '''{ tokenName }'''&lt;br /&gt;
This also indicates that the specified verse is not balanced with regard to its tags. Building a raw text module, looking in the module for the verse and pairing begin/end tags will help find the problem. It could be either a begin or an end tag problem.&lt;br /&gt;
&lt;br /&gt;
 WARNING(NESTING)['''{ line }''','''{ col }''']('''{ osisID }'''):  verse '''{ currentOsisID }''' is not well formed:('''{ verseDepth }''','''{ tagDepth }''')&lt;br /&gt;
This indicates that the verse probably will not show properly in some front-ends in some circumstances. Typically, it shows the problem if the verse is shown in isolation.&lt;br /&gt;
&lt;br /&gt;
 ERROR(NESTING)['''{ line }''','''{ col }''']('''{ osisID }'''):    improper nesting '''{ currentOsisID }''': matching (sID,eID) not found. Looking at ('''{ sID }''','''{ eID }''')&lt;br /&gt;
OSIS specifies that every sID has a matching eID. Osis2mod is checking that BSP elements are properly nested.&lt;br /&gt;
&lt;br /&gt;
 FATAL(COMMENTS)['''{ line }''','''{ col }''']('''{ osisID }'''):   unknown commentstate on comment start: { comment state }&lt;br /&gt;
This indicates that the comment is not of the form &amp;amp;lt;!-- ... --&amp;amp;gt;.&lt;br /&gt;
&lt;br /&gt;
 FATAL(COMMENTS)['''{ line }''','''{ col }''']('''{ osisID }'''):   unknown commentstate on comment end:  { comment state }&lt;br /&gt;
This indicates that the comment is not of the form &amp;amp;lt;!-- ... --&amp;amp;gt;.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    malformed entity, replacing &amp;amp;amp;'''{ malformed entity }''' with &amp;amp;amp;amp;'''{ malformed entity }'''&lt;br /&gt;
This means it found a &amp;amp;amp; that starts an entity but it wasn't terminated by a ; and changed it to something that probably isn't appropriate.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    HEX entity must begin with &amp;amp;amp;x, found '''{ entity }'''&lt;br /&gt;
This indicates &amp;amp;X, which is not valid for xml. It is not changed.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    SWORD does not search HEX entities, found '''{ entity }'''&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    SWORD does not search numeric entities, found '''{ entity }'''&lt;br /&gt;
Since we don't transform HEX or numeric entities to their equivalent UTF-8 value, this will be literal text that cannot be searched.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    XML only supports 5 Character entities &amp;amp;amp;amp;, &amp;amp;amp;lt;, &amp;amp;amp;gt;, &amp;amp;amp;quot; and &amp;amp;amp;apos;, found '''{ entity }'''&lt;br /&gt;
XML does not allow character entities. These are passed unchanged to SWORD module. This frustrates search and may only display properly in a front-end using HTML rendering.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    &amp;amp;amp;quot; is unnecessary outside of attribute values. Replace with &amp;quot;.&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    &amp;amp;amp;quot; is unnecessary inside single quoted attribute values. Replace with &amp;quot;.&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    &amp;amp;amp;quot; is only needed within double quoted attribute values. Considering using single quoted attribute and replacing with &amp;quot;.&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    &amp;amp;amp;apos; is only needed within single quoted attribute values. Considering using double quoted attribute and replacing with '.&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    &amp;amp;amp;apos; is unnecessary inside double quoted attribute values. Replacing with '.&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    &amp;amp;amp;apos; is unnecessary outside of attribute values. Replacing with '.&lt;br /&gt;
The &amp;amp;amp;apos; or &amp;amp;amp;quot; was found outside of an attribute value and is being substituted with a straight single apostrophe, ', or double quote, &amp;quot;, respectively.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    While valid for XML, &amp;amp;amp;quot; is only needed within double quoted attribute values.&lt;br /&gt;
This warning indicates that the entity is present where it does not need to be.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    While valid for XML, XHTML does not support &amp;amp;amp;apos;.&lt;br /&gt;
This warning indicates that the &amp;amp;amp;apos; may not display properly in all front-ends. It was found in an attribute value.&lt;br /&gt;
&lt;br /&gt;
===Debug Messages===&lt;br /&gt;
The following are shown in the same form as the diagnostic messages above. They are given without comment.&lt;br /&gt;
&lt;br /&gt;
'''-d 1'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Output of what is being written to the module.&lt;br /&gt;
 DEBUG(WRITE)['''{ line }''','''{ col }''']('''{ osisID }'''):      '''{ text so far }'''&lt;br /&gt;
&lt;br /&gt;
'''-d 2'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Adds milestones for the &amp;amp;lt;verse&amp;amp;gt; and  &amp;amp;lt;/verse&amp;amp;gt;  of the form &amp;amp;lt;milestone resp=&amp;quot;v&amp;quot; ... with attributes of the verse element ... /&amp;amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
This is especially useful in viewing the dat file of an uncompressed module.&lt;br /&gt;
&lt;br /&gt;
'''-d 4'''&amp;lt;br/&amp;gt;&lt;br /&gt;
A stack is maintained to represent the Words of Christ on a per verse basis. This is internal diagnostic of that stack&lt;br /&gt;
 DEBUG(QUOTE)['''{ line }''','''{ col }''']('''{ osisID }'''):      quote top('''{ quote stack size }''') '''{ token }'''&lt;br /&gt;
 DEBUG(QUOTE)['''{ line }''','''{ col }''']('''{ osisID }'''):      quote pop('''{ quote stack size }''') '''{ topToken }''' -- '''{ token }'''&lt;br /&gt;
 DEBUG(QUOTE)['''{ line }''','''{ col }''']('''{ osisID }'''):      ('''{ quote stack size }''') '''{ topToken }''' -- '''{ token }'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''-d 8'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Identifies when book and chapter introductions are being determined.&lt;br /&gt;
 DEBUG(TITLE)['''{ line }''','''{ col }''']('''{ osisID }'''):     OOPS INTRO&lt;br /&gt;
         inChapterIntro = '''{ inChapterIntro }'''&lt;br /&gt;
         inBookIntro    = '''{ inBookIntro }'''&lt;br /&gt;
 DEBUG(TITLE)['''{ line }''','''{ col }''']('''{ osisID }'''):      Looking for book introduction&lt;br /&gt;
 DEBUG(TITLE)['''{ line }''','''{ col }''']('''{ osisID }'''):      Done looking for book introduction&lt;br /&gt;
 DEBUG(TITLE)['''{ line }''','''{ col }''']('''{ osisID }'''):      BOOK INTRO '''{ beading }'''&lt;br /&gt;
 DEBUG(TITLE)['''{ line }''','''{ col }''']('''{ osisID }'''):      Looking for chapter introduction&lt;br /&gt;
 DEBUG(TITLE)['''{ line }''','''{ col }''']('''{ osisID }'''):      Done looking for chapter introduction&lt;br /&gt;
 DEBUG(TITLE)['''{ line }''','''{ col }''']('''{ osisID }'''):      CHAPTER INTRO '''{ heading }'''&lt;br /&gt;
&lt;br /&gt;
'''-d 16'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Inter-verse material either goes with the prior &amp;quot;verse&amp;quot; or the next. This help diagnose problems related to that split.&lt;br /&gt;
 DEBUG(INTERVERSE)['''{ line }''','''{ col }''']('''{ osisID }'''): Interverse start token '''{ token }''':'''{ text }'''&lt;br /&gt;
 DEBUG(INTERVERSE)['''{ line }''','''{ col }''']('''{ osisID }'''): Interverse end tag: '''{ tokenName }'''('''{ tagDepth }''','''{ chapterDepth }''','''{ bookDepth }''')&lt;br /&gt;
 DEBUG(INTERVERSE)['''{ line }''','''{ col }''']('''{ osisID }'''): Appending interverse end tag: '''{tokenName }'''('''{ tagDepth }''','''{ chapterDepth }''','''{ bookDepth }''')&lt;br /&gt;
&lt;br /&gt;
'''-d 32'''&amp;lt;br/&amp;gt;&lt;br /&gt;
The following messages relate to the transformations of containers to milestones.&lt;br /&gt;
 DEBUG(XFORM)['''{ line }''','''{ col }''']('''{ osisID }'''):      Transform start tag from '''{ orig }''' to '''{ transformed }'''&lt;br /&gt;
 DEBUG(XFORM)['''{ line }''','''{ col }''']('''{ osisID }'''):      Transform end tag from '''{ orig }''' to '''{ transformed }'''&lt;br /&gt;
&lt;br /&gt;
'''-d 64'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Occasionally a verse reference is outside of the chosen versification. These messages help to understand difficulties that osis2mod has in storing extra-canonical material in the module.&lt;br /&gt;
 DEBUG(V11N)['''{ line }''','''{ col }''']('''{ osisID }'''):       {'''{ caller }'''} normalizes to '''{ after }'''&lt;br /&gt;
 DEBUG(V11N)['''{ line }''','''{ col }''']('''{ osisID }'''):       Chapter max:'''{ chapterMax }''', Verse Max:'''{ verseMax }'''&lt;br /&gt;
&lt;br /&gt;
'''-d 128'''&amp;lt;br/&amp;gt;&lt;br /&gt;
OSIS ids and references can be of a form that SWORD cannot parse. Osis2mod contains a routine that munges these into a form that SWORD can understand.&lt;br /&gt;
 DEBUG(REF)['''{ line }''','''{ col }''']('''{ osisID }'''):        VerseKey can parse this as is.&lt;br /&gt;
 DEBUG(REF)['''{ line }''','''{ col }''']('''{ osisID }'''):        Found a range marker. Progress: '''{ progress }''' Remaining: '''{ remaining }'''&lt;br /&gt;
 DEBUG(REF)['''{ line }''','''{ col }''']('''{ osisID }'''):        Found a work prefix '''{ workPrefix }''' Progress: '''{ progress }''' Remaining: '''{ remaining }'''&lt;br /&gt;
 DEBUG(REF)['''{ line }''','''{ col }''']('''{ osisID }'''):        Found an osisID:'''{ osisID }''' Progress: '''{ progress }''' Remaining: '''{ remaining }'''&lt;br /&gt;
 DEBUG(REF)['''{ line }''','''{ col }''']('''{ osisID }'''):        Found a grain suffix '''{ grain }''' Progress: '''{ progress }''' Remaining: '''{ remaining }'''&lt;br /&gt;
 DEBUG(REF)['''{ line }''','''{ col }''']('''{ osisID }'''):        Replacing space with ; Progress: '''{ progress }''' Remaining: '''{ remaining }'''&lt;br /&gt;
 DEBUG(REF)['''{ line }''','''{ col }''']('''{ osisID }'''):        Parseable VerseKey -- '''{ osisRef }'''&lt;br /&gt;
&lt;br /&gt;
'''-d 256'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Osis2mod contains two stacks to validate proper nesting of BSP and BCV, respectively. This is an internal representation of the BCV stacks. It provides additional information to understand the diagnostic nesting messages.&lt;br /&gt;
 DEBUG(STACK)['''{ line }''','''{ col }''']('''{ osisID }'''):     push ('''{ stack size}''') '''{ tokenName }'''&lt;br /&gt;
 DEBUG(STACK)['''{ line }''','''{ col }''']('''{ osisID }'''):     pop('''{ tagDepth }''') '''{ topToken.getName() }'''&lt;br /&gt;
&lt;br /&gt;
'''-d 512'''&amp;lt;br/&amp;gt;&lt;br /&gt;
These are general debug messages.&lt;br /&gt;
 DEBUG(FOUND)['''{ line }''','''{ col }''']('''{ osisID }'''):        Found first div and pitching prior material: '''{ text }'''&lt;br /&gt;
 DEBUG(FOUND)['''{ line }''','''{ col }''']('''{ osisID }'''):        Found new book.&lt;br /&gt;
 DEBUG(FOUND)['''{ line }''','''{ col }''']('''{ osisID }'''):        Current chapter is '''{ currentOsisID }'''&lt;br /&gt;
 DEBUG(FOUND)['''{ line }''','''{ col }''']('''{ osisID }'''):        Entering verse&lt;br /&gt;
 DEBUG(FOUND)['''{ line }''','''{ col }''']('''{ osisID }'''):        New current verse&lt;br /&gt;
 DEBUG(FOUND)['''{ line }''','''{ col }''']('''{ osisID }'''):        End of header found.&lt;br /&gt;
 DEBUG(COMMENTS)['''{ line }''','''{ col }''']('''{ osisID }'''): in comment&lt;br /&gt;
 DEBUG(COMMENTS)['''{ line }''','''{ col }''']('''{ osisID }'''): out of comment&lt;br /&gt;
 DEBUG(ARGS):&lt;br /&gt;
         path:         '''{ path }'''&lt;br /&gt;
         osisDoc:      '''{ osisDoc }'''&lt;br /&gt;
         create:       '''{ append }'''&lt;br /&gt;
         compressType: '''{ compType }'''&lt;br /&gt;
         blockType:    '''{ iType }'''&lt;br /&gt;
         cipherKey:    '''{ cipherKey }'''&lt;br /&gt;
         normalize:    '''{ normalize }'''&lt;br /&gt;
&lt;br /&gt;
===Exit Status===&lt;br /&gt;
When an error occurs that causes osis2mod to exit without processing the entire input file, a non-zero exit status is supplied to the caller. Here are the codes that osis2mod uses:&lt;br /&gt;
 const int EXIT_BAD_ARG     =   1; // Bad parameter given for program&lt;br /&gt;
 const int EXIT_NO_WRITE    =   2; // Could not open the module for writing&lt;br /&gt;
 const int EXIT_NO_CREATE   =   3; // Could not create the module&lt;br /&gt;
 const int EXIT_NO_READ     =   4; // Could not open the input file for reading.&lt;br /&gt;
 const int EXIT_BAD_NESTING =   5; // BSP or BCV nesting is bad or improper XML comment&lt;br /&gt;
&lt;br /&gt;
== Future Roadmap ==&lt;br /&gt;
:''List here suggestions for useful enhancements to or improvements for osis2mod''.&lt;br /&gt;
&lt;br /&gt;
* Add a command line flag '''-x''' to ''exclude'' all OSIS elements with the global attribute '''editions'''.&amp;lt;ref&amp;gt;The '''editions''' attribute is used to specify edition specific content, such as material omitted in Protestant versions of the Bible.&amp;lt;/ref&amp;gt;&amp;lt;BR&amp;gt;osis2mod would exclude those elements that match the specified attribute value.&lt;br /&gt;
&lt;br /&gt;
'''Note:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Reporting issues ==&lt;br /&gt;
* [http://www.crosswire.org/tracker/browse/MODTOOLS/component/10290/ Module Tools &amp;amp;ndash; osis2mod]&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[OSIS]] &amp;amp;ndash; a partial list of other OSIS related pages and external links.&lt;br /&gt;
* [[Mod2zmod]]&lt;br /&gt;
&lt;br /&gt;
[[Category:OSIS]]&lt;br /&gt;
[[Category:Utilities]]&lt;br /&gt;
[[Category:Versification]]&lt;/div&gt;</summary>
		<author><name>Dmsmith</name></author>	</entry>

	<entry>
		<id>https://wiki.crosswire.org/index.php?title=Osis2mod&amp;diff=17759</id>
		<title>Osis2mod</title>
		<link rel="alternate" type="text/html" href="https://wiki.crosswire.org/index.php?title=Osis2mod&amp;diff=17759"/>
				<updated>2025-07-07T21:25:09Z</updated>
		
		<summary type="html">&lt;p&gt;Dmsmith: /* History of Changes */  new history entry&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
osis2mod transforms an OSIS encoded [[OSIS Bibles|Bible]] or [[OSIS_Commentaries|commentary]] into a SWORD module.&lt;br /&gt;
&lt;br /&gt;
==Where to get it==&lt;br /&gt;
* See [[DevTools:Modules#Collect_and_Install_Software_Tools|Collect and Install Software Tools]]&lt;br /&gt;
&lt;br /&gt;
== Current status ==&lt;br /&gt;
&lt;br /&gt;
Software bugs relating to osis2mod should be reported in https://tracker.crosswire.org/browse/MODTOOLS&lt;br /&gt;
&lt;br /&gt;
:''Please describe current status of osis2mod, including a list of any outstanding issues or unsolved difficulties''.&lt;br /&gt;
&lt;br /&gt;
==History of Changes==&lt;br /&gt;
The following outlines in reverse chronological order the major changes to osis2mod. When several changes were made over the span of a few days, they are lumped into the most recent date. Bug fixes are not mentioned.&lt;br /&gt;
&lt;br /&gt;
{|width=&amp;quot;100%&amp;quot; border=&amp;quot;0&amp;quot; class=&amp;quot;sortable&amp;quot;&lt;br /&gt;
!width=&amp;quot;10%&amp;quot;|Date&lt;br /&gt;
!Revision&lt;br /&gt;
!Feature&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2025-07-07'''&lt;br /&gt;
|&lt;br /&gt;
r3907&lt;br /&gt;
|&lt;br /&gt;
* MODTOOLS-25 give location in input for messages.&lt;br /&gt;
&lt;br /&gt;
 Created identifyMsg which creates a standardized message for reporting and used it for all messages to standard out.&lt;br /&gt;
 &lt;br /&gt;
 The message is of the form: type(kind)[linePos,charPos] osisID=osisID: message&lt;br /&gt;
 &lt;br /&gt;
 Where:&lt;br /&gt;
  type           The message type (e.g., &amp;quot;ERROR&amp;quot;, &amp;quot;WARNING&amp;quot;, &amp;quot;INFO&amp;quot;).&lt;br /&gt;
  kind           The message category or kind (e.g., &amp;quot;REF&amp;quot;, &amp;quot;PARSE&amp;quot;).&lt;br /&gt;
  linePos        The position in the file of the last line that was read.&lt;br /&gt;
  charPos        The position in the line of the last character that was read.&lt;br /&gt;
  osisID         (Optional) The current OSIS ID to include. May be nullptr or empty.&lt;br /&gt;
  message        event description with details&lt;br /&gt;
 &lt;br /&gt;
 * If linePos is 0, the position ([linePos,charPos]) is omitted.&lt;br /&gt;
 * If osisID is nullptr or empty, the osisID part is omitted.&lt;br /&gt;
 * The returned string always ends with a colon and a trailing space (&amp;quot;: &amp;quot;).&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2025-06-25'''&lt;br /&gt;
|&lt;br /&gt;
r3906&lt;br /&gt;
|&lt;br /&gt;
* MODTOOLS-76: Enhance -v argument handling in osis2mod with case-insensitive and prefix matching, and improved error reporting.&lt;br /&gt;
** Outputs the name of the versification system being used at program start&lt;br /&gt;
** Adds layered resolution of versifications:&lt;br /&gt;
## Case-sensitive exact match&lt;br /&gt;
## Case-insensitive exact match&lt;br /&gt;
## Case-insensitive prefix match&lt;br /&gt;
** Shows detailed error messages when input is invalid or ambiguous:&lt;br /&gt;
*** Lists all matches in case of ambiguity&lt;br /&gt;
*** Lists input and valid options if no match is found&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2025-06-19'''&lt;br /&gt;
|&lt;br /&gt;
r3903&lt;br /&gt;
|&lt;br /&gt;
* MODTOOLS-108  fix. Properly append verses beyond the last chapter of a book at the end of the book in the last verse of the chapter, which caused an infinite loop.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2020-07-26'''&lt;br /&gt;
|&lt;br /&gt;
r3769&lt;br /&gt;
|&lt;br /&gt;
* Fixed linking bug with ranges in osis2mod&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2020-05-08'''&lt;br /&gt;
|&lt;br /&gt;
r3737&lt;br /&gt;
|&lt;br /&gt;
* Added support putting reponumber into nano position of SWORD version string and output current SWORD version&lt;br /&gt;
* standardize on (SWORD: {SWVersion::currentVersion.getText()}) for all reported SWORD versions in utilities&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2016-08-16'''&lt;br /&gt;
|&lt;br /&gt;
r3431&lt;br /&gt;
|&lt;br /&gt;
* commented out  a set of lines handling &amp;quot;div type=&amp;quot;majorSection&amp;quot; &amp;quot; - see comments in code. &lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2016-02-06'''&lt;br /&gt;
|&lt;br /&gt;
r3401&lt;br /&gt;
|&lt;br /&gt;
* Added entity handling.&lt;br /&gt;
* div type='colophon' now not changed to milestones.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2015-02-16'''&lt;br /&gt;
|&lt;br /&gt;
r3322&lt;br /&gt;
| &lt;br /&gt;
* Correct casing of COUT&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2015-02-16'''&lt;br /&gt;
|&lt;br /&gt;
r3321&lt;br /&gt;
|&lt;br /&gt;
* cleaned up whitespace in osis2mod&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2014-12-17'''&lt;br /&gt;
|&lt;br /&gt;
r3310&lt;br /&gt;
|&lt;br /&gt;
* MODTOOLS-55 endless loop fix.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2014-12-15'''&lt;br /&gt;
|&lt;br /&gt;
r3307&lt;br /&gt;
|&lt;br /&gt;
* Greg Helling's patch to osis2mod for majorSections&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2014-03-17'''&lt;br /&gt;
|&lt;br /&gt;
r3139&lt;br /&gt;
|&lt;br /&gt;
* Added support for large entries (&amp;amp;gt; 64K) in compressed modules (aka zText4).&lt;br /&gt;
* Added support for UTF-16 and SCSU using the -e flag. SCSU is experimental.&lt;br /&gt;
* Added support for BZip2 and XZ compression, changing -z and -Z to -z &amp;amp;lt;l|z|b|x&amp;amp;gt;&lt;br /&gt;
* Added support for compression levels of 1 to 9 using the -l [1-9] flag.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2014-01-21'''&lt;br /&gt;
|&lt;br /&gt;
r3011&lt;br /&gt;
|&lt;br /&gt;
* Changed the transformation of &amp;amp;lt;p&amp;amp;gt; from &amp;amp;lt;div type=&amp;quot;paragraph&amp;quot; sID=&amp;quot;xxx&amp;quot;/&amp;amp;gt; to &amp;amp;lt;div type=&amp;quot;x-p&amp;quot; sID=&amp;quot;xxx&amp;quot;/&amp;amp;gt; This is a semantic change that brings osis2mod into alignment with the OSIS specification.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2012-03-24'''&lt;br /&gt;
|&lt;br /&gt;
r2693&lt;br /&gt;
|&lt;br /&gt;
* Allow for XML comments to be in the document, but stripped from the module. This allows for large parts of a document to be commented out, which is especially important during development.&lt;br /&gt;
* Allow for &amp;amp;lt;p&amp;amp;gt; elements to be in the &amp;amp;lt;header&amp;amp;gt; element but ignored. Previously, the p in a header, having been transformed to a div, was taken to be the start of the module's content.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2011-11-12'''&lt;br /&gt;
|&lt;br /&gt;
r2671&lt;br /&gt;
|&lt;br /&gt;
* Restored pre-verse handling. Titles no longer need to be specially specified in OSIS.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2010-06-04'''&lt;br /&gt;
|&lt;br /&gt;
r2519&lt;br /&gt;
|&lt;br /&gt;
* Removed pre-verse handling. Titles now have to be specially specified in OSIS. In OSIS there should also be no tags between verse elements except title and those marking book and chapter.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-06-06'''&lt;br /&gt;
|&lt;br /&gt;
r2435&lt;br /&gt;
|&lt;br /&gt;
* Improved handling of chapter introductions.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-05-30'''&lt;br /&gt;
|&lt;br /&gt;
r2421&lt;br /&gt;
|&lt;br /&gt;
* '''-d flags''' now always available.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-05-14'''&lt;br /&gt;
|&lt;br /&gt;
r2413&lt;br /&gt;
|&lt;br /&gt;
*Added '''-d flags''' as a compile time option.&lt;br /&gt;
*Improved exit codes and documented them here.&lt;br /&gt;
*Labeled all diagnostic and debug output.&lt;br /&gt;
*Can now read from standard input.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-04-28'''&lt;br /&gt;
|&lt;br /&gt;
r2358&lt;br /&gt;
|&lt;br /&gt;
*Predictable handling of inter-verse material.&lt;br /&gt;
*All tags, except verse, included in the module.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-04-26'''&lt;br /&gt;
|&lt;br /&gt;
r2345&lt;br /&gt;
|&lt;br /&gt;
*'''-v v11n''' added to support [[Alternate Versification]].&lt;br /&gt;
*'''-s &amp;lt;2|4&amp;gt;''' added to support uncompressed commentaries with large entries (exceeding 64K bytes).&lt;br /&gt;
*Replace paragraph hack with milestoned paragraphs: &amp;amp;lt;div type=&amp;quot;paragraph&amp;quot; sID=&amp;quot;xxx&amp;quot;/&amp;gt; ... &amp;amp;lt;div type=&amp;quot;paragraph&amp;quot; eID=&amp;quot;xxx&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2008-09-11'''&lt;br /&gt;
|&lt;br /&gt;
r2196&lt;br /&gt;
|&lt;br /&gt;
*Words of Christ (WoC) can be marked up naturally. osis2mod does the right thing.&lt;br /&gt;
*Container elements converted to their milestoned form.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2008-02-29'''&lt;br /&gt;
|&lt;br /&gt;
r2141&lt;br /&gt;
|&lt;br /&gt;
*Now supports commentaries in addition to Bibles.&lt;br /&gt;
*Added utf-8 detection and automatic conversion from cp1252 and iso8859-1 to utf-8, making that the default behavior&lt;br /&gt;
*Added NFC [[Encoding#Normalization|normalization]], making it the default&lt;br /&gt;
*Now handles the full definition of an osisID and an osisRef, including workID and grain.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2007-09-27'''&lt;br /&gt;
|&lt;br /&gt;
r2090&lt;br /&gt;
|&lt;br /&gt;
*Changed command-line parsing from positional parameters to flags.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2007-05-13'''&lt;br /&gt;
|&lt;br /&gt;
r2050&lt;br /&gt;
|&lt;br /&gt;
*All whitespace tokens are converted into blanks and adjacent spaces are merged into one. Leading whitespace on each verse is still removed.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2007-05-01'''&lt;br /&gt;
|&lt;br /&gt;
r2044&lt;br /&gt;
|&lt;br /&gt;
*Added version identification to the running of osis2mod.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2007-04-24'''&lt;br /&gt;
|&lt;br /&gt;
r2038&lt;br /&gt;
|&lt;br /&gt;
*Added ignoring of unknown books&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2006-07-15'''&lt;br /&gt;
|&lt;br /&gt;
r1948&lt;br /&gt;
|&lt;br /&gt;
*Optimized writing to module.&lt;br /&gt;
*Added simple transformations of &amp;amp;lt;q&amp;gt; and &amp;amp;lt;p&amp;gt; into milestones.&lt;br /&gt;
*Now allow empty attributes, such as marker=&amp;quot;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2006-07-04'''&lt;br /&gt;
|&lt;br /&gt;
r1914&lt;br /&gt;
|&lt;br /&gt;
*Updated to support OSIS 2.1&lt;br /&gt;
*Added validation that verses in isolation are well formed&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2005-12-22'''&lt;br /&gt;
|&lt;br /&gt;
r1876&lt;br /&gt;
|&lt;br /&gt;
*Added command-line options for compress and encipher.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2005-05-02'''&lt;br /&gt;
|&lt;br /&gt;
r1790&lt;br /&gt;
|&lt;br /&gt;
*Removed &amp;amp;lt;verse&amp;gt; and &amp;amp;lt;/verse&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2005-02-03'''&lt;br /&gt;
|&lt;br /&gt;
r1707&lt;br /&gt;
|&lt;br /&gt;
*Reverted pre-verse title handling&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2004-06-12'''&lt;br /&gt;
|&lt;br /&gt;
r1620&lt;br /&gt;
|&lt;br /&gt;
*Removed pre-verse title handling&lt;br /&gt;
*Added &amp;amp;lt;verse&amp;gt; and &amp;amp;lt;/verse&amp;gt;&lt;br /&gt;
*Added support for milestoned version of some OSIS elements&lt;br /&gt;
*Added support for verses that are not in the KJV versification by appending them to the closest prior verse.&lt;br /&gt;
*Added support for osisIDs with sub-verse references (i.e. osisID grains)&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2004-05-19'''&lt;br /&gt;
|&lt;br /&gt;
r1597&lt;br /&gt;
|&lt;br /&gt;
*Added support for linked verses&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2003-11-21'''&lt;br /&gt;
|&lt;br /&gt;
r1407&lt;br /&gt;
|&lt;br /&gt;
*Added recognition for &amp;lt;chapter&amp;gt; element&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2003-05-26'''&lt;br /&gt;
|&lt;br /&gt;
r1183&lt;br /&gt;
|&lt;br /&gt;
*Initial version&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Transformations==&lt;br /&gt;
:''This section may need further updating''.&lt;br /&gt;
&lt;br /&gt;
Osis2mod performs the following transformations&amp;lt;ref&amp;gt;These transformations are all performed &amp;quot;under the hood&amp;quot; as it were. Tweaking OSIS XML files to fix problems with pre-verse titles, etc., was never intended to be done by module developers as part of the preprocessing before using osis2mod.&amp;lt;/ref&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
* '''Whitespace''' -- Allows for human-readable OSIS files.&lt;br /&gt;
**Leading whitespace on books, chapters and verses is removed&lt;br /&gt;
**Whitespace is normalized into blanks&lt;br /&gt;
**Multiple adjacent whitespace is reduced to a single space&lt;br /&gt;
&lt;br /&gt;
* '''Unicode handling''' - All modules should be UTF-8, NFC.&amp;lt;ref&amp;gt;With the possible exception of Biblical Hebrew and some Indic scripts that should not be normalized.&amp;lt;/ref&amp;gt;&lt;br /&gt;
**Latin-1 (cp1252 and iso8859-1) are converted into UTF-8&lt;br /&gt;
**UTF-8 is normalized into NFC, unless specified otherwise (i.e. by using the -N option).&lt;br /&gt;
&lt;br /&gt;
* '''Verse ranges''' - also known as linked verses.&lt;br /&gt;
** Verses within a specified OSIS verse range are each linked to the first verse of the range.&lt;br /&gt;
&lt;br /&gt;
* '''Milestone conversion''' - necessary for frontends to show a verse at a time.&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;q ...&amp;gt;...&amp;amp;lt;/q&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;q sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;q eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;ref&amp;gt;'''gen#''' is unique for an sID/eID pair, where '''#''' is a number.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;Quotes with who=&amp;quot;Jesus&amp;quot; are not transformed at this stage.&amp;lt;/ref&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;p ...&amp;gt;...&amp;amp;lt;/p&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;div sID=&amp;quot;gen#&amp;quot; type=&amp;quot;x-p&amp;quot; .../&amp;gt;... &amp;amp;lt;div eID=&amp;quot;gen#&amp;quot; type=&amp;quot;x-p&amp;quot; ...&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;chapter ...&amp;gt;...&amp;amp;lt;/chapter&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;chapter sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;chapter eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;closer ...&amp;gt;...&amp;amp;lt;/closer&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;closer sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;closer eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;div ...&amp;gt;...&amp;amp;lt;/div&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;div sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;div eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;ref&amp;gt;As of r3401, &amp;amp;lt;div type=&amp;quot;colophon&amp;quot;...&amp;gt; is unchanged.&amp;lt;/ref&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;l ...&amp;gt;...&amp;amp;lt;/l&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;l sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;l eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;lg ...&amp;gt;...&amp;amp;lt;/lg&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;lg sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;lg eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;salute ...&amp;gt;...&amp;amp;lt;/salute&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;salute sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;salute eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;signed ...&amp;gt;...&amp;amp;lt;/signed&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;signed sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;signed eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;speech ...&amp;gt;...&amp;amp;lt;/speech&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;speech sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;speech eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;verse ...&amp;gt;...&amp;amp;lt;/verse&amp;gt;&amp;lt;/tt&amp;gt; becomes (when using -d 2 for debugging.)&amp;lt;BR&amp;gt;&amp;lt;tt&amp;gt;&amp;amp;lt;milestone resp=&amp;quot;v&amp;quot; sID=&amp;quot;gen#&amp;quot; ... /&amp;gt;...&amp;amp;lt;milestone resp=&amp;quot;v&amp;quot; eID=&amp;quot;gen#&amp;quot; ... /&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* '''Words of Christ''' - necessary for front-ends to appropriately highlight the WOC, a verse at a time.&amp;lt;ref&amp;gt;The examples given have the null string as the quotation marks in the '''marker''' attribute (as in the KJV module), but proper quotation marks are also supported.&amp;lt;/ref&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;q sID=&amp;quot;gen#&amp;quot; who=&amp;quot;Jesus&amp;quot; .../&amp;gt;...&amp;amp;lt;eID=&amp;quot;gen#&amp;quot; who=&amp;quot;Jesus&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt; becomes&amp;lt;BR&amp;gt;&amp;lt;tt&amp;gt;&amp;amp;lt;q who=&amp;quot;Jesus&amp;quot; marker=&amp;quot;&amp;quot;&amp;gt;&amp;amp;lt;q sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;q eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;amp;lt;/q&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;q who=&amp;quot;Jesus&amp;quot; ...&amp;gt;...&amp;amp;lt;/q&amp;gt;&amp;lt;/tt&amp;gt; becomes&amp;lt;BR&amp;gt;&amp;lt;tt&amp;gt;&amp;amp;lt;q who=&amp;quot;Jesus&amp;quot; marker=&amp;quot;&amp;quot;&amp;gt;&amp;amp;lt;q sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;q eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;amp;lt;/q&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** Within the following construct, &amp;lt;tt&amp;gt;&amp;amp;lt;q who=&amp;quot;Jesus&amp;quot; marker=&amp;quot;&amp;quot;&amp;gt;...&amp;lt;/q&amp;gt;&amp;lt;/tt&amp;gt; will surround verse text.&lt;br /&gt;
&lt;br /&gt;
* '''Pre-Verse Titles'''&amp;lt;ref&amp;gt;The older method that fixed titles only became obsolete with SVN revision 2358 for the SWORD 1.6.0 release and replaced with '''InterVerse Content'''.&amp;lt;/ref&amp;gt;&lt;br /&gt;
** InterVerse or postVerse&amp;lt;ref&amp;gt;For example, the '''colophon''' div as found at the end of some Epistles.&amp;lt;/ref&amp;gt; content not in titles is appended to the prior verse.&lt;br /&gt;
** Titles immediately preceeding a verse are converted into either&amp;lt;BR&amp;gt;&amp;lt;tt&amp;gt;&amp;amp;lt;title canonical=&amp;quot;true&amp;quot; type=&amp;quot;psalm&amp;quot;&amp;gt;...&amp;amp;lt;/title&amp;gt;&amp;lt;/tt&amp;gt; or&amp;lt;BR&amp;gt;&amp;lt;tt&amp;gt;&amp;amp;lt;title canonical=&amp;quot;false&amp;quot; type=&amp;quot;sub&amp;quot;&amp;gt;...&amp;amp;lt;/title&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;ref&amp;gt;type=&amp;quot;sub&amp;quot; is used irrespective of whether the non-canonical title is a section title or a subSection title.&amp;lt;/ref&amp;gt;&amp;lt;BR&amp;gt;and the whole such '''title''' element is wrapped within a special preverse '''div''' element. ''See below''.&lt;br /&gt;
&lt;br /&gt;
* '''InterVerse Content'''&amp;lt;ref&amp;gt;Introduced with SVN revision 2358 for the SWORD 1.6.0 release.&amp;lt;/ref&amp;gt;&lt;br /&gt;
** InterVerse Content refers to all content not contained by the verse element.&amp;lt;ref&amp;gt;i.e. Content between the '''eID''' milestone of a verse and the '''sID''' milestone of the next verse, or before the first verse of the chapter.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;For OSIS files derived from USFM files, the implication of this requirement is the following rule:&lt;br /&gt;
&amp;lt;blockquote&amp;gt;Do not place a title (or similar element) between a matching pair of verse milestones&amp;lt;BR&amp;gt;&lt;br /&gt;
except where the translation places the title somewhere within the verse text in the USFM file.&amp;lt;/blockquote&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
** Such content is divided between the prior and the current verse.&lt;br /&gt;
** Content appended to the prior verse is not marked in any special way.&lt;br /&gt;
** Content prepended&amp;lt;ref&amp;gt;This ensures that when the verse is called the prepended content is also displayed, subject to whatever filters are in place.&amp;lt;/ref&amp;gt; to the current verse is marked with&amp;lt;BR&amp;gt;&amp;lt;tt&amp;gt;&amp;amp;lt;div type=&amp;quot;x-milestone&amp;quot; subType=&amp;quot;x-preverse&amp;quot; sID=&amp;quot;pv#&amp;quot;/&amp;gt;...&amp;amp;lt;div type=&amp;quot;x-milestone&amp;quot; subType=&amp;quot;x-preverse&amp;quot; eID=&amp;quot;pv#&amp;quot;/&amp;gt;.&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Handling of Introductions, Titles and Inter-Verse Material==&lt;br /&gt;
SWORD looks for module, testament, book and chapter introductory material. Those introductions can have appropriate titles as well. &lt;br /&gt;
In SWORD 1.6.0 the handling of this material has changed.&lt;br /&gt;
&lt;br /&gt;
'''Note:'''&lt;br /&gt;
# In the following, the effects of the above transformations are not shown. The tagging of the pre-verse material is also not shown.&lt;br /&gt;
&lt;br /&gt;
===Module and Testament Introductions===&lt;br /&gt;
&lt;br /&gt;
At this time, osis2mod does not fully support module and testament introductions. A module introduction should be place into testament 0, book 0, chapter 0, verse 0. A testament introduction should be placed into testament 1 or 2, book 0, chapter 0, verse 0. Currently, these are placed into Genesis 0:0 or Matthew 0:0.&lt;br /&gt;
&lt;br /&gt;
===Book Introductions and Titles===&lt;br /&gt;
Book introductions and titles are straight forward. It includes the start of the book and everything following it up to, but not including the start of the chapter. See [[OSIS Bibles]] for best practices in marking up titles and introductions.&lt;br /&gt;
&lt;br /&gt;
For example:&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;book&amp;quot; ...&amp;gt;&lt;br /&gt;
 ... introductory material ...&lt;br /&gt;
 &amp;amp;lt;chapter&amp;quot;...&amp;gt;&lt;br /&gt;
will put the following into the book introduction:&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;book&amp;quot; ...&amp;gt;&lt;br /&gt;
 ... introductory material ...&lt;br /&gt;
&lt;br /&gt;
===Chapter Introductions===&lt;br /&gt;
Chapter introductions and titles are a bit problematic. Between the start of a chapter and its first verse, we could have a chapter title, a chapter introduction and/or a start of a section of verses or a titled verse. Osis2mod now handles this in a predictable fashion. From the start of the chapter up to and not including a section div or a title that has a type that is not ''main'', ''chapter'' or ''sub'', the content is chapter introduction. After that, it is part of the verse.&lt;br /&gt;
&lt;br /&gt;
Specifically, the following list gives the possible first elements following the chapter introduction.:&lt;br /&gt;
*&amp;amp;lt;div type=&amp;quot;section&amp;quot; ...&amp;gt;&lt;br /&gt;
*&amp;amp;lt;title type=&amp;quot;yyy&amp;quot; ...&amp;gt; where yyy is not ''main'', ''chapter'' or ''sub''.&lt;br /&gt;
&lt;br /&gt;
For example,&lt;br /&gt;
 &amp;amp;lt;chapter ...&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;Chapter Title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title type=&amp;quot;sub&amp;quot;&amp;gt;Chapter Subtitle&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;introduction&amp;quot;&amp;gt;... intro ...&amp;amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;section&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;A section title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;verse ...&amp;gt;...verse content...&amp;amp;lt;/verse&amp;gt;&lt;br /&gt;
will put the following into the chapter introduction:&lt;br /&gt;
 &amp;amp;lt;chapter ...&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;Chapter Title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title type=&amp;quot;sub&amp;quot;&amp;gt;Chapter Subtitle&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;introduction&amp;quot;&amp;gt;... intro ...&amp;amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
will put the following into verse 1 of that chapter&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;section&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;A section title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;verse ...&amp;gt;...verse content...&amp;amp;lt;/verse&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Between Verses===&lt;br /&gt;
Between verses we may have closing tags to finish off what was started earlier, structural opening tags (e.g. line groups, divisions, paragraphs, ...), titles and/or introductory material.&lt;br /&gt;
&lt;br /&gt;
Upon finding the close of a verse, osis2mod will append all adjacent closing tags to it. Once it finds a start tag, it will attach that to the following verse.&lt;br /&gt;
&lt;br /&gt;
For example, suppose the following is between &amp;amp;lt;/verse&amp;gt; and &amp;amp;lt;verse ...&amp;gt;:&lt;br /&gt;
 &amp;amp;lt;/lg&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;section&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;Section title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;lg&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
then it will append the following to the prior verse:&lt;br /&gt;
 &amp;amp;lt;/lg&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and will prepend the following to the current verse:&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;section&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;Section title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;lg&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Last Verse===&lt;br /&gt;
The material following the last verse of a chapter is appended to that verse. You might find:&lt;br /&gt;
 ... verse content ...&lt;br /&gt;
 &amp;amp;lt;/chapter&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;colophon&amp;quot;&amp;gt;... colophon text ...&amp;amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Exclusions==&lt;br /&gt;
Only content starting the first &amp;amp;lt;div&amp;gt; to the last &amp;amp;lt;/div&amp;gt; is retained. All other is excluded. From a practical perspective, this excludes the OSIS header information.&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
It is always preferable to use the most recent version of osis2mod and compiling it from SVN is best. &lt;br /&gt;
&lt;br /&gt;
'''Note:'''&lt;br /&gt;
# After the SWORD 1.5.9 release, osis2mod was changed to take flags rather than positional arguments.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
You are running osis2mod: $Rev: 3431 $&lt;br /&gt;
OSIS Bible/commentary module creation tool for The SWORD Project&lt;br /&gt;
&lt;br /&gt;
usage: ./osis2mod &amp;lt;output/path&amp;gt; &amp;lt;osisDoc&amp;gt; [OPTIONS]&lt;br /&gt;
  &amp;lt;output/path&amp;gt;		 an existing folder that the module will be written&lt;br /&gt;
  &amp;lt;osisDoc&amp;gt;		 path to the validated OSIS document, or '-' to&lt;br /&gt;
				 read from standard input&lt;br /&gt;
  -a			 augment module if exists (default is to create new)&lt;br /&gt;
  -z &amp;lt;l|z|b|x&amp;gt;		 compression type (default: none)&lt;br /&gt;
				 l - LZSS; z - ZIP; b - bzip2; x - xz&lt;br /&gt;
  -b &amp;lt;2|3|4&amp;gt;		 compression block size (default: 4)&lt;br /&gt;
				 2 - verse; 3 - chapter; 4 - book&lt;br /&gt;
  -l &amp;lt;1-9&amp;gt;		 compression level (default varies by compression type)&lt;br /&gt;
  -c &amp;lt;cipher_key&amp;gt;	 encipher module using supplied key&lt;br /&gt;
				 (default no enciphering)&lt;br /&gt;
  -e &amp;lt;1|2|s&amp;gt;		 convert Unicode encoding (default: 1)&lt;br /&gt;
				 1 - UTF-8 ; 2 - UTF-16 ; s - SCSU&lt;br /&gt;
  -N			 do not normalize to NFC&lt;br /&gt;
  -s &amp;lt;2|4&amp;gt;		 bytes used to store entry size (default is 2).&lt;br /&gt;
  -v &amp;lt;v11n&amp;gt;		 specify a versification scheme to use (default is KJV)&lt;br /&gt;
				 Note: The following are valid values for v11n:&lt;br /&gt;
				   Calvin      	Catholic    	Catholic2   &lt;br /&gt;
				   DarbyFr     	German      	KJV         &lt;br /&gt;
				   KJVA        	LXX         	Leningrad   &lt;br /&gt;
				   Luther      	MT          	NRSV        &lt;br /&gt;
				   NRSVA       	Orthodox    	Segond      &lt;br /&gt;
				   Synodal     	SynodalProt 	Vulg        &lt;br /&gt;
  -h 			 print verbose usage text&lt;br /&gt;
&lt;br /&gt;
See http://www.crosswire.org/wiki/osis2mod for more details.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Earlier builds (e.g. $Rev: 2893 $) also included the debug option help: See [[Osis2mod#Debug_Messages|Debug Messages]].&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  -d &amp;lt;flags&amp;gt;		 turn on debugging (default is 0)&lt;br /&gt;
				 Note: This flag may change in the future.&lt;br /&gt;
				 Flags: The following are valid values:&lt;br /&gt;
					0   - no debugging&lt;br /&gt;
					1   - writes to module, very verbose&lt;br /&gt;
					2   - verse start and end&lt;br /&gt;
					4   - quotes, esp. Words of Christ&lt;br /&gt;
					8   - titles&lt;br /&gt;
					16  - inter-verse material&lt;br /&gt;
					32  - BSP to BCV transformations&lt;br /&gt;
					64  - v11n exceptions&lt;br /&gt;
					128 - parsing of osisID and osisRef&lt;br /&gt;
					256 - internal stack&lt;br /&gt;
					512 - miscellaneous&lt;br /&gt;
				 This argument can be used more than once. (Or&lt;br /&gt;
				 the flags may be added together.)&lt;br /&gt;
&lt;br /&gt;
See http://www.crosswire.org/wiki/osis2mod for more details.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== Parameters and Options ===&lt;br /&gt;
'''&amp;amp;lt;output/path&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This a path to any existing directory. It is best for it to be empty.&lt;br /&gt;
&lt;br /&gt;
'''&amp;amp;lt;osisDoc&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This is a single, well-formed, valid OSIS document.&lt;br /&gt;
&lt;br /&gt;
If '''-''' is used instead of a file name, the document will be read from standard input. This allows for two constructs:&lt;br /&gt;
* Redirection&lt;br /&gt;
 osis2mod ./modules/texts/ztext/KJV - &amp;lt; kjv.xml&lt;br /&gt;
* Piping&lt;br /&gt;
 cat kjv.xml | osis2mod ./modules/texts/ztext/KJV -&lt;br /&gt;
&lt;br /&gt;
'''-a'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Osis2mod can create a Bible all at once or incrementally, depending on the presence of the -a flag. This&lt;br /&gt;
provides for two abilities,&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Assembling a Bible from book files:&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir /tmp/mymodule&lt;br /&gt;
osis2mod /tmp/mymodule  matt.xml&lt;br /&gt;
osis2mod /tmp/mymodule -a mark.xml&lt;br /&gt;
...&lt;br /&gt;
osis2mod /tmp/mymodule -a rev.xml&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
'''Note:''' The book files can be in any order. SWORD will order them correctly in the index.&lt;br /&gt;
&amp;lt;li&amp;gt;Adding corrections to a Bible:&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
osis2mod /tmp/mymodule -a fixes.xml&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
'''Note:''' When fixes are put into the module they are appended to the data file and do not actually replace the verses. The index file is adjusted to point to the new place in the data file.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''-z &amp;amp;lt;l|z|b|x&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
A SWORD Bible can be compressed with Zip (-z z), LZSS (-z l), BZip2 (-z b) '''or''' XZ (-lx). All of CrossWire's compressed Bible and commentary modules are compressed with Zip. This saves significant space over an uncompressed module. Uncompressed modules are useful for debugging.&lt;br /&gt;
&lt;br /&gt;
'''-b &amp;amp;lt;2|3|4&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This setting is only useful for a compressed module. The choice as to whether to use Verse (2), Chapter (3) or Book (4, the default) level compression depends upon the amount of data in the block. A typical Bible is best compressed book by book. A commentary, chapter by chapter. If the commentary is very robust and the amount of text per verse is really huge, then verse compression might make sense.&lt;br /&gt;
&lt;br /&gt;
All of SWORD's compressed Bible modules are compressed by book. Basically, all of the verses in a block are compressed and appended to the data file. For this reason, the datafile cannot be uncompressed by anything other than the SWORD and JSword libraries.&lt;br /&gt;
&lt;br /&gt;
When creating the module by appending it is important to do so by whole compression block. That is, if blockType is Chapter, then the osisDoc needs to contain one or more whole chapters.&lt;br /&gt;
&lt;br /&gt;
'''-l [1-9]'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This setting is useful for a compressed module and provides the level of compression to be used. The default varies depending on the compressor used. The default is typically used.&lt;br /&gt;
&lt;br /&gt;
'''-c cipherKey'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This is typically 16 characters in length, having no leading or trailing spaces, consisting of alternating sets of 4 alpha and 4 numeric characters, such as Aduf0274PjNq0328. The key is case-sensitive.&lt;br /&gt;
&lt;br /&gt;
'''-e &amp;amp;lt;1|2|s&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This flag gives whether the input is to be converted to UTF-8, UTF-16, or SCSU. By default the encoding is UTF-8. Using UTF-16 is reasonable for non-latin texts with little markup. SCSU will compress the Unicode, but it has not been sufficiently tested, requires [[DevTools:ICU|ICU]] support when compiling osis2mod and when running (not all frontends do).&lt;br /&gt;
&lt;br /&gt;
'''-N'''&amp;lt;br/&amp;gt;&lt;br /&gt;
All OSIS modules should be UTF-8 and all that are UTF-8 are also to be NFC. The default is to automatically detect the presense of Latin-1 (either cp1252 or iso8859-1) and convert it to UTF-8 and to normalize UTF-8 to NFC. This flag will turn off this behavior and is useful for creating Latin-1 modules or for modules for which the source text is already UTF-8 and NFC. It is also advised for Biblical Hebrew modules for which the source text (with accents and cantillation points) is intentionally not normalized, as &amp;quot;Unicode normalization can easily break Biblical Hebrew&amp;quot;. Quoted from page 9 of the SBL Hebrew Font Manual.&amp;lt;ref&amp;gt;See https://www.sbl-site.org/Fonts/SBLHebrewUserManual1.5x.pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: this was added late Feb 2008 and requires [[DevTools:ICU|ICU]] support when compiling.&lt;br /&gt;
&lt;br /&gt;
'''-s &amp;amp;lt;2|4&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
A value of 2, the default, restricts modules to 64K bytes per entry. A value of 4, breaks this barrier. This is needed for Bibles, having large introductory materials, and for commentaries with large entries.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' 4 was added late Apr 2009 for raw, uncompressed modules and will be part of the SWORD 1.6.0 release (formerly known as 1.5.11). A later release extended support to compressed modules.&lt;br /&gt;
&lt;br /&gt;
'''-v v11n'''&amp;lt;br/&amp;gt;&lt;br /&gt;
By default, osis2mod uses the KJV versification. The practical implication of this is that only books in the KJV canon are allowed and any text in an allowed book are retained. However, if the verse reference of a supported book falls outside of the versification it is appended to the prior verse in the canon. This flag allows for an [[Alternate Versification|alternate versification]].&lt;br /&gt;
&lt;br /&gt;
'''Note:''' This option was added in April 2009 as part of the SWORD 1.6.0 release.&lt;br /&gt;
&lt;br /&gt;
'''-d flags'''&amp;lt;br/&amp;gt;&lt;br /&gt;
The flag can be used more than once or the flags can be added together. For example,&lt;br /&gt;
 -d 2 -d 4&lt;br /&gt;
is the same as&lt;br /&gt;
 -d 6&lt;br /&gt;
&lt;br /&gt;
To do verbose debugging use:&lt;br /&gt;
 -d -1&lt;br /&gt;
&lt;br /&gt;
For the most part these flags are not intended for debugging modules, but rather for debugging problems in osis2mod.&lt;br /&gt;
&lt;br /&gt;
The -d 2 flag produces no output but puts milestones into the module where verses start and end. The form of the milestone is:&lt;br /&gt;
 &amp;amp;lt;milestone resp=&amp;quot;v&amp;quot; [attributes from verse] /&amp;gt;&lt;br /&gt;
The milestone will contain the osisID from the verse and also a valid sID or eID. The sID/eID indicates the start of end of the verse.&lt;br /&gt;
&lt;br /&gt;
Note: the -d 2 flag might change at any time, or may even be removed.&lt;br /&gt;
&lt;br /&gt;
==Messages==&lt;br /&gt;
Osis2mod has robust, mind-boggling messages. These are provided here in hopes that it will help problem diagnosis.&lt;br /&gt;
&lt;br /&gt;
Messages are output with a standard format:&lt;br /&gt;
TYPE(KIND)[line,column'](osisID'): Message&lt;br /&gt;
&lt;br /&gt;
'''TYPE''' is one of&lt;br /&gt;
* FATAL  - Usually accompanied by an immediate exit. The problem should be fixed and osis2mod rerun.&lt;br /&gt;
* ERROR - A non-fatal problem that should be fixed before the module is used.&lt;br /&gt;
* WARNING - A problem with the input that probably should be fixed.&lt;br /&gt;
* INFO - Information about what the program is doing.&lt;br /&gt;
* DEBUG - Managed by the -d flag.&lt;br /&gt;
&lt;br /&gt;
'''KIND''' is one of:&lt;br /&gt;
* UTF8 - Deals with conversion from Latin-1 to UTF8.&lt;br /&gt;
* V11N - Messages related to Versification.&lt;br /&gt;
* WRITE - Messages related to writing to the module.&lt;br /&gt;
* LINK - Messages related to linked verses.&lt;br /&gt;
* REF - Messages related to the normalization of osis references to SWORD references.&lt;br /&gt;
* NESTING - Messages related to improper overlapping of BCV and BSP&lt;br /&gt;
* COMMENTS - Messages related to XML comment processing.&lt;br /&gt;
* PARSE - Messages related to XML entity processing.&lt;br /&gt;
* QUOTE - Handling of quotes, especially the Words of Christ (WoC)&lt;br /&gt;
* TITLE - Handling of Introductions and Titles&lt;br /&gt;
* INTERVERSE - Handling of material between verses and before verse 1.&lt;br /&gt;
* FOUND - Diagnostics related to finding of Books, Chapters and Verses.&lt;br /&gt;
* ARGS - Summary of command line arguments.&lt;br /&gt;
Some of these are described more fully below&lt;br /&gt;
&lt;br /&gt;
'''Line''' and '''Column''' gives the location of the last line and column read in the file. Since processing is handled after the reading, the location is approximate. If the processing is before the file is read, such as during the reading of command line arguments, it won't show up.&lt;br /&gt;
&lt;br /&gt;
'''osisID''' gives the osisID being processed or N/A. It also is optionally output early in the execution of the program.&lt;br /&gt;
&lt;br /&gt;
In the following, example values are given in '''{...}'''. The brackets do not actually appear in the message. Also, the messages are a bit prettier here than in reality.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Diagnostic Messages===&lt;br /&gt;
&lt;br /&gt;
 WARNING(UTF8)['''{ line }''','''{ col }''']('''{ osisID }'''):     Should be converted to UTF-8 ('''{text }''')&lt;br /&gt;
The program will always check for text that is not UTF-8.&lt;br /&gt;
&lt;br /&gt;
 INFO(UTF8)['''{ line }''','''{ col }''']('''{ osisID }'''):        Converting to UTF-8 ('''{ text before conversion }''')&lt;br /&gt;
Text that is converted to UTF-8 is noted.&lt;br /&gt;
&lt;br /&gt;
 ERROR(UTF8)['''{ line }''','''{ col }''']('''{ osisID }'''):       Converting to UTF-8 ('''{ text after first conversion }''')&lt;br /&gt;
It is an error if after a conversion it still is not UTF-8.&lt;br /&gt;
&lt;br /&gt;
 WARNING(UTF8)['''{ line }''','''{ col }''']('''{ osisID }'''):     osis2mod is not compiled with support for ICU. Ignoring -n flag.&lt;br /&gt;
Normalization was requested, but since osis2mod was not compiled for it, it cannot honor the default request.&lt;br /&gt;
&lt;br /&gt;
 INFO(V11N)['''{ line }''','''{ col }''']('''{ osisID }'''):        is not in the '''{ v11n }''' versification.&lt;br /&gt;
Indicates that a verse is not in the versification.&lt;br /&gt;
&lt;br /&gt;
 INFO(V11N)['''{ line }''','''{ col }''']('''{ osisID }'''):        is not in the '''{ v11n }''' versification. Appending content to '''{ osisID }'''&lt;br /&gt;
This like the other indicates a versification problem, but shows where the text will be found. Osis2mod preserves all module content for supported books.&lt;br /&gt;
&lt;br /&gt;
 WARNING(V11N)['''{ line }''','''{ col }''']('''{ osisID }'''):     New book is '''{ name }'''  and is not in '''{ v11n }''' versification, ignoring&lt;br /&gt;
The name of the book was not recognized as belonging to the chosen versification, it and all of it's content is ignored.&lt;br /&gt;
&lt;br /&gt;
 INFO(WRITE)['''{ line }''','''{ col }''']('''{ osisID }'''):       Appending entry: '''{ osisID }''': '''{ text so far }'''&lt;br /&gt;
If osis2mod encounters text that needs to be appended to a verse that is already in the module. This could indicate that&lt;br /&gt;
* the reference is in the input twice. This typically indicates a problem.&lt;br /&gt;
* more text was found that needs to be added to the prior verse.&lt;br /&gt;
* osis2mod is being run in append mode to fix a verse in the module.&lt;br /&gt;
&lt;br /&gt;
 INFO(LINK)['''{ line }''','''{ col }''']('''{ osisID }'''):        Linking '''{ osisID }''' to '''{ osisID }'''&lt;br /&gt;
An osisID such as &amp;quot;Gen.1.1 Gen.1.2 Gen.1.3&amp;quot; was used and the latter are linked to the first.&lt;br /&gt;
&lt;br /&gt;
 ERROR(REF)['''{ line }''','''{ col }''']('''{ osisID }'''):        Invalid osisID/annotateRef: '''{ invalid attribute value }'''&lt;br /&gt;
This indicates that the SWORD library was unable to parse the osisID or annotateRef.&lt;br /&gt;
&lt;br /&gt;
 FATAL(NESTING)['''{ line }''','''{ col }''']('''{ osisID }'''):    tag expected&lt;br /&gt;
This indicates that the specified verse is not balanced with regard to its tags. Building a raw text module, looking in the module for the verse and pairing begin/end tags will help find the problem. Typically, this indicates an end tag that did not have a matching begin tag and all tags before it were properly paired.&lt;br /&gt;
&lt;br /&gt;
 FATAL(NESTING)['''{ line }''','''{ col }''']('''{ osisID }'''):    Expected '''{ topToken.getName() }''' found '''{ tokenName }'''&lt;br /&gt;
This also indicates that the specified verse is not balanced with regard to its tags. Building a raw text module, looking in the module for the verse and pairing begin/end tags will help find the problem. It could be either a begin or an end tag problem.&lt;br /&gt;
&lt;br /&gt;
 WARNING(NESTING)['''{ line }''','''{ col }''']('''{ osisID }'''):  verse '''{ currentOsisID }''' is not well formed:('''{ verseDepth }''','''{ tagDepth }''')&lt;br /&gt;
This indicates that the verse probably will not show properly in some front-ends in some circumstances. Typically, it shows the problem if the verse is shown in isolation.&lt;br /&gt;
&lt;br /&gt;
 ERROR(NESTING)['''{ line }''','''{ col }''']('''{ osisID }'''):    improper nesting '''{ currentOsisID }''': matching (sID,eID) not found. Looking at ('''{ sID }''','''{ eID }''')&lt;br /&gt;
OSIS specifies that every sID has a matching eID. Osis2mod is checking that BSP elements are properly nested.&lt;br /&gt;
&lt;br /&gt;
 FATAL(COMMENTS)['''{ line }''','''{ col }''']('''{ osisID }'''):   unknown commentstate on comment start: { comment state }&lt;br /&gt;
This indicates that the comment is not of the form &amp;amp;lt;!-- ... --&amp;amp;gt;.&lt;br /&gt;
&lt;br /&gt;
 FATAL(COMMENTS)['''{ line }''','''{ col }''']('''{ osisID }'''):   unknown commentstate on comment end:  { comment state }&lt;br /&gt;
This indicates that the comment is not of the form &amp;amp;lt;!-- ... --&amp;amp;gt;.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    malformed entity, replacing &amp;amp;amp;'''{ malformed entity }''' with &amp;amp;amp;amp;'''{ malformed entity }'''&lt;br /&gt;
This means it found a &amp;amp;amp; that starts an entity but it wasn't terminated by a ; and changed it to something that probably isn't appropriate.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    HEX entity must begin with &amp;amp;amp;x, found '''{ entity }'''&lt;br /&gt;
This indicates &amp;amp;X, which is not valid for xml. It is not changed.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    SWORD does not search HEX entities, found '''{ entity }'''&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    SWORD does not search numeric entities, found '''{ entity }'''&lt;br /&gt;
Since we don't transform HEX or numeric entities to their equivalent UTF-8 value, this will be literal text that cannot be searched.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    XML only supports 5 Character entities &amp;amp;amp;amp;, &amp;amp;amp;lt;, &amp;amp;amp;gt;, &amp;amp;amp;quot; and &amp;amp;amp;apos;, found '''{ entity }'''&lt;br /&gt;
XML does not allow character entities. These are passed unchanged to SWORD module. This frustrates search and may only display properly in a front-end using HTML rendering.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    &amp;amp;amp;quot; is unnecessary outside of attribute values. Replace with &amp;quot;.&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    &amp;amp;amp;quot; is unnecessary inside single quoted attribute values. Replace with &amp;quot;.&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    &amp;amp;amp;quot; is only needed within double quoted attribute values. Considering using single quoted attribute and replacing with &amp;quot;.&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    &amp;amp;amp;apos; is only needed within single quoted attribute values. Considering using double quoted attribute and replacing with '.&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    &amp;amp;amp;apos; is unnecessary inside double quoted attribute values. Replacing with '.&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    &amp;amp;amp;apos; is unnecessary outside of attribute values. Replacing with '.&lt;br /&gt;
The &amp;amp;amp;apos; or &amp;amp;amp;quot; was found outside of an attribute value and is being substituted with a straight single apostrophe, ', or double quote, &amp;quot;, respectively.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    While valid for XML, &amp;amp;amp;quot; is only needed within double quoted attribute values.&lt;br /&gt;
This warning indicates that the entity is present where it does not need to be.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    While valid for XML, XHTML does not support &amp;amp;amp;apos;.&lt;br /&gt;
This warning indicates that the &amp;amp;amp;apos; may not display properly in all front-ends. It was found in an attribute value.&lt;br /&gt;
&lt;br /&gt;
===Debug Messages===&lt;br /&gt;
The following are shown in the same form as the diagnostic messages above. They are given without comment.&lt;br /&gt;
&lt;br /&gt;
'''-d 1'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Output of what is being written to the module.&lt;br /&gt;
 DEBUG(WRITE)['''{ line }''','''{ col }''']('''{ osisID }'''):      '''{ text so far }'''&lt;br /&gt;
&lt;br /&gt;
'''-d 2'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Adds milestones for the &amp;amp;lt;verse&amp;amp;gt; and  &amp;amp;lt;/verse&amp;amp;gt;  of the form &amp;amp;lt;milestone resp=&amp;quot;v&amp;quot; ... with attributes of the verse element ... /&amp;amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
This is especially useful in viewing the dat file of an uncompressed module.&lt;br /&gt;
&lt;br /&gt;
'''-d 4'''&amp;lt;br/&amp;gt;&lt;br /&gt;
A stack is maintained to represent the Words of Christ on a per verse basis. This is internal diagnostic of that stack&lt;br /&gt;
 DEBUG(QUOTE)['''{ line }''','''{ col }''']('''{ osisID }'''):      quote top('''{ quote stack size }''') '''{ token }'''&lt;br /&gt;
 DEBUG(QUOTE)['''{ line }''','''{ col }''']('''{ osisID }'''):      quote pop('''{ quote stack size }''') '''{ topToken }''' -- '''{ token }'''&lt;br /&gt;
 DEBUG(QUOTE)['''{ line }''','''{ col }''']('''{ osisID }'''):      ('''{ quote stack size }''') '''{ topToken }''' -- '''{ token }'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''-d 8'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Identifies when book and chapter introductions are being determined.&lt;br /&gt;
 DEBUG(TITLE)['''{ line }''','''{ col }''']('''{ osisID }'''):     OOPS INTRO&lt;br /&gt;
         inChapterIntro = '''{ inChapterIntro }'''&lt;br /&gt;
         inBookIntro    = '''{ inBookIntro }'''&lt;br /&gt;
 DEBUG(TITLE)['''{ line }''','''{ col }''']('''{ osisID }'''):      Looking for book introduction&lt;br /&gt;
 DEBUG(TITLE)['''{ line }''','''{ col }''']('''{ osisID }'''):      Done looking for book introduction&lt;br /&gt;
 DEBUG(TITLE)['''{ line }''','''{ col }''']('''{ osisID }'''):      BOOK INTRO '''{ beading }'''&lt;br /&gt;
 DEBUG(TITLE)['''{ line }''','''{ col }''']('''{ osisID }'''):      Looking for chapter introduction&lt;br /&gt;
 DEBUG(TITLE)['''{ line }''','''{ col }''']('''{ osisID }'''):      Done looking for chapter introduction&lt;br /&gt;
 DEBUG(TITLE)['''{ line }''','''{ col }''']('''{ osisID }'''):      CHAPTER INTRO '''{ heading }'''&lt;br /&gt;
&lt;br /&gt;
'''-d 16'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Inter-verse material either goes with the prior &amp;quot;verse&amp;quot; or the next. This help diagnose problems related to that split.&lt;br /&gt;
 DEBUG(INTERVERSE)['''{ line }''','''{ col }''']('''{ osisID }'''): Interverse start token '''{ token }''':'''{ text }'''&lt;br /&gt;
 DEBUG(INTERVERSE)['''{ line }''','''{ col }''']('''{ osisID }'''): Interverse end tag: '''{ tokenName }'''('''{ tagDepth }''','''{ chapterDepth }''','''{ bookDepth }''')&lt;br /&gt;
 DEBUG(INTERVERSE)['''{ line }''','''{ col }''']('''{ osisID }'''): Appending interverse end tag: '''{tokenName }'''('''{ tagDepth }''','''{ chapterDepth }''','''{ bookDepth }''')&lt;br /&gt;
&lt;br /&gt;
'''-d 32'''&amp;lt;br/&amp;gt;&lt;br /&gt;
The following messages relate to the transformations of containers to milestones.&lt;br /&gt;
 DEBUG(XFORM)['''{ line }''','''{ col }''']('''{ osisID }'''):      Transform start tag from '''{ orig }''' to '''{ transformed }'''&lt;br /&gt;
 DEBUG(XFORM)['''{ line }''','''{ col }''']('''{ osisID }'''):      Transform end tag from '''{ orig }''' to '''{ transformed }'''&lt;br /&gt;
&lt;br /&gt;
'''-d 64'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Occasionally a verse reference is outside of the chosen versification. These messages help to understand difficulties that osis2mod has in storing extra-canonical material in the module.&lt;br /&gt;
 DEBUG(V11N)['''{ line }''','''{ col }''']('''{ osisID }'''):       {'''{ caller }'''} normalizes to '''{ after }'''&lt;br /&gt;
 DEBUG(V11N)['''{ line }''','''{ col }''']('''{ osisID }'''):       Chapter max:'''{ chapterMax }''', Verse Max:'''{ verseMax }'''&lt;br /&gt;
&lt;br /&gt;
'''-d 128'''&amp;lt;br/&amp;gt;&lt;br /&gt;
OSIS ids and references can be of a form that SWORD cannot parse. Osis2mod contains a routine that munges these into a form that SWORD can understand.&lt;br /&gt;
 DEBUG(REF)['''{ line }''','''{ col }''']('''{ osisID }'''):        VerseKey can parse this as is.&lt;br /&gt;
 DEBUG(REF)['''{ line }''','''{ col }''']('''{ osisID }'''):        Found a range marker. Progress: '''{ progress }''' Remaining: '''{ remaining }'''&lt;br /&gt;
 DEBUG(REF)['''{ line }''','''{ col }''']('''{ osisID }'''):        Found a work prefix '''{ workPrefix }''' Progress: '''{ progress }''' Remaining: '''{ remaining }'''&lt;br /&gt;
 DEBUG(REF)['''{ line }''','''{ col }''']('''{ osisID }'''):        Found an osisID:'''{ osisID }''' Progress: '''{ progress }''' Remaining: '''{ remaining }'''&lt;br /&gt;
 DEBUG(REF)['''{ line }''','''{ col }''']('''{ osisID }'''):        Found a grain suffix '''{ grain }''' Progress: '''{ progress }''' Remaining: '''{ remaining }'''&lt;br /&gt;
 DEBUG(REF)['''{ line }''','''{ col }''']('''{ osisID }'''):        Replacing space with ; Progress: '''{ progress }''' Remaining: '''{ remaining }'''&lt;br /&gt;
 DEBUG(REF)['''{ line }''','''{ col }''']('''{ osisID }'''):        Parseable VerseKey -- '''{ osisRef }'''&lt;br /&gt;
&lt;br /&gt;
'''-d 256'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Osis2mod contains two stacks to validate proper nesting of BSP and BCV, respectively. This is an internal representation of the BCV stacks. It provides additional information to understand the diagnostic nesting messages.&lt;br /&gt;
 DEBUG(STACK)['''{ line }''','''{ col }''']('''{ osisID }'''):     push ('''{ stack size}''') '''{ tokenName }'''&lt;br /&gt;
 DEBUG(STACK)['''{ line }''','''{ col }''']('''{ osisID }'''):     pop('''{ tagDepth }''') '''{ topToken.getName() }'''&lt;br /&gt;
&lt;br /&gt;
'''-d 512'''&amp;lt;br/&amp;gt;&lt;br /&gt;
These are general debug messages.&lt;br /&gt;
 DEBUG(FOUND)['''{ line }''','''{ col }''']('''{ osisID }'''):        Found first div and pitching prior material: '''{ text }'''&lt;br /&gt;
 DEBUG(FOUND)['''{ line }''','''{ col }''']('''{ osisID }'''):        Found new book.&lt;br /&gt;
 DEBUG(FOUND)['''{ line }''','''{ col }''']('''{ osisID }'''):        Current chapter is '''{ currentOsisID }'''&lt;br /&gt;
 DEBUG(FOUND)['''{ line }''','''{ col }''']('''{ osisID }'''):        Entering verse&lt;br /&gt;
 DEBUG(FOUND)['''{ line }''','''{ col }''']('''{ osisID }'''):        New current verse&lt;br /&gt;
 DEBUG(FOUND)['''{ line }''','''{ col }''']('''{ osisID }'''):        End of header found.&lt;br /&gt;
 DEBUG(COMMENTS)['''{ line }''','''{ col }''']('''{ osisID }'''): in comment&lt;br /&gt;
 DEBUG(COMMENTS)['''{ line }''','''{ col }''']('''{ osisID }'''): out of comment&lt;br /&gt;
 DEBUG(ARGS):&lt;br /&gt;
         path:         '''{ path }'''&lt;br /&gt;
         osisDoc:      '''{ osisDoc }'''&lt;br /&gt;
         create:       '''{ append }'''&lt;br /&gt;
         compressType: '''{ compType }'''&lt;br /&gt;
         blockType:    '''{ iType }'''&lt;br /&gt;
         cipherKey:    '''{ cipherKey }'''&lt;br /&gt;
         normalize:    '''{ normalize }'''&lt;br /&gt;
&lt;br /&gt;
===Exit Status===&lt;br /&gt;
When an error occurs that causes osis2mod to exit without processing the entire input file, a non-zero exit status is supplied to the caller. Here are the codes that osis2mod uses:&lt;br /&gt;
 const int EXIT_BAD_ARG     =   1; // Bad parameter given for program&lt;br /&gt;
 const int EXIT_NO_WRITE    =   2; // Could not open the module for writing&lt;br /&gt;
 const int EXIT_NO_CREATE   =   3; // Could not create the module&lt;br /&gt;
 const int EXIT_NO_READ     =   4; // Could not open the input file for reading.&lt;br /&gt;
 const int EXIT_BAD_NESTING =   5; // BSP or BCV nesting is bad or improper XML comment&lt;br /&gt;
&lt;br /&gt;
== Future Roadmap ==&lt;br /&gt;
:''List here suggestions for useful enhancements to or improvements for osis2mod''.&lt;br /&gt;
&lt;br /&gt;
* Add a command line flag '''-x''' to ''exclude'' all OSIS elements with the global attribute '''editions'''.&amp;lt;ref&amp;gt;The '''editions''' attribute is used to specify edition specific content, such as material omitted in Protestant versions of the Bible.&amp;lt;/ref&amp;gt;&amp;lt;BR&amp;gt;osis2mod would exclude those elements that match the specified attribute value.&lt;br /&gt;
&lt;br /&gt;
'''Note:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Reporting issues ==&lt;br /&gt;
* [http://www.crosswire.org/tracker/browse/MODTOOLS/component/10290/ Module Tools &amp;amp;ndash; osis2mod]&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[OSIS]] &amp;amp;ndash; a partial list of other OSIS related pages and external links.&lt;br /&gt;
* [[Mod2zmod]]&lt;br /&gt;
&lt;br /&gt;
[[Category:OSIS]]&lt;br /&gt;
[[Category:Utilities]]&lt;br /&gt;
[[Category:Versification]]&lt;/div&gt;</summary>
		<author><name>Dmsmith</name></author>	</entry>

	<entry>
		<id>https://wiki.crosswire.org/index.php?title=Osis2mod&amp;diff=17758</id>
		<title>Osis2mod</title>
		<link rel="alternate" type="text/html" href="https://wiki.crosswire.org/index.php?title=Osis2mod&amp;diff=17758"/>
				<updated>2025-07-07T17:51:19Z</updated>
		
		<summary type="html">&lt;p&gt;Dmsmith: /* Messages */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
osis2mod transforms an OSIS encoded [[OSIS Bibles|Bible]] or [[OSIS_Commentaries|commentary]] into a SWORD module.&lt;br /&gt;
&lt;br /&gt;
==Where to get it==&lt;br /&gt;
* See [[DevTools:Modules#Collect_and_Install_Software_Tools|Collect and Install Software Tools]]&lt;br /&gt;
&lt;br /&gt;
== Current status ==&lt;br /&gt;
&lt;br /&gt;
Software bugs relating to osis2mod should be reported in https://tracker.crosswire.org/browse/MODTOOLS&lt;br /&gt;
&lt;br /&gt;
:''Please describe current status of osis2mod, including a list of any outstanding issues or unsolved difficulties''.&lt;br /&gt;
&lt;br /&gt;
==History of Changes==&lt;br /&gt;
The following outlines in reverse chronological order the major changes to osis2mod. When several changes were made over the span of a few days, they are lumped into the most recent date. Bug fixes are not mentioned.&lt;br /&gt;
&lt;br /&gt;
{|width=&amp;quot;100%&amp;quot; border=&amp;quot;0&amp;quot; class=&amp;quot;sortable&amp;quot;&lt;br /&gt;
!width=&amp;quot;10%&amp;quot;|Date&lt;br /&gt;
!Revision&lt;br /&gt;
!Feature&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2025-06-25'''&lt;br /&gt;
|&lt;br /&gt;
r3906&lt;br /&gt;
|&lt;br /&gt;
* MODTOOLS-76: Enhance -v argument handling in osis2mod with case-insensitive and prefix matching, and improved error reporting.&lt;br /&gt;
&lt;br /&gt;
 - Outputs the name of the versification system being used at program start&lt;br /&gt;
 - Adds layered resolution of versifications:&lt;br /&gt;
    1) Case-sensitive exact match&lt;br /&gt;
    2) Case-insensitive exact match&lt;br /&gt;
    3) Case-insensitive prefix match&lt;br /&gt;
 - Shows detailed error messages when input is invalid or ambiguous:&lt;br /&gt;
    * Lists all matches in case of ambiguity&lt;br /&gt;
    * Lists input and valid options if no match is found&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2025-06-19'''&lt;br /&gt;
|&lt;br /&gt;
r3903&lt;br /&gt;
|&lt;br /&gt;
* MODTOOLS-108  fix. Properly append verses beyond the last chapter of a book at the end of the book in the last verse of the chapter, which caused an infinite loop.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2020-07-26'''&lt;br /&gt;
|&lt;br /&gt;
r3769&lt;br /&gt;
|&lt;br /&gt;
* Fixed linking bug with ranges in osis2mod&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2020-05-08'''&lt;br /&gt;
|&lt;br /&gt;
r3737&lt;br /&gt;
|&lt;br /&gt;
* Added support putting reponumber into nano position of SWORD version string and output current SWORD version&lt;br /&gt;
* standardize on (SWORD: {SWVersion::currentVersion.getText()}) for all reported SWORD versions in utilities&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2016-08-16'''&lt;br /&gt;
|&lt;br /&gt;
r3431&lt;br /&gt;
|&lt;br /&gt;
* commented out  a set of lines handling &amp;quot;div type=&amp;quot;majorSection&amp;quot; &amp;quot; - see comments in code. &lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2016-02-06'''&lt;br /&gt;
|&lt;br /&gt;
r3401&lt;br /&gt;
|&lt;br /&gt;
* Added entity handling.&lt;br /&gt;
* div type='colophon' now not changed to milestones.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2015-02-16'''&lt;br /&gt;
|&lt;br /&gt;
r3322&lt;br /&gt;
| &lt;br /&gt;
* Correct casing of COUT&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2015-02-16'''&lt;br /&gt;
|&lt;br /&gt;
r3321&lt;br /&gt;
|&lt;br /&gt;
* cleaned up whitespace in osis2mod&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2014-12-17'''&lt;br /&gt;
|&lt;br /&gt;
r3310&lt;br /&gt;
|&lt;br /&gt;
* MODTOOLS-55 endless loop fix.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2014-12-15'''&lt;br /&gt;
|&lt;br /&gt;
r3307&lt;br /&gt;
|&lt;br /&gt;
* Greg Helling's patch to osis2mod for majorSections&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2014-03-17'''&lt;br /&gt;
|&lt;br /&gt;
r3139&lt;br /&gt;
|&lt;br /&gt;
* Added support for large entries (&amp;amp;gt; 64K) in compressed modules (aka zText4).&lt;br /&gt;
* Added support for UTF-16 and SCSU using the -e flag. SCSU is experimental.&lt;br /&gt;
* Added support for BZip2 and XZ compression, changing -z and -Z to -z &amp;amp;lt;l|z|b|x&amp;amp;gt;&lt;br /&gt;
* Added support for compression levels of 1 to 9 using the -l [1-9] flag.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2014-01-21'''&lt;br /&gt;
|&lt;br /&gt;
r3011&lt;br /&gt;
|&lt;br /&gt;
* Changed the transformation of &amp;amp;lt;p&amp;amp;gt; from &amp;amp;lt;div type=&amp;quot;paragraph&amp;quot; sID=&amp;quot;xxx&amp;quot;/&amp;amp;gt; to &amp;amp;lt;div type=&amp;quot;x-p&amp;quot; sID=&amp;quot;xxx&amp;quot;/&amp;amp;gt; This is a semantic change that brings osis2mod into alignment with the OSIS specification.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2012-03-24'''&lt;br /&gt;
|&lt;br /&gt;
r2693&lt;br /&gt;
|&lt;br /&gt;
* Allow for XML comments to be in the document, but stripped from the module. This allows for large parts of a document to be commented out, which is especially important during development.&lt;br /&gt;
* Allow for &amp;amp;lt;p&amp;amp;gt; elements to be in the &amp;amp;lt;header&amp;amp;gt; element but ignored. Previously, the p in a header, having been transformed to a div, was taken to be the start of the module's content.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2011-11-12'''&lt;br /&gt;
|&lt;br /&gt;
r2671&lt;br /&gt;
|&lt;br /&gt;
* Restored pre-verse handling. Titles no longer need to be specially specified in OSIS.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2010-06-04'''&lt;br /&gt;
|&lt;br /&gt;
r2519&lt;br /&gt;
|&lt;br /&gt;
* Removed pre-verse handling. Titles now have to be specially specified in OSIS. In OSIS there should also be no tags between verse elements except title and those marking book and chapter.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-06-06'''&lt;br /&gt;
|&lt;br /&gt;
r2435&lt;br /&gt;
|&lt;br /&gt;
* Improved handling of chapter introductions.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-05-30'''&lt;br /&gt;
|&lt;br /&gt;
r2421&lt;br /&gt;
|&lt;br /&gt;
* '''-d flags''' now always available.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-05-14'''&lt;br /&gt;
|&lt;br /&gt;
r2413&lt;br /&gt;
|&lt;br /&gt;
*Added '''-d flags''' as a compile time option.&lt;br /&gt;
*Improved exit codes and documented them here.&lt;br /&gt;
*Labeled all diagnostic and debug output.&lt;br /&gt;
*Can now read from standard input.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-04-28'''&lt;br /&gt;
|&lt;br /&gt;
r2358&lt;br /&gt;
|&lt;br /&gt;
*Predictable handling of inter-verse material.&lt;br /&gt;
*All tags, except verse, included in the module.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-04-26'''&lt;br /&gt;
|&lt;br /&gt;
r2345&lt;br /&gt;
|&lt;br /&gt;
*'''-v v11n''' added to support [[Alternate Versification]].&lt;br /&gt;
*'''-s &amp;lt;2|4&amp;gt;''' added to support uncompressed commentaries with large entries (exceeding 64K bytes).&lt;br /&gt;
*Replace paragraph hack with milestoned paragraphs: &amp;amp;lt;div type=&amp;quot;paragraph&amp;quot; sID=&amp;quot;xxx&amp;quot;/&amp;gt; ... &amp;amp;lt;div type=&amp;quot;paragraph&amp;quot; eID=&amp;quot;xxx&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2008-09-11'''&lt;br /&gt;
|&lt;br /&gt;
r2196&lt;br /&gt;
|&lt;br /&gt;
*Words of Christ (WoC) can be marked up naturally. osis2mod does the right thing.&lt;br /&gt;
*Container elements converted to their milestoned form.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2008-02-29'''&lt;br /&gt;
|&lt;br /&gt;
r2141&lt;br /&gt;
|&lt;br /&gt;
*Now supports commentaries in addition to Bibles.&lt;br /&gt;
*Added utf-8 detection and automatic conversion from cp1252 and iso8859-1 to utf-8, making that the default behavior&lt;br /&gt;
*Added NFC [[Encoding#Normalization|normalization]], making it the default&lt;br /&gt;
*Now handles the full definition of an osisID and an osisRef, including workID and grain.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2007-09-27'''&lt;br /&gt;
|&lt;br /&gt;
r2090&lt;br /&gt;
|&lt;br /&gt;
*Changed command-line parsing from positional parameters to flags.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2007-05-13'''&lt;br /&gt;
|&lt;br /&gt;
r2050&lt;br /&gt;
|&lt;br /&gt;
*All whitespace tokens are converted into blanks and adjacent spaces are merged into one. Leading whitespace on each verse is still removed.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2007-05-01'''&lt;br /&gt;
|&lt;br /&gt;
r2044&lt;br /&gt;
|&lt;br /&gt;
*Added version identification to the running of osis2mod.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2007-04-24'''&lt;br /&gt;
|&lt;br /&gt;
r2038&lt;br /&gt;
|&lt;br /&gt;
*Added ignoring of unknown books&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2006-07-15'''&lt;br /&gt;
|&lt;br /&gt;
r1948&lt;br /&gt;
|&lt;br /&gt;
*Optimized writing to module.&lt;br /&gt;
*Added simple transformations of &amp;amp;lt;q&amp;gt; and &amp;amp;lt;p&amp;gt; into milestones.&lt;br /&gt;
*Now allow empty attributes, such as marker=&amp;quot;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2006-07-04'''&lt;br /&gt;
|&lt;br /&gt;
r1914&lt;br /&gt;
|&lt;br /&gt;
*Updated to support OSIS 2.1&lt;br /&gt;
*Added validation that verses in isolation are well formed&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2005-12-22'''&lt;br /&gt;
|&lt;br /&gt;
r1876&lt;br /&gt;
|&lt;br /&gt;
*Added command-line options for compress and encipher.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2005-05-02'''&lt;br /&gt;
|&lt;br /&gt;
r1790&lt;br /&gt;
|&lt;br /&gt;
*Removed &amp;amp;lt;verse&amp;gt; and &amp;amp;lt;/verse&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2005-02-03'''&lt;br /&gt;
|&lt;br /&gt;
r1707&lt;br /&gt;
|&lt;br /&gt;
*Reverted pre-verse title handling&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2004-06-12'''&lt;br /&gt;
|&lt;br /&gt;
r1620&lt;br /&gt;
|&lt;br /&gt;
*Removed pre-verse title handling&lt;br /&gt;
*Added &amp;amp;lt;verse&amp;gt; and &amp;amp;lt;/verse&amp;gt;&lt;br /&gt;
*Added support for milestoned version of some OSIS elements&lt;br /&gt;
*Added support for verses that are not in the KJV versification by appending them to the closest prior verse.&lt;br /&gt;
*Added support for osisIDs with sub-verse references (i.e. osisID grains)&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2004-05-19'''&lt;br /&gt;
|&lt;br /&gt;
r1597&lt;br /&gt;
|&lt;br /&gt;
*Added support for linked verses&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2003-11-21'''&lt;br /&gt;
|&lt;br /&gt;
r1407&lt;br /&gt;
|&lt;br /&gt;
*Added recognition for &amp;lt;chapter&amp;gt; element&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2003-05-26'''&lt;br /&gt;
|&lt;br /&gt;
r1183&lt;br /&gt;
|&lt;br /&gt;
*Initial version&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Transformations==&lt;br /&gt;
:''This section may need further updating''.&lt;br /&gt;
&lt;br /&gt;
Osis2mod performs the following transformations&amp;lt;ref&amp;gt;These transformations are all performed &amp;quot;under the hood&amp;quot; as it were. Tweaking OSIS XML files to fix problems with pre-verse titles, etc., was never intended to be done by module developers as part of the preprocessing before using osis2mod.&amp;lt;/ref&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
* '''Whitespace''' -- Allows for human-readable OSIS files.&lt;br /&gt;
**Leading whitespace on books, chapters and verses is removed&lt;br /&gt;
**Whitespace is normalized into blanks&lt;br /&gt;
**Multiple adjacent whitespace is reduced to a single space&lt;br /&gt;
&lt;br /&gt;
* '''Unicode handling''' - All modules should be UTF-8, NFC.&amp;lt;ref&amp;gt;With the possible exception of Biblical Hebrew and some Indic scripts that should not be normalized.&amp;lt;/ref&amp;gt;&lt;br /&gt;
**Latin-1 (cp1252 and iso8859-1) are converted into UTF-8&lt;br /&gt;
**UTF-8 is normalized into NFC, unless specified otherwise (i.e. by using the -N option).&lt;br /&gt;
&lt;br /&gt;
* '''Verse ranges''' - also known as linked verses.&lt;br /&gt;
** Verses within a specified OSIS verse range are each linked to the first verse of the range.&lt;br /&gt;
&lt;br /&gt;
* '''Milestone conversion''' - necessary for frontends to show a verse at a time.&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;q ...&amp;gt;...&amp;amp;lt;/q&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;q sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;q eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;ref&amp;gt;'''gen#''' is unique for an sID/eID pair, where '''#''' is a number.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;Quotes with who=&amp;quot;Jesus&amp;quot; are not transformed at this stage.&amp;lt;/ref&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;p ...&amp;gt;...&amp;amp;lt;/p&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;div sID=&amp;quot;gen#&amp;quot; type=&amp;quot;x-p&amp;quot; .../&amp;gt;... &amp;amp;lt;div eID=&amp;quot;gen#&amp;quot; type=&amp;quot;x-p&amp;quot; ...&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;chapter ...&amp;gt;...&amp;amp;lt;/chapter&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;chapter sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;chapter eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;closer ...&amp;gt;...&amp;amp;lt;/closer&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;closer sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;closer eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;div ...&amp;gt;...&amp;amp;lt;/div&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;div sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;div eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;ref&amp;gt;As of r3401, &amp;amp;lt;div type=&amp;quot;colophon&amp;quot;...&amp;gt; is unchanged.&amp;lt;/ref&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;l ...&amp;gt;...&amp;amp;lt;/l&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;l sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;l eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;lg ...&amp;gt;...&amp;amp;lt;/lg&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;lg sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;lg eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;salute ...&amp;gt;...&amp;amp;lt;/salute&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;salute sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;salute eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;signed ...&amp;gt;...&amp;amp;lt;/signed&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;signed sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;signed eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;speech ...&amp;gt;...&amp;amp;lt;/speech&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;speech sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;speech eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;verse ...&amp;gt;...&amp;amp;lt;/verse&amp;gt;&amp;lt;/tt&amp;gt; becomes (when using -d 2 for debugging.)&amp;lt;BR&amp;gt;&amp;lt;tt&amp;gt;&amp;amp;lt;milestone resp=&amp;quot;v&amp;quot; sID=&amp;quot;gen#&amp;quot; ... /&amp;gt;...&amp;amp;lt;milestone resp=&amp;quot;v&amp;quot; eID=&amp;quot;gen#&amp;quot; ... /&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* '''Words of Christ''' - necessary for front-ends to appropriately highlight the WOC, a verse at a time.&amp;lt;ref&amp;gt;The examples given have the null string as the quotation marks in the '''marker''' attribute (as in the KJV module), but proper quotation marks are also supported.&amp;lt;/ref&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;q sID=&amp;quot;gen#&amp;quot; who=&amp;quot;Jesus&amp;quot; .../&amp;gt;...&amp;amp;lt;eID=&amp;quot;gen#&amp;quot; who=&amp;quot;Jesus&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt; becomes&amp;lt;BR&amp;gt;&amp;lt;tt&amp;gt;&amp;amp;lt;q who=&amp;quot;Jesus&amp;quot; marker=&amp;quot;&amp;quot;&amp;gt;&amp;amp;lt;q sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;q eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;amp;lt;/q&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;q who=&amp;quot;Jesus&amp;quot; ...&amp;gt;...&amp;amp;lt;/q&amp;gt;&amp;lt;/tt&amp;gt; becomes&amp;lt;BR&amp;gt;&amp;lt;tt&amp;gt;&amp;amp;lt;q who=&amp;quot;Jesus&amp;quot; marker=&amp;quot;&amp;quot;&amp;gt;&amp;amp;lt;q sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;q eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;amp;lt;/q&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** Within the following construct, &amp;lt;tt&amp;gt;&amp;amp;lt;q who=&amp;quot;Jesus&amp;quot; marker=&amp;quot;&amp;quot;&amp;gt;...&amp;lt;/q&amp;gt;&amp;lt;/tt&amp;gt; will surround verse text.&lt;br /&gt;
&lt;br /&gt;
* '''Pre-Verse Titles'''&amp;lt;ref&amp;gt;The older method that fixed titles only became obsolete with SVN revision 2358 for the SWORD 1.6.0 release and replaced with '''InterVerse Content'''.&amp;lt;/ref&amp;gt;&lt;br /&gt;
** InterVerse or postVerse&amp;lt;ref&amp;gt;For example, the '''colophon''' div as found at the end of some Epistles.&amp;lt;/ref&amp;gt; content not in titles is appended to the prior verse.&lt;br /&gt;
** Titles immediately preceeding a verse are converted into either&amp;lt;BR&amp;gt;&amp;lt;tt&amp;gt;&amp;amp;lt;title canonical=&amp;quot;true&amp;quot; type=&amp;quot;psalm&amp;quot;&amp;gt;...&amp;amp;lt;/title&amp;gt;&amp;lt;/tt&amp;gt; or&amp;lt;BR&amp;gt;&amp;lt;tt&amp;gt;&amp;amp;lt;title canonical=&amp;quot;false&amp;quot; type=&amp;quot;sub&amp;quot;&amp;gt;...&amp;amp;lt;/title&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;ref&amp;gt;type=&amp;quot;sub&amp;quot; is used irrespective of whether the non-canonical title is a section title or a subSection title.&amp;lt;/ref&amp;gt;&amp;lt;BR&amp;gt;and the whole such '''title''' element is wrapped within a special preverse '''div''' element. ''See below''.&lt;br /&gt;
&lt;br /&gt;
* '''InterVerse Content'''&amp;lt;ref&amp;gt;Introduced with SVN revision 2358 for the SWORD 1.6.0 release.&amp;lt;/ref&amp;gt;&lt;br /&gt;
** InterVerse Content refers to all content not contained by the verse element.&amp;lt;ref&amp;gt;i.e. Content between the '''eID''' milestone of a verse and the '''sID''' milestone of the next verse, or before the first verse of the chapter.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;For OSIS files derived from USFM files, the implication of this requirement is the following rule:&lt;br /&gt;
&amp;lt;blockquote&amp;gt;Do not place a title (or similar element) between a matching pair of verse milestones&amp;lt;BR&amp;gt;&lt;br /&gt;
except where the translation places the title somewhere within the verse text in the USFM file.&amp;lt;/blockquote&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
** Such content is divided between the prior and the current verse.&lt;br /&gt;
** Content appended to the prior verse is not marked in any special way.&lt;br /&gt;
** Content prepended&amp;lt;ref&amp;gt;This ensures that when the verse is called the prepended content is also displayed, subject to whatever filters are in place.&amp;lt;/ref&amp;gt; to the current verse is marked with&amp;lt;BR&amp;gt;&amp;lt;tt&amp;gt;&amp;amp;lt;div type=&amp;quot;x-milestone&amp;quot; subType=&amp;quot;x-preverse&amp;quot; sID=&amp;quot;pv#&amp;quot;/&amp;gt;...&amp;amp;lt;div type=&amp;quot;x-milestone&amp;quot; subType=&amp;quot;x-preverse&amp;quot; eID=&amp;quot;pv#&amp;quot;/&amp;gt;.&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Handling of Introductions, Titles and Inter-Verse Material==&lt;br /&gt;
SWORD looks for module, testament, book and chapter introductory material. Those introductions can have appropriate titles as well. &lt;br /&gt;
In SWORD 1.6.0 the handling of this material has changed.&lt;br /&gt;
&lt;br /&gt;
'''Note:'''&lt;br /&gt;
# In the following, the effects of the above transformations are not shown. The tagging of the pre-verse material is also not shown.&lt;br /&gt;
&lt;br /&gt;
===Module and Testament Introductions===&lt;br /&gt;
&lt;br /&gt;
At this time, osis2mod does not fully support module and testament introductions. A module introduction should be place into testament 0, book 0, chapter 0, verse 0. A testament introduction should be placed into testament 1 or 2, book 0, chapter 0, verse 0. Currently, these are placed into Genesis 0:0 or Matthew 0:0.&lt;br /&gt;
&lt;br /&gt;
===Book Introductions and Titles===&lt;br /&gt;
Book introductions and titles are straight forward. It includes the start of the book and everything following it up to, but not including the start of the chapter. See [[OSIS Bibles]] for best practices in marking up titles and introductions.&lt;br /&gt;
&lt;br /&gt;
For example:&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;book&amp;quot; ...&amp;gt;&lt;br /&gt;
 ... introductory material ...&lt;br /&gt;
 &amp;amp;lt;chapter&amp;quot;...&amp;gt;&lt;br /&gt;
will put the following into the book introduction:&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;book&amp;quot; ...&amp;gt;&lt;br /&gt;
 ... introductory material ...&lt;br /&gt;
&lt;br /&gt;
===Chapter Introductions===&lt;br /&gt;
Chapter introductions and titles are a bit problematic. Between the start of a chapter and its first verse, we could have a chapter title, a chapter introduction and/or a start of a section of verses or a titled verse. Osis2mod now handles this in a predictable fashion. From the start of the chapter up to and not including a section div or a title that has a type that is not ''main'', ''chapter'' or ''sub'', the content is chapter introduction. After that, it is part of the verse.&lt;br /&gt;
&lt;br /&gt;
Specifically, the following list gives the possible first elements following the chapter introduction.:&lt;br /&gt;
*&amp;amp;lt;div type=&amp;quot;section&amp;quot; ...&amp;gt;&lt;br /&gt;
*&amp;amp;lt;title type=&amp;quot;yyy&amp;quot; ...&amp;gt; where yyy is not ''main'', ''chapter'' or ''sub''.&lt;br /&gt;
&lt;br /&gt;
For example,&lt;br /&gt;
 &amp;amp;lt;chapter ...&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;Chapter Title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title type=&amp;quot;sub&amp;quot;&amp;gt;Chapter Subtitle&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;introduction&amp;quot;&amp;gt;... intro ...&amp;amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;section&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;A section title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;verse ...&amp;gt;...verse content...&amp;amp;lt;/verse&amp;gt;&lt;br /&gt;
will put the following into the chapter introduction:&lt;br /&gt;
 &amp;amp;lt;chapter ...&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;Chapter Title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title type=&amp;quot;sub&amp;quot;&amp;gt;Chapter Subtitle&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;introduction&amp;quot;&amp;gt;... intro ...&amp;amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
will put the following into verse 1 of that chapter&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;section&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;A section title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;verse ...&amp;gt;...verse content...&amp;amp;lt;/verse&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Between Verses===&lt;br /&gt;
Between verses we may have closing tags to finish off what was started earlier, structural opening tags (e.g. line groups, divisions, paragraphs, ...), titles and/or introductory material.&lt;br /&gt;
&lt;br /&gt;
Upon finding the close of a verse, osis2mod will append all adjacent closing tags to it. Once it finds a start tag, it will attach that to the following verse.&lt;br /&gt;
&lt;br /&gt;
For example, suppose the following is between &amp;amp;lt;/verse&amp;gt; and &amp;amp;lt;verse ...&amp;gt;:&lt;br /&gt;
 &amp;amp;lt;/lg&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;section&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;Section title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;lg&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
then it will append the following to the prior verse:&lt;br /&gt;
 &amp;amp;lt;/lg&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and will prepend the following to the current verse:&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;section&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;Section title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;lg&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Last Verse===&lt;br /&gt;
The material following the last verse of a chapter is appended to that verse. You might find:&lt;br /&gt;
 ... verse content ...&lt;br /&gt;
 &amp;amp;lt;/chapter&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;colophon&amp;quot;&amp;gt;... colophon text ...&amp;amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Exclusions==&lt;br /&gt;
Only content starting the first &amp;amp;lt;div&amp;gt; to the last &amp;amp;lt;/div&amp;gt; is retained. All other is excluded. From a practical perspective, this excludes the OSIS header information.&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
It is always preferable to use the most recent version of osis2mod and compiling it from SVN is best. &lt;br /&gt;
&lt;br /&gt;
'''Note:'''&lt;br /&gt;
# After the SWORD 1.5.9 release, osis2mod was changed to take flags rather than positional arguments.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
You are running osis2mod: $Rev: 3431 $&lt;br /&gt;
OSIS Bible/commentary module creation tool for The SWORD Project&lt;br /&gt;
&lt;br /&gt;
usage: ./osis2mod &amp;lt;output/path&amp;gt; &amp;lt;osisDoc&amp;gt; [OPTIONS]&lt;br /&gt;
  &amp;lt;output/path&amp;gt;		 an existing folder that the module will be written&lt;br /&gt;
  &amp;lt;osisDoc&amp;gt;		 path to the validated OSIS document, or '-' to&lt;br /&gt;
				 read from standard input&lt;br /&gt;
  -a			 augment module if exists (default is to create new)&lt;br /&gt;
  -z &amp;lt;l|z|b|x&amp;gt;		 compression type (default: none)&lt;br /&gt;
				 l - LZSS; z - ZIP; b - bzip2; x - xz&lt;br /&gt;
  -b &amp;lt;2|3|4&amp;gt;		 compression block size (default: 4)&lt;br /&gt;
				 2 - verse; 3 - chapter; 4 - book&lt;br /&gt;
  -l &amp;lt;1-9&amp;gt;		 compression level (default varies by compression type)&lt;br /&gt;
  -c &amp;lt;cipher_key&amp;gt;	 encipher module using supplied key&lt;br /&gt;
				 (default no enciphering)&lt;br /&gt;
  -e &amp;lt;1|2|s&amp;gt;		 convert Unicode encoding (default: 1)&lt;br /&gt;
				 1 - UTF-8 ; 2 - UTF-16 ; s - SCSU&lt;br /&gt;
  -N			 do not normalize to NFC&lt;br /&gt;
  -s &amp;lt;2|4&amp;gt;		 bytes used to store entry size (default is 2).&lt;br /&gt;
  -v &amp;lt;v11n&amp;gt;		 specify a versification scheme to use (default is KJV)&lt;br /&gt;
				 Note: The following are valid values for v11n:&lt;br /&gt;
				   Calvin      	Catholic    	Catholic2   &lt;br /&gt;
				   DarbyFr     	German      	KJV         &lt;br /&gt;
				   KJVA        	LXX         	Leningrad   &lt;br /&gt;
				   Luther      	MT          	NRSV        &lt;br /&gt;
				   NRSVA       	Orthodox    	Segond      &lt;br /&gt;
				   Synodal     	SynodalProt 	Vulg        &lt;br /&gt;
  -h 			 print verbose usage text&lt;br /&gt;
&lt;br /&gt;
See http://www.crosswire.org/wiki/osis2mod for more details.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Earlier builds (e.g. $Rev: 2893 $) also included the debug option help: See [[Osis2mod#Debug_Messages|Debug Messages]].&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  -d &amp;lt;flags&amp;gt;		 turn on debugging (default is 0)&lt;br /&gt;
				 Note: This flag may change in the future.&lt;br /&gt;
				 Flags: The following are valid values:&lt;br /&gt;
					0   - no debugging&lt;br /&gt;
					1   - writes to module, very verbose&lt;br /&gt;
					2   - verse start and end&lt;br /&gt;
					4   - quotes, esp. Words of Christ&lt;br /&gt;
					8   - titles&lt;br /&gt;
					16  - inter-verse material&lt;br /&gt;
					32  - BSP to BCV transformations&lt;br /&gt;
					64  - v11n exceptions&lt;br /&gt;
					128 - parsing of osisID and osisRef&lt;br /&gt;
					256 - internal stack&lt;br /&gt;
					512 - miscellaneous&lt;br /&gt;
				 This argument can be used more than once. (Or&lt;br /&gt;
				 the flags may be added together.)&lt;br /&gt;
&lt;br /&gt;
See http://www.crosswire.org/wiki/osis2mod for more details.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== Parameters and Options ===&lt;br /&gt;
'''&amp;amp;lt;output/path&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This a path to any existing directory. It is best for it to be empty.&lt;br /&gt;
&lt;br /&gt;
'''&amp;amp;lt;osisDoc&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This is a single, well-formed, valid OSIS document.&lt;br /&gt;
&lt;br /&gt;
If '''-''' is used instead of a file name, the document will be read from standard input. This allows for two constructs:&lt;br /&gt;
* Redirection&lt;br /&gt;
 osis2mod ./modules/texts/ztext/KJV - &amp;lt; kjv.xml&lt;br /&gt;
* Piping&lt;br /&gt;
 cat kjv.xml | osis2mod ./modules/texts/ztext/KJV -&lt;br /&gt;
&lt;br /&gt;
'''-a'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Osis2mod can create a Bible all at once or incrementally, depending on the presence of the -a flag. This&lt;br /&gt;
provides for two abilities,&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Assembling a Bible from book files:&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir /tmp/mymodule&lt;br /&gt;
osis2mod /tmp/mymodule  matt.xml&lt;br /&gt;
osis2mod /tmp/mymodule -a mark.xml&lt;br /&gt;
...&lt;br /&gt;
osis2mod /tmp/mymodule -a rev.xml&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
'''Note:''' The book files can be in any order. SWORD will order them correctly in the index.&lt;br /&gt;
&amp;lt;li&amp;gt;Adding corrections to a Bible:&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
osis2mod /tmp/mymodule -a fixes.xml&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
'''Note:''' When fixes are put into the module they are appended to the data file and do not actually replace the verses. The index file is adjusted to point to the new place in the data file.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''-z &amp;amp;lt;l|z|b|x&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
A SWORD Bible can be compressed with Zip (-z z), LZSS (-z l), BZip2 (-z b) '''or''' XZ (-lx). All of CrossWire's compressed Bible and commentary modules are compressed with Zip. This saves significant space over an uncompressed module. Uncompressed modules are useful for debugging.&lt;br /&gt;
&lt;br /&gt;
'''-b &amp;amp;lt;2|3|4&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This setting is only useful for a compressed module. The choice as to whether to use Verse (2), Chapter (3) or Book (4, the default) level compression depends upon the amount of data in the block. A typical Bible is best compressed book by book. A commentary, chapter by chapter. If the commentary is very robust and the amount of text per verse is really huge, then verse compression might make sense.&lt;br /&gt;
&lt;br /&gt;
All of SWORD's compressed Bible modules are compressed by book. Basically, all of the verses in a block are compressed and appended to the data file. For this reason, the datafile cannot be uncompressed by anything other than the SWORD and JSword libraries.&lt;br /&gt;
&lt;br /&gt;
When creating the module by appending it is important to do so by whole compression block. That is, if blockType is Chapter, then the osisDoc needs to contain one or more whole chapters.&lt;br /&gt;
&lt;br /&gt;
'''-l [1-9]'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This setting is useful for a compressed module and provides the level of compression to be used. The default varies depending on the compressor used. The default is typically used.&lt;br /&gt;
&lt;br /&gt;
'''-c cipherKey'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This is typically 16 characters in length, having no leading or trailing spaces, consisting of alternating sets of 4 alpha and 4 numeric characters, such as Aduf0274PjNq0328. The key is case-sensitive.&lt;br /&gt;
&lt;br /&gt;
'''-e &amp;amp;lt;1|2|s&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This flag gives whether the input is to be converted to UTF-8, UTF-16, or SCSU. By default the encoding is UTF-8. Using UTF-16 is reasonable for non-latin texts with little markup. SCSU will compress the Unicode, but it has not been sufficiently tested, requires [[DevTools:ICU|ICU]] support when compiling osis2mod and when running (not all frontends do).&lt;br /&gt;
&lt;br /&gt;
'''-N'''&amp;lt;br/&amp;gt;&lt;br /&gt;
All OSIS modules should be UTF-8 and all that are UTF-8 are also to be NFC. The default is to automatically detect the presense of Latin-1 (either cp1252 or iso8859-1) and convert it to UTF-8 and to normalize UTF-8 to NFC. This flag will turn off this behavior and is useful for creating Latin-1 modules or for modules for which the source text is already UTF-8 and NFC. It is also advised for Biblical Hebrew modules for which the source text (with accents and cantillation points) is intentionally not normalized, as &amp;quot;Unicode normalization can easily break Biblical Hebrew&amp;quot;. Quoted from page 9 of the SBL Hebrew Font Manual.&amp;lt;ref&amp;gt;See https://www.sbl-site.org/Fonts/SBLHebrewUserManual1.5x.pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: this was added late Feb 2008 and requires [[DevTools:ICU|ICU]] support when compiling.&lt;br /&gt;
&lt;br /&gt;
'''-s &amp;amp;lt;2|4&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
A value of 2, the default, restricts modules to 64K bytes per entry. A value of 4, breaks this barrier. This is needed for Bibles, having large introductory materials, and for commentaries with large entries.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' 4 was added late Apr 2009 for raw, uncompressed modules and will be part of the SWORD 1.6.0 release (formerly known as 1.5.11). A later release extended support to compressed modules.&lt;br /&gt;
&lt;br /&gt;
'''-v v11n'''&amp;lt;br/&amp;gt;&lt;br /&gt;
By default, osis2mod uses the KJV versification. The practical implication of this is that only books in the KJV canon are allowed and any text in an allowed book are retained. However, if the verse reference of a supported book falls outside of the versification it is appended to the prior verse in the canon. This flag allows for an [[Alternate Versification|alternate versification]].&lt;br /&gt;
&lt;br /&gt;
'''Note:''' This option was added in April 2009 as part of the SWORD 1.6.0 release.&lt;br /&gt;
&lt;br /&gt;
'''-d flags'''&amp;lt;br/&amp;gt;&lt;br /&gt;
The flag can be used more than once or the flags can be added together. For example,&lt;br /&gt;
 -d 2 -d 4&lt;br /&gt;
is the same as&lt;br /&gt;
 -d 6&lt;br /&gt;
&lt;br /&gt;
To do verbose debugging use:&lt;br /&gt;
 -d -1&lt;br /&gt;
&lt;br /&gt;
For the most part these flags are not intended for debugging modules, but rather for debugging problems in osis2mod.&lt;br /&gt;
&lt;br /&gt;
The -d 2 flag produces no output but puts milestones into the module where verses start and end. The form of the milestone is:&lt;br /&gt;
 &amp;amp;lt;milestone resp=&amp;quot;v&amp;quot; [attributes from verse] /&amp;gt;&lt;br /&gt;
The milestone will contain the osisID from the verse and also a valid sID or eID. The sID/eID indicates the start of end of the verse.&lt;br /&gt;
&lt;br /&gt;
Note: the -d 2 flag might change at any time, or may even be removed.&lt;br /&gt;
&lt;br /&gt;
==Messages==&lt;br /&gt;
Osis2mod has robust, mind-boggling messages. These are provided here in hopes that it will help problem diagnosis.&lt;br /&gt;
&lt;br /&gt;
Messages are output with a standard format:&lt;br /&gt;
TYPE(KIND)[line,column'](osisID'): Message&lt;br /&gt;
&lt;br /&gt;
'''TYPE''' is one of&lt;br /&gt;
* FATAL  - Usually accompanied by an immediate exit. The problem should be fixed and osis2mod rerun.&lt;br /&gt;
* ERROR - A non-fatal problem that should be fixed before the module is used.&lt;br /&gt;
* WARNING - A problem with the input that probably should be fixed.&lt;br /&gt;
* INFO - Information about what the program is doing.&lt;br /&gt;
* DEBUG - Managed by the -d flag.&lt;br /&gt;
&lt;br /&gt;
'''KIND''' is one of:&lt;br /&gt;
* UTF8 - Deals with conversion from Latin-1 to UTF8.&lt;br /&gt;
* V11N - Messages related to Versification.&lt;br /&gt;
* WRITE - Messages related to writing to the module.&lt;br /&gt;
* LINK - Messages related to linked verses.&lt;br /&gt;
* REF - Messages related to the normalization of osis references to SWORD references.&lt;br /&gt;
* NESTING - Messages related to improper overlapping of BCV and BSP&lt;br /&gt;
* COMMENTS - Messages related to XML comment processing.&lt;br /&gt;
* PARSE - Messages related to XML entity processing.&lt;br /&gt;
* QUOTE - Handling of quotes, especially the Words of Christ (WoC)&lt;br /&gt;
* TITLE - Handling of Introductions and Titles&lt;br /&gt;
* INTERVERSE - Handling of material between verses and before verse 1.&lt;br /&gt;
* FOUND - Diagnostics related to finding of Books, Chapters and Verses.&lt;br /&gt;
* ARGS - Summary of command line arguments.&lt;br /&gt;
Some of these are described more fully below&lt;br /&gt;
&lt;br /&gt;
'''Line''' and '''Column''' gives the location of the last line and column read in the file. Since processing is handled after the reading, the location is approximate. If the processing is before the file is read, such as during the reading of command line arguments, it won't show up.&lt;br /&gt;
&lt;br /&gt;
'''osisID''' gives the osisID being processed or N/A. It also is optionally output early in the execution of the program.&lt;br /&gt;
&lt;br /&gt;
In the following, example values are given in '''{...}'''. The brackets do not actually appear in the message. Also, the messages are a bit prettier here than in reality.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Diagnostic Messages===&lt;br /&gt;
&lt;br /&gt;
 WARNING(UTF8)['''{ line }''','''{ col }''']('''{ osisID }'''):     Should be converted to UTF-8 ('''{text }''')&lt;br /&gt;
The program will always check for text that is not UTF-8.&lt;br /&gt;
&lt;br /&gt;
 INFO(UTF8)['''{ line }''','''{ col }''']('''{ osisID }'''):        Converting to UTF-8 ('''{ text before conversion }''')&lt;br /&gt;
Text that is converted to UTF-8 is noted.&lt;br /&gt;
&lt;br /&gt;
 ERROR(UTF8)['''{ line }''','''{ col }''']('''{ osisID }'''):       Converting to UTF-8 ('''{ text after first conversion }''')&lt;br /&gt;
It is an error if after a conversion it still is not UTF-8.&lt;br /&gt;
&lt;br /&gt;
 WARNING(UTF8)['''{ line }''','''{ col }''']('''{ osisID }'''):     osis2mod is not compiled with support for ICU. Ignoring -n flag.&lt;br /&gt;
Normalization was requested, but since osis2mod was not compiled for it, it cannot honor the default request.&lt;br /&gt;
&lt;br /&gt;
 INFO(V11N)['''{ line }''','''{ col }''']('''{ osisID }'''):        is not in the '''{ v11n }''' versification.&lt;br /&gt;
Indicates that a verse is not in the versification.&lt;br /&gt;
&lt;br /&gt;
 INFO(V11N)['''{ line }''','''{ col }''']('''{ osisID }'''):        is not in the '''{ v11n }''' versification. Appending content to '''{ osisID }'''&lt;br /&gt;
This like the other indicates a versification problem, but shows where the text will be found. Osis2mod preserves all module content for supported books.&lt;br /&gt;
&lt;br /&gt;
 WARNING(V11N)['''{ line }''','''{ col }''']('''{ osisID }'''):     New book is '''{ name }'''  and is not in '''{ v11n }''' versification, ignoring&lt;br /&gt;
The name of the book was not recognized as belonging to the chosen versification, it and all of it's content is ignored.&lt;br /&gt;
&lt;br /&gt;
 INFO(WRITE)['''{ line }''','''{ col }''']('''{ osisID }'''):       Appending entry: '''{ osisID }''': '''{ text so far }'''&lt;br /&gt;
If osis2mod encounters text that needs to be appended to a verse that is already in the module. This could indicate that&lt;br /&gt;
* the reference is in the input twice. This typically indicates a problem.&lt;br /&gt;
* more text was found that needs to be added to the prior verse.&lt;br /&gt;
* osis2mod is being run in append mode to fix a verse in the module.&lt;br /&gt;
&lt;br /&gt;
 INFO(LINK)['''{ line }''','''{ col }''']('''{ osisID }'''):        Linking '''{ osisID }''' to '''{ osisID }'''&lt;br /&gt;
An osisID such as &amp;quot;Gen.1.1 Gen.1.2 Gen.1.3&amp;quot; was used and the latter are linked to the first.&lt;br /&gt;
&lt;br /&gt;
 ERROR(REF)['''{ line }''','''{ col }''']('''{ osisID }'''):        Invalid osisID/annotateRef: '''{ invalid attribute value }'''&lt;br /&gt;
This indicates that the SWORD library was unable to parse the osisID or annotateRef.&lt;br /&gt;
&lt;br /&gt;
 FATAL(NESTING)['''{ line }''','''{ col }''']('''{ osisID }'''):    tag expected&lt;br /&gt;
This indicates that the specified verse is not balanced with regard to its tags. Building a raw text module, looking in the module for the verse and pairing begin/end tags will help find the problem. Typically, this indicates an end tag that did not have a matching begin tag and all tags before it were properly paired.&lt;br /&gt;
&lt;br /&gt;
 FATAL(NESTING)['''{ line }''','''{ col }''']('''{ osisID }'''):    Expected '''{ topToken.getName() }''' found '''{ tokenName }'''&lt;br /&gt;
This also indicates that the specified verse is not balanced with regard to its tags. Building a raw text module, looking in the module for the verse and pairing begin/end tags will help find the problem. It could be either a begin or an end tag problem.&lt;br /&gt;
&lt;br /&gt;
 WARNING(NESTING)['''{ line }''','''{ col }''']('''{ osisID }'''):  verse '''{ currentOsisID }''' is not well formed:('''{ verseDepth }''','''{ tagDepth }''')&lt;br /&gt;
This indicates that the verse probably will not show properly in some front-ends in some circumstances. Typically, it shows the problem if the verse is shown in isolation.&lt;br /&gt;
&lt;br /&gt;
 ERROR(NESTING)['''{ line }''','''{ col }''']('''{ osisID }'''):    improper nesting '''{ currentOsisID }''': matching (sID,eID) not found. Looking at ('''{ sID }''','''{ eID }''')&lt;br /&gt;
OSIS specifies that every sID has a matching eID. Osis2mod is checking that BSP elements are properly nested.&lt;br /&gt;
&lt;br /&gt;
 FATAL(COMMENTS)['''{ line }''','''{ col }''']('''{ osisID }'''):   unknown commentstate on comment start: { comment state }&lt;br /&gt;
This indicates that the comment is not of the form &amp;amp;lt;!-- ... --&amp;amp;gt;.&lt;br /&gt;
&lt;br /&gt;
 FATAL(COMMENTS)['''{ line }''','''{ col }''']('''{ osisID }'''):   unknown commentstate on comment end:  { comment state }&lt;br /&gt;
This indicates that the comment is not of the form &amp;amp;lt;!-- ... --&amp;amp;gt;.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    malformed entity, replacing &amp;amp;amp;'''{ malformed entity }''' with &amp;amp;amp;amp;'''{ malformed entity }'''&lt;br /&gt;
This means it found a &amp;amp;amp; that starts an entity but it wasn't terminated by a ; and changed it to something that probably isn't appropriate.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    HEX entity must begin with &amp;amp;amp;x, found '''{ entity }'''&lt;br /&gt;
This indicates &amp;amp;X, which is not valid for xml. It is not changed.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    SWORD does not search HEX entities, found '''{ entity }'''&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    SWORD does not search numeric entities, found '''{ entity }'''&lt;br /&gt;
Since we don't transform HEX or numeric entities to their equivalent UTF-8 value, this will be literal text that cannot be searched.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    XML only supports 5 Character entities &amp;amp;amp;amp;, &amp;amp;amp;lt;, &amp;amp;amp;gt;, &amp;amp;amp;quot; and &amp;amp;amp;apos;, found '''{ entity }'''&lt;br /&gt;
XML does not allow character entities. These are passed unchanged to SWORD module. This frustrates search and may only display properly in a front-end using HTML rendering.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    &amp;amp;amp;quot; is unnecessary outside of attribute values. Replace with &amp;quot;.&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    &amp;amp;amp;quot; is unnecessary inside single quoted attribute values. Replace with &amp;quot;.&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    &amp;amp;amp;quot; is only needed within double quoted attribute values. Considering using single quoted attribute and replacing with &amp;quot;.&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    &amp;amp;amp;apos; is only needed within single quoted attribute values. Considering using double quoted attribute and replacing with '.&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    &amp;amp;amp;apos; is unnecessary inside double quoted attribute values. Replacing with '.&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    &amp;amp;amp;apos; is unnecessary outside of attribute values. Replacing with '.&lt;br /&gt;
The &amp;amp;amp;apos; or &amp;amp;amp;quot; was found outside of an attribute value and is being substituted with a straight single apostrophe, ', or double quote, &amp;quot;, respectively.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    While valid for XML, &amp;amp;amp;quot; is only needed within double quoted attribute values.&lt;br /&gt;
This warning indicates that the entity is present where it does not need to be.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    While valid for XML, XHTML does not support &amp;amp;amp;apos;.&lt;br /&gt;
This warning indicates that the &amp;amp;amp;apos; may not display properly in all front-ends. It was found in an attribute value.&lt;br /&gt;
&lt;br /&gt;
===Debug Messages===&lt;br /&gt;
The following are shown in the same form as the diagnostic messages above. They are given without comment.&lt;br /&gt;
&lt;br /&gt;
'''-d 1'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Output of what is being written to the module.&lt;br /&gt;
 DEBUG(WRITE)['''{ line }''','''{ col }''']('''{ osisID }'''):      '''{ text so far }'''&lt;br /&gt;
&lt;br /&gt;
'''-d 2'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Adds milestones for the &amp;amp;lt;verse&amp;amp;gt; and  &amp;amp;lt;/verse&amp;amp;gt;  of the form &amp;amp;lt;milestone resp=&amp;quot;v&amp;quot; ... with attributes of the verse element ... /&amp;amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
This is especially useful in viewing the dat file of an uncompressed module.&lt;br /&gt;
&lt;br /&gt;
'''-d 4'''&amp;lt;br/&amp;gt;&lt;br /&gt;
A stack is maintained to represent the Words of Christ on a per verse basis. This is internal diagnostic of that stack&lt;br /&gt;
 DEBUG(QUOTE)['''{ line }''','''{ col }''']('''{ osisID }'''):      quote top('''{ quote stack size }''') '''{ token }'''&lt;br /&gt;
 DEBUG(QUOTE)['''{ line }''','''{ col }''']('''{ osisID }'''):      quote pop('''{ quote stack size }''') '''{ topToken }''' -- '''{ token }'''&lt;br /&gt;
 DEBUG(QUOTE)['''{ line }''','''{ col }''']('''{ osisID }'''):      ('''{ quote stack size }''') '''{ topToken }''' -- '''{ token }'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''-d 8'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Identifies when book and chapter introductions are being determined.&lt;br /&gt;
 DEBUG(TITLE)['''{ line }''','''{ col }''']('''{ osisID }'''):     OOPS INTRO&lt;br /&gt;
         inChapterIntro = '''{ inChapterIntro }'''&lt;br /&gt;
         inBookIntro    = '''{ inBookIntro }'''&lt;br /&gt;
 DEBUG(TITLE)['''{ line }''','''{ col }''']('''{ osisID }'''):      Looking for book introduction&lt;br /&gt;
 DEBUG(TITLE)['''{ line }''','''{ col }''']('''{ osisID }'''):      Done looking for book introduction&lt;br /&gt;
 DEBUG(TITLE)['''{ line }''','''{ col }''']('''{ osisID }'''):      BOOK INTRO '''{ beading }'''&lt;br /&gt;
 DEBUG(TITLE)['''{ line }''','''{ col }''']('''{ osisID }'''):      Looking for chapter introduction&lt;br /&gt;
 DEBUG(TITLE)['''{ line }''','''{ col }''']('''{ osisID }'''):      Done looking for chapter introduction&lt;br /&gt;
 DEBUG(TITLE)['''{ line }''','''{ col }''']('''{ osisID }'''):      CHAPTER INTRO '''{ heading }'''&lt;br /&gt;
&lt;br /&gt;
'''-d 16'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Inter-verse material either goes with the prior &amp;quot;verse&amp;quot; or the next. This help diagnose problems related to that split.&lt;br /&gt;
 DEBUG(INTERVERSE)['''{ line }''','''{ col }''']('''{ osisID }'''): Interverse start token '''{ token }''':'''{ text }'''&lt;br /&gt;
 DEBUG(INTERVERSE)['''{ line }''','''{ col }''']('''{ osisID }'''): Interverse end tag: '''{ tokenName }'''('''{ tagDepth }''','''{ chapterDepth }''','''{ bookDepth }''')&lt;br /&gt;
 DEBUG(INTERVERSE)['''{ line }''','''{ col }''']('''{ osisID }'''): Appending interverse end tag: '''{tokenName }'''('''{ tagDepth }''','''{ chapterDepth }''','''{ bookDepth }''')&lt;br /&gt;
&lt;br /&gt;
'''-d 32'''&amp;lt;br/&amp;gt;&lt;br /&gt;
The following messages relate to the transformations of containers to milestones.&lt;br /&gt;
 DEBUG(XFORM)['''{ line }''','''{ col }''']('''{ osisID }'''):      Transform start tag from '''{ orig }''' to '''{ transformed }'''&lt;br /&gt;
 DEBUG(XFORM)['''{ line }''','''{ col }''']('''{ osisID }'''):      Transform end tag from '''{ orig }''' to '''{ transformed }'''&lt;br /&gt;
&lt;br /&gt;
'''-d 64'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Occasionally a verse reference is outside of the chosen versification. These messages help to understand difficulties that osis2mod has in storing extra-canonical material in the module.&lt;br /&gt;
 DEBUG(V11N)['''{ line }''','''{ col }''']('''{ osisID }'''):       {'''{ caller }'''} normalizes to '''{ after }'''&lt;br /&gt;
 DEBUG(V11N)['''{ line }''','''{ col }''']('''{ osisID }'''):       Chapter max:'''{ chapterMax }''', Verse Max:'''{ verseMax }'''&lt;br /&gt;
&lt;br /&gt;
'''-d 128'''&amp;lt;br/&amp;gt;&lt;br /&gt;
OSIS ids and references can be of a form that SWORD cannot parse. Osis2mod contains a routine that munges these into a form that SWORD can understand.&lt;br /&gt;
 DEBUG(REF)['''{ line }''','''{ col }''']('''{ osisID }'''):        VerseKey can parse this as is.&lt;br /&gt;
 DEBUG(REF)['''{ line }''','''{ col }''']('''{ osisID }'''):        Found a range marker. Progress: '''{ progress }''' Remaining: '''{ remaining }'''&lt;br /&gt;
 DEBUG(REF)['''{ line }''','''{ col }''']('''{ osisID }'''):        Found a work prefix '''{ workPrefix }''' Progress: '''{ progress }''' Remaining: '''{ remaining }'''&lt;br /&gt;
 DEBUG(REF)['''{ line }''','''{ col }''']('''{ osisID }'''):        Found an osisID:'''{ osisID }''' Progress: '''{ progress }''' Remaining: '''{ remaining }'''&lt;br /&gt;
 DEBUG(REF)['''{ line }''','''{ col }''']('''{ osisID }'''):        Found a grain suffix '''{ grain }''' Progress: '''{ progress }''' Remaining: '''{ remaining }'''&lt;br /&gt;
 DEBUG(REF)['''{ line }''','''{ col }''']('''{ osisID }'''):        Replacing space with ; Progress: '''{ progress }''' Remaining: '''{ remaining }'''&lt;br /&gt;
 DEBUG(REF)['''{ line }''','''{ col }''']('''{ osisID }'''):        Parseable VerseKey -- '''{ osisRef }'''&lt;br /&gt;
&lt;br /&gt;
'''-d 256'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Osis2mod contains two stacks to validate proper nesting of BSP and BCV, respectively. This is an internal representation of the BCV stacks. It provides additional information to understand the diagnostic nesting messages.&lt;br /&gt;
 DEBUG(STACK)['''{ line }''','''{ col }''']('''{ osisID }'''):     push ('''{ stack size}''') '''{ tokenName }'''&lt;br /&gt;
 DEBUG(STACK)['''{ line }''','''{ col }''']('''{ osisID }'''):     pop('''{ tagDepth }''') '''{ topToken.getName() }'''&lt;br /&gt;
&lt;br /&gt;
'''-d 512'''&amp;lt;br/&amp;gt;&lt;br /&gt;
These are general debug messages.&lt;br /&gt;
 DEBUG(FOUND)['''{ line }''','''{ col }''']('''{ osisID }'''):        Found first div and pitching prior material: '''{ text }'''&lt;br /&gt;
 DEBUG(FOUND)['''{ line }''','''{ col }''']('''{ osisID }'''):        Found new book.&lt;br /&gt;
 DEBUG(FOUND)['''{ line }''','''{ col }''']('''{ osisID }'''):        Current chapter is '''{ currentOsisID }'''&lt;br /&gt;
 DEBUG(FOUND)['''{ line }''','''{ col }''']('''{ osisID }'''):        Entering verse&lt;br /&gt;
 DEBUG(FOUND)['''{ line }''','''{ col }''']('''{ osisID }'''):        New current verse&lt;br /&gt;
 DEBUG(FOUND)['''{ line }''','''{ col }''']('''{ osisID }'''):        End of header found.&lt;br /&gt;
 DEBUG(COMMENTS)['''{ line }''','''{ col }''']('''{ osisID }'''): in comment&lt;br /&gt;
 DEBUG(COMMENTS)['''{ line }''','''{ col }''']('''{ osisID }'''): out of comment&lt;br /&gt;
 DEBUG(ARGS):&lt;br /&gt;
         path:         '''{ path }'''&lt;br /&gt;
         osisDoc:      '''{ osisDoc }'''&lt;br /&gt;
         create:       '''{ append }'''&lt;br /&gt;
         compressType: '''{ compType }'''&lt;br /&gt;
         blockType:    '''{ iType }'''&lt;br /&gt;
         cipherKey:    '''{ cipherKey }'''&lt;br /&gt;
         normalize:    '''{ normalize }'''&lt;br /&gt;
&lt;br /&gt;
===Exit Status===&lt;br /&gt;
When an error occurs that causes osis2mod to exit without processing the entire input file, a non-zero exit status is supplied to the caller. Here are the codes that osis2mod uses:&lt;br /&gt;
 const int EXIT_BAD_ARG     =   1; // Bad parameter given for program&lt;br /&gt;
 const int EXIT_NO_WRITE    =   2; // Could not open the module for writing&lt;br /&gt;
 const int EXIT_NO_CREATE   =   3; // Could not create the module&lt;br /&gt;
 const int EXIT_NO_READ     =   4; // Could not open the input file for reading.&lt;br /&gt;
 const int EXIT_BAD_NESTING =   5; // BSP or BCV nesting is bad or improper XML comment&lt;br /&gt;
&lt;br /&gt;
== Future Roadmap ==&lt;br /&gt;
:''List here suggestions for useful enhancements to or improvements for osis2mod''.&lt;br /&gt;
&lt;br /&gt;
* Add a command line flag '''-x''' to ''exclude'' all OSIS elements with the global attribute '''editions'''.&amp;lt;ref&amp;gt;The '''editions''' attribute is used to specify edition specific content, such as material omitted in Protestant versions of the Bible.&amp;lt;/ref&amp;gt;&amp;lt;BR&amp;gt;osis2mod would exclude those elements that match the specified attribute value.&lt;br /&gt;
&lt;br /&gt;
'''Note:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Reporting issues ==&lt;br /&gt;
* [http://www.crosswire.org/tracker/browse/MODTOOLS/component/10290/ Module Tools &amp;amp;ndash; osis2mod]&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[OSIS]] &amp;amp;ndash; a partial list of other OSIS related pages and external links.&lt;br /&gt;
* [[Mod2zmod]]&lt;br /&gt;
&lt;br /&gt;
[[Category:OSIS]]&lt;br /&gt;
[[Category:Utilities]]&lt;br /&gt;
[[Category:Versification]]&lt;/div&gt;</summary>
		<author><name>Dmsmith</name></author>	</entry>

	<entry>
		<id>https://wiki.crosswire.org/index.php?title=Osis2mod&amp;diff=17757</id>
		<title>Osis2mod</title>
		<link rel="alternate" type="text/html" href="https://wiki.crosswire.org/index.php?title=Osis2mod&amp;diff=17757"/>
				<updated>2025-07-07T17:09:10Z</updated>
		
		<summary type="html">&lt;p&gt;Dmsmith: /* Diagnostic Messages */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
osis2mod transforms an OSIS encoded [[OSIS Bibles|Bible]] or [[OSIS_Commentaries|commentary]] into a SWORD module.&lt;br /&gt;
&lt;br /&gt;
==Where to get it==&lt;br /&gt;
* See [[DevTools:Modules#Collect_and_Install_Software_Tools|Collect and Install Software Tools]]&lt;br /&gt;
&lt;br /&gt;
== Current status ==&lt;br /&gt;
&lt;br /&gt;
Software bugs relating to osis2mod should be reported in https://tracker.crosswire.org/browse/MODTOOLS&lt;br /&gt;
&lt;br /&gt;
:''Please describe current status of osis2mod, including a list of any outstanding issues or unsolved difficulties''.&lt;br /&gt;
&lt;br /&gt;
==History of Changes==&lt;br /&gt;
The following outlines in reverse chronological order the major changes to osis2mod. When several changes were made over the span of a few days, they are lumped into the most recent date. Bug fixes are not mentioned.&lt;br /&gt;
&lt;br /&gt;
{|width=&amp;quot;100%&amp;quot; border=&amp;quot;0&amp;quot; class=&amp;quot;sortable&amp;quot;&lt;br /&gt;
!width=&amp;quot;10%&amp;quot;|Date&lt;br /&gt;
!Revision&lt;br /&gt;
!Feature&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2025-06-25'''&lt;br /&gt;
|&lt;br /&gt;
r3906&lt;br /&gt;
|&lt;br /&gt;
* MODTOOLS-76: Enhance -v argument handling in osis2mod with case-insensitive and prefix matching, and improved error reporting.&lt;br /&gt;
&lt;br /&gt;
 - Outputs the name of the versification system being used at program start&lt;br /&gt;
 - Adds layered resolution of versifications:&lt;br /&gt;
    1) Case-sensitive exact match&lt;br /&gt;
    2) Case-insensitive exact match&lt;br /&gt;
    3) Case-insensitive prefix match&lt;br /&gt;
 - Shows detailed error messages when input is invalid or ambiguous:&lt;br /&gt;
    * Lists all matches in case of ambiguity&lt;br /&gt;
    * Lists input and valid options if no match is found&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2025-06-19'''&lt;br /&gt;
|&lt;br /&gt;
r3903&lt;br /&gt;
|&lt;br /&gt;
* MODTOOLS-108  fix. Properly append verses beyond the last chapter of a book at the end of the book in the last verse of the chapter, which caused an infinite loop.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2020-07-26'''&lt;br /&gt;
|&lt;br /&gt;
r3769&lt;br /&gt;
|&lt;br /&gt;
* Fixed linking bug with ranges in osis2mod&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2020-05-08'''&lt;br /&gt;
|&lt;br /&gt;
r3737&lt;br /&gt;
|&lt;br /&gt;
* Added support putting reponumber into nano position of SWORD version string and output current SWORD version&lt;br /&gt;
* standardize on (SWORD: {SWVersion::currentVersion.getText()}) for all reported SWORD versions in utilities&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2016-08-16'''&lt;br /&gt;
|&lt;br /&gt;
r3431&lt;br /&gt;
|&lt;br /&gt;
* commented out  a set of lines handling &amp;quot;div type=&amp;quot;majorSection&amp;quot; &amp;quot; - see comments in code. &lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2016-02-06'''&lt;br /&gt;
|&lt;br /&gt;
r3401&lt;br /&gt;
|&lt;br /&gt;
* Added entity handling.&lt;br /&gt;
* div type='colophon' now not changed to milestones.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2015-02-16'''&lt;br /&gt;
|&lt;br /&gt;
r3322&lt;br /&gt;
| &lt;br /&gt;
* Correct casing of COUT&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2015-02-16'''&lt;br /&gt;
|&lt;br /&gt;
r3321&lt;br /&gt;
|&lt;br /&gt;
* cleaned up whitespace in osis2mod&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2014-12-17'''&lt;br /&gt;
|&lt;br /&gt;
r3310&lt;br /&gt;
|&lt;br /&gt;
* MODTOOLS-55 endless loop fix.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2014-12-15'''&lt;br /&gt;
|&lt;br /&gt;
r3307&lt;br /&gt;
|&lt;br /&gt;
* Greg Helling's patch to osis2mod for majorSections&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2014-03-17'''&lt;br /&gt;
|&lt;br /&gt;
r3139&lt;br /&gt;
|&lt;br /&gt;
* Added support for large entries (&amp;amp;gt; 64K) in compressed modules (aka zText4).&lt;br /&gt;
* Added support for UTF-16 and SCSU using the -e flag. SCSU is experimental.&lt;br /&gt;
* Added support for BZip2 and XZ compression, changing -z and -Z to -z &amp;amp;lt;l|z|b|x&amp;amp;gt;&lt;br /&gt;
* Added support for compression levels of 1 to 9 using the -l [1-9] flag.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2014-01-21'''&lt;br /&gt;
|&lt;br /&gt;
r3011&lt;br /&gt;
|&lt;br /&gt;
* Changed the transformation of &amp;amp;lt;p&amp;amp;gt; from &amp;amp;lt;div type=&amp;quot;paragraph&amp;quot; sID=&amp;quot;xxx&amp;quot;/&amp;amp;gt; to &amp;amp;lt;div type=&amp;quot;x-p&amp;quot; sID=&amp;quot;xxx&amp;quot;/&amp;amp;gt; This is a semantic change that brings osis2mod into alignment with the OSIS specification.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2012-03-24'''&lt;br /&gt;
|&lt;br /&gt;
r2693&lt;br /&gt;
|&lt;br /&gt;
* Allow for XML comments to be in the document, but stripped from the module. This allows for large parts of a document to be commented out, which is especially important during development.&lt;br /&gt;
* Allow for &amp;amp;lt;p&amp;amp;gt; elements to be in the &amp;amp;lt;header&amp;amp;gt; element but ignored. Previously, the p in a header, having been transformed to a div, was taken to be the start of the module's content.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2011-11-12'''&lt;br /&gt;
|&lt;br /&gt;
r2671&lt;br /&gt;
|&lt;br /&gt;
* Restored pre-verse handling. Titles no longer need to be specially specified in OSIS.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2010-06-04'''&lt;br /&gt;
|&lt;br /&gt;
r2519&lt;br /&gt;
|&lt;br /&gt;
* Removed pre-verse handling. Titles now have to be specially specified in OSIS. In OSIS there should also be no tags between verse elements except title and those marking book and chapter.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-06-06'''&lt;br /&gt;
|&lt;br /&gt;
r2435&lt;br /&gt;
|&lt;br /&gt;
* Improved handling of chapter introductions.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-05-30'''&lt;br /&gt;
|&lt;br /&gt;
r2421&lt;br /&gt;
|&lt;br /&gt;
* '''-d flags''' now always available.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-05-14'''&lt;br /&gt;
|&lt;br /&gt;
r2413&lt;br /&gt;
|&lt;br /&gt;
*Added '''-d flags''' as a compile time option.&lt;br /&gt;
*Improved exit codes and documented them here.&lt;br /&gt;
*Labeled all diagnostic and debug output.&lt;br /&gt;
*Can now read from standard input.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-04-28'''&lt;br /&gt;
|&lt;br /&gt;
r2358&lt;br /&gt;
|&lt;br /&gt;
*Predictable handling of inter-verse material.&lt;br /&gt;
*All tags, except verse, included in the module.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-04-26'''&lt;br /&gt;
|&lt;br /&gt;
r2345&lt;br /&gt;
|&lt;br /&gt;
*'''-v v11n''' added to support [[Alternate Versification]].&lt;br /&gt;
*'''-s &amp;lt;2|4&amp;gt;''' added to support uncompressed commentaries with large entries (exceeding 64K bytes).&lt;br /&gt;
*Replace paragraph hack with milestoned paragraphs: &amp;amp;lt;div type=&amp;quot;paragraph&amp;quot; sID=&amp;quot;xxx&amp;quot;/&amp;gt; ... &amp;amp;lt;div type=&amp;quot;paragraph&amp;quot; eID=&amp;quot;xxx&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2008-09-11'''&lt;br /&gt;
|&lt;br /&gt;
r2196&lt;br /&gt;
|&lt;br /&gt;
*Words of Christ (WoC) can be marked up naturally. osis2mod does the right thing.&lt;br /&gt;
*Container elements converted to their milestoned form.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2008-02-29'''&lt;br /&gt;
|&lt;br /&gt;
r2141&lt;br /&gt;
|&lt;br /&gt;
*Now supports commentaries in addition to Bibles.&lt;br /&gt;
*Added utf-8 detection and automatic conversion from cp1252 and iso8859-1 to utf-8, making that the default behavior&lt;br /&gt;
*Added NFC [[Encoding#Normalization|normalization]], making it the default&lt;br /&gt;
*Now handles the full definition of an osisID and an osisRef, including workID and grain.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2007-09-27'''&lt;br /&gt;
|&lt;br /&gt;
r2090&lt;br /&gt;
|&lt;br /&gt;
*Changed command-line parsing from positional parameters to flags.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2007-05-13'''&lt;br /&gt;
|&lt;br /&gt;
r2050&lt;br /&gt;
|&lt;br /&gt;
*All whitespace tokens are converted into blanks and adjacent spaces are merged into one. Leading whitespace on each verse is still removed.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2007-05-01'''&lt;br /&gt;
|&lt;br /&gt;
r2044&lt;br /&gt;
|&lt;br /&gt;
*Added version identification to the running of osis2mod.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2007-04-24'''&lt;br /&gt;
|&lt;br /&gt;
r2038&lt;br /&gt;
|&lt;br /&gt;
*Added ignoring of unknown books&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2006-07-15'''&lt;br /&gt;
|&lt;br /&gt;
r1948&lt;br /&gt;
|&lt;br /&gt;
*Optimized writing to module.&lt;br /&gt;
*Added simple transformations of &amp;amp;lt;q&amp;gt; and &amp;amp;lt;p&amp;gt; into milestones.&lt;br /&gt;
*Now allow empty attributes, such as marker=&amp;quot;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2006-07-04'''&lt;br /&gt;
|&lt;br /&gt;
r1914&lt;br /&gt;
|&lt;br /&gt;
*Updated to support OSIS 2.1&lt;br /&gt;
*Added validation that verses in isolation are well formed&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2005-12-22'''&lt;br /&gt;
|&lt;br /&gt;
r1876&lt;br /&gt;
|&lt;br /&gt;
*Added command-line options for compress and encipher.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2005-05-02'''&lt;br /&gt;
|&lt;br /&gt;
r1790&lt;br /&gt;
|&lt;br /&gt;
*Removed &amp;amp;lt;verse&amp;gt; and &amp;amp;lt;/verse&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2005-02-03'''&lt;br /&gt;
|&lt;br /&gt;
r1707&lt;br /&gt;
|&lt;br /&gt;
*Reverted pre-verse title handling&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2004-06-12'''&lt;br /&gt;
|&lt;br /&gt;
r1620&lt;br /&gt;
|&lt;br /&gt;
*Removed pre-verse title handling&lt;br /&gt;
*Added &amp;amp;lt;verse&amp;gt; and &amp;amp;lt;/verse&amp;gt;&lt;br /&gt;
*Added support for milestoned version of some OSIS elements&lt;br /&gt;
*Added support for verses that are not in the KJV versification by appending them to the closest prior verse.&lt;br /&gt;
*Added support for osisIDs with sub-verse references (i.e. osisID grains)&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2004-05-19'''&lt;br /&gt;
|&lt;br /&gt;
r1597&lt;br /&gt;
|&lt;br /&gt;
*Added support for linked verses&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2003-11-21'''&lt;br /&gt;
|&lt;br /&gt;
r1407&lt;br /&gt;
|&lt;br /&gt;
*Added recognition for &amp;lt;chapter&amp;gt; element&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2003-05-26'''&lt;br /&gt;
|&lt;br /&gt;
r1183&lt;br /&gt;
|&lt;br /&gt;
*Initial version&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Transformations==&lt;br /&gt;
:''This section may need further updating''.&lt;br /&gt;
&lt;br /&gt;
Osis2mod performs the following transformations&amp;lt;ref&amp;gt;These transformations are all performed &amp;quot;under the hood&amp;quot; as it were. Tweaking OSIS XML files to fix problems with pre-verse titles, etc., was never intended to be done by module developers as part of the preprocessing before using osis2mod.&amp;lt;/ref&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
* '''Whitespace''' -- Allows for human-readable OSIS files.&lt;br /&gt;
**Leading whitespace on books, chapters and verses is removed&lt;br /&gt;
**Whitespace is normalized into blanks&lt;br /&gt;
**Multiple adjacent whitespace is reduced to a single space&lt;br /&gt;
&lt;br /&gt;
* '''Unicode handling''' - All modules should be UTF-8, NFC.&amp;lt;ref&amp;gt;With the possible exception of Biblical Hebrew and some Indic scripts that should not be normalized.&amp;lt;/ref&amp;gt;&lt;br /&gt;
**Latin-1 (cp1252 and iso8859-1) are converted into UTF-8&lt;br /&gt;
**UTF-8 is normalized into NFC, unless specified otherwise (i.e. by using the -N option).&lt;br /&gt;
&lt;br /&gt;
* '''Verse ranges''' - also known as linked verses.&lt;br /&gt;
** Verses within a specified OSIS verse range are each linked to the first verse of the range.&lt;br /&gt;
&lt;br /&gt;
* '''Milestone conversion''' - necessary for frontends to show a verse at a time.&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;q ...&amp;gt;...&amp;amp;lt;/q&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;q sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;q eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;ref&amp;gt;'''gen#''' is unique for an sID/eID pair, where '''#''' is a number.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;Quotes with who=&amp;quot;Jesus&amp;quot; are not transformed at this stage.&amp;lt;/ref&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;p ...&amp;gt;...&amp;amp;lt;/p&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;div sID=&amp;quot;gen#&amp;quot; type=&amp;quot;x-p&amp;quot; .../&amp;gt;... &amp;amp;lt;div eID=&amp;quot;gen#&amp;quot; type=&amp;quot;x-p&amp;quot; ...&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;chapter ...&amp;gt;...&amp;amp;lt;/chapter&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;chapter sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;chapter eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;closer ...&amp;gt;...&amp;amp;lt;/closer&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;closer sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;closer eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;div ...&amp;gt;...&amp;amp;lt;/div&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;div sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;div eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;ref&amp;gt;As of r3401, &amp;amp;lt;div type=&amp;quot;colophon&amp;quot;...&amp;gt; is unchanged.&amp;lt;/ref&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;l ...&amp;gt;...&amp;amp;lt;/l&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;l sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;l eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;lg ...&amp;gt;...&amp;amp;lt;/lg&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;lg sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;lg eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;salute ...&amp;gt;...&amp;amp;lt;/salute&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;salute sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;salute eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;signed ...&amp;gt;...&amp;amp;lt;/signed&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;signed sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;signed eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;speech ...&amp;gt;...&amp;amp;lt;/speech&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;speech sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;speech eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;verse ...&amp;gt;...&amp;amp;lt;/verse&amp;gt;&amp;lt;/tt&amp;gt; becomes (when using -d 2 for debugging.)&amp;lt;BR&amp;gt;&amp;lt;tt&amp;gt;&amp;amp;lt;milestone resp=&amp;quot;v&amp;quot; sID=&amp;quot;gen#&amp;quot; ... /&amp;gt;...&amp;amp;lt;milestone resp=&amp;quot;v&amp;quot; eID=&amp;quot;gen#&amp;quot; ... /&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* '''Words of Christ''' - necessary for front-ends to appropriately highlight the WOC, a verse at a time.&amp;lt;ref&amp;gt;The examples given have the null string as the quotation marks in the '''marker''' attribute (as in the KJV module), but proper quotation marks are also supported.&amp;lt;/ref&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;q sID=&amp;quot;gen#&amp;quot; who=&amp;quot;Jesus&amp;quot; .../&amp;gt;...&amp;amp;lt;eID=&amp;quot;gen#&amp;quot; who=&amp;quot;Jesus&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt; becomes&amp;lt;BR&amp;gt;&amp;lt;tt&amp;gt;&amp;amp;lt;q who=&amp;quot;Jesus&amp;quot; marker=&amp;quot;&amp;quot;&amp;gt;&amp;amp;lt;q sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;q eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;amp;lt;/q&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;q who=&amp;quot;Jesus&amp;quot; ...&amp;gt;...&amp;amp;lt;/q&amp;gt;&amp;lt;/tt&amp;gt; becomes&amp;lt;BR&amp;gt;&amp;lt;tt&amp;gt;&amp;amp;lt;q who=&amp;quot;Jesus&amp;quot; marker=&amp;quot;&amp;quot;&amp;gt;&amp;amp;lt;q sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;q eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;amp;lt;/q&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** Within the following construct, &amp;lt;tt&amp;gt;&amp;amp;lt;q who=&amp;quot;Jesus&amp;quot; marker=&amp;quot;&amp;quot;&amp;gt;...&amp;lt;/q&amp;gt;&amp;lt;/tt&amp;gt; will surround verse text.&lt;br /&gt;
&lt;br /&gt;
* '''Pre-Verse Titles'''&amp;lt;ref&amp;gt;The older method that fixed titles only became obsolete with SVN revision 2358 for the SWORD 1.6.0 release and replaced with '''InterVerse Content'''.&amp;lt;/ref&amp;gt;&lt;br /&gt;
** InterVerse or postVerse&amp;lt;ref&amp;gt;For example, the '''colophon''' div as found at the end of some Epistles.&amp;lt;/ref&amp;gt; content not in titles is appended to the prior verse.&lt;br /&gt;
** Titles immediately preceeding a verse are converted into either&amp;lt;BR&amp;gt;&amp;lt;tt&amp;gt;&amp;amp;lt;title canonical=&amp;quot;true&amp;quot; type=&amp;quot;psalm&amp;quot;&amp;gt;...&amp;amp;lt;/title&amp;gt;&amp;lt;/tt&amp;gt; or&amp;lt;BR&amp;gt;&amp;lt;tt&amp;gt;&amp;amp;lt;title canonical=&amp;quot;false&amp;quot; type=&amp;quot;sub&amp;quot;&amp;gt;...&amp;amp;lt;/title&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;ref&amp;gt;type=&amp;quot;sub&amp;quot; is used irrespective of whether the non-canonical title is a section title or a subSection title.&amp;lt;/ref&amp;gt;&amp;lt;BR&amp;gt;and the whole such '''title''' element is wrapped within a special preverse '''div''' element. ''See below''.&lt;br /&gt;
&lt;br /&gt;
* '''InterVerse Content'''&amp;lt;ref&amp;gt;Introduced with SVN revision 2358 for the SWORD 1.6.0 release.&amp;lt;/ref&amp;gt;&lt;br /&gt;
** InterVerse Content refers to all content not contained by the verse element.&amp;lt;ref&amp;gt;i.e. Content between the '''eID''' milestone of a verse and the '''sID''' milestone of the next verse, or before the first verse of the chapter.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;For OSIS files derived from USFM files, the implication of this requirement is the following rule:&lt;br /&gt;
&amp;lt;blockquote&amp;gt;Do not place a title (or similar element) between a matching pair of verse milestones&amp;lt;BR&amp;gt;&lt;br /&gt;
except where the translation places the title somewhere within the verse text in the USFM file.&amp;lt;/blockquote&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
** Such content is divided between the prior and the current verse.&lt;br /&gt;
** Content appended to the prior verse is not marked in any special way.&lt;br /&gt;
** Content prepended&amp;lt;ref&amp;gt;This ensures that when the verse is called the prepended content is also displayed, subject to whatever filters are in place.&amp;lt;/ref&amp;gt; to the current verse is marked with&amp;lt;BR&amp;gt;&amp;lt;tt&amp;gt;&amp;amp;lt;div type=&amp;quot;x-milestone&amp;quot; subType=&amp;quot;x-preverse&amp;quot; sID=&amp;quot;pv#&amp;quot;/&amp;gt;...&amp;amp;lt;div type=&amp;quot;x-milestone&amp;quot; subType=&amp;quot;x-preverse&amp;quot; eID=&amp;quot;pv#&amp;quot;/&amp;gt;.&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Handling of Introductions, Titles and Inter-Verse Material==&lt;br /&gt;
SWORD looks for module, testament, book and chapter introductory material. Those introductions can have appropriate titles as well. &lt;br /&gt;
In SWORD 1.6.0 the handling of this material has changed.&lt;br /&gt;
&lt;br /&gt;
'''Note:'''&lt;br /&gt;
# In the following, the effects of the above transformations are not shown. The tagging of the pre-verse material is also not shown.&lt;br /&gt;
&lt;br /&gt;
===Module and Testament Introductions===&lt;br /&gt;
&lt;br /&gt;
At this time, osis2mod does not fully support module and testament introductions. A module introduction should be place into testament 0, book 0, chapter 0, verse 0. A testament introduction should be placed into testament 1 or 2, book 0, chapter 0, verse 0. Currently, these are placed into Genesis 0:0 or Matthew 0:0.&lt;br /&gt;
&lt;br /&gt;
===Book Introductions and Titles===&lt;br /&gt;
Book introductions and titles are straight forward. It includes the start of the book and everything following it up to, but not including the start of the chapter. See [[OSIS Bibles]] for best practices in marking up titles and introductions.&lt;br /&gt;
&lt;br /&gt;
For example:&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;book&amp;quot; ...&amp;gt;&lt;br /&gt;
 ... introductory material ...&lt;br /&gt;
 &amp;amp;lt;chapter&amp;quot;...&amp;gt;&lt;br /&gt;
will put the following into the book introduction:&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;book&amp;quot; ...&amp;gt;&lt;br /&gt;
 ... introductory material ...&lt;br /&gt;
&lt;br /&gt;
===Chapter Introductions===&lt;br /&gt;
Chapter introductions and titles are a bit problematic. Between the start of a chapter and its first verse, we could have a chapter title, a chapter introduction and/or a start of a section of verses or a titled verse. Osis2mod now handles this in a predictable fashion. From the start of the chapter up to and not including a section div or a title that has a type that is not ''main'', ''chapter'' or ''sub'', the content is chapter introduction. After that, it is part of the verse.&lt;br /&gt;
&lt;br /&gt;
Specifically, the following list gives the possible first elements following the chapter introduction.:&lt;br /&gt;
*&amp;amp;lt;div type=&amp;quot;section&amp;quot; ...&amp;gt;&lt;br /&gt;
*&amp;amp;lt;title type=&amp;quot;yyy&amp;quot; ...&amp;gt; where yyy is not ''main'', ''chapter'' or ''sub''.&lt;br /&gt;
&lt;br /&gt;
For example,&lt;br /&gt;
 &amp;amp;lt;chapter ...&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;Chapter Title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title type=&amp;quot;sub&amp;quot;&amp;gt;Chapter Subtitle&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;introduction&amp;quot;&amp;gt;... intro ...&amp;amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;section&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;A section title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;verse ...&amp;gt;...verse content...&amp;amp;lt;/verse&amp;gt;&lt;br /&gt;
will put the following into the chapter introduction:&lt;br /&gt;
 &amp;amp;lt;chapter ...&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;Chapter Title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title type=&amp;quot;sub&amp;quot;&amp;gt;Chapter Subtitle&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;introduction&amp;quot;&amp;gt;... intro ...&amp;amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
will put the following into verse 1 of that chapter&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;section&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;A section title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;verse ...&amp;gt;...verse content...&amp;amp;lt;/verse&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Between Verses===&lt;br /&gt;
Between verses we may have closing tags to finish off what was started earlier, structural opening tags (e.g. line groups, divisions, paragraphs, ...), titles and/or introductory material.&lt;br /&gt;
&lt;br /&gt;
Upon finding the close of a verse, osis2mod will append all adjacent closing tags to it. Once it finds a start tag, it will attach that to the following verse.&lt;br /&gt;
&lt;br /&gt;
For example, suppose the following is between &amp;amp;lt;/verse&amp;gt; and &amp;amp;lt;verse ...&amp;gt;:&lt;br /&gt;
 &amp;amp;lt;/lg&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;section&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;Section title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;lg&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
then it will append the following to the prior verse:&lt;br /&gt;
 &amp;amp;lt;/lg&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and will prepend the following to the current verse:&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;section&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;Section title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;lg&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Last Verse===&lt;br /&gt;
The material following the last verse of a chapter is appended to that verse. You might find:&lt;br /&gt;
 ... verse content ...&lt;br /&gt;
 &amp;amp;lt;/chapter&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;colophon&amp;quot;&amp;gt;... colophon text ...&amp;amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Exclusions==&lt;br /&gt;
Only content starting the first &amp;amp;lt;div&amp;gt; to the last &amp;amp;lt;/div&amp;gt; is retained. All other is excluded. From a practical perspective, this excludes the OSIS header information.&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
It is always preferable to use the most recent version of osis2mod and compiling it from SVN is best. &lt;br /&gt;
&lt;br /&gt;
'''Note:'''&lt;br /&gt;
# After the SWORD 1.5.9 release, osis2mod was changed to take flags rather than positional arguments.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
You are running osis2mod: $Rev: 3431 $&lt;br /&gt;
OSIS Bible/commentary module creation tool for The SWORD Project&lt;br /&gt;
&lt;br /&gt;
usage: ./osis2mod &amp;lt;output/path&amp;gt; &amp;lt;osisDoc&amp;gt; [OPTIONS]&lt;br /&gt;
  &amp;lt;output/path&amp;gt;		 an existing folder that the module will be written&lt;br /&gt;
  &amp;lt;osisDoc&amp;gt;		 path to the validated OSIS document, or '-' to&lt;br /&gt;
				 read from standard input&lt;br /&gt;
  -a			 augment module if exists (default is to create new)&lt;br /&gt;
  -z &amp;lt;l|z|b|x&amp;gt;		 compression type (default: none)&lt;br /&gt;
				 l - LZSS; z - ZIP; b - bzip2; x - xz&lt;br /&gt;
  -b &amp;lt;2|3|4&amp;gt;		 compression block size (default: 4)&lt;br /&gt;
				 2 - verse; 3 - chapter; 4 - book&lt;br /&gt;
  -l &amp;lt;1-9&amp;gt;		 compression level (default varies by compression type)&lt;br /&gt;
  -c &amp;lt;cipher_key&amp;gt;	 encipher module using supplied key&lt;br /&gt;
				 (default no enciphering)&lt;br /&gt;
  -e &amp;lt;1|2|s&amp;gt;		 convert Unicode encoding (default: 1)&lt;br /&gt;
				 1 - UTF-8 ; 2 - UTF-16 ; s - SCSU&lt;br /&gt;
  -N			 do not normalize to NFC&lt;br /&gt;
  -s &amp;lt;2|4&amp;gt;		 bytes used to store entry size (default is 2).&lt;br /&gt;
  -v &amp;lt;v11n&amp;gt;		 specify a versification scheme to use (default is KJV)&lt;br /&gt;
				 Note: The following are valid values for v11n:&lt;br /&gt;
				   Calvin      	Catholic    	Catholic2   &lt;br /&gt;
				   DarbyFr     	German      	KJV         &lt;br /&gt;
				   KJVA        	LXX         	Leningrad   &lt;br /&gt;
				   Luther      	MT          	NRSV        &lt;br /&gt;
				   NRSVA       	Orthodox    	Segond      &lt;br /&gt;
				   Synodal     	SynodalProt 	Vulg        &lt;br /&gt;
  -h 			 print verbose usage text&lt;br /&gt;
&lt;br /&gt;
See http://www.crosswire.org/wiki/osis2mod for more details.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Earlier builds (e.g. $Rev: 2893 $) also included the debug option help: See [[Osis2mod#Debug_Messages|Debug Messages]].&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  -d &amp;lt;flags&amp;gt;		 turn on debugging (default is 0)&lt;br /&gt;
				 Note: This flag may change in the future.&lt;br /&gt;
				 Flags: The following are valid values:&lt;br /&gt;
					0   - no debugging&lt;br /&gt;
					1   - writes to module, very verbose&lt;br /&gt;
					2   - verse start and end&lt;br /&gt;
					4   - quotes, esp. Words of Christ&lt;br /&gt;
					8   - titles&lt;br /&gt;
					16  - inter-verse material&lt;br /&gt;
					32  - BSP to BCV transformations&lt;br /&gt;
					64  - v11n exceptions&lt;br /&gt;
					128 - parsing of osisID and osisRef&lt;br /&gt;
					256 - internal stack&lt;br /&gt;
					512 - miscellaneous&lt;br /&gt;
				 This argument can be used more than once. (Or&lt;br /&gt;
				 the flags may be added together.)&lt;br /&gt;
&lt;br /&gt;
See http://www.crosswire.org/wiki/osis2mod for more details.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== Parameters and Options ===&lt;br /&gt;
'''&amp;amp;lt;output/path&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This a path to any existing directory. It is best for it to be empty.&lt;br /&gt;
&lt;br /&gt;
'''&amp;amp;lt;osisDoc&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This is a single, well-formed, valid OSIS document.&lt;br /&gt;
&lt;br /&gt;
If '''-''' is used instead of a file name, the document will be read from standard input. This allows for two constructs:&lt;br /&gt;
* Redirection&lt;br /&gt;
 osis2mod ./modules/texts/ztext/KJV - &amp;lt; kjv.xml&lt;br /&gt;
* Piping&lt;br /&gt;
 cat kjv.xml | osis2mod ./modules/texts/ztext/KJV -&lt;br /&gt;
&lt;br /&gt;
'''-a'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Osis2mod can create a Bible all at once or incrementally, depending on the presence of the -a flag. This&lt;br /&gt;
provides for two abilities,&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Assembling a Bible from book files:&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir /tmp/mymodule&lt;br /&gt;
osis2mod /tmp/mymodule  matt.xml&lt;br /&gt;
osis2mod /tmp/mymodule -a mark.xml&lt;br /&gt;
...&lt;br /&gt;
osis2mod /tmp/mymodule -a rev.xml&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
'''Note:''' The book files can be in any order. SWORD will order them correctly in the index.&lt;br /&gt;
&amp;lt;li&amp;gt;Adding corrections to a Bible:&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
osis2mod /tmp/mymodule -a fixes.xml&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
'''Note:''' When fixes are put into the module they are appended to the data file and do not actually replace the verses. The index file is adjusted to point to the new place in the data file.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''-z &amp;amp;lt;l|z|b|x&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
A SWORD Bible can be compressed with Zip (-z z), LZSS (-z l), BZip2 (-z b) '''or''' XZ (-lx). All of CrossWire's compressed Bible and commentary modules are compressed with Zip. This saves significant space over an uncompressed module. Uncompressed modules are useful for debugging.&lt;br /&gt;
&lt;br /&gt;
'''-b &amp;amp;lt;2|3|4&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This setting is only useful for a compressed module. The choice as to whether to use Verse (2), Chapter (3) or Book (4, the default) level compression depends upon the amount of data in the block. A typical Bible is best compressed book by book. A commentary, chapter by chapter. If the commentary is very robust and the amount of text per verse is really huge, then verse compression might make sense.&lt;br /&gt;
&lt;br /&gt;
All of SWORD's compressed Bible modules are compressed by book. Basically, all of the verses in a block are compressed and appended to the data file. For this reason, the datafile cannot be uncompressed by anything other than the SWORD and JSword libraries.&lt;br /&gt;
&lt;br /&gt;
When creating the module by appending it is important to do so by whole compression block. That is, if blockType is Chapter, then the osisDoc needs to contain one or more whole chapters.&lt;br /&gt;
&lt;br /&gt;
'''-l [1-9]'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This setting is useful for a compressed module and provides the level of compression to be used. The default varies depending on the compressor used. The default is typically used.&lt;br /&gt;
&lt;br /&gt;
'''-c cipherKey'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This is typically 16 characters in length, having no leading or trailing spaces, consisting of alternating sets of 4 alpha and 4 numeric characters, such as Aduf0274PjNq0328. The key is case-sensitive.&lt;br /&gt;
&lt;br /&gt;
'''-e &amp;amp;lt;1|2|s&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This flag gives whether the input is to be converted to UTF-8, UTF-16, or SCSU. By default the encoding is UTF-8. Using UTF-16 is reasonable for non-latin texts with little markup. SCSU will compress the Unicode, but it has not been sufficiently tested, requires [[DevTools:ICU|ICU]] support when compiling osis2mod and when running (not all frontends do).&lt;br /&gt;
&lt;br /&gt;
'''-N'''&amp;lt;br/&amp;gt;&lt;br /&gt;
All OSIS modules should be UTF-8 and all that are UTF-8 are also to be NFC. The default is to automatically detect the presense of Latin-1 (either cp1252 or iso8859-1) and convert it to UTF-8 and to normalize UTF-8 to NFC. This flag will turn off this behavior and is useful for creating Latin-1 modules or for modules for which the source text is already UTF-8 and NFC. It is also advised for Biblical Hebrew modules for which the source text (with accents and cantillation points) is intentionally not normalized, as &amp;quot;Unicode normalization can easily break Biblical Hebrew&amp;quot;. Quoted from page 9 of the SBL Hebrew Font Manual.&amp;lt;ref&amp;gt;See https://www.sbl-site.org/Fonts/SBLHebrewUserManual1.5x.pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: this was added late Feb 2008 and requires [[DevTools:ICU|ICU]] support when compiling.&lt;br /&gt;
&lt;br /&gt;
'''-s &amp;amp;lt;2|4&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
A value of 2, the default, restricts modules to 64K bytes per entry. A value of 4, breaks this barrier. This is needed for Bibles, having large introductory materials, and for commentaries with large entries.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' 4 was added late Apr 2009 for raw, uncompressed modules and will be part of the SWORD 1.6.0 release (formerly known as 1.5.11). A later release extended support to compressed modules.&lt;br /&gt;
&lt;br /&gt;
'''-v v11n'''&amp;lt;br/&amp;gt;&lt;br /&gt;
By default, osis2mod uses the KJV versification. The practical implication of this is that only books in the KJV canon are allowed and any text in an allowed book are retained. However, if the verse reference of a supported book falls outside of the versification it is appended to the prior verse in the canon. This flag allows for an [[Alternate Versification|alternate versification]].&lt;br /&gt;
&lt;br /&gt;
'''Note:''' This option was added in April 2009 as part of the SWORD 1.6.0 release.&lt;br /&gt;
&lt;br /&gt;
'''-d flags'''&amp;lt;br/&amp;gt;&lt;br /&gt;
The flag can be used more than once or the flags can be added together. For example,&lt;br /&gt;
 -d 2 -d 4&lt;br /&gt;
is the same as&lt;br /&gt;
 -d 6&lt;br /&gt;
&lt;br /&gt;
To do verbose debugging use:&lt;br /&gt;
 -d -1&lt;br /&gt;
&lt;br /&gt;
For the most part these flags are not intended for debugging modules, but rather for debugging problems in osis2mod.&lt;br /&gt;
&lt;br /&gt;
The -d 2 flag produces no output but puts milestones into the module where verses start and end. The form of the milestone is:&lt;br /&gt;
 &amp;amp;lt;milestone resp=&amp;quot;v&amp;quot; [attributes from verse] /&amp;gt;&lt;br /&gt;
The milestone will contain the osisID from the verse and also a valid sID or eID. The sID/eID indicates the start of end of the verse.&lt;br /&gt;
&lt;br /&gt;
Note: the -d 2 flag might change at any time, or may even be removed.&lt;br /&gt;
&lt;br /&gt;
==Messages==&lt;br /&gt;
Osis2mod has robust, mind-boggling messages. These are provided here in hopes that it will help problem diagnosis.&lt;br /&gt;
&lt;br /&gt;
===Diagnostic Messages===&lt;br /&gt;
In the following, example values are given in '''{...}'''. The brackets do not actually appear in the message. Also, the messages are a bit prettier here than in reality.&lt;br /&gt;
&lt;br /&gt;
In the following&lt;br /&gt;
* ['''{ line }''','''{ col }'''] gives the location of the last line and column read in the file. Since processing is handled after the reading, the location is approximate. If the processing is before the file is read, such as during the reading of command line arguments, it won't show up.&lt;br /&gt;
* ('''{ osisID }''') gives the osisID being processed or N/A. It also is optionally output early in the execution of the program.&lt;br /&gt;
&lt;br /&gt;
 WARNING(UTF8)['''{ line }''','''{ col }''']('''{ osisID }'''):     Should be converted to UTF-8 ('''{text }''')&lt;br /&gt;
The program will always check for text that is not UTF-8.&lt;br /&gt;
&lt;br /&gt;
 INFO(UTF8)['''{ line }''','''{ col }''']('''{ osisID }'''):        Converting to UTF-8 ('''{ text before conversion }''')&lt;br /&gt;
Text that is converted to UTF-8 is noted.&lt;br /&gt;
&lt;br /&gt;
 ERROR(UTF8)['''{ line }''','''{ col }''']('''{ osisID }'''):       Converting to UTF-8 ('''{ text after first conversion }''')&lt;br /&gt;
It is an error if after a conversion it still is not UTF-8.&lt;br /&gt;
&lt;br /&gt;
 WARNING(UTF8)['''{ line }''','''{ col }''']('''{ osisID }'''):     osis2mod is not compiled with support for ICU. Ignoring -n flag.&lt;br /&gt;
Normalization was requested, but since osis2mod was not compiled for it, it cannot honor the default request.&lt;br /&gt;
&lt;br /&gt;
 INFO(V11N)['''{ line }''','''{ col }''']('''{ osisID }'''):        is not in the '''{ v11n }''' versification.&lt;br /&gt;
Indicates that a verse is not in the versification.&lt;br /&gt;
&lt;br /&gt;
 INFO(V11N)['''{ line }''','''{ col }''']('''{ osisID }'''):        is not in the '''{ v11n }''' versification. Appending content to '''{ osisID }'''&lt;br /&gt;
This like the other indicates a versification problem, but shows where the text will be found. Osis2mod preserves all module content for supported books.&lt;br /&gt;
&lt;br /&gt;
 WARNING(V11N)['''{ line }''','''{ col }''']('''{ osisID }'''):     New book is '''{ name }'''  and is not in '''{ v11n }''' versification, ignoring&lt;br /&gt;
The name of the book was not recognized as belonging to the chosen versification, it and all of it's content is ignored.&lt;br /&gt;
&lt;br /&gt;
 INFO(WRITE)['''{ line }''','''{ col }''']('''{ osisID }'''):       Appending entry: '''{ osisID }''': '''{ text so far }'''&lt;br /&gt;
If osis2mod encounters text that needs to be appended to a verse that is already in the module. This could indicate that&lt;br /&gt;
* the reference is in the input twice. This typically indicates a problem.&lt;br /&gt;
* more text was found that needs to be added to the prior verse.&lt;br /&gt;
* osis2mod is being run in append mode to fix a verse in the module.&lt;br /&gt;
&lt;br /&gt;
 INFO(LINK)['''{ line }''','''{ col }''']('''{ osisID }'''):        Linking '''{ osisID }''' to '''{ osisID }'''&lt;br /&gt;
An osisID such as &amp;quot;Gen.1.1 Gen.1.2 Gen.1.3&amp;quot; was used and the latter are linked to the first.&lt;br /&gt;
&lt;br /&gt;
 ERROR(REF)['''{ line }''','''{ col }''']('''{ osisID }'''):        Invalid osisID/annotateRef: '''{ invalid attribute value }'''&lt;br /&gt;
This indicates that the SWORD library was unable to parse the osisID or annotateRef.&lt;br /&gt;
&lt;br /&gt;
 FATAL(NESTING)['''{ line }''','''{ col }''']('''{ osisID }'''):    tag expected&lt;br /&gt;
This indicates that the specified verse is not balanced with regard to its tags. Building a raw text module, looking in the module for the verse and pairing begin/end tags will help find the problem. Typically, this indicates an end tag that did not have a matching begin tag and all tags before it were properly paired.&lt;br /&gt;
&lt;br /&gt;
 FATAL(NESTING)['''{ line }''','''{ col }''']('''{ osisID }'''):    Expected '''{ topToken.getName() }''' found '''{ tokenName }'''&lt;br /&gt;
This also indicates that the specified verse is not balanced with regard to its tags. Building a raw text module, looking in the module for the verse and pairing begin/end tags will help find the problem. It could be either a begin or an end tag problem.&lt;br /&gt;
&lt;br /&gt;
 WARNING(NESTING)['''{ line }''','''{ col }''']('''{ osisID }'''):  verse '''{ currentOsisID }''' is not well formed:('''{ verseDepth }''','''{ tagDepth }''')&lt;br /&gt;
This indicates that the verse probably will not show properly in some front-ends in some circumstances. Typically, it shows the problem if the verse is shown in isolation.&lt;br /&gt;
&lt;br /&gt;
 ERROR(NESTING)['''{ line }''','''{ col }''']('''{ osisID }'''):    improper nesting '''{ currentOsisID }''': matching (sID,eID) not found. Looking at ('''{ sID }''','''{ eID }''')&lt;br /&gt;
OSIS specifies that every sID has a matching eID. Osis2mod is checking that BSP elements are properly nested.&lt;br /&gt;
&lt;br /&gt;
 FATAL(COMMENTS)['''{ line }''','''{ col }''']('''{ osisID }'''):   unknown commentstate on comment start: { comment state }&lt;br /&gt;
This indicates that the comment is not of the form &amp;amp;lt;!-- ... --&amp;amp;gt;.&lt;br /&gt;
&lt;br /&gt;
 FATAL(COMMENTS)['''{ line }''','''{ col }''']('''{ osisID }'''):   unknown commentstate on comment end:  { comment state }&lt;br /&gt;
This indicates that the comment is not of the form &amp;amp;lt;!-- ... --&amp;amp;gt;.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    malformed entity, replacing &amp;amp;amp;'''{ malformed entity }''' with &amp;amp;amp;amp;'''{ malformed entity }'''&lt;br /&gt;
This means it found a &amp;amp;amp; that starts an entity but it wasn't terminated by a ; and changed it to something that probably isn't appropriate.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    HEX entity must begin with &amp;amp;amp;x, found '''{ entity }'''&lt;br /&gt;
This indicates &amp;amp;X, which is not valid for xml. It is not changed.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    SWORD does not search HEX entities, found '''{ entity }'''&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    SWORD does not search numeric entities, found '''{ entity }'''&lt;br /&gt;
Since we don't transform HEX or numeric entities to their equivalent UTF-8 value, this will be literal text that cannot be searched.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    XML only supports 5 Character entities &amp;amp;amp;amp;, &amp;amp;amp;lt;, &amp;amp;amp;gt;, &amp;amp;amp;quot; and &amp;amp;amp;apos;, found '''{ entity }'''&lt;br /&gt;
XML does not allow character entities. These are passed unchanged to SWORD module. This frustrates search and may only display properly in a front-end using HTML rendering.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    &amp;amp;amp;quot; is unnecessary outside of attribute values. Replace with &amp;quot;.&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    &amp;amp;amp;quot; is unnecessary inside single quoted attribute values. Replace with &amp;quot;.&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    &amp;amp;amp;quot; is only needed within double quoted attribute values. Considering using single quoted attribute and replacing with &amp;quot;.&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    &amp;amp;amp;apos; is only needed within single quoted attribute values. Considering using double quoted attribute and replacing with '.&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    &amp;amp;amp;apos; is unnecessary inside double quoted attribute values. Replacing with '.&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    &amp;amp;amp;apos; is unnecessary outside of attribute values. Replacing with '.&lt;br /&gt;
The &amp;amp;amp;apos; or &amp;amp;amp;quot; was found outside of an attribute value and is being substituted with a straight single apostrophe, ', or double quote, &amp;quot;, respectively.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    While valid for XML, &amp;amp;amp;quot; is only needed within double quoted attribute values.&lt;br /&gt;
This warning indicates that the entity is present where it does not need to be.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    While valid for XML, XHTML does not support &amp;amp;amp;apos;.&lt;br /&gt;
This warning indicates that the &amp;amp;amp;apos; may not display properly in all front-ends. It was found in an attribute value.&lt;br /&gt;
&lt;br /&gt;
===Debug Messages===&lt;br /&gt;
The following are shown in the same form as the diagnostic messages above. They are given without comment.&lt;br /&gt;
&lt;br /&gt;
'''-d 1'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Output of what is being written to the module. The two osisIDs should always be the same.&lt;br /&gt;
 DEBUG(WRITE)['''{ line }''','''{ col }''']('''{ osisID }'''):      '''{ text so far }'''&lt;br /&gt;
&lt;br /&gt;
'''-d 4'''&amp;lt;br/&amp;gt;&lt;br /&gt;
A stack is maintained to represent the Words of Christ on a per verse basis. This is internal diagnostic of that stack&lt;br /&gt;
 DEBUG(QUOTE)['''{ line }''','''{ col }''']('''{ osisID }'''):      quote top('''{ quote stack size }''') '''{ token }'''&lt;br /&gt;
 DEBUG(QUOTE)['''{ line }''','''{ col }''']('''{ osisID }'''):      quote pop('''{ quote stack size }''') '''{ topToken }''' -- '''{ token }'''&lt;br /&gt;
 DEBUG(QUOTE)['''{ line }''','''{ col }''']('''{ osisID }'''):      ('''{ quote stack size }''') '''{ topToken }''' -- '''{ token }'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''-d 8'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Identifies when book and chapter introductions are being determined.&lt;br /&gt;
 DEBUG(TITLE)['''{ line }''','''{ col }''']('''{ osisID }'''):     OOPS INTRO&lt;br /&gt;
         inChapterIntro = '''{ inChapterIntro }'''&lt;br /&gt;
         inBookIntro    = '''{ inBookIntro }'''&lt;br /&gt;
 DEBUG(TITLE)['''{ line }''','''{ col }''']('''{ osisID }'''):      Looking for book introduction&lt;br /&gt;
 DEBUG(TITLE)['''{ line }''','''{ col }''']('''{ osisID }'''):      Done looking for book introduction&lt;br /&gt;
 DEBUG(TITLE)['''{ line }''','''{ col }''']('''{ osisID }'''):      BOOK INTRO '''{ beading }'''&lt;br /&gt;
 DEBUG(TITLE)['''{ line }''','''{ col }''']('''{ osisID }'''):      Looking for chapter introduction&lt;br /&gt;
 DEBUG(TITLE)['''{ line }''','''{ col }''']('''{ osisID }'''):      Done looking for chapter introduction&lt;br /&gt;
 DEBUG(TITLE)['''{ line }''','''{ col }''']('''{ osisID }'''):      CHAPTER INTRO '''{ heading }'''&lt;br /&gt;
&lt;br /&gt;
'''-d 16'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Inter-verse material either goes with the prior &amp;quot;verse&amp;quot; or the next. This help diagnose problems related to that split.&lt;br /&gt;
 DEBUG(INTERVERSE)['''{ line }''','''{ col }''']('''{ osisID }'''): Interverse start token '''{ token }''':'''{ text }'''&lt;br /&gt;
 DEBUG(INTERVERSE)['''{ line }''','''{ col }''']('''{ osisID }'''): Interverse end tag: '''{ tokenName }'''('''{ tagDepth }''','''{ chapterDepth }''','''{ bookDepth }''')&lt;br /&gt;
 DEBUG(INTERVERSE)['''{ line }''','''{ col }''']('''{ osisID }'''): Appending interverse end tag: '''{tokenName }'''('''{ tagDepth }''','''{ chapterDepth }''','''{ bookDepth }''')&lt;br /&gt;
&lt;br /&gt;
'''-d 32'''&amp;lt;br/&amp;gt;&lt;br /&gt;
The following messages relate to the transformations of containers to milestones.&lt;br /&gt;
 DEBUG(XFORM)['''{ line }''','''{ col }''']('''{ osisID }'''):      Transform start tag from '''{ orig }''' to '''{ transformed }'''&lt;br /&gt;
 DEBUG(XFORM)['''{ line }''','''{ col }''']('''{ osisID }'''):      Transform end tag from '''{ orig }''' to '''{ transformed }'''&lt;br /&gt;
&lt;br /&gt;
'''-d 64'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Occasionally a verse reference is outside of the chosen versification. These messages help to understand difficulties that osis2mod has in storing extra-canonical material in the module.&lt;br /&gt;
 DEBUG(V11N)['''{ line }''','''{ col }''']('''{ osisID }'''):       {'''{ caller }'''} normalizes to '''{ after }'''&lt;br /&gt;
 DEBUG(V11N)['''{ line }''','''{ col }''']('''{ osisID }'''):       Chapter max:'''{ chapterMax }''', Verse Max:'''{ verseMax }'''&lt;br /&gt;
&lt;br /&gt;
'''-d 128'''&amp;lt;br/&amp;gt;&lt;br /&gt;
OSIS ids and references can be of a form that SWORD cannot parse. Osis2mod contains a routine that munges these into a form that SWORD can understand.&lt;br /&gt;
 DEBUG(REF)['''{ line }''','''{ col }''']('''{ osisID }'''):        VerseKey can parse this as is.&lt;br /&gt;
 DEBUG(REF)['''{ line }''','''{ col }''']('''{ osisID }'''):        Found a range marker. Progress: '''{ progress }''' Remaining: '''{ remaining }'''&lt;br /&gt;
 DEBUG(REF)['''{ line }''','''{ col }''']('''{ osisID }'''):        Found a work prefix '''{ workPrefix }''' Progress: '''{ progress }''' Remaining: '''{ remaining }'''&lt;br /&gt;
 DEBUG(REF)['''{ line }''','''{ col }''']('''{ osisID }'''):        Found an osisID:'''{ osisID }''' Progress: '''{ progress }''' Remaining: '''{ remaining }'''&lt;br /&gt;
 DEBUG(REF)['''{ line }''','''{ col }''']('''{ osisID }'''):        Found a grain suffix '''{ grain }''' Progress: '''{ progress }''' Remaining: '''{ remaining }'''&lt;br /&gt;
 DEBUG(REF)['''{ line }''','''{ col }''']('''{ osisID }'''):        Replacing space with ; Progress: '''{ progress }''' Remaining: '''{ remaining }'''&lt;br /&gt;
 DEBUG(REF)['''{ line }''','''{ col }''']('''{ osisID }'''):        Parseable VerseKey -- '''{ osisRef }'''&lt;br /&gt;
&lt;br /&gt;
'''-d 256'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Osis2mod contains two stacks to validate proper nesting of BSP and BCV, respectively. This is an internal representation of the BCV stacks. It provides additional information to understand the diagnostic nesting messages.&lt;br /&gt;
 DEBUG(STACK)['''{ line }''','''{ col }''']('''{ osisID }'''):     push ('''{ stack size}''') '''{ tokenName }'''&lt;br /&gt;
 DEBUG(STACK)['''{ line }''','''{ col }''']('''{ osisID }'''):     pop('''{ tagDepth }''') '''{ topToken.getName() }'''&lt;br /&gt;
&lt;br /&gt;
'''-d 512'''&amp;lt;br/&amp;gt;&lt;br /&gt;
These are general debug messages.&lt;br /&gt;
 DEBUG(FOUND)['''{ line }''','''{ col }''']('''{ osisID }'''):        Found first div and pitching prior material: '''{ text }'''&lt;br /&gt;
 DEBUG(FOUND)['''{ line }''','''{ col }''']('''{ osisID }'''):        Found new book.&lt;br /&gt;
 DEBUG(FOUND)['''{ line }''','''{ col }''']('''{ osisID }'''):        Current chapter is '''{ currentOsisID }'''&lt;br /&gt;
 DEBUG(FOUND)['''{ line }''','''{ col }''']('''{ osisID }'''):        Entering verse&lt;br /&gt;
 DEBUG(FOUND)['''{ line }''','''{ col }''']('''{ osisID }'''):        New current verse&lt;br /&gt;
 DEBUG(FOUND)['''{ line }''','''{ col }''']('''{ osisID }'''):        End of header found.&lt;br /&gt;
 DEBUG(COMMENTS)['''{ line }''','''{ col }''']('''{ osisID }'''): in comment&lt;br /&gt;
 DEBUG(COMMENTS)['''{ line }''','''{ col }''']('''{ osisID }'''): out of comment&lt;br /&gt;
 DEBUG(ARGS):&lt;br /&gt;
         path:         '''{ path }'''&lt;br /&gt;
         osisDoc:      '''{ osisDoc }'''&lt;br /&gt;
         create:       '''{ append }'''&lt;br /&gt;
         compressType: '''{ compType }'''&lt;br /&gt;
         blockType:    '''{ iType }'''&lt;br /&gt;
         cipherKey:    '''{ cipherKey }'''&lt;br /&gt;
         normalize:    '''{ normalize }'''&lt;br /&gt;
&lt;br /&gt;
===Exit Status===&lt;br /&gt;
When an error occurs that causes osis2mod to exit without processing the entire input file, a non-zero exit status is supplied to the caller. Here are the codes that osis2mod uses:&lt;br /&gt;
 const int EXIT_BAD_ARG     =   1; // Bad parameter given for program&lt;br /&gt;
 const int EXIT_NO_WRITE    =   2; // Could not open the module for writing&lt;br /&gt;
 const int EXIT_NO_CREATE   =   3; // Could not create the module&lt;br /&gt;
 const int EXIT_NO_READ     =   4; // Could not open the input file for reading.&lt;br /&gt;
 const int EXIT_BAD_NESTING =   5; // BSP or BCV nesting is bad or improper XML comment&lt;br /&gt;
&lt;br /&gt;
== Future Roadmap ==&lt;br /&gt;
:''List here suggestions for useful enhancements to or improvements for osis2mod''.&lt;br /&gt;
&lt;br /&gt;
* Add a command line flag '''-x''' to ''exclude'' all OSIS elements with the global attribute '''editions'''.&amp;lt;ref&amp;gt;The '''editions''' attribute is used to specify edition specific content, such as material omitted in Protestant versions of the Bible.&amp;lt;/ref&amp;gt;&amp;lt;BR&amp;gt;osis2mod would exclude those elements that match the specified attribute value.&lt;br /&gt;
&lt;br /&gt;
'''Note:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Reporting issues ==&lt;br /&gt;
* [http://www.crosswire.org/tracker/browse/MODTOOLS/component/10290/ Module Tools &amp;amp;ndash; osis2mod]&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[OSIS]] &amp;amp;ndash; a partial list of other OSIS related pages and external links.&lt;br /&gt;
* [[Mod2zmod]]&lt;br /&gt;
&lt;br /&gt;
[[Category:OSIS]]&lt;br /&gt;
[[Category:Utilities]]&lt;br /&gt;
[[Category:Versification]]&lt;/div&gt;</summary>
		<author><name>Dmsmith</name></author>	</entry>

	<entry>
		<id>https://wiki.crosswire.org/index.php?title=Osis2mod&amp;diff=17756</id>
		<title>Osis2mod</title>
		<link rel="alternate" type="text/html" href="https://wiki.crosswire.org/index.php?title=Osis2mod&amp;diff=17756"/>
				<updated>2025-07-07T17:08:21Z</updated>
		
		<summary type="html">&lt;p&gt;Dmsmith: Moved Exit Statuses&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
osis2mod transforms an OSIS encoded [[OSIS Bibles|Bible]] or [[OSIS_Commentaries|commentary]] into a SWORD module.&lt;br /&gt;
&lt;br /&gt;
==Where to get it==&lt;br /&gt;
* See [[DevTools:Modules#Collect_and_Install_Software_Tools|Collect and Install Software Tools]]&lt;br /&gt;
&lt;br /&gt;
== Current status ==&lt;br /&gt;
&lt;br /&gt;
Software bugs relating to osis2mod should be reported in https://tracker.crosswire.org/browse/MODTOOLS&lt;br /&gt;
&lt;br /&gt;
:''Please describe current status of osis2mod, including a list of any outstanding issues or unsolved difficulties''.&lt;br /&gt;
&lt;br /&gt;
==History of Changes==&lt;br /&gt;
The following outlines in reverse chronological order the major changes to osis2mod. When several changes were made over the span of a few days, they are lumped into the most recent date. Bug fixes are not mentioned.&lt;br /&gt;
&lt;br /&gt;
{|width=&amp;quot;100%&amp;quot; border=&amp;quot;0&amp;quot; class=&amp;quot;sortable&amp;quot;&lt;br /&gt;
!width=&amp;quot;10%&amp;quot;|Date&lt;br /&gt;
!Revision&lt;br /&gt;
!Feature&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2025-06-25'''&lt;br /&gt;
|&lt;br /&gt;
r3906&lt;br /&gt;
|&lt;br /&gt;
* MODTOOLS-76: Enhance -v argument handling in osis2mod with case-insensitive and prefix matching, and improved error reporting.&lt;br /&gt;
&lt;br /&gt;
 - Outputs the name of the versification system being used at program start&lt;br /&gt;
 - Adds layered resolution of versifications:&lt;br /&gt;
    1) Case-sensitive exact match&lt;br /&gt;
    2) Case-insensitive exact match&lt;br /&gt;
    3) Case-insensitive prefix match&lt;br /&gt;
 - Shows detailed error messages when input is invalid or ambiguous:&lt;br /&gt;
    * Lists all matches in case of ambiguity&lt;br /&gt;
    * Lists input and valid options if no match is found&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2025-06-19'''&lt;br /&gt;
|&lt;br /&gt;
r3903&lt;br /&gt;
|&lt;br /&gt;
* MODTOOLS-108  fix. Properly append verses beyond the last chapter of a book at the end of the book in the last verse of the chapter, which caused an infinite loop.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2020-07-26'''&lt;br /&gt;
|&lt;br /&gt;
r3769&lt;br /&gt;
|&lt;br /&gt;
* Fixed linking bug with ranges in osis2mod&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2020-05-08'''&lt;br /&gt;
|&lt;br /&gt;
r3737&lt;br /&gt;
|&lt;br /&gt;
* Added support putting reponumber into nano position of SWORD version string and output current SWORD version&lt;br /&gt;
* standardize on (SWORD: {SWVersion::currentVersion.getText()}) for all reported SWORD versions in utilities&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2016-08-16'''&lt;br /&gt;
|&lt;br /&gt;
r3431&lt;br /&gt;
|&lt;br /&gt;
* commented out  a set of lines handling &amp;quot;div type=&amp;quot;majorSection&amp;quot; &amp;quot; - see comments in code. &lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2016-02-06'''&lt;br /&gt;
|&lt;br /&gt;
r3401&lt;br /&gt;
|&lt;br /&gt;
* Added entity handling.&lt;br /&gt;
* div type='colophon' now not changed to milestones.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2015-02-16'''&lt;br /&gt;
|&lt;br /&gt;
r3322&lt;br /&gt;
| &lt;br /&gt;
* Correct casing of COUT&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2015-02-16'''&lt;br /&gt;
|&lt;br /&gt;
r3321&lt;br /&gt;
|&lt;br /&gt;
* cleaned up whitespace in osis2mod&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2014-12-17'''&lt;br /&gt;
|&lt;br /&gt;
r3310&lt;br /&gt;
|&lt;br /&gt;
* MODTOOLS-55 endless loop fix.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2014-12-15'''&lt;br /&gt;
|&lt;br /&gt;
r3307&lt;br /&gt;
|&lt;br /&gt;
* Greg Helling's patch to osis2mod for majorSections&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2014-03-17'''&lt;br /&gt;
|&lt;br /&gt;
r3139&lt;br /&gt;
|&lt;br /&gt;
* Added support for large entries (&amp;amp;gt; 64K) in compressed modules (aka zText4).&lt;br /&gt;
* Added support for UTF-16 and SCSU using the -e flag. SCSU is experimental.&lt;br /&gt;
* Added support for BZip2 and XZ compression, changing -z and -Z to -z &amp;amp;lt;l|z|b|x&amp;amp;gt;&lt;br /&gt;
* Added support for compression levels of 1 to 9 using the -l [1-9] flag.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2014-01-21'''&lt;br /&gt;
|&lt;br /&gt;
r3011&lt;br /&gt;
|&lt;br /&gt;
* Changed the transformation of &amp;amp;lt;p&amp;amp;gt; from &amp;amp;lt;div type=&amp;quot;paragraph&amp;quot; sID=&amp;quot;xxx&amp;quot;/&amp;amp;gt; to &amp;amp;lt;div type=&amp;quot;x-p&amp;quot; sID=&amp;quot;xxx&amp;quot;/&amp;amp;gt; This is a semantic change that brings osis2mod into alignment with the OSIS specification.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2012-03-24'''&lt;br /&gt;
|&lt;br /&gt;
r2693&lt;br /&gt;
|&lt;br /&gt;
* Allow for XML comments to be in the document, but stripped from the module. This allows for large parts of a document to be commented out, which is especially important during development.&lt;br /&gt;
* Allow for &amp;amp;lt;p&amp;amp;gt; elements to be in the &amp;amp;lt;header&amp;amp;gt; element but ignored. Previously, the p in a header, having been transformed to a div, was taken to be the start of the module's content.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2011-11-12'''&lt;br /&gt;
|&lt;br /&gt;
r2671&lt;br /&gt;
|&lt;br /&gt;
* Restored pre-verse handling. Titles no longer need to be specially specified in OSIS.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2010-06-04'''&lt;br /&gt;
|&lt;br /&gt;
r2519&lt;br /&gt;
|&lt;br /&gt;
* Removed pre-verse handling. Titles now have to be specially specified in OSIS. In OSIS there should also be no tags between verse elements except title and those marking book and chapter.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-06-06'''&lt;br /&gt;
|&lt;br /&gt;
r2435&lt;br /&gt;
|&lt;br /&gt;
* Improved handling of chapter introductions.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-05-30'''&lt;br /&gt;
|&lt;br /&gt;
r2421&lt;br /&gt;
|&lt;br /&gt;
* '''-d flags''' now always available.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-05-14'''&lt;br /&gt;
|&lt;br /&gt;
r2413&lt;br /&gt;
|&lt;br /&gt;
*Added '''-d flags''' as a compile time option.&lt;br /&gt;
*Improved exit codes and documented them here.&lt;br /&gt;
*Labeled all diagnostic and debug output.&lt;br /&gt;
*Can now read from standard input.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-04-28'''&lt;br /&gt;
|&lt;br /&gt;
r2358&lt;br /&gt;
|&lt;br /&gt;
*Predictable handling of inter-verse material.&lt;br /&gt;
*All tags, except verse, included in the module.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-04-26'''&lt;br /&gt;
|&lt;br /&gt;
r2345&lt;br /&gt;
|&lt;br /&gt;
*'''-v v11n''' added to support [[Alternate Versification]].&lt;br /&gt;
*'''-s &amp;lt;2|4&amp;gt;''' added to support uncompressed commentaries with large entries (exceeding 64K bytes).&lt;br /&gt;
*Replace paragraph hack with milestoned paragraphs: &amp;amp;lt;div type=&amp;quot;paragraph&amp;quot; sID=&amp;quot;xxx&amp;quot;/&amp;gt; ... &amp;amp;lt;div type=&amp;quot;paragraph&amp;quot; eID=&amp;quot;xxx&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2008-09-11'''&lt;br /&gt;
|&lt;br /&gt;
r2196&lt;br /&gt;
|&lt;br /&gt;
*Words of Christ (WoC) can be marked up naturally. osis2mod does the right thing.&lt;br /&gt;
*Container elements converted to their milestoned form.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2008-02-29'''&lt;br /&gt;
|&lt;br /&gt;
r2141&lt;br /&gt;
|&lt;br /&gt;
*Now supports commentaries in addition to Bibles.&lt;br /&gt;
*Added utf-8 detection and automatic conversion from cp1252 and iso8859-1 to utf-8, making that the default behavior&lt;br /&gt;
*Added NFC [[Encoding#Normalization|normalization]], making it the default&lt;br /&gt;
*Now handles the full definition of an osisID and an osisRef, including workID and grain.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2007-09-27'''&lt;br /&gt;
|&lt;br /&gt;
r2090&lt;br /&gt;
|&lt;br /&gt;
*Changed command-line parsing from positional parameters to flags.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2007-05-13'''&lt;br /&gt;
|&lt;br /&gt;
r2050&lt;br /&gt;
|&lt;br /&gt;
*All whitespace tokens are converted into blanks and adjacent spaces are merged into one. Leading whitespace on each verse is still removed.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2007-05-01'''&lt;br /&gt;
|&lt;br /&gt;
r2044&lt;br /&gt;
|&lt;br /&gt;
*Added version identification to the running of osis2mod.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2007-04-24'''&lt;br /&gt;
|&lt;br /&gt;
r2038&lt;br /&gt;
|&lt;br /&gt;
*Added ignoring of unknown books&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2006-07-15'''&lt;br /&gt;
|&lt;br /&gt;
r1948&lt;br /&gt;
|&lt;br /&gt;
*Optimized writing to module.&lt;br /&gt;
*Added simple transformations of &amp;amp;lt;q&amp;gt; and &amp;amp;lt;p&amp;gt; into milestones.&lt;br /&gt;
*Now allow empty attributes, such as marker=&amp;quot;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2006-07-04'''&lt;br /&gt;
|&lt;br /&gt;
r1914&lt;br /&gt;
|&lt;br /&gt;
*Updated to support OSIS 2.1&lt;br /&gt;
*Added validation that verses in isolation are well formed&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2005-12-22'''&lt;br /&gt;
|&lt;br /&gt;
r1876&lt;br /&gt;
|&lt;br /&gt;
*Added command-line options for compress and encipher.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2005-05-02'''&lt;br /&gt;
|&lt;br /&gt;
r1790&lt;br /&gt;
|&lt;br /&gt;
*Removed &amp;amp;lt;verse&amp;gt; and &amp;amp;lt;/verse&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2005-02-03'''&lt;br /&gt;
|&lt;br /&gt;
r1707&lt;br /&gt;
|&lt;br /&gt;
*Reverted pre-verse title handling&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2004-06-12'''&lt;br /&gt;
|&lt;br /&gt;
r1620&lt;br /&gt;
|&lt;br /&gt;
*Removed pre-verse title handling&lt;br /&gt;
*Added &amp;amp;lt;verse&amp;gt; and &amp;amp;lt;/verse&amp;gt;&lt;br /&gt;
*Added support for milestoned version of some OSIS elements&lt;br /&gt;
*Added support for verses that are not in the KJV versification by appending them to the closest prior verse.&lt;br /&gt;
*Added support for osisIDs with sub-verse references (i.e. osisID grains)&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2004-05-19'''&lt;br /&gt;
|&lt;br /&gt;
r1597&lt;br /&gt;
|&lt;br /&gt;
*Added support for linked verses&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2003-11-21'''&lt;br /&gt;
|&lt;br /&gt;
r1407&lt;br /&gt;
|&lt;br /&gt;
*Added recognition for &amp;lt;chapter&amp;gt; element&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2003-05-26'''&lt;br /&gt;
|&lt;br /&gt;
r1183&lt;br /&gt;
|&lt;br /&gt;
*Initial version&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Transformations==&lt;br /&gt;
:''This section may need further updating''.&lt;br /&gt;
&lt;br /&gt;
Osis2mod performs the following transformations&amp;lt;ref&amp;gt;These transformations are all performed &amp;quot;under the hood&amp;quot; as it were. Tweaking OSIS XML files to fix problems with pre-verse titles, etc., was never intended to be done by module developers as part of the preprocessing before using osis2mod.&amp;lt;/ref&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
* '''Whitespace''' -- Allows for human-readable OSIS files.&lt;br /&gt;
**Leading whitespace on books, chapters and verses is removed&lt;br /&gt;
**Whitespace is normalized into blanks&lt;br /&gt;
**Multiple adjacent whitespace is reduced to a single space&lt;br /&gt;
&lt;br /&gt;
* '''Unicode handling''' - All modules should be UTF-8, NFC.&amp;lt;ref&amp;gt;With the possible exception of Biblical Hebrew and some Indic scripts that should not be normalized.&amp;lt;/ref&amp;gt;&lt;br /&gt;
**Latin-1 (cp1252 and iso8859-1) are converted into UTF-8&lt;br /&gt;
**UTF-8 is normalized into NFC, unless specified otherwise (i.e. by using the -N option).&lt;br /&gt;
&lt;br /&gt;
* '''Verse ranges''' - also known as linked verses.&lt;br /&gt;
** Verses within a specified OSIS verse range are each linked to the first verse of the range.&lt;br /&gt;
&lt;br /&gt;
* '''Milestone conversion''' - necessary for frontends to show a verse at a time.&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;q ...&amp;gt;...&amp;amp;lt;/q&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;q sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;q eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;ref&amp;gt;'''gen#''' is unique for an sID/eID pair, where '''#''' is a number.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;Quotes with who=&amp;quot;Jesus&amp;quot; are not transformed at this stage.&amp;lt;/ref&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;p ...&amp;gt;...&amp;amp;lt;/p&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;div sID=&amp;quot;gen#&amp;quot; type=&amp;quot;x-p&amp;quot; .../&amp;gt;... &amp;amp;lt;div eID=&amp;quot;gen#&amp;quot; type=&amp;quot;x-p&amp;quot; ...&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;chapter ...&amp;gt;...&amp;amp;lt;/chapter&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;chapter sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;chapter eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;closer ...&amp;gt;...&amp;amp;lt;/closer&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;closer sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;closer eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;div ...&amp;gt;...&amp;amp;lt;/div&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;div sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;div eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;ref&amp;gt;As of r3401, &amp;amp;lt;div type=&amp;quot;colophon&amp;quot;...&amp;gt; is unchanged.&amp;lt;/ref&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;l ...&amp;gt;...&amp;amp;lt;/l&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;l sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;l eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;lg ...&amp;gt;...&amp;amp;lt;/lg&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;lg sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;lg eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;salute ...&amp;gt;...&amp;amp;lt;/salute&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;salute sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;salute eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;signed ...&amp;gt;...&amp;amp;lt;/signed&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;signed sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;signed eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;speech ...&amp;gt;...&amp;amp;lt;/speech&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;speech sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;speech eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;verse ...&amp;gt;...&amp;amp;lt;/verse&amp;gt;&amp;lt;/tt&amp;gt; becomes (when using -d 2 for debugging.)&amp;lt;BR&amp;gt;&amp;lt;tt&amp;gt;&amp;amp;lt;milestone resp=&amp;quot;v&amp;quot; sID=&amp;quot;gen#&amp;quot; ... /&amp;gt;...&amp;amp;lt;milestone resp=&amp;quot;v&amp;quot; eID=&amp;quot;gen#&amp;quot; ... /&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* '''Words of Christ''' - necessary for front-ends to appropriately highlight the WOC, a verse at a time.&amp;lt;ref&amp;gt;The examples given have the null string as the quotation marks in the '''marker''' attribute (as in the KJV module), but proper quotation marks are also supported.&amp;lt;/ref&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;q sID=&amp;quot;gen#&amp;quot; who=&amp;quot;Jesus&amp;quot; .../&amp;gt;...&amp;amp;lt;eID=&amp;quot;gen#&amp;quot; who=&amp;quot;Jesus&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt; becomes&amp;lt;BR&amp;gt;&amp;lt;tt&amp;gt;&amp;amp;lt;q who=&amp;quot;Jesus&amp;quot; marker=&amp;quot;&amp;quot;&amp;gt;&amp;amp;lt;q sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;q eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;amp;lt;/q&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;q who=&amp;quot;Jesus&amp;quot; ...&amp;gt;...&amp;amp;lt;/q&amp;gt;&amp;lt;/tt&amp;gt; becomes&amp;lt;BR&amp;gt;&amp;lt;tt&amp;gt;&amp;amp;lt;q who=&amp;quot;Jesus&amp;quot; marker=&amp;quot;&amp;quot;&amp;gt;&amp;amp;lt;q sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;q eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;amp;lt;/q&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** Within the following construct, &amp;lt;tt&amp;gt;&amp;amp;lt;q who=&amp;quot;Jesus&amp;quot; marker=&amp;quot;&amp;quot;&amp;gt;...&amp;lt;/q&amp;gt;&amp;lt;/tt&amp;gt; will surround verse text.&lt;br /&gt;
&lt;br /&gt;
* '''Pre-Verse Titles'''&amp;lt;ref&amp;gt;The older method that fixed titles only became obsolete with SVN revision 2358 for the SWORD 1.6.0 release and replaced with '''InterVerse Content'''.&amp;lt;/ref&amp;gt;&lt;br /&gt;
** InterVerse or postVerse&amp;lt;ref&amp;gt;For example, the '''colophon''' div as found at the end of some Epistles.&amp;lt;/ref&amp;gt; content not in titles is appended to the prior verse.&lt;br /&gt;
** Titles immediately preceeding a verse are converted into either&amp;lt;BR&amp;gt;&amp;lt;tt&amp;gt;&amp;amp;lt;title canonical=&amp;quot;true&amp;quot; type=&amp;quot;psalm&amp;quot;&amp;gt;...&amp;amp;lt;/title&amp;gt;&amp;lt;/tt&amp;gt; or&amp;lt;BR&amp;gt;&amp;lt;tt&amp;gt;&amp;amp;lt;title canonical=&amp;quot;false&amp;quot; type=&amp;quot;sub&amp;quot;&amp;gt;...&amp;amp;lt;/title&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;ref&amp;gt;type=&amp;quot;sub&amp;quot; is used irrespective of whether the non-canonical title is a section title or a subSection title.&amp;lt;/ref&amp;gt;&amp;lt;BR&amp;gt;and the whole such '''title''' element is wrapped within a special preverse '''div''' element. ''See below''.&lt;br /&gt;
&lt;br /&gt;
* '''InterVerse Content'''&amp;lt;ref&amp;gt;Introduced with SVN revision 2358 for the SWORD 1.6.0 release.&amp;lt;/ref&amp;gt;&lt;br /&gt;
** InterVerse Content refers to all content not contained by the verse element.&amp;lt;ref&amp;gt;i.e. Content between the '''eID''' milestone of a verse and the '''sID''' milestone of the next verse, or before the first verse of the chapter.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;For OSIS files derived from USFM files, the implication of this requirement is the following rule:&lt;br /&gt;
&amp;lt;blockquote&amp;gt;Do not place a title (or similar element) between a matching pair of verse milestones&amp;lt;BR&amp;gt;&lt;br /&gt;
except where the translation places the title somewhere within the verse text in the USFM file.&amp;lt;/blockquote&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
** Such content is divided between the prior and the current verse.&lt;br /&gt;
** Content appended to the prior verse is not marked in any special way.&lt;br /&gt;
** Content prepended&amp;lt;ref&amp;gt;This ensures that when the verse is called the prepended content is also displayed, subject to whatever filters are in place.&amp;lt;/ref&amp;gt; to the current verse is marked with&amp;lt;BR&amp;gt;&amp;lt;tt&amp;gt;&amp;amp;lt;div type=&amp;quot;x-milestone&amp;quot; subType=&amp;quot;x-preverse&amp;quot; sID=&amp;quot;pv#&amp;quot;/&amp;gt;...&amp;amp;lt;div type=&amp;quot;x-milestone&amp;quot; subType=&amp;quot;x-preverse&amp;quot; eID=&amp;quot;pv#&amp;quot;/&amp;gt;.&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Handling of Introductions, Titles and Inter-Verse Material==&lt;br /&gt;
SWORD looks for module, testament, book and chapter introductory material. Those introductions can have appropriate titles as well. &lt;br /&gt;
In SWORD 1.6.0 the handling of this material has changed.&lt;br /&gt;
&lt;br /&gt;
'''Note:'''&lt;br /&gt;
# In the following, the effects of the above transformations are not shown. The tagging of the pre-verse material is also not shown.&lt;br /&gt;
&lt;br /&gt;
===Module and Testament Introductions===&lt;br /&gt;
&lt;br /&gt;
At this time, osis2mod does not fully support module and testament introductions. A module introduction should be place into testament 0, book 0, chapter 0, verse 0. A testament introduction should be placed into testament 1 or 2, book 0, chapter 0, verse 0. Currently, these are placed into Genesis 0:0 or Matthew 0:0.&lt;br /&gt;
&lt;br /&gt;
===Book Introductions and Titles===&lt;br /&gt;
Book introductions and titles are straight forward. It includes the start of the book and everything following it up to, but not including the start of the chapter. See [[OSIS Bibles]] for best practices in marking up titles and introductions.&lt;br /&gt;
&lt;br /&gt;
For example:&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;book&amp;quot; ...&amp;gt;&lt;br /&gt;
 ... introductory material ...&lt;br /&gt;
 &amp;amp;lt;chapter&amp;quot;...&amp;gt;&lt;br /&gt;
will put the following into the book introduction:&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;book&amp;quot; ...&amp;gt;&lt;br /&gt;
 ... introductory material ...&lt;br /&gt;
&lt;br /&gt;
===Chapter Introductions===&lt;br /&gt;
Chapter introductions and titles are a bit problematic. Between the start of a chapter and its first verse, we could have a chapter title, a chapter introduction and/or a start of a section of verses or a titled verse. Osis2mod now handles this in a predictable fashion. From the start of the chapter up to and not including a section div or a title that has a type that is not ''main'', ''chapter'' or ''sub'', the content is chapter introduction. After that, it is part of the verse.&lt;br /&gt;
&lt;br /&gt;
Specifically, the following list gives the possible first elements following the chapter introduction.:&lt;br /&gt;
*&amp;amp;lt;div type=&amp;quot;section&amp;quot; ...&amp;gt;&lt;br /&gt;
*&amp;amp;lt;title type=&amp;quot;yyy&amp;quot; ...&amp;gt; where yyy is not ''main'', ''chapter'' or ''sub''.&lt;br /&gt;
&lt;br /&gt;
For example,&lt;br /&gt;
 &amp;amp;lt;chapter ...&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;Chapter Title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title type=&amp;quot;sub&amp;quot;&amp;gt;Chapter Subtitle&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;introduction&amp;quot;&amp;gt;... intro ...&amp;amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;section&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;A section title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;verse ...&amp;gt;...verse content...&amp;amp;lt;/verse&amp;gt;&lt;br /&gt;
will put the following into the chapter introduction:&lt;br /&gt;
 &amp;amp;lt;chapter ...&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;Chapter Title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title type=&amp;quot;sub&amp;quot;&amp;gt;Chapter Subtitle&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;introduction&amp;quot;&amp;gt;... intro ...&amp;amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
will put the following into verse 1 of that chapter&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;section&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;A section title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;verse ...&amp;gt;...verse content...&amp;amp;lt;/verse&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Between Verses===&lt;br /&gt;
Between verses we may have closing tags to finish off what was started earlier, structural opening tags (e.g. line groups, divisions, paragraphs, ...), titles and/or introductory material.&lt;br /&gt;
&lt;br /&gt;
Upon finding the close of a verse, osis2mod will append all adjacent closing tags to it. Once it finds a start tag, it will attach that to the following verse.&lt;br /&gt;
&lt;br /&gt;
For example, suppose the following is between &amp;amp;lt;/verse&amp;gt; and &amp;amp;lt;verse ...&amp;gt;:&lt;br /&gt;
 &amp;amp;lt;/lg&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;section&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;Section title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;lg&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
then it will append the following to the prior verse:&lt;br /&gt;
 &amp;amp;lt;/lg&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and will prepend the following to the current verse:&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;section&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;Section title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;lg&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Last Verse===&lt;br /&gt;
The material following the last verse of a chapter is appended to that verse. You might find:&lt;br /&gt;
 ... verse content ...&lt;br /&gt;
 &amp;amp;lt;/chapter&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;colophon&amp;quot;&amp;gt;... colophon text ...&amp;amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Exclusions==&lt;br /&gt;
Only content starting the first &amp;amp;lt;div&amp;gt; to the last &amp;amp;lt;/div&amp;gt; is retained. All other is excluded. From a practical perspective, this excludes the OSIS header information.&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
It is always preferable to use the most recent version of osis2mod and compiling it from SVN is best. &lt;br /&gt;
&lt;br /&gt;
'''Note:'''&lt;br /&gt;
# After the SWORD 1.5.9 release, osis2mod was changed to take flags rather than positional arguments.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
You are running osis2mod: $Rev: 3431 $&lt;br /&gt;
OSIS Bible/commentary module creation tool for The SWORD Project&lt;br /&gt;
&lt;br /&gt;
usage: ./osis2mod &amp;lt;output/path&amp;gt; &amp;lt;osisDoc&amp;gt; [OPTIONS]&lt;br /&gt;
  &amp;lt;output/path&amp;gt;		 an existing folder that the module will be written&lt;br /&gt;
  &amp;lt;osisDoc&amp;gt;		 path to the validated OSIS document, or '-' to&lt;br /&gt;
				 read from standard input&lt;br /&gt;
  -a			 augment module if exists (default is to create new)&lt;br /&gt;
  -z &amp;lt;l|z|b|x&amp;gt;		 compression type (default: none)&lt;br /&gt;
				 l - LZSS; z - ZIP; b - bzip2; x - xz&lt;br /&gt;
  -b &amp;lt;2|3|4&amp;gt;		 compression block size (default: 4)&lt;br /&gt;
				 2 - verse; 3 - chapter; 4 - book&lt;br /&gt;
  -l &amp;lt;1-9&amp;gt;		 compression level (default varies by compression type)&lt;br /&gt;
  -c &amp;lt;cipher_key&amp;gt;	 encipher module using supplied key&lt;br /&gt;
				 (default no enciphering)&lt;br /&gt;
  -e &amp;lt;1|2|s&amp;gt;		 convert Unicode encoding (default: 1)&lt;br /&gt;
				 1 - UTF-8 ; 2 - UTF-16 ; s - SCSU&lt;br /&gt;
  -N			 do not normalize to NFC&lt;br /&gt;
  -s &amp;lt;2|4&amp;gt;		 bytes used to store entry size (default is 2).&lt;br /&gt;
  -v &amp;lt;v11n&amp;gt;		 specify a versification scheme to use (default is KJV)&lt;br /&gt;
				 Note: The following are valid values for v11n:&lt;br /&gt;
				   Calvin      	Catholic    	Catholic2   &lt;br /&gt;
				   DarbyFr     	German      	KJV         &lt;br /&gt;
				   KJVA        	LXX         	Leningrad   &lt;br /&gt;
				   Luther      	MT          	NRSV        &lt;br /&gt;
				   NRSVA       	Orthodox    	Segond      &lt;br /&gt;
				   Synodal     	SynodalProt 	Vulg        &lt;br /&gt;
  -h 			 print verbose usage text&lt;br /&gt;
&lt;br /&gt;
See http://www.crosswire.org/wiki/osis2mod for more details.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Earlier builds (e.g. $Rev: 2893 $) also included the debug option help: See [[Osis2mod#Debug_Messages|Debug Messages]].&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  -d &amp;lt;flags&amp;gt;		 turn on debugging (default is 0)&lt;br /&gt;
				 Note: This flag may change in the future.&lt;br /&gt;
				 Flags: The following are valid values:&lt;br /&gt;
					0   - no debugging&lt;br /&gt;
					1   - writes to module, very verbose&lt;br /&gt;
					2   - verse start and end&lt;br /&gt;
					4   - quotes, esp. Words of Christ&lt;br /&gt;
					8   - titles&lt;br /&gt;
					16  - inter-verse material&lt;br /&gt;
					32  - BSP to BCV transformations&lt;br /&gt;
					64  - v11n exceptions&lt;br /&gt;
					128 - parsing of osisID and osisRef&lt;br /&gt;
					256 - internal stack&lt;br /&gt;
					512 - miscellaneous&lt;br /&gt;
				 This argument can be used more than once. (Or&lt;br /&gt;
				 the flags may be added together.)&lt;br /&gt;
&lt;br /&gt;
See http://www.crosswire.org/wiki/osis2mod for more details.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== Parameters and Options ===&lt;br /&gt;
'''&amp;amp;lt;output/path&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This a path to any existing directory. It is best for it to be empty.&lt;br /&gt;
&lt;br /&gt;
'''&amp;amp;lt;osisDoc&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This is a single, well-formed, valid OSIS document.&lt;br /&gt;
&lt;br /&gt;
If '''-''' is used instead of a file name, the document will be read from standard input. This allows for two constructs:&lt;br /&gt;
* Redirection&lt;br /&gt;
 osis2mod ./modules/texts/ztext/KJV - &amp;lt; kjv.xml&lt;br /&gt;
* Piping&lt;br /&gt;
 cat kjv.xml | osis2mod ./modules/texts/ztext/KJV -&lt;br /&gt;
&lt;br /&gt;
'''-a'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Osis2mod can create a Bible all at once or incrementally, depending on the presence of the -a flag. This&lt;br /&gt;
provides for two abilities,&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Assembling a Bible from book files:&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir /tmp/mymodule&lt;br /&gt;
osis2mod /tmp/mymodule  matt.xml&lt;br /&gt;
osis2mod /tmp/mymodule -a mark.xml&lt;br /&gt;
...&lt;br /&gt;
osis2mod /tmp/mymodule -a rev.xml&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
'''Note:''' The book files can be in any order. SWORD will order them correctly in the index.&lt;br /&gt;
&amp;lt;li&amp;gt;Adding corrections to a Bible:&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
osis2mod /tmp/mymodule -a fixes.xml&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
'''Note:''' When fixes are put into the module they are appended to the data file and do not actually replace the verses. The index file is adjusted to point to the new place in the data file.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''-z &amp;amp;lt;l|z|b|x&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
A SWORD Bible can be compressed with Zip (-z z), LZSS (-z l), BZip2 (-z b) '''or''' XZ (-lx). All of CrossWire's compressed Bible and commentary modules are compressed with Zip. This saves significant space over an uncompressed module. Uncompressed modules are useful for debugging.&lt;br /&gt;
&lt;br /&gt;
'''-b &amp;amp;lt;2|3|4&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This setting is only useful for a compressed module. The choice as to whether to use Verse (2), Chapter (3) or Book (4, the default) level compression depends upon the amount of data in the block. A typical Bible is best compressed book by book. A commentary, chapter by chapter. If the commentary is very robust and the amount of text per verse is really huge, then verse compression might make sense.&lt;br /&gt;
&lt;br /&gt;
All of SWORD's compressed Bible modules are compressed by book. Basically, all of the verses in a block are compressed and appended to the data file. For this reason, the datafile cannot be uncompressed by anything other than the SWORD and JSword libraries.&lt;br /&gt;
&lt;br /&gt;
When creating the module by appending it is important to do so by whole compression block. That is, if blockType is Chapter, then the osisDoc needs to contain one or more whole chapters.&lt;br /&gt;
&lt;br /&gt;
'''-l [1-9]'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This setting is useful for a compressed module and provides the level of compression to be used. The default varies depending on the compressor used. The default is typically used.&lt;br /&gt;
&lt;br /&gt;
'''-c cipherKey'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This is typically 16 characters in length, having no leading or trailing spaces, consisting of alternating sets of 4 alpha and 4 numeric characters, such as Aduf0274PjNq0328. The key is case-sensitive.&lt;br /&gt;
&lt;br /&gt;
'''-e &amp;amp;lt;1|2|s&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This flag gives whether the input is to be converted to UTF-8, UTF-16, or SCSU. By default the encoding is UTF-8. Using UTF-16 is reasonable for non-latin texts with little markup. SCSU will compress the Unicode, but it has not been sufficiently tested, requires [[DevTools:ICU|ICU]] support when compiling osis2mod and when running (not all frontends do).&lt;br /&gt;
&lt;br /&gt;
'''-N'''&amp;lt;br/&amp;gt;&lt;br /&gt;
All OSIS modules should be UTF-8 and all that are UTF-8 are also to be NFC. The default is to automatically detect the presense of Latin-1 (either cp1252 or iso8859-1) and convert it to UTF-8 and to normalize UTF-8 to NFC. This flag will turn off this behavior and is useful for creating Latin-1 modules or for modules for which the source text is already UTF-8 and NFC. It is also advised for Biblical Hebrew modules for which the source text (with accents and cantillation points) is intentionally not normalized, as &amp;quot;Unicode normalization can easily break Biblical Hebrew&amp;quot;. Quoted from page 9 of the SBL Hebrew Font Manual.&amp;lt;ref&amp;gt;See https://www.sbl-site.org/Fonts/SBLHebrewUserManual1.5x.pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: this was added late Feb 2008 and requires [[DevTools:ICU|ICU]] support when compiling.&lt;br /&gt;
&lt;br /&gt;
'''-s &amp;amp;lt;2|4&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
A value of 2, the default, restricts modules to 64K bytes per entry. A value of 4, breaks this barrier. This is needed for Bibles, having large introductory materials, and for commentaries with large entries.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' 4 was added late Apr 2009 for raw, uncompressed modules and will be part of the SWORD 1.6.0 release (formerly known as 1.5.11). A later release extended support to compressed modules.&lt;br /&gt;
&lt;br /&gt;
'''-v v11n'''&amp;lt;br/&amp;gt;&lt;br /&gt;
By default, osis2mod uses the KJV versification. The practical implication of this is that only books in the KJV canon are allowed and any text in an allowed book are retained. However, if the verse reference of a supported book falls outside of the versification it is appended to the prior verse in the canon. This flag allows for an [[Alternate Versification|alternate versification]].&lt;br /&gt;
&lt;br /&gt;
'''Note:''' This option was added in April 2009 as part of the SWORD 1.6.0 release.&lt;br /&gt;
&lt;br /&gt;
'''-d flags'''&amp;lt;br/&amp;gt;&lt;br /&gt;
The flag can be used more than once or the flags can be added together. For example,&lt;br /&gt;
 -d 2 -d 4&lt;br /&gt;
is the same as&lt;br /&gt;
 -d 6&lt;br /&gt;
&lt;br /&gt;
To do verbose debugging use:&lt;br /&gt;
 -d -1&lt;br /&gt;
&lt;br /&gt;
For the most part these flags are not intended for debugging modules, but rather for debugging problems in osis2mod.&lt;br /&gt;
&lt;br /&gt;
The -d 2 flag produces no output but puts milestones into the module where verses start and end. The form of the milestone is:&lt;br /&gt;
 &amp;amp;lt;milestone resp=&amp;quot;v&amp;quot; [attributes from verse] /&amp;gt;&lt;br /&gt;
The milestone will contain the osisID from the verse and also a valid sID or eID. The sID/eID indicates the start of end of the verse.&lt;br /&gt;
&lt;br /&gt;
Note: the -d 2 flag might change at any time, or may even be removed.&lt;br /&gt;
&lt;br /&gt;
==Messages==&lt;br /&gt;
Osis2mod has robust, mind-boggling messages. These are provided here in hopes that it will help problem diagnosis.&lt;br /&gt;
&lt;br /&gt;
==Diagnostic Messages==&lt;br /&gt;
In the following, example values are given in '''{...}'''. The brackets do not actually appear in the message. Also, the messages are a bit prettier here than in reality.&lt;br /&gt;
&lt;br /&gt;
In the following&lt;br /&gt;
* ['''{ line }''','''{ col }'''] gives the location of the last line and column read in the file. Since processing is handled after the reading, the location is approximate. If the processing is before the file is read, such as during the reading of command line arguments, it won't show up.&lt;br /&gt;
* ('''{ osisID }''') gives the osisID being processed or N/A. It also is optionally output early in the execution of the program.&lt;br /&gt;
&lt;br /&gt;
 WARNING(UTF8)['''{ line }''','''{ col }''']('''{ osisID }'''):     Should be converted to UTF-8 ('''{text }''')&lt;br /&gt;
The program will always check for text that is not UTF-8.&lt;br /&gt;
&lt;br /&gt;
 INFO(UTF8)['''{ line }''','''{ col }''']('''{ osisID }'''):        Converting to UTF-8 ('''{ text before conversion }''')&lt;br /&gt;
Text that is converted to UTF-8 is noted.&lt;br /&gt;
&lt;br /&gt;
 ERROR(UTF8)['''{ line }''','''{ col }''']('''{ osisID }'''):       Converting to UTF-8 ('''{ text after first conversion }''')&lt;br /&gt;
It is an error if after a conversion it still is not UTF-8.&lt;br /&gt;
&lt;br /&gt;
 WARNING(UTF8)['''{ line }''','''{ col }''']('''{ osisID }'''):     osis2mod is not compiled with support for ICU. Ignoring -n flag.&lt;br /&gt;
Normalization was requested, but since osis2mod was not compiled for it, it cannot honor the default request.&lt;br /&gt;
&lt;br /&gt;
 INFO(V11N)['''{ line }''','''{ col }''']('''{ osisID }'''):        is not in the '''{ v11n }''' versification.&lt;br /&gt;
Indicates that a verse is not in the versification.&lt;br /&gt;
&lt;br /&gt;
 INFO(V11N)['''{ line }''','''{ col }''']('''{ osisID }'''):        is not in the '''{ v11n }''' versification. Appending content to '''{ osisID }'''&lt;br /&gt;
This like the other indicates a versification problem, but shows where the text will be found. Osis2mod preserves all module content for supported books.&lt;br /&gt;
&lt;br /&gt;
 WARNING(V11N)['''{ line }''','''{ col }''']('''{ osisID }'''):     New book is '''{ name }'''  and is not in '''{ v11n }''' versification, ignoring&lt;br /&gt;
The name of the book was not recognized as belonging to the chosen versification, it and all of it's content is ignored.&lt;br /&gt;
&lt;br /&gt;
 INFO(WRITE)['''{ line }''','''{ col }''']('''{ osisID }'''):       Appending entry: '''{ osisID }''': '''{ text so far }'''&lt;br /&gt;
If osis2mod encounters text that needs to be appended to a verse that is already in the module. This could indicate that&lt;br /&gt;
* the reference is in the input twice. This typically indicates a problem.&lt;br /&gt;
* more text was found that needs to be added to the prior verse.&lt;br /&gt;
* osis2mod is being run in append mode to fix a verse in the module.&lt;br /&gt;
&lt;br /&gt;
 INFO(LINK)['''{ line }''','''{ col }''']('''{ osisID }'''):        Linking '''{ osisID }''' to '''{ osisID }'''&lt;br /&gt;
An osisID such as &amp;quot;Gen.1.1 Gen.1.2 Gen.1.3&amp;quot; was used and the latter are linked to the first.&lt;br /&gt;
&lt;br /&gt;
 ERROR(REF)['''{ line }''','''{ col }''']('''{ osisID }'''):        Invalid osisID/annotateRef: '''{ invalid attribute value }'''&lt;br /&gt;
This indicates that the SWORD library was unable to parse the osisID or annotateRef.&lt;br /&gt;
&lt;br /&gt;
 FATAL(NESTING)['''{ line }''','''{ col }''']('''{ osisID }'''):    tag expected&lt;br /&gt;
This indicates that the specified verse is not balanced with regard to its tags. Building a raw text module, looking in the module for the verse and pairing begin/end tags will help find the problem. Typically, this indicates an end tag that did not have a matching begin tag and all tags before it were properly paired.&lt;br /&gt;
&lt;br /&gt;
 FATAL(NESTING)['''{ line }''','''{ col }''']('''{ osisID }'''):    Expected '''{ topToken.getName() }''' found '''{ tokenName }'''&lt;br /&gt;
This also indicates that the specified verse is not balanced with regard to its tags. Building a raw text module, looking in the module for the verse and pairing begin/end tags will help find the problem. It could be either a begin or an end tag problem.&lt;br /&gt;
&lt;br /&gt;
 WARNING(NESTING)['''{ line }''','''{ col }''']('''{ osisID }'''):  verse '''{ currentOsisID }''' is not well formed:('''{ verseDepth }''','''{ tagDepth }''')&lt;br /&gt;
This indicates that the verse probably will not show properly in some front-ends in some circumstances. Typically, it shows the problem if the verse is shown in isolation.&lt;br /&gt;
&lt;br /&gt;
 ERROR(NESTING)['''{ line }''','''{ col }''']('''{ osisID }'''):    improper nesting '''{ currentOsisID }''': matching (sID,eID) not found. Looking at ('''{ sID }''','''{ eID }''')&lt;br /&gt;
OSIS specifies that every sID has a matching eID. Osis2mod is checking that BSP elements are properly nested.&lt;br /&gt;
&lt;br /&gt;
 FATAL(COMMENTS)['''{ line }''','''{ col }''']('''{ osisID }'''):   unknown commentstate on comment start: { comment state }&lt;br /&gt;
This indicates that the comment is not of the form &amp;amp;lt;!-- ... --&amp;amp;gt;.&lt;br /&gt;
&lt;br /&gt;
 FATAL(COMMENTS)['''{ line }''','''{ col }''']('''{ osisID }'''):   unknown commentstate on comment end:  { comment state }&lt;br /&gt;
This indicates that the comment is not of the form &amp;amp;lt;!-- ... --&amp;amp;gt;.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    malformed entity, replacing &amp;amp;amp;'''{ malformed entity }''' with &amp;amp;amp;amp;'''{ malformed entity }'''&lt;br /&gt;
This means it found a &amp;amp;amp; that starts an entity but it wasn't terminated by a ; and changed it to something that probably isn't appropriate.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    HEX entity must begin with &amp;amp;amp;x, found '''{ entity }'''&lt;br /&gt;
This indicates &amp;amp;X, which is not valid for xml. It is not changed.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    SWORD does not search HEX entities, found '''{ entity }'''&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    SWORD does not search numeric entities, found '''{ entity }'''&lt;br /&gt;
Since we don't transform HEX or numeric entities to their equivalent UTF-8 value, this will be literal text that cannot be searched.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    XML only supports 5 Character entities &amp;amp;amp;amp;, &amp;amp;amp;lt;, &amp;amp;amp;gt;, &amp;amp;amp;quot; and &amp;amp;amp;apos;, found '''{ entity }'''&lt;br /&gt;
XML does not allow character entities. These are passed unchanged to SWORD module. This frustrates search and may only display properly in a front-end using HTML rendering.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    &amp;amp;amp;quot; is unnecessary outside of attribute values. Replace with &amp;quot;.&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    &amp;amp;amp;quot; is unnecessary inside single quoted attribute values. Replace with &amp;quot;.&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    &amp;amp;amp;quot; is only needed within double quoted attribute values. Considering using single quoted attribute and replacing with &amp;quot;.&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    &amp;amp;amp;apos; is only needed within single quoted attribute values. Considering using double quoted attribute and replacing with '.&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    &amp;amp;amp;apos; is unnecessary inside double quoted attribute values. Replacing with '.&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    &amp;amp;amp;apos; is unnecessary outside of attribute values. Replacing with '.&lt;br /&gt;
The &amp;amp;amp;apos; or &amp;amp;amp;quot; was found outside of an attribute value and is being substituted with a straight single apostrophe, ', or double quote, &amp;quot;, respectively.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    While valid for XML, &amp;amp;amp;quot; is only needed within double quoted attribute values.&lt;br /&gt;
This warning indicates that the entity is present where it does not need to be.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    While valid for XML, XHTML does not support &amp;amp;amp;apos;.&lt;br /&gt;
This warning indicates that the &amp;amp;amp;apos; may not display properly in all front-ends. It was found in an attribute value.&lt;br /&gt;
&lt;br /&gt;
===Debug Messages===&lt;br /&gt;
The following are shown in the same form as the diagnostic messages above. They are given without comment.&lt;br /&gt;
&lt;br /&gt;
'''-d 1'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Output of what is being written to the module. The two osisIDs should always be the same.&lt;br /&gt;
 DEBUG(WRITE)['''{ line }''','''{ col }''']('''{ osisID }'''):      '''{ text so far }'''&lt;br /&gt;
&lt;br /&gt;
'''-d 4'''&amp;lt;br/&amp;gt;&lt;br /&gt;
A stack is maintained to represent the Words of Christ on a per verse basis. This is internal diagnostic of that stack&lt;br /&gt;
 DEBUG(QUOTE)['''{ line }''','''{ col }''']('''{ osisID }'''):      quote top('''{ quote stack size }''') '''{ token }'''&lt;br /&gt;
 DEBUG(QUOTE)['''{ line }''','''{ col }''']('''{ osisID }'''):      quote pop('''{ quote stack size }''') '''{ topToken }''' -- '''{ token }'''&lt;br /&gt;
 DEBUG(QUOTE)['''{ line }''','''{ col }''']('''{ osisID }'''):      ('''{ quote stack size }''') '''{ topToken }''' -- '''{ token }'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''-d 8'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Identifies when book and chapter introductions are being determined.&lt;br /&gt;
 DEBUG(TITLE)['''{ line }''','''{ col }''']('''{ osisID }'''):     OOPS INTRO&lt;br /&gt;
         inChapterIntro = '''{ inChapterIntro }'''&lt;br /&gt;
         inBookIntro    = '''{ inBookIntro }'''&lt;br /&gt;
 DEBUG(TITLE)['''{ line }''','''{ col }''']('''{ osisID }'''):      Looking for book introduction&lt;br /&gt;
 DEBUG(TITLE)['''{ line }''','''{ col }''']('''{ osisID }'''):      Done looking for book introduction&lt;br /&gt;
 DEBUG(TITLE)['''{ line }''','''{ col }''']('''{ osisID }'''):      BOOK INTRO '''{ beading }'''&lt;br /&gt;
 DEBUG(TITLE)['''{ line }''','''{ col }''']('''{ osisID }'''):      Looking for chapter introduction&lt;br /&gt;
 DEBUG(TITLE)['''{ line }''','''{ col }''']('''{ osisID }'''):      Done looking for chapter introduction&lt;br /&gt;
 DEBUG(TITLE)['''{ line }''','''{ col }''']('''{ osisID }'''):      CHAPTER INTRO '''{ heading }'''&lt;br /&gt;
&lt;br /&gt;
'''-d 16'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Inter-verse material either goes with the prior &amp;quot;verse&amp;quot; or the next. This help diagnose problems related to that split.&lt;br /&gt;
 DEBUG(INTERVERSE)['''{ line }''','''{ col }''']('''{ osisID }'''): Interverse start token '''{ token }''':'''{ text }'''&lt;br /&gt;
 DEBUG(INTERVERSE)['''{ line }''','''{ col }''']('''{ osisID }'''): Interverse end tag: '''{ tokenName }'''('''{ tagDepth }''','''{ chapterDepth }''','''{ bookDepth }''')&lt;br /&gt;
 DEBUG(INTERVERSE)['''{ line }''','''{ col }''']('''{ osisID }'''): Appending interverse end tag: '''{tokenName }'''('''{ tagDepth }''','''{ chapterDepth }''','''{ bookDepth }''')&lt;br /&gt;
&lt;br /&gt;
'''-d 32'''&amp;lt;br/&amp;gt;&lt;br /&gt;
The following messages relate to the transformations of containers to milestones.&lt;br /&gt;
 DEBUG(XFORM)['''{ line }''','''{ col }''']('''{ osisID }'''):      Transform start tag from '''{ orig }''' to '''{ transformed }'''&lt;br /&gt;
 DEBUG(XFORM)['''{ line }''','''{ col }''']('''{ osisID }'''):      Transform end tag from '''{ orig }''' to '''{ transformed }'''&lt;br /&gt;
&lt;br /&gt;
'''-d 64'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Occasionally a verse reference is outside of the chosen versification. These messages help to understand difficulties that osis2mod has in storing extra-canonical material in the module.&lt;br /&gt;
 DEBUG(V11N)['''{ line }''','''{ col }''']('''{ osisID }'''):       {'''{ caller }'''} normalizes to '''{ after }'''&lt;br /&gt;
 DEBUG(V11N)['''{ line }''','''{ col }''']('''{ osisID }'''):       Chapter max:'''{ chapterMax }''', Verse Max:'''{ verseMax }'''&lt;br /&gt;
&lt;br /&gt;
'''-d 128'''&amp;lt;br/&amp;gt;&lt;br /&gt;
OSIS ids and references can be of a form that SWORD cannot parse. Osis2mod contains a routine that munges these into a form that SWORD can understand.&lt;br /&gt;
 DEBUG(REF)['''{ line }''','''{ col }''']('''{ osisID }'''):        VerseKey can parse this as is.&lt;br /&gt;
 DEBUG(REF)['''{ line }''','''{ col }''']('''{ osisID }'''):        Found a range marker. Progress: '''{ progress }''' Remaining: '''{ remaining }'''&lt;br /&gt;
 DEBUG(REF)['''{ line }''','''{ col }''']('''{ osisID }'''):        Found a work prefix '''{ workPrefix }''' Progress: '''{ progress }''' Remaining: '''{ remaining }'''&lt;br /&gt;
 DEBUG(REF)['''{ line }''','''{ col }''']('''{ osisID }'''):        Found an osisID:'''{ osisID }''' Progress: '''{ progress }''' Remaining: '''{ remaining }'''&lt;br /&gt;
 DEBUG(REF)['''{ line }''','''{ col }''']('''{ osisID }'''):        Found a grain suffix '''{ grain }''' Progress: '''{ progress }''' Remaining: '''{ remaining }'''&lt;br /&gt;
 DEBUG(REF)['''{ line }''','''{ col }''']('''{ osisID }'''):        Replacing space with ; Progress: '''{ progress }''' Remaining: '''{ remaining }'''&lt;br /&gt;
 DEBUG(REF)['''{ line }''','''{ col }''']('''{ osisID }'''):        Parseable VerseKey -- '''{ osisRef }'''&lt;br /&gt;
&lt;br /&gt;
'''-d 256'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Osis2mod contains two stacks to validate proper nesting of BSP and BCV, respectively. This is an internal representation of the BCV stacks. It provides additional information to understand the diagnostic nesting messages.&lt;br /&gt;
 DEBUG(STACK)['''{ line }''','''{ col }''']('''{ osisID }'''):     push ('''{ stack size}''') '''{ tokenName }'''&lt;br /&gt;
 DEBUG(STACK)['''{ line }''','''{ col }''']('''{ osisID }'''):     pop('''{ tagDepth }''') '''{ topToken.getName() }'''&lt;br /&gt;
&lt;br /&gt;
'''-d 512'''&amp;lt;br/&amp;gt;&lt;br /&gt;
These are general debug messages.&lt;br /&gt;
 DEBUG(FOUND)['''{ line }''','''{ col }''']('''{ osisID }'''):        Found first div and pitching prior material: '''{ text }'''&lt;br /&gt;
 DEBUG(FOUND)['''{ line }''','''{ col }''']('''{ osisID }'''):        Found new book.&lt;br /&gt;
 DEBUG(FOUND)['''{ line }''','''{ col }''']('''{ osisID }'''):        Current chapter is '''{ currentOsisID }'''&lt;br /&gt;
 DEBUG(FOUND)['''{ line }''','''{ col }''']('''{ osisID }'''):        Entering verse&lt;br /&gt;
 DEBUG(FOUND)['''{ line }''','''{ col }''']('''{ osisID }'''):        New current verse&lt;br /&gt;
 DEBUG(FOUND)['''{ line }''','''{ col }''']('''{ osisID }'''):        End of header found.&lt;br /&gt;
 DEBUG(COMMENTS)['''{ line }''','''{ col }''']('''{ osisID }'''): in comment&lt;br /&gt;
 DEBUG(COMMENTS)['''{ line }''','''{ col }''']('''{ osisID }'''): out of comment&lt;br /&gt;
 DEBUG(ARGS):&lt;br /&gt;
         path:         '''{ path }'''&lt;br /&gt;
         osisDoc:      '''{ osisDoc }'''&lt;br /&gt;
         create:       '''{ append }'''&lt;br /&gt;
         compressType: '''{ compType }'''&lt;br /&gt;
         blockType:    '''{ iType }'''&lt;br /&gt;
         cipherKey:    '''{ cipherKey }'''&lt;br /&gt;
         normalize:    '''{ normalize }'''&lt;br /&gt;
&lt;br /&gt;
===Exit Status===&lt;br /&gt;
When an error occurs that causes osis2mod to exit without processing the entire input file, a non-zero exit status is supplied to the caller. Here are the codes that osis2mod uses:&lt;br /&gt;
 const int EXIT_BAD_ARG     =   1; // Bad parameter given for program&lt;br /&gt;
 const int EXIT_NO_WRITE    =   2; // Could not open the module for writing&lt;br /&gt;
 const int EXIT_NO_CREATE   =   3; // Could not create the module&lt;br /&gt;
 const int EXIT_NO_READ     =   4; // Could not open the input file for reading.&lt;br /&gt;
 const int EXIT_BAD_NESTING =   5; // BSP or BCV nesting is bad or improper XML comment&lt;br /&gt;
&lt;br /&gt;
== Future Roadmap ==&lt;br /&gt;
:''List here suggestions for useful enhancements to or improvements for osis2mod''.&lt;br /&gt;
&lt;br /&gt;
* Add a command line flag '''-x''' to ''exclude'' all OSIS elements with the global attribute '''editions'''.&amp;lt;ref&amp;gt;The '''editions''' attribute is used to specify edition specific content, such as material omitted in Protestant versions of the Bible.&amp;lt;/ref&amp;gt;&amp;lt;BR&amp;gt;osis2mod would exclude those elements that match the specified attribute value.&lt;br /&gt;
&lt;br /&gt;
'''Note:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Reporting issues ==&lt;br /&gt;
* [http://www.crosswire.org/tracker/browse/MODTOOLS/component/10290/ Module Tools &amp;amp;ndash; osis2mod]&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[OSIS]] &amp;amp;ndash; a partial list of other OSIS related pages and external links.&lt;br /&gt;
* [[Mod2zmod]]&lt;br /&gt;
&lt;br /&gt;
[[Category:OSIS]]&lt;br /&gt;
[[Category:Utilities]]&lt;br /&gt;
[[Category:Versification]]&lt;/div&gt;</summary>
		<author><name>Dmsmith</name></author>	</entry>

	<entry>
		<id>https://wiki.crosswire.org/index.php?title=Osis2mod&amp;diff=17755</id>
		<title>Osis2mod</title>
		<link rel="alternate" type="text/html" href="https://wiki.crosswire.org/index.php?title=Osis2mod&amp;diff=17755"/>
				<updated>2025-07-07T17:06:41Z</updated>
		
		<summary type="html">&lt;p&gt;Dmsmith: Moving Exit Status after messages&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
osis2mod transforms an OSIS encoded [[OSIS Bibles|Bible]] or [[OSIS_Commentaries|commentary]] into a SWORD module.&lt;br /&gt;
&lt;br /&gt;
==Where to get it==&lt;br /&gt;
* See [[DevTools:Modules#Collect_and_Install_Software_Tools|Collect and Install Software Tools]]&lt;br /&gt;
&lt;br /&gt;
== Current status ==&lt;br /&gt;
&lt;br /&gt;
Software bugs relating to osis2mod should be reported in https://tracker.crosswire.org/browse/MODTOOLS&lt;br /&gt;
&lt;br /&gt;
:''Please describe current status of osis2mod, including a list of any outstanding issues or unsolved difficulties''.&lt;br /&gt;
&lt;br /&gt;
==History of Changes==&lt;br /&gt;
The following outlines in reverse chronological order the major changes to osis2mod. When several changes were made over the span of a few days, they are lumped into the most recent date. Bug fixes are not mentioned.&lt;br /&gt;
&lt;br /&gt;
{|width=&amp;quot;100%&amp;quot; border=&amp;quot;0&amp;quot; class=&amp;quot;sortable&amp;quot;&lt;br /&gt;
!width=&amp;quot;10%&amp;quot;|Date&lt;br /&gt;
!Revision&lt;br /&gt;
!Feature&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2025-06-25'''&lt;br /&gt;
|&lt;br /&gt;
r3906&lt;br /&gt;
|&lt;br /&gt;
* MODTOOLS-76: Enhance -v argument handling in osis2mod with case-insensitive and prefix matching, and improved error reporting.&lt;br /&gt;
&lt;br /&gt;
 - Outputs the name of the versification system being used at program start&lt;br /&gt;
 - Adds layered resolution of versifications:&lt;br /&gt;
    1) Case-sensitive exact match&lt;br /&gt;
    2) Case-insensitive exact match&lt;br /&gt;
    3) Case-insensitive prefix match&lt;br /&gt;
 - Shows detailed error messages when input is invalid or ambiguous:&lt;br /&gt;
    * Lists all matches in case of ambiguity&lt;br /&gt;
    * Lists input and valid options if no match is found&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2025-06-19'''&lt;br /&gt;
|&lt;br /&gt;
r3903&lt;br /&gt;
|&lt;br /&gt;
* MODTOOLS-108  fix. Properly append verses beyond the last chapter of a book at the end of the book in the last verse of the chapter, which caused an infinite loop.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2020-07-26'''&lt;br /&gt;
|&lt;br /&gt;
r3769&lt;br /&gt;
|&lt;br /&gt;
* Fixed linking bug with ranges in osis2mod&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2020-05-08'''&lt;br /&gt;
|&lt;br /&gt;
r3737&lt;br /&gt;
|&lt;br /&gt;
* Added support putting reponumber into nano position of SWORD version string and output current SWORD version&lt;br /&gt;
* standardize on (SWORD: {SWVersion::currentVersion.getText()}) for all reported SWORD versions in utilities&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2016-08-16'''&lt;br /&gt;
|&lt;br /&gt;
r3431&lt;br /&gt;
|&lt;br /&gt;
* commented out  a set of lines handling &amp;quot;div type=&amp;quot;majorSection&amp;quot; &amp;quot; - see comments in code. &lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2016-02-06'''&lt;br /&gt;
|&lt;br /&gt;
r3401&lt;br /&gt;
|&lt;br /&gt;
* Added entity handling.&lt;br /&gt;
* div type='colophon' now not changed to milestones.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2015-02-16'''&lt;br /&gt;
|&lt;br /&gt;
r3322&lt;br /&gt;
| &lt;br /&gt;
* Correct casing of COUT&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2015-02-16'''&lt;br /&gt;
|&lt;br /&gt;
r3321&lt;br /&gt;
|&lt;br /&gt;
* cleaned up whitespace in osis2mod&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2014-12-17'''&lt;br /&gt;
|&lt;br /&gt;
r3310&lt;br /&gt;
|&lt;br /&gt;
* MODTOOLS-55 endless loop fix.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2014-12-15'''&lt;br /&gt;
|&lt;br /&gt;
r3307&lt;br /&gt;
|&lt;br /&gt;
* Greg Helling's patch to osis2mod for majorSections&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2014-03-17'''&lt;br /&gt;
|&lt;br /&gt;
r3139&lt;br /&gt;
|&lt;br /&gt;
* Added support for large entries (&amp;amp;gt; 64K) in compressed modules (aka zText4).&lt;br /&gt;
* Added support for UTF-16 and SCSU using the -e flag. SCSU is experimental.&lt;br /&gt;
* Added support for BZip2 and XZ compression, changing -z and -Z to -z &amp;amp;lt;l|z|b|x&amp;amp;gt;&lt;br /&gt;
* Added support for compression levels of 1 to 9 using the -l [1-9] flag.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2014-01-21'''&lt;br /&gt;
|&lt;br /&gt;
r3011&lt;br /&gt;
|&lt;br /&gt;
* Changed the transformation of &amp;amp;lt;p&amp;amp;gt; from &amp;amp;lt;div type=&amp;quot;paragraph&amp;quot; sID=&amp;quot;xxx&amp;quot;/&amp;amp;gt; to &amp;amp;lt;div type=&amp;quot;x-p&amp;quot; sID=&amp;quot;xxx&amp;quot;/&amp;amp;gt; This is a semantic change that brings osis2mod into alignment with the OSIS specification.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2012-03-24'''&lt;br /&gt;
|&lt;br /&gt;
r2693&lt;br /&gt;
|&lt;br /&gt;
* Allow for XML comments to be in the document, but stripped from the module. This allows for large parts of a document to be commented out, which is especially important during development.&lt;br /&gt;
* Allow for &amp;amp;lt;p&amp;amp;gt; elements to be in the &amp;amp;lt;header&amp;amp;gt; element but ignored. Previously, the p in a header, having been transformed to a div, was taken to be the start of the module's content.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2011-11-12'''&lt;br /&gt;
|&lt;br /&gt;
r2671&lt;br /&gt;
|&lt;br /&gt;
* Restored pre-verse handling. Titles no longer need to be specially specified in OSIS.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2010-06-04'''&lt;br /&gt;
|&lt;br /&gt;
r2519&lt;br /&gt;
|&lt;br /&gt;
* Removed pre-verse handling. Titles now have to be specially specified in OSIS. In OSIS there should also be no tags between verse elements except title and those marking book and chapter.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-06-06'''&lt;br /&gt;
|&lt;br /&gt;
r2435&lt;br /&gt;
|&lt;br /&gt;
* Improved handling of chapter introductions.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-05-30'''&lt;br /&gt;
|&lt;br /&gt;
r2421&lt;br /&gt;
|&lt;br /&gt;
* '''-d flags''' now always available.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-05-14'''&lt;br /&gt;
|&lt;br /&gt;
r2413&lt;br /&gt;
|&lt;br /&gt;
*Added '''-d flags''' as a compile time option.&lt;br /&gt;
*Improved exit codes and documented them here.&lt;br /&gt;
*Labeled all diagnostic and debug output.&lt;br /&gt;
*Can now read from standard input.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-04-28'''&lt;br /&gt;
|&lt;br /&gt;
r2358&lt;br /&gt;
|&lt;br /&gt;
*Predictable handling of inter-verse material.&lt;br /&gt;
*All tags, except verse, included in the module.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-04-26'''&lt;br /&gt;
|&lt;br /&gt;
r2345&lt;br /&gt;
|&lt;br /&gt;
*'''-v v11n''' added to support [[Alternate Versification]].&lt;br /&gt;
*'''-s &amp;lt;2|4&amp;gt;''' added to support uncompressed commentaries with large entries (exceeding 64K bytes).&lt;br /&gt;
*Replace paragraph hack with milestoned paragraphs: &amp;amp;lt;div type=&amp;quot;paragraph&amp;quot; sID=&amp;quot;xxx&amp;quot;/&amp;gt; ... &amp;amp;lt;div type=&amp;quot;paragraph&amp;quot; eID=&amp;quot;xxx&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2008-09-11'''&lt;br /&gt;
|&lt;br /&gt;
r2196&lt;br /&gt;
|&lt;br /&gt;
*Words of Christ (WoC) can be marked up naturally. osis2mod does the right thing.&lt;br /&gt;
*Container elements converted to their milestoned form.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2008-02-29'''&lt;br /&gt;
|&lt;br /&gt;
r2141&lt;br /&gt;
|&lt;br /&gt;
*Now supports commentaries in addition to Bibles.&lt;br /&gt;
*Added utf-8 detection and automatic conversion from cp1252 and iso8859-1 to utf-8, making that the default behavior&lt;br /&gt;
*Added NFC [[Encoding#Normalization|normalization]], making it the default&lt;br /&gt;
*Now handles the full definition of an osisID and an osisRef, including workID and grain.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2007-09-27'''&lt;br /&gt;
|&lt;br /&gt;
r2090&lt;br /&gt;
|&lt;br /&gt;
*Changed command-line parsing from positional parameters to flags.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2007-05-13'''&lt;br /&gt;
|&lt;br /&gt;
r2050&lt;br /&gt;
|&lt;br /&gt;
*All whitespace tokens are converted into blanks and adjacent spaces are merged into one. Leading whitespace on each verse is still removed.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2007-05-01'''&lt;br /&gt;
|&lt;br /&gt;
r2044&lt;br /&gt;
|&lt;br /&gt;
*Added version identification to the running of osis2mod.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2007-04-24'''&lt;br /&gt;
|&lt;br /&gt;
r2038&lt;br /&gt;
|&lt;br /&gt;
*Added ignoring of unknown books&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2006-07-15'''&lt;br /&gt;
|&lt;br /&gt;
r1948&lt;br /&gt;
|&lt;br /&gt;
*Optimized writing to module.&lt;br /&gt;
*Added simple transformations of &amp;amp;lt;q&amp;gt; and &amp;amp;lt;p&amp;gt; into milestones.&lt;br /&gt;
*Now allow empty attributes, such as marker=&amp;quot;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2006-07-04'''&lt;br /&gt;
|&lt;br /&gt;
r1914&lt;br /&gt;
|&lt;br /&gt;
*Updated to support OSIS 2.1&lt;br /&gt;
*Added validation that verses in isolation are well formed&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2005-12-22'''&lt;br /&gt;
|&lt;br /&gt;
r1876&lt;br /&gt;
|&lt;br /&gt;
*Added command-line options for compress and encipher.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2005-05-02'''&lt;br /&gt;
|&lt;br /&gt;
r1790&lt;br /&gt;
|&lt;br /&gt;
*Removed &amp;amp;lt;verse&amp;gt; and &amp;amp;lt;/verse&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2005-02-03'''&lt;br /&gt;
|&lt;br /&gt;
r1707&lt;br /&gt;
|&lt;br /&gt;
*Reverted pre-verse title handling&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2004-06-12'''&lt;br /&gt;
|&lt;br /&gt;
r1620&lt;br /&gt;
|&lt;br /&gt;
*Removed pre-verse title handling&lt;br /&gt;
*Added &amp;amp;lt;verse&amp;gt; and &amp;amp;lt;/verse&amp;gt;&lt;br /&gt;
*Added support for milestoned version of some OSIS elements&lt;br /&gt;
*Added support for verses that are not in the KJV versification by appending them to the closest prior verse.&lt;br /&gt;
*Added support for osisIDs with sub-verse references (i.e. osisID grains)&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2004-05-19'''&lt;br /&gt;
|&lt;br /&gt;
r1597&lt;br /&gt;
|&lt;br /&gt;
*Added support for linked verses&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2003-11-21'''&lt;br /&gt;
|&lt;br /&gt;
r1407&lt;br /&gt;
|&lt;br /&gt;
*Added recognition for &amp;lt;chapter&amp;gt; element&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2003-05-26'''&lt;br /&gt;
|&lt;br /&gt;
r1183&lt;br /&gt;
|&lt;br /&gt;
*Initial version&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Transformations==&lt;br /&gt;
:''This section may need further updating''.&lt;br /&gt;
&lt;br /&gt;
Osis2mod performs the following transformations&amp;lt;ref&amp;gt;These transformations are all performed &amp;quot;under the hood&amp;quot; as it were. Tweaking OSIS XML files to fix problems with pre-verse titles, etc., was never intended to be done by module developers as part of the preprocessing before using osis2mod.&amp;lt;/ref&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
* '''Whitespace''' -- Allows for human-readable OSIS files.&lt;br /&gt;
**Leading whitespace on books, chapters and verses is removed&lt;br /&gt;
**Whitespace is normalized into blanks&lt;br /&gt;
**Multiple adjacent whitespace is reduced to a single space&lt;br /&gt;
&lt;br /&gt;
* '''Unicode handling''' - All modules should be UTF-8, NFC.&amp;lt;ref&amp;gt;With the possible exception of Biblical Hebrew and some Indic scripts that should not be normalized.&amp;lt;/ref&amp;gt;&lt;br /&gt;
**Latin-1 (cp1252 and iso8859-1) are converted into UTF-8&lt;br /&gt;
**UTF-8 is normalized into NFC, unless specified otherwise (i.e. by using the -N option).&lt;br /&gt;
&lt;br /&gt;
* '''Verse ranges''' - also known as linked verses.&lt;br /&gt;
** Verses within a specified OSIS verse range are each linked to the first verse of the range.&lt;br /&gt;
&lt;br /&gt;
* '''Milestone conversion''' - necessary for frontends to show a verse at a time.&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;q ...&amp;gt;...&amp;amp;lt;/q&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;q sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;q eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;ref&amp;gt;'''gen#''' is unique for an sID/eID pair, where '''#''' is a number.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;Quotes with who=&amp;quot;Jesus&amp;quot; are not transformed at this stage.&amp;lt;/ref&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;p ...&amp;gt;...&amp;amp;lt;/p&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;div sID=&amp;quot;gen#&amp;quot; type=&amp;quot;x-p&amp;quot; .../&amp;gt;... &amp;amp;lt;div eID=&amp;quot;gen#&amp;quot; type=&amp;quot;x-p&amp;quot; ...&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;chapter ...&amp;gt;...&amp;amp;lt;/chapter&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;chapter sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;chapter eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;closer ...&amp;gt;...&amp;amp;lt;/closer&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;closer sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;closer eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;div ...&amp;gt;...&amp;amp;lt;/div&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;div sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;div eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;ref&amp;gt;As of r3401, &amp;amp;lt;div type=&amp;quot;colophon&amp;quot;...&amp;gt; is unchanged.&amp;lt;/ref&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;l ...&amp;gt;...&amp;amp;lt;/l&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;l sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;l eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;lg ...&amp;gt;...&amp;amp;lt;/lg&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;lg sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;lg eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;salute ...&amp;gt;...&amp;amp;lt;/salute&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;salute sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;salute eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;signed ...&amp;gt;...&amp;amp;lt;/signed&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;signed sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;signed eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;speech ...&amp;gt;...&amp;amp;lt;/speech&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;speech sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;speech eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;verse ...&amp;gt;...&amp;amp;lt;/verse&amp;gt;&amp;lt;/tt&amp;gt; becomes (when using -d 2 for debugging.)&amp;lt;BR&amp;gt;&amp;lt;tt&amp;gt;&amp;amp;lt;milestone resp=&amp;quot;v&amp;quot; sID=&amp;quot;gen#&amp;quot; ... /&amp;gt;...&amp;amp;lt;milestone resp=&amp;quot;v&amp;quot; eID=&amp;quot;gen#&amp;quot; ... /&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* '''Words of Christ''' - necessary for front-ends to appropriately highlight the WOC, a verse at a time.&amp;lt;ref&amp;gt;The examples given have the null string as the quotation marks in the '''marker''' attribute (as in the KJV module), but proper quotation marks are also supported.&amp;lt;/ref&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;q sID=&amp;quot;gen#&amp;quot; who=&amp;quot;Jesus&amp;quot; .../&amp;gt;...&amp;amp;lt;eID=&amp;quot;gen#&amp;quot; who=&amp;quot;Jesus&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt; becomes&amp;lt;BR&amp;gt;&amp;lt;tt&amp;gt;&amp;amp;lt;q who=&amp;quot;Jesus&amp;quot; marker=&amp;quot;&amp;quot;&amp;gt;&amp;amp;lt;q sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;q eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;amp;lt;/q&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;q who=&amp;quot;Jesus&amp;quot; ...&amp;gt;...&amp;amp;lt;/q&amp;gt;&amp;lt;/tt&amp;gt; becomes&amp;lt;BR&amp;gt;&amp;lt;tt&amp;gt;&amp;amp;lt;q who=&amp;quot;Jesus&amp;quot; marker=&amp;quot;&amp;quot;&amp;gt;&amp;amp;lt;q sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;q eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;amp;lt;/q&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** Within the following construct, &amp;lt;tt&amp;gt;&amp;amp;lt;q who=&amp;quot;Jesus&amp;quot; marker=&amp;quot;&amp;quot;&amp;gt;...&amp;lt;/q&amp;gt;&amp;lt;/tt&amp;gt; will surround verse text.&lt;br /&gt;
&lt;br /&gt;
* '''Pre-Verse Titles'''&amp;lt;ref&amp;gt;The older method that fixed titles only became obsolete with SVN revision 2358 for the SWORD 1.6.0 release and replaced with '''InterVerse Content'''.&amp;lt;/ref&amp;gt;&lt;br /&gt;
** InterVerse or postVerse&amp;lt;ref&amp;gt;For example, the '''colophon''' div as found at the end of some Epistles.&amp;lt;/ref&amp;gt; content not in titles is appended to the prior verse.&lt;br /&gt;
** Titles immediately preceeding a verse are converted into either&amp;lt;BR&amp;gt;&amp;lt;tt&amp;gt;&amp;amp;lt;title canonical=&amp;quot;true&amp;quot; type=&amp;quot;psalm&amp;quot;&amp;gt;...&amp;amp;lt;/title&amp;gt;&amp;lt;/tt&amp;gt; or&amp;lt;BR&amp;gt;&amp;lt;tt&amp;gt;&amp;amp;lt;title canonical=&amp;quot;false&amp;quot; type=&amp;quot;sub&amp;quot;&amp;gt;...&amp;amp;lt;/title&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;ref&amp;gt;type=&amp;quot;sub&amp;quot; is used irrespective of whether the non-canonical title is a section title or a subSection title.&amp;lt;/ref&amp;gt;&amp;lt;BR&amp;gt;and the whole such '''title''' element is wrapped within a special preverse '''div''' element. ''See below''.&lt;br /&gt;
&lt;br /&gt;
* '''InterVerse Content'''&amp;lt;ref&amp;gt;Introduced with SVN revision 2358 for the SWORD 1.6.0 release.&amp;lt;/ref&amp;gt;&lt;br /&gt;
** InterVerse Content refers to all content not contained by the verse element.&amp;lt;ref&amp;gt;i.e. Content between the '''eID''' milestone of a verse and the '''sID''' milestone of the next verse, or before the first verse of the chapter.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;For OSIS files derived from USFM files, the implication of this requirement is the following rule:&lt;br /&gt;
&amp;lt;blockquote&amp;gt;Do not place a title (or similar element) between a matching pair of verse milestones&amp;lt;BR&amp;gt;&lt;br /&gt;
except where the translation places the title somewhere within the verse text in the USFM file.&amp;lt;/blockquote&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
** Such content is divided between the prior and the current verse.&lt;br /&gt;
** Content appended to the prior verse is not marked in any special way.&lt;br /&gt;
** Content prepended&amp;lt;ref&amp;gt;This ensures that when the verse is called the prepended content is also displayed, subject to whatever filters are in place.&amp;lt;/ref&amp;gt; to the current verse is marked with&amp;lt;BR&amp;gt;&amp;lt;tt&amp;gt;&amp;amp;lt;div type=&amp;quot;x-milestone&amp;quot; subType=&amp;quot;x-preverse&amp;quot; sID=&amp;quot;pv#&amp;quot;/&amp;gt;...&amp;amp;lt;div type=&amp;quot;x-milestone&amp;quot; subType=&amp;quot;x-preverse&amp;quot; eID=&amp;quot;pv#&amp;quot;/&amp;gt;.&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Handling of Introductions, Titles and Inter-Verse Material==&lt;br /&gt;
SWORD looks for module, testament, book and chapter introductory material. Those introductions can have appropriate titles as well. &lt;br /&gt;
In SWORD 1.6.0 the handling of this material has changed.&lt;br /&gt;
&lt;br /&gt;
'''Note:'''&lt;br /&gt;
# In the following, the effects of the above transformations are not shown. The tagging of the pre-verse material is also not shown.&lt;br /&gt;
&lt;br /&gt;
===Module and Testament Introductions===&lt;br /&gt;
&lt;br /&gt;
At this time, osis2mod does not fully support module and testament introductions. A module introduction should be place into testament 0, book 0, chapter 0, verse 0. A testament introduction should be placed into testament 1 or 2, book 0, chapter 0, verse 0. Currently, these are placed into Genesis 0:0 or Matthew 0:0.&lt;br /&gt;
&lt;br /&gt;
===Book Introductions and Titles===&lt;br /&gt;
Book introductions and titles are straight forward. It includes the start of the book and everything following it up to, but not including the start of the chapter. See [[OSIS Bibles]] for best practices in marking up titles and introductions.&lt;br /&gt;
&lt;br /&gt;
For example:&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;book&amp;quot; ...&amp;gt;&lt;br /&gt;
 ... introductory material ...&lt;br /&gt;
 &amp;amp;lt;chapter&amp;quot;...&amp;gt;&lt;br /&gt;
will put the following into the book introduction:&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;book&amp;quot; ...&amp;gt;&lt;br /&gt;
 ... introductory material ...&lt;br /&gt;
&lt;br /&gt;
===Chapter Introductions===&lt;br /&gt;
Chapter introductions and titles are a bit problematic. Between the start of a chapter and its first verse, we could have a chapter title, a chapter introduction and/or a start of a section of verses or a titled verse. Osis2mod now handles this in a predictable fashion. From the start of the chapter up to and not including a section div or a title that has a type that is not ''main'', ''chapter'' or ''sub'', the content is chapter introduction. After that, it is part of the verse.&lt;br /&gt;
&lt;br /&gt;
Specifically, the following list gives the possible first elements following the chapter introduction.:&lt;br /&gt;
*&amp;amp;lt;div type=&amp;quot;section&amp;quot; ...&amp;gt;&lt;br /&gt;
*&amp;amp;lt;title type=&amp;quot;yyy&amp;quot; ...&amp;gt; where yyy is not ''main'', ''chapter'' or ''sub''.&lt;br /&gt;
&lt;br /&gt;
For example,&lt;br /&gt;
 &amp;amp;lt;chapter ...&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;Chapter Title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title type=&amp;quot;sub&amp;quot;&amp;gt;Chapter Subtitle&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;introduction&amp;quot;&amp;gt;... intro ...&amp;amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;section&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;A section title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;verse ...&amp;gt;...verse content...&amp;amp;lt;/verse&amp;gt;&lt;br /&gt;
will put the following into the chapter introduction:&lt;br /&gt;
 &amp;amp;lt;chapter ...&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;Chapter Title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title type=&amp;quot;sub&amp;quot;&amp;gt;Chapter Subtitle&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;introduction&amp;quot;&amp;gt;... intro ...&amp;amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
will put the following into verse 1 of that chapter&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;section&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;A section title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;verse ...&amp;gt;...verse content...&amp;amp;lt;/verse&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Between Verses===&lt;br /&gt;
Between verses we may have closing tags to finish off what was started earlier, structural opening tags (e.g. line groups, divisions, paragraphs, ...), titles and/or introductory material.&lt;br /&gt;
&lt;br /&gt;
Upon finding the close of a verse, osis2mod will append all adjacent closing tags to it. Once it finds a start tag, it will attach that to the following verse.&lt;br /&gt;
&lt;br /&gt;
For example, suppose the following is between &amp;amp;lt;/verse&amp;gt; and &amp;amp;lt;verse ...&amp;gt;:&lt;br /&gt;
 &amp;amp;lt;/lg&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;section&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;Section title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;lg&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
then it will append the following to the prior verse:&lt;br /&gt;
 &amp;amp;lt;/lg&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and will prepend the following to the current verse:&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;section&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;Section title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;lg&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Last Verse===&lt;br /&gt;
The material following the last verse of a chapter is appended to that verse. You might find:&lt;br /&gt;
 ... verse content ...&lt;br /&gt;
 &amp;amp;lt;/chapter&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;colophon&amp;quot;&amp;gt;... colophon text ...&amp;amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Exclusions==&lt;br /&gt;
Only content starting the first &amp;amp;lt;div&amp;gt; to the last &amp;amp;lt;/div&amp;gt; is retained. All other is excluded. From a practical perspective, this excludes the OSIS header information.&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
It is always preferable to use the most recent version of osis2mod and compiling it from SVN is best. &lt;br /&gt;
&lt;br /&gt;
'''Note:'''&lt;br /&gt;
# After the SWORD 1.5.9 release, osis2mod was changed to take flags rather than positional arguments.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
You are running osis2mod: $Rev: 3431 $&lt;br /&gt;
OSIS Bible/commentary module creation tool for The SWORD Project&lt;br /&gt;
&lt;br /&gt;
usage: ./osis2mod &amp;lt;output/path&amp;gt; &amp;lt;osisDoc&amp;gt; [OPTIONS]&lt;br /&gt;
  &amp;lt;output/path&amp;gt;		 an existing folder that the module will be written&lt;br /&gt;
  &amp;lt;osisDoc&amp;gt;		 path to the validated OSIS document, or '-' to&lt;br /&gt;
				 read from standard input&lt;br /&gt;
  -a			 augment module if exists (default is to create new)&lt;br /&gt;
  -z &amp;lt;l|z|b|x&amp;gt;		 compression type (default: none)&lt;br /&gt;
				 l - LZSS; z - ZIP; b - bzip2; x - xz&lt;br /&gt;
  -b &amp;lt;2|3|4&amp;gt;		 compression block size (default: 4)&lt;br /&gt;
				 2 - verse; 3 - chapter; 4 - book&lt;br /&gt;
  -l &amp;lt;1-9&amp;gt;		 compression level (default varies by compression type)&lt;br /&gt;
  -c &amp;lt;cipher_key&amp;gt;	 encipher module using supplied key&lt;br /&gt;
				 (default no enciphering)&lt;br /&gt;
  -e &amp;lt;1|2|s&amp;gt;		 convert Unicode encoding (default: 1)&lt;br /&gt;
				 1 - UTF-8 ; 2 - UTF-16 ; s - SCSU&lt;br /&gt;
  -N			 do not normalize to NFC&lt;br /&gt;
  -s &amp;lt;2|4&amp;gt;		 bytes used to store entry size (default is 2).&lt;br /&gt;
  -v &amp;lt;v11n&amp;gt;		 specify a versification scheme to use (default is KJV)&lt;br /&gt;
				 Note: The following are valid values for v11n:&lt;br /&gt;
				   Calvin      	Catholic    	Catholic2   &lt;br /&gt;
				   DarbyFr     	German      	KJV         &lt;br /&gt;
				   KJVA        	LXX         	Leningrad   &lt;br /&gt;
				   Luther      	MT          	NRSV        &lt;br /&gt;
				   NRSVA       	Orthodox    	Segond      &lt;br /&gt;
				   Synodal     	SynodalProt 	Vulg        &lt;br /&gt;
  -h 			 print verbose usage text&lt;br /&gt;
&lt;br /&gt;
See http://www.crosswire.org/wiki/osis2mod for more details.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Earlier builds (e.g. $Rev: 2893 $) also included the debug option help: See [[Osis2mod#Debug_Messages|Debug Messages]].&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  -d &amp;lt;flags&amp;gt;		 turn on debugging (default is 0)&lt;br /&gt;
				 Note: This flag may change in the future.&lt;br /&gt;
				 Flags: The following are valid values:&lt;br /&gt;
					0   - no debugging&lt;br /&gt;
					1   - writes to module, very verbose&lt;br /&gt;
					2   - verse start and end&lt;br /&gt;
					4   - quotes, esp. Words of Christ&lt;br /&gt;
					8   - titles&lt;br /&gt;
					16  - inter-verse material&lt;br /&gt;
					32  - BSP to BCV transformations&lt;br /&gt;
					64  - v11n exceptions&lt;br /&gt;
					128 - parsing of osisID and osisRef&lt;br /&gt;
					256 - internal stack&lt;br /&gt;
					512 - miscellaneous&lt;br /&gt;
				 This argument can be used more than once. (Or&lt;br /&gt;
				 the flags may be added together.)&lt;br /&gt;
&lt;br /&gt;
See http://www.crosswire.org/wiki/osis2mod for more details.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== Parameters and Options ===&lt;br /&gt;
'''&amp;amp;lt;output/path&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This a path to any existing directory. It is best for it to be empty.&lt;br /&gt;
&lt;br /&gt;
'''&amp;amp;lt;osisDoc&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This is a single, well-formed, valid OSIS document.&lt;br /&gt;
&lt;br /&gt;
If '''-''' is used instead of a file name, the document will be read from standard input. This allows for two constructs:&lt;br /&gt;
* Redirection&lt;br /&gt;
 osis2mod ./modules/texts/ztext/KJV - &amp;lt; kjv.xml&lt;br /&gt;
* Piping&lt;br /&gt;
 cat kjv.xml | osis2mod ./modules/texts/ztext/KJV -&lt;br /&gt;
&lt;br /&gt;
'''-a'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Osis2mod can create a Bible all at once or incrementally, depending on the presence of the -a flag. This&lt;br /&gt;
provides for two abilities,&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Assembling a Bible from book files:&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir /tmp/mymodule&lt;br /&gt;
osis2mod /tmp/mymodule  matt.xml&lt;br /&gt;
osis2mod /tmp/mymodule -a mark.xml&lt;br /&gt;
...&lt;br /&gt;
osis2mod /tmp/mymodule -a rev.xml&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
'''Note:''' The book files can be in any order. SWORD will order them correctly in the index.&lt;br /&gt;
&amp;lt;li&amp;gt;Adding corrections to a Bible:&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
osis2mod /tmp/mymodule -a fixes.xml&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
'''Note:''' When fixes are put into the module they are appended to the data file and do not actually replace the verses. The index file is adjusted to point to the new place in the data file.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''-z &amp;amp;lt;l|z|b|x&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
A SWORD Bible can be compressed with Zip (-z z), LZSS (-z l), BZip2 (-z b) '''or''' XZ (-lx). All of CrossWire's compressed Bible and commentary modules are compressed with Zip. This saves significant space over an uncompressed module. Uncompressed modules are useful for debugging.&lt;br /&gt;
&lt;br /&gt;
'''-b &amp;amp;lt;2|3|4&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This setting is only useful for a compressed module. The choice as to whether to use Verse (2), Chapter (3) or Book (4, the default) level compression depends upon the amount of data in the block. A typical Bible is best compressed book by book. A commentary, chapter by chapter. If the commentary is very robust and the amount of text per verse is really huge, then verse compression might make sense.&lt;br /&gt;
&lt;br /&gt;
All of SWORD's compressed Bible modules are compressed by book. Basically, all of the verses in a block are compressed and appended to the data file. For this reason, the datafile cannot be uncompressed by anything other than the SWORD and JSword libraries.&lt;br /&gt;
&lt;br /&gt;
When creating the module by appending it is important to do so by whole compression block. That is, if blockType is Chapter, then the osisDoc needs to contain one or more whole chapters.&lt;br /&gt;
&lt;br /&gt;
'''-l [1-9]'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This setting is useful for a compressed module and provides the level of compression to be used. The default varies depending on the compressor used. The default is typically used.&lt;br /&gt;
&lt;br /&gt;
'''-c cipherKey'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This is typically 16 characters in length, having no leading or trailing spaces, consisting of alternating sets of 4 alpha and 4 numeric characters, such as Aduf0274PjNq0328. The key is case-sensitive.&lt;br /&gt;
&lt;br /&gt;
'''-e &amp;amp;lt;1|2|s&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This flag gives whether the input is to be converted to UTF-8, UTF-16, or SCSU. By default the encoding is UTF-8. Using UTF-16 is reasonable for non-latin texts with little markup. SCSU will compress the Unicode, but it has not been sufficiently tested, requires [[DevTools:ICU|ICU]] support when compiling osis2mod and when running (not all frontends do).&lt;br /&gt;
&lt;br /&gt;
'''-N'''&amp;lt;br/&amp;gt;&lt;br /&gt;
All OSIS modules should be UTF-8 and all that are UTF-8 are also to be NFC. The default is to automatically detect the presense of Latin-1 (either cp1252 or iso8859-1) and convert it to UTF-8 and to normalize UTF-8 to NFC. This flag will turn off this behavior and is useful for creating Latin-1 modules or for modules for which the source text is already UTF-8 and NFC. It is also advised for Biblical Hebrew modules for which the source text (with accents and cantillation points) is intentionally not normalized, as &amp;quot;Unicode normalization can easily break Biblical Hebrew&amp;quot;. Quoted from page 9 of the SBL Hebrew Font Manual.&amp;lt;ref&amp;gt;See https://www.sbl-site.org/Fonts/SBLHebrewUserManual1.5x.pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: this was added late Feb 2008 and requires [[DevTools:ICU|ICU]] support when compiling.&lt;br /&gt;
&lt;br /&gt;
'''-s &amp;amp;lt;2|4&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
A value of 2, the default, restricts modules to 64K bytes per entry. A value of 4, breaks this barrier. This is needed for Bibles, having large introductory materials, and for commentaries with large entries.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' 4 was added late Apr 2009 for raw, uncompressed modules and will be part of the SWORD 1.6.0 release (formerly known as 1.5.11). A later release extended support to compressed modules.&lt;br /&gt;
&lt;br /&gt;
'''-v v11n'''&amp;lt;br/&amp;gt;&lt;br /&gt;
By default, osis2mod uses the KJV versification. The practical implication of this is that only books in the KJV canon are allowed and any text in an allowed book are retained. However, if the verse reference of a supported book falls outside of the versification it is appended to the prior verse in the canon. This flag allows for an [[Alternate Versification|alternate versification]].&lt;br /&gt;
&lt;br /&gt;
'''Note:''' This option was added in April 2009 as part of the SWORD 1.6.0 release.&lt;br /&gt;
&lt;br /&gt;
'''-d flags'''&amp;lt;br/&amp;gt;&lt;br /&gt;
The flag can be used more than once or the flags can be added together. For example,&lt;br /&gt;
 -d 2 -d 4&lt;br /&gt;
is the same as&lt;br /&gt;
 -d 6&lt;br /&gt;
&lt;br /&gt;
To do verbose debugging use:&lt;br /&gt;
 -d -1&lt;br /&gt;
&lt;br /&gt;
For the most part these flags are not intended for debugging modules, but rather for debugging problems in osis2mod.&lt;br /&gt;
&lt;br /&gt;
The -d 2 flag produces no output but puts milestones into the module where verses start and end. The form of the milestone is:&lt;br /&gt;
 &amp;amp;lt;milestone resp=&amp;quot;v&amp;quot; [attributes from verse] /&amp;gt;&lt;br /&gt;
The milestone will contain the osisID from the verse and also a valid sID or eID. The sID/eID indicates the start of end of the verse.&lt;br /&gt;
&lt;br /&gt;
Note: the -d 2 flag might change at any time, or may even be removed.&lt;br /&gt;
&lt;br /&gt;
==Messages==&lt;br /&gt;
Osis2mod has robust, mind-boggling messages. These are provided here in hopes that it will help problem diagnosis.&lt;br /&gt;
&lt;br /&gt;
==Diagnostic Messages==&lt;br /&gt;
In the following, example values are given in '''{...}'''. The brackets do not actually appear in the message. Also, the messages are a bit prettier here than in reality.&lt;br /&gt;
&lt;br /&gt;
In the following&lt;br /&gt;
* ['''{ line }''','''{ col }'''] gives the location of the last line and column read in the file. Since processing is handled after the reading, the location is approximate. If the processing is before the file is read, such as during the reading of command line arguments, it won't show up.&lt;br /&gt;
* ('''{ osisID }''') gives the osisID being processed or N/A. It also is optionally output early in the execution of the program.&lt;br /&gt;
&lt;br /&gt;
 WARNING(UTF8)['''{ line }''','''{ col }''']('''{ osisID }'''):     Should be converted to UTF-8 ('''{text }''')&lt;br /&gt;
The program will always check for text that is not UTF-8.&lt;br /&gt;
&lt;br /&gt;
 INFO(UTF8)['''{ line }''','''{ col }''']('''{ osisID }'''):        Converting to UTF-8 ('''{ text before conversion }''')&lt;br /&gt;
Text that is converted to UTF-8 is noted.&lt;br /&gt;
&lt;br /&gt;
 ERROR(UTF8)['''{ line }''','''{ col }''']('''{ osisID }'''):       Converting to UTF-8 ('''{ text after first conversion }''')&lt;br /&gt;
It is an error if after a conversion it still is not UTF-8.&lt;br /&gt;
&lt;br /&gt;
 WARNING(UTF8)['''{ line }''','''{ col }''']('''{ osisID }'''):     osis2mod is not compiled with support for ICU. Ignoring -n flag.&lt;br /&gt;
Normalization was requested, but since osis2mod was not compiled for it, it cannot honor the default request.&lt;br /&gt;
&lt;br /&gt;
 INFO(V11N)['''{ line }''','''{ col }''']('''{ osisID }'''):        is not in the '''{ v11n }''' versification.&lt;br /&gt;
Indicates that a verse is not in the versification.&lt;br /&gt;
&lt;br /&gt;
 INFO(V11N)['''{ line }''','''{ col }''']('''{ osisID }'''):        is not in the '''{ v11n }''' versification. Appending content to '''{ osisID }'''&lt;br /&gt;
This like the other indicates a versification problem, but shows where the text will be found. Osis2mod preserves all module content for supported books.&lt;br /&gt;
&lt;br /&gt;
 WARNING(V11N)['''{ line }''','''{ col }''']('''{ osisID }'''):     New book is '''{ name }'''  and is not in '''{ v11n }''' versification, ignoring&lt;br /&gt;
The name of the book was not recognized as belonging to the chosen versification, it and all of it's content is ignored.&lt;br /&gt;
&lt;br /&gt;
 INFO(WRITE)['''{ line }''','''{ col }''']('''{ osisID }'''):       Appending entry: '''{ osisID }''': '''{ text so far }'''&lt;br /&gt;
If osis2mod encounters text that needs to be appended to a verse that is already in the module. This could indicate that&lt;br /&gt;
* the reference is in the input twice. This typically indicates a problem.&lt;br /&gt;
* more text was found that needs to be added to the prior verse.&lt;br /&gt;
* osis2mod is being run in append mode to fix a verse in the module.&lt;br /&gt;
&lt;br /&gt;
 INFO(LINK)['''{ line }''','''{ col }''']('''{ osisID }'''):        Linking '''{ osisID }''' to '''{ osisID }'''&lt;br /&gt;
An osisID such as &amp;quot;Gen.1.1 Gen.1.2 Gen.1.3&amp;quot; was used and the latter are linked to the first.&lt;br /&gt;
&lt;br /&gt;
 ERROR(REF)['''{ line }''','''{ col }''']('''{ osisID }'''):        Invalid osisID/annotateRef: '''{ invalid attribute value }'''&lt;br /&gt;
This indicates that the SWORD library was unable to parse the osisID or annotateRef.&lt;br /&gt;
&lt;br /&gt;
 FATAL(NESTING)['''{ line }''','''{ col }''']('''{ osisID }'''):    tag expected&lt;br /&gt;
This indicates that the specified verse is not balanced with regard to its tags. Building a raw text module, looking in the module for the verse and pairing begin/end tags will help find the problem. Typically, this indicates an end tag that did not have a matching begin tag and all tags before it were properly paired.&lt;br /&gt;
&lt;br /&gt;
 FATAL(NESTING)['''{ line }''','''{ col }''']('''{ osisID }'''):    Expected '''{ topToken.getName() }''' found '''{ tokenName }'''&lt;br /&gt;
This also indicates that the specified verse is not balanced with regard to its tags. Building a raw text module, looking in the module for the verse and pairing begin/end tags will help find the problem. It could be either a begin or an end tag problem.&lt;br /&gt;
&lt;br /&gt;
 WARNING(NESTING)['''{ line }''','''{ col }''']('''{ osisID }'''):  verse '''{ currentOsisID }''' is not well formed:('''{ verseDepth }''','''{ tagDepth }''')&lt;br /&gt;
This indicates that the verse probably will not show properly in some front-ends in some circumstances. Typically, it shows the problem if the verse is shown in isolation.&lt;br /&gt;
&lt;br /&gt;
 ERROR(NESTING)['''{ line }''','''{ col }''']('''{ osisID }'''):    improper nesting '''{ currentOsisID }''': matching (sID,eID) not found. Looking at ('''{ sID }''','''{ eID }''')&lt;br /&gt;
OSIS specifies that every sID has a matching eID. Osis2mod is checking that BSP elements are properly nested.&lt;br /&gt;
&lt;br /&gt;
 FATAL(COMMENTS)['''{ line }''','''{ col }''']('''{ osisID }'''):   unknown commentstate on comment start: { comment state }&lt;br /&gt;
This indicates that the comment is not of the form &amp;amp;lt;!-- ... --&amp;amp;gt;.&lt;br /&gt;
&lt;br /&gt;
 FATAL(COMMENTS)['''{ line }''','''{ col }''']('''{ osisID }'''):   unknown commentstate on comment end:  { comment state }&lt;br /&gt;
This indicates that the comment is not of the form &amp;amp;lt;!-- ... --&amp;amp;gt;.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    malformed entity, replacing &amp;amp;amp;'''{ malformed entity }''' with &amp;amp;amp;amp;'''{ malformed entity }'''&lt;br /&gt;
This means it found a &amp;amp;amp; that starts an entity but it wasn't terminated by a ; and changed it to something that probably isn't appropriate.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    HEX entity must begin with &amp;amp;amp;x, found '''{ entity }'''&lt;br /&gt;
This indicates &amp;amp;X, which is not valid for xml. It is not changed.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    SWORD does not search HEX entities, found '''{ entity }'''&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    SWORD does not search numeric entities, found '''{ entity }'''&lt;br /&gt;
Since we don't transform HEX or numeric entities to their equivalent UTF-8 value, this will be literal text that cannot be searched.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    XML only supports 5 Character entities &amp;amp;amp;amp;, &amp;amp;amp;lt;, &amp;amp;amp;gt;, &amp;amp;amp;quot; and &amp;amp;amp;apos;, found '''{ entity }'''&lt;br /&gt;
XML does not allow character entities. These are passed unchanged to SWORD module. This frustrates search and may only display properly in a front-end using HTML rendering.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    &amp;amp;amp;quot; is unnecessary outside of attribute values. Replace with &amp;quot;.&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    &amp;amp;amp;quot; is unnecessary inside single quoted attribute values. Replace with &amp;quot;.&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    &amp;amp;amp;quot; is only needed within double quoted attribute values. Considering using single quoted attribute and replacing with &amp;quot;.&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    &amp;amp;amp;apos; is only needed within single quoted attribute values. Considering using double quoted attribute and replacing with '.&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    &amp;amp;amp;apos; is unnecessary inside double quoted attribute values. Replacing with '.&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    &amp;amp;amp;apos; is unnecessary outside of attribute values. Replacing with '.&lt;br /&gt;
The &amp;amp;amp;apos; or &amp;amp;amp;quot; was found outside of an attribute value and is being substituted with a straight single apostrophe, ', or double quote, &amp;quot;, respectively.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    While valid for XML, &amp;amp;amp;quot; is only needed within double quoted attribute values.&lt;br /&gt;
This warning indicates that the entity is present where it does not need to be.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    While valid for XML, XHTML does not support &amp;amp;amp;apos;.&lt;br /&gt;
This warning indicates that the &amp;amp;amp;apos; may not display properly in all front-ends. It was found in an attribute value.&lt;br /&gt;
&lt;br /&gt;
===Debug Messages===&lt;br /&gt;
The following are shown in the same form as the diagnostic messages above. They are given without comment.&lt;br /&gt;
&lt;br /&gt;
'''-d 1'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Output of what is being written to the module. The two osisIDs should always be the same.&lt;br /&gt;
 DEBUG(WRITE)['''{ line }''','''{ col }''']('''{ osisID }'''):      '''{ text so far }'''&lt;br /&gt;
&lt;br /&gt;
'''-d 4'''&amp;lt;br/&amp;gt;&lt;br /&gt;
A stack is maintained to represent the Words of Christ on a per verse basis. This is internal diagnostic of that stack&lt;br /&gt;
 DEBUG(QUOTE)['''{ line }''','''{ col }''']('''{ osisID }'''):      quote top('''{ quote stack size }''') '''{ token }'''&lt;br /&gt;
 DEBUG(QUOTE)['''{ line }''','''{ col }''']('''{ osisID }'''):      quote pop('''{ quote stack size }''') '''{ topToken }''' -- '''{ token }'''&lt;br /&gt;
 DEBUG(QUOTE)['''{ line }''','''{ col }''']('''{ osisID }'''):      ('''{ quote stack size }''') '''{ topToken }''' -- '''{ token }'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''-d 8'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Identifies when book and chapter introductions are being determined.&lt;br /&gt;
 DEBUG(TITLE)['''{ line }''','''{ col }''']('''{ osisID }'''):     OOPS INTRO&lt;br /&gt;
         inChapterIntro = '''{ inChapterIntro }'''&lt;br /&gt;
         inBookIntro    = '''{ inBookIntro }'''&lt;br /&gt;
 DEBUG(TITLE)['''{ line }''','''{ col }''']('''{ osisID }'''):      Looking for book introduction&lt;br /&gt;
 DEBUG(TITLE)['''{ line }''','''{ col }''']('''{ osisID }'''):      Done looking for book introduction&lt;br /&gt;
 DEBUG(TITLE)['''{ line }''','''{ col }''']('''{ osisID }'''):      BOOK INTRO '''{ beading }'''&lt;br /&gt;
 DEBUG(TITLE)['''{ line }''','''{ col }''']('''{ osisID }'''):      Looking for chapter introduction&lt;br /&gt;
 DEBUG(TITLE)['''{ line }''','''{ col }''']('''{ osisID }'''):      Done looking for chapter introduction&lt;br /&gt;
 DEBUG(TITLE)['''{ line }''','''{ col }''']('''{ osisID }'''):      CHAPTER INTRO '''{ heading }'''&lt;br /&gt;
&lt;br /&gt;
'''-d 16'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Inter-verse material either goes with the prior &amp;quot;verse&amp;quot; or the next. This help diagnose problems related to that split.&lt;br /&gt;
 DEBUG(INTERVERSE)['''{ line }''','''{ col }''']('''{ osisID }'''): Interverse start token '''{ token }''':'''{ text }'''&lt;br /&gt;
 DEBUG(INTERVERSE)['''{ line }''','''{ col }''']('''{ osisID }'''): Interverse end tag: '''{ tokenName }'''('''{ tagDepth }''','''{ chapterDepth }''','''{ bookDepth }''')&lt;br /&gt;
 DEBUG(INTERVERSE)['''{ line }''','''{ col }''']('''{ osisID }'''): Appending interverse end tag: '''{tokenName }'''('''{ tagDepth }''','''{ chapterDepth }''','''{ bookDepth }''')&lt;br /&gt;
&lt;br /&gt;
'''-d 32'''&amp;lt;br/&amp;gt;&lt;br /&gt;
The following messages relate to the transformations of containers to milestones.&lt;br /&gt;
 DEBUG(XFORM)['''{ line }''','''{ col }''']('''{ osisID }'''):      Transform start tag from '''{ orig }''' to '''{ transformed }'''&lt;br /&gt;
 DEBUG(XFORM)['''{ line }''','''{ col }''']('''{ osisID }'''):      Transform end tag from '''{ orig }''' to '''{ transformed }'''&lt;br /&gt;
&lt;br /&gt;
'''-d 64'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Occasionally a verse reference is outside of the chosen versification. These messages help to understand difficulties that osis2mod has in storing extra-canonical material in the module.&lt;br /&gt;
 DEBUG(V11N)['''{ line }''','''{ col }''']('''{ osisID }'''):       {'''{ caller }'''} normalizes to '''{ after }'''&lt;br /&gt;
 DEBUG(V11N)['''{ line }''','''{ col }''']('''{ osisID }'''):       Chapter max:'''{ chapterMax }''', Verse Max:'''{ verseMax }'''&lt;br /&gt;
&lt;br /&gt;
'''-d 128'''&amp;lt;br/&amp;gt;&lt;br /&gt;
OSIS ids and references can be of a form that SWORD cannot parse. Osis2mod contains a routine that munges these into a form that SWORD can understand.&lt;br /&gt;
 DEBUG(REF)['''{ line }''','''{ col }''']('''{ osisID }'''):        VerseKey can parse this as is.&lt;br /&gt;
 DEBUG(REF)['''{ line }''','''{ col }''']('''{ osisID }'''):        Found a range marker. Progress: '''{ progress }''' Remaining: '''{ remaining }'''&lt;br /&gt;
 DEBUG(REF)['''{ line }''','''{ col }''']('''{ osisID }'''):        Found a work prefix '''{ workPrefix }''' Progress: '''{ progress }''' Remaining: '''{ remaining }'''&lt;br /&gt;
 DEBUG(REF)['''{ line }''','''{ col }''']('''{ osisID }'''):        Found an osisID:'''{ osisID }''' Progress: '''{ progress }''' Remaining: '''{ remaining }'''&lt;br /&gt;
 DEBUG(REF)['''{ line }''','''{ col }''']('''{ osisID }'''):        Found a grain suffix '''{ grain }''' Progress: '''{ progress }''' Remaining: '''{ remaining }'''&lt;br /&gt;
 DEBUG(REF)['''{ line }''','''{ col }''']('''{ osisID }'''):        Replacing space with ; Progress: '''{ progress }''' Remaining: '''{ remaining }'''&lt;br /&gt;
 DEBUG(REF)['''{ line }''','''{ col }''']('''{ osisID }'''):        Parseable VerseKey -- '''{ osisRef }'''&lt;br /&gt;
&lt;br /&gt;
'''-d 256'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Osis2mod contains two stacks to validate proper nesting of BSP and BCV, respectively. This is an internal representation of the BCV stacks. It provides additional information to understand the diagnostic nesting messages.&lt;br /&gt;
 DEBUG(STACK)['''{ line }''','''{ col }''']('''{ osisID }'''):     push ('''{ stack size}''') '''{ tokenName }'''&lt;br /&gt;
 DEBUG(STACK)['''{ line }''','''{ col }''']('''{ osisID }'''):     pop('''{ tagDepth }''') '''{ topToken.getName() }'''&lt;br /&gt;
&lt;br /&gt;
'''-d 512'''&amp;lt;br/&amp;gt;&lt;br /&gt;
These are general debug messages.&lt;br /&gt;
 DEBUG(FOUND)['''{ line }''','''{ col }''']('''{ osisID }'''):        Found first div and pitching prior material: '''{ text }'''&lt;br /&gt;
 DEBUG(FOUND)['''{ line }''','''{ col }''']('''{ osisID }'''):        Found new book.&lt;br /&gt;
 DEBUG(FOUND)['''{ line }''','''{ col }''']('''{ osisID }'''):        Current chapter is '''{ currentOsisID }'''&lt;br /&gt;
 DEBUG(FOUND)['''{ line }''','''{ col }''']('''{ osisID }'''):        Entering verse&lt;br /&gt;
 DEBUG(FOUND)['''{ line }''','''{ col }''']('''{ osisID }'''):        New current verse&lt;br /&gt;
 DEBUG(FOUND)['''{ line }''','''{ col }''']('''{ osisID }'''):        End of header found.&lt;br /&gt;
 DEBUG(COMMENTS)['''{ line }''','''{ col }''']('''{ osisID }'''): in comment&lt;br /&gt;
 DEBUG(COMMENTS)['''{ line }''','''{ col }''']('''{ osisID }'''): out of comment&lt;br /&gt;
 DEBUG(ARGS):&lt;br /&gt;
         path:         '''{ path }'''&lt;br /&gt;
         osisDoc:      '''{ osisDoc }'''&lt;br /&gt;
         create:       '''{ append }'''&lt;br /&gt;
         compressType: '''{ compType }'''&lt;br /&gt;
         blockType:    '''{ iType }'''&lt;br /&gt;
         cipherKey:    '''{ cipherKey }'''&lt;br /&gt;
         normalize:    '''{ normalize }'''&lt;br /&gt;
&lt;br /&gt;
== Future Roadmap ==&lt;br /&gt;
:''List here suggestions for useful enhancements to or improvements for osis2mod''.&lt;br /&gt;
&lt;br /&gt;
* Add a command line flag '''-x''' to ''exclude'' all OSIS elements with the global attribute '''editions'''.&amp;lt;ref&amp;gt;The '''editions''' attribute is used to specify edition specific content, such as material omitted in Protestant versions of the Bible.&amp;lt;/ref&amp;gt;&amp;lt;BR&amp;gt;osis2mod would exclude those elements that match the specified attribute value.&lt;br /&gt;
&lt;br /&gt;
'''Note:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Reporting issues ==&lt;br /&gt;
* [http://www.crosswire.org/tracker/browse/MODTOOLS/component/10290/ Module Tools &amp;amp;ndash; osis2mod]&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[OSIS]] &amp;amp;ndash; a partial list of other OSIS related pages and external links.&lt;br /&gt;
* [[Mod2zmod]]&lt;br /&gt;
&lt;br /&gt;
[[Category:OSIS]]&lt;br /&gt;
[[Category:Utilities]]&lt;br /&gt;
[[Category:Versification]]&lt;/div&gt;</summary>
		<author><name>Dmsmith</name></author>	</entry>

	<entry>
		<id>https://wiki.crosswire.org/index.php?title=Osis2mod&amp;diff=17754</id>
		<title>Osis2mod</title>
		<link rel="alternate" type="text/html" href="https://wiki.crosswire.org/index.php?title=Osis2mod&amp;diff=17754"/>
				<updated>2025-07-07T16:18:12Z</updated>
		
		<summary type="html">&lt;p&gt;Dmsmith: New format&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
osis2mod transforms an OSIS encoded [[OSIS Bibles|Bible]] or [[OSIS_Commentaries|commentary]] into a SWORD module.&lt;br /&gt;
&lt;br /&gt;
==Where to get it==&lt;br /&gt;
* See [[DevTools:Modules#Collect_and_Install_Software_Tools|Collect and Install Software Tools]]&lt;br /&gt;
&lt;br /&gt;
== Current status ==&lt;br /&gt;
&lt;br /&gt;
Software bugs relating to osis2mod should be reported in https://tracker.crosswire.org/browse/MODTOOLS&lt;br /&gt;
&lt;br /&gt;
:''Please describe current status of osis2mod, including a list of any outstanding issues or unsolved difficulties''.&lt;br /&gt;
&lt;br /&gt;
==History of Changes==&lt;br /&gt;
The following outlines in reverse chronological order the major changes to osis2mod. When several changes were made over the span of a few days, they are lumped into the most recent date. Bug fixes are not mentioned.&lt;br /&gt;
&lt;br /&gt;
{|width=&amp;quot;100%&amp;quot; border=&amp;quot;0&amp;quot; class=&amp;quot;sortable&amp;quot;&lt;br /&gt;
!width=&amp;quot;10%&amp;quot;|Date&lt;br /&gt;
!Revision&lt;br /&gt;
!Feature&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2025-06-25'''&lt;br /&gt;
|&lt;br /&gt;
r3906&lt;br /&gt;
|&lt;br /&gt;
* MODTOOLS-76: Enhance -v argument handling in osis2mod with case-insensitive and prefix matching, and improved error reporting.&lt;br /&gt;
&lt;br /&gt;
 - Outputs the name of the versification system being used at program start&lt;br /&gt;
 - Adds layered resolution of versifications:&lt;br /&gt;
    1) Case-sensitive exact match&lt;br /&gt;
    2) Case-insensitive exact match&lt;br /&gt;
    3) Case-insensitive prefix match&lt;br /&gt;
 - Shows detailed error messages when input is invalid or ambiguous:&lt;br /&gt;
    * Lists all matches in case of ambiguity&lt;br /&gt;
    * Lists input and valid options if no match is found&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2025-06-19'''&lt;br /&gt;
|&lt;br /&gt;
r3903&lt;br /&gt;
|&lt;br /&gt;
* MODTOOLS-108  fix. Properly append verses beyond the last chapter of a book at the end of the book in the last verse of the chapter, which caused an infinite loop.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2020-07-26'''&lt;br /&gt;
|&lt;br /&gt;
r3769&lt;br /&gt;
|&lt;br /&gt;
* Fixed linking bug with ranges in osis2mod&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2020-05-08'''&lt;br /&gt;
|&lt;br /&gt;
r3737&lt;br /&gt;
|&lt;br /&gt;
* Added support putting reponumber into nano position of SWORD version string and output current SWORD version&lt;br /&gt;
* standardize on (SWORD: {SWVersion::currentVersion.getText()}) for all reported SWORD versions in utilities&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2016-08-16'''&lt;br /&gt;
|&lt;br /&gt;
r3431&lt;br /&gt;
|&lt;br /&gt;
* commented out  a set of lines handling &amp;quot;div type=&amp;quot;majorSection&amp;quot; &amp;quot; - see comments in code. &lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2016-02-06'''&lt;br /&gt;
|&lt;br /&gt;
r3401&lt;br /&gt;
|&lt;br /&gt;
* Added entity handling.&lt;br /&gt;
* div type='colophon' now not changed to milestones.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2015-02-16'''&lt;br /&gt;
|&lt;br /&gt;
r3322&lt;br /&gt;
| &lt;br /&gt;
* Correct casing of COUT&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2015-02-16'''&lt;br /&gt;
|&lt;br /&gt;
r3321&lt;br /&gt;
|&lt;br /&gt;
* cleaned up whitespace in osis2mod&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2014-12-17'''&lt;br /&gt;
|&lt;br /&gt;
r3310&lt;br /&gt;
|&lt;br /&gt;
* MODTOOLS-55 endless loop fix.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2014-12-15'''&lt;br /&gt;
|&lt;br /&gt;
r3307&lt;br /&gt;
|&lt;br /&gt;
* Greg Helling's patch to osis2mod for majorSections&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2014-03-17'''&lt;br /&gt;
|&lt;br /&gt;
r3139&lt;br /&gt;
|&lt;br /&gt;
* Added support for large entries (&amp;amp;gt; 64K) in compressed modules (aka zText4).&lt;br /&gt;
* Added support for UTF-16 and SCSU using the -e flag. SCSU is experimental.&lt;br /&gt;
* Added support for BZip2 and XZ compression, changing -z and -Z to -z &amp;amp;lt;l|z|b|x&amp;amp;gt;&lt;br /&gt;
* Added support for compression levels of 1 to 9 using the -l [1-9] flag.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2014-01-21'''&lt;br /&gt;
|&lt;br /&gt;
r3011&lt;br /&gt;
|&lt;br /&gt;
* Changed the transformation of &amp;amp;lt;p&amp;amp;gt; from &amp;amp;lt;div type=&amp;quot;paragraph&amp;quot; sID=&amp;quot;xxx&amp;quot;/&amp;amp;gt; to &amp;amp;lt;div type=&amp;quot;x-p&amp;quot; sID=&amp;quot;xxx&amp;quot;/&amp;amp;gt; This is a semantic change that brings osis2mod into alignment with the OSIS specification.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2012-03-24'''&lt;br /&gt;
|&lt;br /&gt;
r2693&lt;br /&gt;
|&lt;br /&gt;
* Allow for XML comments to be in the document, but stripped from the module. This allows for large parts of a document to be commented out, which is especially important during development.&lt;br /&gt;
* Allow for &amp;amp;lt;p&amp;amp;gt; elements to be in the &amp;amp;lt;header&amp;amp;gt; element but ignored. Previously, the p in a header, having been transformed to a div, was taken to be the start of the module's content.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2011-11-12'''&lt;br /&gt;
|&lt;br /&gt;
r2671&lt;br /&gt;
|&lt;br /&gt;
* Restored pre-verse handling. Titles no longer need to be specially specified in OSIS.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2010-06-04'''&lt;br /&gt;
|&lt;br /&gt;
r2519&lt;br /&gt;
|&lt;br /&gt;
* Removed pre-verse handling. Titles now have to be specially specified in OSIS. In OSIS there should also be no tags between verse elements except title and those marking book and chapter.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-06-06'''&lt;br /&gt;
|&lt;br /&gt;
r2435&lt;br /&gt;
|&lt;br /&gt;
* Improved handling of chapter introductions.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-05-30'''&lt;br /&gt;
|&lt;br /&gt;
r2421&lt;br /&gt;
|&lt;br /&gt;
* '''-d flags''' now always available.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-05-14'''&lt;br /&gt;
|&lt;br /&gt;
r2413&lt;br /&gt;
|&lt;br /&gt;
*Added '''-d flags''' as a compile time option.&lt;br /&gt;
*Improved exit codes and documented them here.&lt;br /&gt;
*Labeled all diagnostic and debug output.&lt;br /&gt;
*Can now read from standard input.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-04-28'''&lt;br /&gt;
|&lt;br /&gt;
r2358&lt;br /&gt;
|&lt;br /&gt;
*Predictable handling of inter-verse material.&lt;br /&gt;
*All tags, except verse, included in the module.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-04-26'''&lt;br /&gt;
|&lt;br /&gt;
r2345&lt;br /&gt;
|&lt;br /&gt;
*'''-v v11n''' added to support [[Alternate Versification]].&lt;br /&gt;
*'''-s &amp;lt;2|4&amp;gt;''' added to support uncompressed commentaries with large entries (exceeding 64K bytes).&lt;br /&gt;
*Replace paragraph hack with milestoned paragraphs: &amp;amp;lt;div type=&amp;quot;paragraph&amp;quot; sID=&amp;quot;xxx&amp;quot;/&amp;gt; ... &amp;amp;lt;div type=&amp;quot;paragraph&amp;quot; eID=&amp;quot;xxx&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2008-09-11'''&lt;br /&gt;
|&lt;br /&gt;
r2196&lt;br /&gt;
|&lt;br /&gt;
*Words of Christ (WoC) can be marked up naturally. osis2mod does the right thing.&lt;br /&gt;
*Container elements converted to their milestoned form.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2008-02-29'''&lt;br /&gt;
|&lt;br /&gt;
r2141&lt;br /&gt;
|&lt;br /&gt;
*Now supports commentaries in addition to Bibles.&lt;br /&gt;
*Added utf-8 detection and automatic conversion from cp1252 and iso8859-1 to utf-8, making that the default behavior&lt;br /&gt;
*Added NFC [[Encoding#Normalization|normalization]], making it the default&lt;br /&gt;
*Now handles the full definition of an osisID and an osisRef, including workID and grain.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2007-09-27'''&lt;br /&gt;
|&lt;br /&gt;
r2090&lt;br /&gt;
|&lt;br /&gt;
*Changed command-line parsing from positional parameters to flags.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2007-05-13'''&lt;br /&gt;
|&lt;br /&gt;
r2050&lt;br /&gt;
|&lt;br /&gt;
*All whitespace tokens are converted into blanks and adjacent spaces are merged into one. Leading whitespace on each verse is still removed.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2007-05-01'''&lt;br /&gt;
|&lt;br /&gt;
r2044&lt;br /&gt;
|&lt;br /&gt;
*Added version identification to the running of osis2mod.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2007-04-24'''&lt;br /&gt;
|&lt;br /&gt;
r2038&lt;br /&gt;
|&lt;br /&gt;
*Added ignoring of unknown books&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2006-07-15'''&lt;br /&gt;
|&lt;br /&gt;
r1948&lt;br /&gt;
|&lt;br /&gt;
*Optimized writing to module.&lt;br /&gt;
*Added simple transformations of &amp;amp;lt;q&amp;gt; and &amp;amp;lt;p&amp;gt; into milestones.&lt;br /&gt;
*Now allow empty attributes, such as marker=&amp;quot;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2006-07-04'''&lt;br /&gt;
|&lt;br /&gt;
r1914&lt;br /&gt;
|&lt;br /&gt;
*Updated to support OSIS 2.1&lt;br /&gt;
*Added validation that verses in isolation are well formed&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2005-12-22'''&lt;br /&gt;
|&lt;br /&gt;
r1876&lt;br /&gt;
|&lt;br /&gt;
*Added command-line options for compress and encipher.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2005-05-02'''&lt;br /&gt;
|&lt;br /&gt;
r1790&lt;br /&gt;
|&lt;br /&gt;
*Removed &amp;amp;lt;verse&amp;gt; and &amp;amp;lt;/verse&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2005-02-03'''&lt;br /&gt;
|&lt;br /&gt;
r1707&lt;br /&gt;
|&lt;br /&gt;
*Reverted pre-verse title handling&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2004-06-12'''&lt;br /&gt;
|&lt;br /&gt;
r1620&lt;br /&gt;
|&lt;br /&gt;
*Removed pre-verse title handling&lt;br /&gt;
*Added &amp;amp;lt;verse&amp;gt; and &amp;amp;lt;/verse&amp;gt;&lt;br /&gt;
*Added support for milestoned version of some OSIS elements&lt;br /&gt;
*Added support for verses that are not in the KJV versification by appending them to the closest prior verse.&lt;br /&gt;
*Added support for osisIDs with sub-verse references (i.e. osisID grains)&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2004-05-19'''&lt;br /&gt;
|&lt;br /&gt;
r1597&lt;br /&gt;
|&lt;br /&gt;
*Added support for linked verses&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2003-11-21'''&lt;br /&gt;
|&lt;br /&gt;
r1407&lt;br /&gt;
|&lt;br /&gt;
*Added recognition for &amp;lt;chapter&amp;gt; element&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2003-05-26'''&lt;br /&gt;
|&lt;br /&gt;
r1183&lt;br /&gt;
|&lt;br /&gt;
*Initial version&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Transformations==&lt;br /&gt;
:''This section may need further updating''.&lt;br /&gt;
&lt;br /&gt;
Osis2mod performs the following transformations&amp;lt;ref&amp;gt;These transformations are all performed &amp;quot;under the hood&amp;quot; as it were. Tweaking OSIS XML files to fix problems with pre-verse titles, etc., was never intended to be done by module developers as part of the preprocessing before using osis2mod.&amp;lt;/ref&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
* '''Whitespace''' -- Allows for human-readable OSIS files.&lt;br /&gt;
**Leading whitespace on books, chapters and verses is removed&lt;br /&gt;
**Whitespace is normalized into blanks&lt;br /&gt;
**Multiple adjacent whitespace is reduced to a single space&lt;br /&gt;
&lt;br /&gt;
* '''Unicode handling''' - All modules should be UTF-8, NFC.&amp;lt;ref&amp;gt;With the possible exception of Biblical Hebrew and some Indic scripts that should not be normalized.&amp;lt;/ref&amp;gt;&lt;br /&gt;
**Latin-1 (cp1252 and iso8859-1) are converted into UTF-8&lt;br /&gt;
**UTF-8 is normalized into NFC, unless specified otherwise (i.e. by using the -N option).&lt;br /&gt;
&lt;br /&gt;
* '''Verse ranges''' - also known as linked verses.&lt;br /&gt;
** Verses within a specified OSIS verse range are each linked to the first verse of the range.&lt;br /&gt;
&lt;br /&gt;
* '''Milestone conversion''' - necessary for frontends to show a verse at a time.&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;q ...&amp;gt;...&amp;amp;lt;/q&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;q sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;q eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;ref&amp;gt;'''gen#''' is unique for an sID/eID pair, where '''#''' is a number.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;Quotes with who=&amp;quot;Jesus&amp;quot; are not transformed at this stage.&amp;lt;/ref&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;p ...&amp;gt;...&amp;amp;lt;/p&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;div sID=&amp;quot;gen#&amp;quot; type=&amp;quot;x-p&amp;quot; .../&amp;gt;... &amp;amp;lt;div eID=&amp;quot;gen#&amp;quot; type=&amp;quot;x-p&amp;quot; ...&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;chapter ...&amp;gt;...&amp;amp;lt;/chapter&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;chapter sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;chapter eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;closer ...&amp;gt;...&amp;amp;lt;/closer&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;closer sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;closer eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;div ...&amp;gt;...&amp;amp;lt;/div&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;div sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;div eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;ref&amp;gt;As of r3401, &amp;amp;lt;div type=&amp;quot;colophon&amp;quot;...&amp;gt; is unchanged.&amp;lt;/ref&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;l ...&amp;gt;...&amp;amp;lt;/l&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;l sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;l eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;lg ...&amp;gt;...&amp;amp;lt;/lg&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;lg sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;lg eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;salute ...&amp;gt;...&amp;amp;lt;/salute&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;salute sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;salute eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;signed ...&amp;gt;...&amp;amp;lt;/signed&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;signed sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;signed eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;speech ...&amp;gt;...&amp;amp;lt;/speech&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;speech sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;speech eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;verse ...&amp;gt;...&amp;amp;lt;/verse&amp;gt;&amp;lt;/tt&amp;gt; becomes (when using -d 2 for debugging.)&amp;lt;BR&amp;gt;&amp;lt;tt&amp;gt;&amp;amp;lt;milestone resp=&amp;quot;v&amp;quot; sID=&amp;quot;gen#&amp;quot; ... /&amp;gt;...&amp;amp;lt;milestone resp=&amp;quot;v&amp;quot; eID=&amp;quot;gen#&amp;quot; ... /&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* '''Words of Christ''' - necessary for front-ends to appropriately highlight the WOC, a verse at a time.&amp;lt;ref&amp;gt;The examples given have the null string as the quotation marks in the '''marker''' attribute (as in the KJV module), but proper quotation marks are also supported.&amp;lt;/ref&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;q sID=&amp;quot;gen#&amp;quot; who=&amp;quot;Jesus&amp;quot; .../&amp;gt;...&amp;amp;lt;eID=&amp;quot;gen#&amp;quot; who=&amp;quot;Jesus&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt; becomes&amp;lt;BR&amp;gt;&amp;lt;tt&amp;gt;&amp;amp;lt;q who=&amp;quot;Jesus&amp;quot; marker=&amp;quot;&amp;quot;&amp;gt;&amp;amp;lt;q sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;q eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;amp;lt;/q&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;q who=&amp;quot;Jesus&amp;quot; ...&amp;gt;...&amp;amp;lt;/q&amp;gt;&amp;lt;/tt&amp;gt; becomes&amp;lt;BR&amp;gt;&amp;lt;tt&amp;gt;&amp;amp;lt;q who=&amp;quot;Jesus&amp;quot; marker=&amp;quot;&amp;quot;&amp;gt;&amp;amp;lt;q sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;q eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;amp;lt;/q&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** Within the following construct, &amp;lt;tt&amp;gt;&amp;amp;lt;q who=&amp;quot;Jesus&amp;quot; marker=&amp;quot;&amp;quot;&amp;gt;...&amp;lt;/q&amp;gt;&amp;lt;/tt&amp;gt; will surround verse text.&lt;br /&gt;
&lt;br /&gt;
* '''Pre-Verse Titles'''&amp;lt;ref&amp;gt;The older method that fixed titles only became obsolete with SVN revision 2358 for the SWORD 1.6.0 release and replaced with '''InterVerse Content'''.&amp;lt;/ref&amp;gt;&lt;br /&gt;
** InterVerse or postVerse&amp;lt;ref&amp;gt;For example, the '''colophon''' div as found at the end of some Epistles.&amp;lt;/ref&amp;gt; content not in titles is appended to the prior verse.&lt;br /&gt;
** Titles immediately preceeding a verse are converted into either&amp;lt;BR&amp;gt;&amp;lt;tt&amp;gt;&amp;amp;lt;title canonical=&amp;quot;true&amp;quot; type=&amp;quot;psalm&amp;quot;&amp;gt;...&amp;amp;lt;/title&amp;gt;&amp;lt;/tt&amp;gt; or&amp;lt;BR&amp;gt;&amp;lt;tt&amp;gt;&amp;amp;lt;title canonical=&amp;quot;false&amp;quot; type=&amp;quot;sub&amp;quot;&amp;gt;...&amp;amp;lt;/title&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;ref&amp;gt;type=&amp;quot;sub&amp;quot; is used irrespective of whether the non-canonical title is a section title or a subSection title.&amp;lt;/ref&amp;gt;&amp;lt;BR&amp;gt;and the whole such '''title''' element is wrapped within a special preverse '''div''' element. ''See below''.&lt;br /&gt;
&lt;br /&gt;
* '''InterVerse Content'''&amp;lt;ref&amp;gt;Introduced with SVN revision 2358 for the SWORD 1.6.0 release.&amp;lt;/ref&amp;gt;&lt;br /&gt;
** InterVerse Content refers to all content not contained by the verse element.&amp;lt;ref&amp;gt;i.e. Content between the '''eID''' milestone of a verse and the '''sID''' milestone of the next verse, or before the first verse of the chapter.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;For OSIS files derived from USFM files, the implication of this requirement is the following rule:&lt;br /&gt;
&amp;lt;blockquote&amp;gt;Do not place a title (or similar element) between a matching pair of verse milestones&amp;lt;BR&amp;gt;&lt;br /&gt;
except where the translation places the title somewhere within the verse text in the USFM file.&amp;lt;/blockquote&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
** Such content is divided between the prior and the current verse.&lt;br /&gt;
** Content appended to the prior verse is not marked in any special way.&lt;br /&gt;
** Content prepended&amp;lt;ref&amp;gt;This ensures that when the verse is called the prepended content is also displayed, subject to whatever filters are in place.&amp;lt;/ref&amp;gt; to the current verse is marked with&amp;lt;BR&amp;gt;&amp;lt;tt&amp;gt;&amp;amp;lt;div type=&amp;quot;x-milestone&amp;quot; subType=&amp;quot;x-preverse&amp;quot; sID=&amp;quot;pv#&amp;quot;/&amp;gt;...&amp;amp;lt;div type=&amp;quot;x-milestone&amp;quot; subType=&amp;quot;x-preverse&amp;quot; eID=&amp;quot;pv#&amp;quot;/&amp;gt;.&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Handling of Introductions, Titles and Inter-Verse Material==&lt;br /&gt;
SWORD looks for module, testament, book and chapter introductory material. Those introductions can have appropriate titles as well. &lt;br /&gt;
In SWORD 1.6.0 the handling of this material has changed.&lt;br /&gt;
&lt;br /&gt;
'''Note:'''&lt;br /&gt;
# In the following, the effects of the above transformations are not shown. The tagging of the pre-verse material is also not shown.&lt;br /&gt;
&lt;br /&gt;
===Module and Testament Introductions===&lt;br /&gt;
&lt;br /&gt;
At this time, osis2mod does not fully support module and testament introductions. A module introduction should be place into testament 0, book 0, chapter 0, verse 0. A testament introduction should be placed into testament 1 or 2, book 0, chapter 0, verse 0. Currently, these are placed into Genesis 0:0 or Matthew 0:0.&lt;br /&gt;
&lt;br /&gt;
===Book Introductions and Titles===&lt;br /&gt;
Book introductions and titles are straight forward. It includes the start of the book and everything following it up to, but not including the start of the chapter. See [[OSIS Bibles]] for best practices in marking up titles and introductions.&lt;br /&gt;
&lt;br /&gt;
For example:&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;book&amp;quot; ...&amp;gt;&lt;br /&gt;
 ... introductory material ...&lt;br /&gt;
 &amp;amp;lt;chapter&amp;quot;...&amp;gt;&lt;br /&gt;
will put the following into the book introduction:&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;book&amp;quot; ...&amp;gt;&lt;br /&gt;
 ... introductory material ...&lt;br /&gt;
&lt;br /&gt;
===Chapter Introductions===&lt;br /&gt;
Chapter introductions and titles are a bit problematic. Between the start of a chapter and its first verse, we could have a chapter title, a chapter introduction and/or a start of a section of verses or a titled verse. Osis2mod now handles this in a predictable fashion. From the start of the chapter up to and not including a section div or a title that has a type that is not ''main'', ''chapter'' or ''sub'', the content is chapter introduction. After that, it is part of the verse.&lt;br /&gt;
&lt;br /&gt;
Specifically, the following list gives the possible first elements following the chapter introduction.:&lt;br /&gt;
*&amp;amp;lt;div type=&amp;quot;section&amp;quot; ...&amp;gt;&lt;br /&gt;
*&amp;amp;lt;title type=&amp;quot;yyy&amp;quot; ...&amp;gt; where yyy is not ''main'', ''chapter'' or ''sub''.&lt;br /&gt;
&lt;br /&gt;
For example,&lt;br /&gt;
 &amp;amp;lt;chapter ...&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;Chapter Title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title type=&amp;quot;sub&amp;quot;&amp;gt;Chapter Subtitle&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;introduction&amp;quot;&amp;gt;... intro ...&amp;amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;section&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;A section title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;verse ...&amp;gt;...verse content...&amp;amp;lt;/verse&amp;gt;&lt;br /&gt;
will put the following into the chapter introduction:&lt;br /&gt;
 &amp;amp;lt;chapter ...&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;Chapter Title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title type=&amp;quot;sub&amp;quot;&amp;gt;Chapter Subtitle&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;introduction&amp;quot;&amp;gt;... intro ...&amp;amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
will put the following into verse 1 of that chapter&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;section&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;A section title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;verse ...&amp;gt;...verse content...&amp;amp;lt;/verse&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Between Verses===&lt;br /&gt;
Between verses we may have closing tags to finish off what was started earlier, structural opening tags (e.g. line groups, divisions, paragraphs, ...), titles and/or introductory material.&lt;br /&gt;
&lt;br /&gt;
Upon finding the close of a verse, osis2mod will append all adjacent closing tags to it. Once it finds a start tag, it will attach that to the following verse.&lt;br /&gt;
&lt;br /&gt;
For example, suppose the following is between &amp;amp;lt;/verse&amp;gt; and &amp;amp;lt;verse ...&amp;gt;:&lt;br /&gt;
 &amp;amp;lt;/lg&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;section&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;Section title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;lg&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
then it will append the following to the prior verse:&lt;br /&gt;
 &amp;amp;lt;/lg&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and will prepend the following to the current verse:&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;section&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;Section title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;lg&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Last Verse===&lt;br /&gt;
The material following the last verse of a chapter is appended to that verse. You might find:&lt;br /&gt;
 ... verse content ...&lt;br /&gt;
 &amp;amp;lt;/chapter&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;colophon&amp;quot;&amp;gt;... colophon text ...&amp;amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Exclusions==&lt;br /&gt;
Only content starting the first &amp;amp;lt;div&amp;gt; to the last &amp;amp;lt;/div&amp;gt; is retained. All other is excluded. From a practical perspective, this excludes the OSIS header information.&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
It is always preferable to use the most recent version of osis2mod and compiling it from SVN is best. &lt;br /&gt;
&lt;br /&gt;
'''Note:'''&lt;br /&gt;
# After the SWORD 1.5.9 release, osis2mod was changed to take flags rather than positional arguments.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
You are running osis2mod: $Rev: 3431 $&lt;br /&gt;
OSIS Bible/commentary module creation tool for The SWORD Project&lt;br /&gt;
&lt;br /&gt;
usage: ./osis2mod &amp;lt;output/path&amp;gt; &amp;lt;osisDoc&amp;gt; [OPTIONS]&lt;br /&gt;
  &amp;lt;output/path&amp;gt;		 an existing folder that the module will be written&lt;br /&gt;
  &amp;lt;osisDoc&amp;gt;		 path to the validated OSIS document, or '-' to&lt;br /&gt;
				 read from standard input&lt;br /&gt;
  -a			 augment module if exists (default is to create new)&lt;br /&gt;
  -z &amp;lt;l|z|b|x&amp;gt;		 compression type (default: none)&lt;br /&gt;
				 l - LZSS; z - ZIP; b - bzip2; x - xz&lt;br /&gt;
  -b &amp;lt;2|3|4&amp;gt;		 compression block size (default: 4)&lt;br /&gt;
				 2 - verse; 3 - chapter; 4 - book&lt;br /&gt;
  -l &amp;lt;1-9&amp;gt;		 compression level (default varies by compression type)&lt;br /&gt;
  -c &amp;lt;cipher_key&amp;gt;	 encipher module using supplied key&lt;br /&gt;
				 (default no enciphering)&lt;br /&gt;
  -e &amp;lt;1|2|s&amp;gt;		 convert Unicode encoding (default: 1)&lt;br /&gt;
				 1 - UTF-8 ; 2 - UTF-16 ; s - SCSU&lt;br /&gt;
  -N			 do not normalize to NFC&lt;br /&gt;
  -s &amp;lt;2|4&amp;gt;		 bytes used to store entry size (default is 2).&lt;br /&gt;
  -v &amp;lt;v11n&amp;gt;		 specify a versification scheme to use (default is KJV)&lt;br /&gt;
				 Note: The following are valid values for v11n:&lt;br /&gt;
				   Calvin      	Catholic    	Catholic2   &lt;br /&gt;
				   DarbyFr     	German      	KJV         &lt;br /&gt;
				   KJVA        	LXX         	Leningrad   &lt;br /&gt;
				   Luther      	MT          	NRSV        &lt;br /&gt;
				   NRSVA       	Orthodox    	Segond      &lt;br /&gt;
				   Synodal     	SynodalProt 	Vulg        &lt;br /&gt;
  -h 			 print verbose usage text&lt;br /&gt;
&lt;br /&gt;
See http://www.crosswire.org/wiki/osis2mod for more details.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Earlier builds (e.g. $Rev: 2893 $) also included the debug option help: See [[Osis2mod#Debug_Messages|Debug Messages]].&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  -d &amp;lt;flags&amp;gt;		 turn on debugging (default is 0)&lt;br /&gt;
				 Note: This flag may change in the future.&lt;br /&gt;
				 Flags: The following are valid values:&lt;br /&gt;
					0   - no debugging&lt;br /&gt;
					1   - writes to module, very verbose&lt;br /&gt;
					2   - verse start and end&lt;br /&gt;
					4   - quotes, esp. Words of Christ&lt;br /&gt;
					8   - titles&lt;br /&gt;
					16  - inter-verse material&lt;br /&gt;
					32  - BSP to BCV transformations&lt;br /&gt;
					64  - v11n exceptions&lt;br /&gt;
					128 - parsing of osisID and osisRef&lt;br /&gt;
					256 - internal stack&lt;br /&gt;
					512 - miscellaneous&lt;br /&gt;
				 This argument can be used more than once. (Or&lt;br /&gt;
				 the flags may be added together.)&lt;br /&gt;
&lt;br /&gt;
See http://www.crosswire.org/wiki/osis2mod for more details.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== Parameters and Options ===&lt;br /&gt;
'''&amp;amp;lt;output/path&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This a path to any existing directory. It is best for it to be empty.&lt;br /&gt;
&lt;br /&gt;
'''&amp;amp;lt;osisDoc&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This is a single, well-formed, valid OSIS document.&lt;br /&gt;
&lt;br /&gt;
If '''-''' is used instead of a file name, the document will be read from standard input. This allows for two constructs:&lt;br /&gt;
* Redirection&lt;br /&gt;
 osis2mod ./modules/texts/ztext/KJV - &amp;lt; kjv.xml&lt;br /&gt;
* Piping&lt;br /&gt;
 cat kjv.xml | osis2mod ./modules/texts/ztext/KJV -&lt;br /&gt;
&lt;br /&gt;
'''-a'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Osis2mod can create a Bible all at once or incrementally, depending on the presence of the -a flag. This&lt;br /&gt;
provides for two abilities,&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Assembling a Bible from book files:&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir /tmp/mymodule&lt;br /&gt;
osis2mod /tmp/mymodule  matt.xml&lt;br /&gt;
osis2mod /tmp/mymodule -a mark.xml&lt;br /&gt;
...&lt;br /&gt;
osis2mod /tmp/mymodule -a rev.xml&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
'''Note:''' The book files can be in any order. SWORD will order them correctly in the index.&lt;br /&gt;
&amp;lt;li&amp;gt;Adding corrections to a Bible:&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
osis2mod /tmp/mymodule -a fixes.xml&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
'''Note:''' When fixes are put into the module they are appended to the data file and do not actually replace the verses. The index file is adjusted to point to the new place in the data file.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''-z &amp;amp;lt;l|z|b|x&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
A SWORD Bible can be compressed with Zip (-z z), LZSS (-z l), BZip2 (-z b) '''or''' XZ (-lx). All of CrossWire's compressed Bible and commentary modules are compressed with Zip. This saves significant space over an uncompressed module. Uncompressed modules are useful for debugging.&lt;br /&gt;
&lt;br /&gt;
'''-b &amp;amp;lt;2|3|4&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This setting is only useful for a compressed module. The choice as to whether to use Verse (2), Chapter (3) or Book (4, the default) level compression depends upon the amount of data in the block. A typical Bible is best compressed book by book. A commentary, chapter by chapter. If the commentary is very robust and the amount of text per verse is really huge, then verse compression might make sense.&lt;br /&gt;
&lt;br /&gt;
All of SWORD's compressed Bible modules are compressed by book. Basically, all of the verses in a block are compressed and appended to the data file. For this reason, the datafile cannot be uncompressed by anything other than the SWORD and JSword libraries.&lt;br /&gt;
&lt;br /&gt;
When creating the module by appending it is important to do so by whole compression block. That is, if blockType is Chapter, then the osisDoc needs to contain one or more whole chapters.&lt;br /&gt;
&lt;br /&gt;
'''-l [1-9]'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This setting is useful for a compressed module and provides the level of compression to be used. The default varies depending on the compressor used. The default is typically used.&lt;br /&gt;
&lt;br /&gt;
'''-c cipherKey'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This is typically 16 characters in length, having no leading or trailing spaces, consisting of alternating sets of 4 alpha and 4 numeric characters, such as Aduf0274PjNq0328. The key is case-sensitive.&lt;br /&gt;
&lt;br /&gt;
'''-e &amp;amp;lt;1|2|s&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This flag gives whether the input is to be converted to UTF-8, UTF-16, or SCSU. By default the encoding is UTF-8. Using UTF-16 is reasonable for non-latin texts with little markup. SCSU will compress the Unicode, but it has not been sufficiently tested, requires [[DevTools:ICU|ICU]] support when compiling osis2mod and when running (not all frontends do).&lt;br /&gt;
&lt;br /&gt;
'''-N'''&amp;lt;br/&amp;gt;&lt;br /&gt;
All OSIS modules should be UTF-8 and all that are UTF-8 are also to be NFC. The default is to automatically detect the presense of Latin-1 (either cp1252 or iso8859-1) and convert it to UTF-8 and to normalize UTF-8 to NFC. This flag will turn off this behavior and is useful for creating Latin-1 modules or for modules for which the source text is already UTF-8 and NFC. It is also advised for Biblical Hebrew modules for which the source text (with accents and cantillation points) is intentionally not normalized, as &amp;quot;Unicode normalization can easily break Biblical Hebrew&amp;quot;. Quoted from page 9 of the SBL Hebrew Font Manual.&amp;lt;ref&amp;gt;See https://www.sbl-site.org/Fonts/SBLHebrewUserManual1.5x.pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: this was added late Feb 2008 and requires [[DevTools:ICU|ICU]] support when compiling.&lt;br /&gt;
&lt;br /&gt;
'''-s &amp;amp;lt;2|4&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
A value of 2, the default, restricts modules to 64K bytes per entry. A value of 4, breaks this barrier. This is needed for Bibles, having large introductory materials, and for commentaries with large entries.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' 4 was added late Apr 2009 for raw, uncompressed modules and will be part of the SWORD 1.6.0 release (formerly known as 1.5.11). A later release extended support to compressed modules.&lt;br /&gt;
&lt;br /&gt;
'''-v v11n'''&amp;lt;br/&amp;gt;&lt;br /&gt;
By default, osis2mod uses the KJV versification. The practical implication of this is that only books in the KJV canon are allowed and any text in an allowed book are retained. However, if the verse reference of a supported book falls outside of the versification it is appended to the prior verse in the canon. This flag allows for an [[Alternate Versification|alternate versification]].&lt;br /&gt;
&lt;br /&gt;
'''Note:''' This option was added in April 2009 as part of the SWORD 1.6.0 release.&lt;br /&gt;
&lt;br /&gt;
'''-d flags'''&amp;lt;br/&amp;gt;&lt;br /&gt;
The flag can be used more than once or the flags can be added together. For example,&lt;br /&gt;
 -d 2 -d 4&lt;br /&gt;
is the same as&lt;br /&gt;
 -d 6&lt;br /&gt;
&lt;br /&gt;
To do verbose debugging use:&lt;br /&gt;
 -d -1&lt;br /&gt;
&lt;br /&gt;
For the most part these flags are not intended for debugging modules, but rather for debugging problems in osis2mod.&lt;br /&gt;
&lt;br /&gt;
The -d 2 flag produces no output but puts milestones into the module where verses start and end. The form of the milestone is:&lt;br /&gt;
 &amp;amp;lt;milestone resp=&amp;quot;v&amp;quot; [attributes from verse] /&amp;gt;&lt;br /&gt;
The milestone will contain the osisID from the verse and also a valid sID or eID. The sID/eID indicates the start of end of the verse.&lt;br /&gt;
&lt;br /&gt;
Note: the -d 2 flag might change at any time, or may even be removed.&lt;br /&gt;
&lt;br /&gt;
==Messages==&lt;br /&gt;
Osis2mod has robust, mind-boggling messages. These are provided here in hopes that it will help problem diagnosis.&lt;br /&gt;
&lt;br /&gt;
===Exit Status===&lt;br /&gt;
When an error occurs that causes osis2mod to exit without processing the entire input file, a non-zero exit status is supplied to the caller. Here are the codes that osis2mod uses:&lt;br /&gt;
 const int EXIT_BAD_ARG     =   1; // Bad parameter given for program&lt;br /&gt;
 const int EXIT_NO_WRITE    =   2; // Could not open the module for writing&lt;br /&gt;
 const int EXIT_NO_CREATE   =   3; // Could not create the module&lt;br /&gt;
 const int EXIT_NO_READ     =   4; // Could not open the input file for reading.&lt;br /&gt;
 const int EXIT_BAD_NESTING =   5; // BSP or BCV nesting is bad or improper XML comment&lt;br /&gt;
&lt;br /&gt;
==Diagnostic Messages==&lt;br /&gt;
In the following, example values are given in '''{...}'''. The brackets do not actually appear in the message. Also, the messages are a bit prettier here than in reality.&lt;br /&gt;
&lt;br /&gt;
In the following&lt;br /&gt;
* ['''{ line }''','''{ col }'''] gives the location of the last line and column read in the file. Since processing is handled after the reading, the location is approximate. If the processing is before the file is read, such as during the reading of command line arguments, it won't show up.&lt;br /&gt;
* ('''{ osisID }''') gives the osisID being processed or N/A. It also is optionally output early in the execution of the program.&lt;br /&gt;
&lt;br /&gt;
 WARNING(UTF8)['''{ line }''','''{ col }''']('''{ osisID }'''):     Should be converted to UTF-8 ('''{text }''')&lt;br /&gt;
The program will always check for text that is not UTF-8.&lt;br /&gt;
&lt;br /&gt;
 INFO(UTF8)['''{ line }''','''{ col }''']('''{ osisID }'''):        Converting to UTF-8 ('''{ text before conversion }''')&lt;br /&gt;
Text that is converted to UTF-8 is noted.&lt;br /&gt;
&lt;br /&gt;
 ERROR(UTF8)['''{ line }''','''{ col }''']('''{ osisID }'''):       Converting to UTF-8 ('''{ text after first conversion }''')&lt;br /&gt;
It is an error if after a conversion it still is not UTF-8.&lt;br /&gt;
&lt;br /&gt;
 WARNING(UTF8)['''{ line }''','''{ col }''']('''{ osisID }'''):     osis2mod is not compiled with support for ICU. Ignoring -n flag.&lt;br /&gt;
Normalization was requested, but since osis2mod was not compiled for it, it cannot honor the default request.&lt;br /&gt;
&lt;br /&gt;
 INFO(V11N)['''{ line }''','''{ col }''']('''{ osisID }'''):        is not in the '''{ v11n }''' versification.&lt;br /&gt;
Indicates that a verse is not in the versification.&lt;br /&gt;
&lt;br /&gt;
 INFO(V11N)['''{ line }''','''{ col }''']('''{ osisID }'''):        is not in the '''{ v11n }''' versification. Appending content to '''{ osisID }'''&lt;br /&gt;
This like the other indicates a versification problem, but shows where the text will be found. Osis2mod preserves all module content for supported books.&lt;br /&gt;
&lt;br /&gt;
 WARNING(V11N)['''{ line }''','''{ col }''']('''{ osisID }'''):     New book is '''{ name }'''  and is not in '''{ v11n }''' versification, ignoring&lt;br /&gt;
The name of the book was not recognized as belonging to the chosen versification, it and all of it's content is ignored.&lt;br /&gt;
&lt;br /&gt;
 INFO(WRITE)['''{ line }''','''{ col }''']('''{ osisID }'''):       Appending entry: '''{ osisID }''': '''{ text so far }'''&lt;br /&gt;
If osis2mod encounters text that needs to be appended to a verse that is already in the module. This could indicate that&lt;br /&gt;
* the reference is in the input twice. This typically indicates a problem.&lt;br /&gt;
* more text was found that needs to be added to the prior verse.&lt;br /&gt;
* osis2mod is being run in append mode to fix a verse in the module.&lt;br /&gt;
&lt;br /&gt;
 INFO(LINK)['''{ line }''','''{ col }''']('''{ osisID }'''):        Linking '''{ osisID }''' to '''{ osisID }'''&lt;br /&gt;
An osisID such as &amp;quot;Gen.1.1 Gen.1.2 Gen.1.3&amp;quot; was used and the latter are linked to the first.&lt;br /&gt;
&lt;br /&gt;
 ERROR(REF)['''{ line }''','''{ col }''']('''{ osisID }'''):        Invalid osisID/annotateRef: '''{ invalid attribute value }'''&lt;br /&gt;
This indicates that the SWORD library was unable to parse the osisID or annotateRef.&lt;br /&gt;
&lt;br /&gt;
 FATAL(NESTING)['''{ line }''','''{ col }''']('''{ osisID }'''):    tag expected&lt;br /&gt;
This indicates that the specified verse is not balanced with regard to its tags. Building a raw text module, looking in the module for the verse and pairing begin/end tags will help find the problem. Typically, this indicates an end tag that did not have a matching begin tag and all tags before it were properly paired.&lt;br /&gt;
&lt;br /&gt;
 FATAL(NESTING)['''{ line }''','''{ col }''']('''{ osisID }'''):    Expected '''{ topToken.getName() }''' found '''{ tokenName }'''&lt;br /&gt;
This also indicates that the specified verse is not balanced with regard to its tags. Building a raw text module, looking in the module for the verse and pairing begin/end tags will help find the problem. It could be either a begin or an end tag problem.&lt;br /&gt;
&lt;br /&gt;
 WARNING(NESTING)['''{ line }''','''{ col }''']('''{ osisID }'''):  verse '''{ currentOsisID }''' is not well formed:('''{ verseDepth }''','''{ tagDepth }''')&lt;br /&gt;
This indicates that the verse probably will not show properly in some front-ends in some circumstances. Typically, it shows the problem if the verse is shown in isolation.&lt;br /&gt;
&lt;br /&gt;
 ERROR(NESTING)['''{ line }''','''{ col }''']('''{ osisID }'''):    improper nesting '''{ currentOsisID }''': matching (sID,eID) not found. Looking at ('''{ sID }''','''{ eID }''')&lt;br /&gt;
OSIS specifies that every sID has a matching eID. Osis2mod is checking that BSP elements are properly nested.&lt;br /&gt;
&lt;br /&gt;
 FATAL(COMMENTS)['''{ line }''','''{ col }''']('''{ osisID }'''):   unknown commentstate on comment start: { comment state }&lt;br /&gt;
This indicates that the comment is not of the form &amp;amp;lt;!-- ... --&amp;amp;gt;.&lt;br /&gt;
&lt;br /&gt;
 FATAL(COMMENTS)['''{ line }''','''{ col }''']('''{ osisID }'''):   unknown commentstate on comment end:  { comment state }&lt;br /&gt;
This indicates that the comment is not of the form &amp;amp;lt;!-- ... --&amp;amp;gt;.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    malformed entity, replacing &amp;amp;amp;'''{ malformed entity }''' with &amp;amp;amp;amp;'''{ malformed entity }'''&lt;br /&gt;
This means it found a &amp;amp;amp; that starts an entity but it wasn't terminated by a ; and changed it to something that probably isn't appropriate.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    HEX entity must begin with &amp;amp;amp;x, found '''{ entity }'''&lt;br /&gt;
This indicates &amp;amp;X, which is not valid for xml. It is not changed.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    SWORD does not search HEX entities, found '''{ entity }'''&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    SWORD does not search numeric entities, found '''{ entity }'''&lt;br /&gt;
Since we don't transform HEX or numeric entities to their equivalent UTF-8 value, this will be literal text that cannot be searched.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    XML only supports 5 Character entities &amp;amp;amp;amp;, &amp;amp;amp;lt;, &amp;amp;amp;gt;, &amp;amp;amp;quot; and &amp;amp;amp;apos;, found '''{ entity }'''&lt;br /&gt;
XML does not allow character entities. These are passed unchanged to SWORD module. This frustrates search and may only display properly in a front-end using HTML rendering.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    &amp;amp;amp;quot; is unnecessary outside of attribute values. Replace with &amp;quot;.&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    &amp;amp;amp;quot; is unnecessary inside single quoted attribute values. Replace with &amp;quot;.&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    &amp;amp;amp;quot; is only needed within double quoted attribute values. Considering using single quoted attribute and replacing with &amp;quot;.&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    &amp;amp;amp;apos; is only needed within single quoted attribute values. Considering using double quoted attribute and replacing with '.&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    &amp;amp;amp;apos; is unnecessary inside double quoted attribute values. Replacing with '.&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    &amp;amp;amp;apos; is unnecessary outside of attribute values. Replacing with '.&lt;br /&gt;
The &amp;amp;amp;apos; or &amp;amp;amp;quot; was found outside of an attribute value and is being substituted with a straight single apostrophe, ', or double quote, &amp;quot;, respectively.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    While valid for XML, &amp;amp;amp;quot; is only needed within double quoted attribute values.&lt;br /&gt;
This warning indicates that the entity is present where it does not need to be.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    While valid for XML, XHTML does not support &amp;amp;amp;apos;.&lt;br /&gt;
This warning indicates that the &amp;amp;amp;apos; may not display properly in all front-ends. It was found in an attribute value.&lt;br /&gt;
&lt;br /&gt;
===Debug Messages===&lt;br /&gt;
The following are shown in the same form as the diagnostic messages above. They are given without comment.&lt;br /&gt;
&lt;br /&gt;
'''-d 1'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Output of what is being written to the module. The two osisIDs should always be the same.&lt;br /&gt;
 DEBUG(WRITE)['''{ line }''','''{ col }''']('''{ osisID }'''):      '''{ text so far }'''&lt;br /&gt;
&lt;br /&gt;
'''-d 4'''&amp;lt;br/&amp;gt;&lt;br /&gt;
A stack is maintained to represent the Words of Christ on a per verse basis. This is internal diagnostic of that stack&lt;br /&gt;
 DEBUG(QUOTE)['''{ line }''','''{ col }''']('''{ osisID }'''):      quote top('''{ quote stack size }''') '''{ token }'''&lt;br /&gt;
 DEBUG(QUOTE)['''{ line }''','''{ col }''']('''{ osisID }'''):      quote pop('''{ quote stack size }''') '''{ topToken }''' -- '''{ token }'''&lt;br /&gt;
 DEBUG(QUOTE)['''{ line }''','''{ col }''']('''{ osisID }'''):      ('''{ quote stack size }''') '''{ topToken }''' -- '''{ token }'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''-d 8'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Identifies when book and chapter introductions are being determined.&lt;br /&gt;
 DEBUG(TITLE)['''{ line }''','''{ col }''']('''{ osisID }'''):     OOPS INTRO&lt;br /&gt;
         inChapterIntro = '''{ inChapterIntro }'''&lt;br /&gt;
         inBookIntro    = '''{ inBookIntro }'''&lt;br /&gt;
 DEBUG(TITLE)['''{ line }''','''{ col }''']('''{ osisID }'''):      Looking for book introduction&lt;br /&gt;
 DEBUG(TITLE)['''{ line }''','''{ col }''']('''{ osisID }'''):      Done looking for book introduction&lt;br /&gt;
 DEBUG(TITLE)['''{ line }''','''{ col }''']('''{ osisID }'''):      BOOK INTRO '''{ beading }'''&lt;br /&gt;
 DEBUG(TITLE)['''{ line }''','''{ col }''']('''{ osisID }'''):      Looking for chapter introduction&lt;br /&gt;
 DEBUG(TITLE)['''{ line }''','''{ col }''']('''{ osisID }'''):      Done looking for chapter introduction&lt;br /&gt;
 DEBUG(TITLE)['''{ line }''','''{ col }''']('''{ osisID }'''):      CHAPTER INTRO '''{ heading }'''&lt;br /&gt;
&lt;br /&gt;
'''-d 16'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Inter-verse material either goes with the prior &amp;quot;verse&amp;quot; or the next. This help diagnose problems related to that split.&lt;br /&gt;
 DEBUG(INTERVERSE)['''{ line }''','''{ col }''']('''{ osisID }'''): Interverse start token '''{ token }''':'''{ text }'''&lt;br /&gt;
 DEBUG(INTERVERSE)['''{ line }''','''{ col }''']('''{ osisID }'''): Interverse end tag: '''{ tokenName }'''('''{ tagDepth }''','''{ chapterDepth }''','''{ bookDepth }''')&lt;br /&gt;
 DEBUG(INTERVERSE)['''{ line }''','''{ col }''']('''{ osisID }'''): Appending interverse end tag: '''{tokenName }'''('''{ tagDepth }''','''{ chapterDepth }''','''{ bookDepth }''')&lt;br /&gt;
&lt;br /&gt;
'''-d 32'''&amp;lt;br/&amp;gt;&lt;br /&gt;
The following messages relate to the transformations of containers to milestones.&lt;br /&gt;
 DEBUG(XFORM)['''{ line }''','''{ col }''']('''{ osisID }'''):      Transform start tag from '''{ orig }''' to '''{ transformed }'''&lt;br /&gt;
 DEBUG(XFORM)['''{ line }''','''{ col }''']('''{ osisID }'''):      Transform end tag from '''{ orig }''' to '''{ transformed }'''&lt;br /&gt;
&lt;br /&gt;
'''-d 64'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Occasionally a verse reference is outside of the chosen versification. These messages help to understand difficulties that osis2mod has in storing extra-canonical material in the module.&lt;br /&gt;
 DEBUG(V11N)['''{ line }''','''{ col }''']('''{ osisID }'''):       {'''{ caller }'''} normalizes to '''{ after }'''&lt;br /&gt;
 DEBUG(V11N)['''{ line }''','''{ col }''']('''{ osisID }'''):       Chapter max:'''{ chapterMax }''', Verse Max:'''{ verseMax }'''&lt;br /&gt;
&lt;br /&gt;
'''-d 128'''&amp;lt;br/&amp;gt;&lt;br /&gt;
OSIS ids and references can be of a form that SWORD cannot parse. Osis2mod contains a routine that munges these into a form that SWORD can understand.&lt;br /&gt;
 DEBUG(REF)['''{ line }''','''{ col }''']('''{ osisID }'''):        VerseKey can parse this as is.&lt;br /&gt;
 DEBUG(REF)['''{ line }''','''{ col }''']('''{ osisID }'''):        Found a range marker. Progress: '''{ progress }''' Remaining: '''{ remaining }'''&lt;br /&gt;
 DEBUG(REF)['''{ line }''','''{ col }''']('''{ osisID }'''):        Found a work prefix '''{ workPrefix }''' Progress: '''{ progress }''' Remaining: '''{ remaining }'''&lt;br /&gt;
 DEBUG(REF)['''{ line }''','''{ col }''']('''{ osisID }'''):        Found an osisID:'''{ osisID }''' Progress: '''{ progress }''' Remaining: '''{ remaining }'''&lt;br /&gt;
 DEBUG(REF)['''{ line }''','''{ col }''']('''{ osisID }'''):        Found a grain suffix '''{ grain }''' Progress: '''{ progress }''' Remaining: '''{ remaining }'''&lt;br /&gt;
 DEBUG(REF)['''{ line }''','''{ col }''']('''{ osisID }'''):        Replacing space with ; Progress: '''{ progress }''' Remaining: '''{ remaining }'''&lt;br /&gt;
 DEBUG(REF)['''{ line }''','''{ col }''']('''{ osisID }'''):        Parseable VerseKey -- '''{ osisRef }'''&lt;br /&gt;
&lt;br /&gt;
'''-d 256'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Osis2mod contains two stacks to validate proper nesting of BSP and BCV, respectively. This is an internal representation of the BCV stacks. It provides additional information to understand the diagnostic nesting messages.&lt;br /&gt;
 DEBUG(STACK)['''{ line }''','''{ col }''']('''{ osisID }'''):     push ('''{ stack size}''') '''{ tokenName }'''&lt;br /&gt;
 DEBUG(STACK)['''{ line }''','''{ col }''']('''{ osisID }'''):     pop('''{ tagDepth }''') '''{ topToken.getName() }'''&lt;br /&gt;
&lt;br /&gt;
'''-d 512'''&amp;lt;br/&amp;gt;&lt;br /&gt;
These are general debug messages.&lt;br /&gt;
 DEBUG(FOUND)['''{ line }''','''{ col }''']('''{ osisID }'''):        Found first div and pitching prior material: '''{ text }'''&lt;br /&gt;
 DEBUG(FOUND)['''{ line }''','''{ col }''']('''{ osisID }'''):        Found new book.&lt;br /&gt;
 DEBUG(FOUND)['''{ line }''','''{ col }''']('''{ osisID }'''):        Current chapter is '''{ currentOsisID }'''&lt;br /&gt;
 DEBUG(FOUND)['''{ line }''','''{ col }''']('''{ osisID }'''):        Entering verse&lt;br /&gt;
 DEBUG(FOUND)['''{ line }''','''{ col }''']('''{ osisID }'''):        New current verse&lt;br /&gt;
 DEBUG(FOUND)['''{ line }''','''{ col }''']('''{ osisID }'''):        End of header found.&lt;br /&gt;
 DEBUG(COMMENTS)['''{ line }''','''{ col }''']('''{ osisID }'''): in comment&lt;br /&gt;
 DEBUG(COMMENTS)['''{ line }''','''{ col }''']('''{ osisID }'''): out of comment&lt;br /&gt;
 DEBUG(ARGS):&lt;br /&gt;
         path:         '''{ path }'''&lt;br /&gt;
         osisDoc:      '''{ osisDoc }'''&lt;br /&gt;
         create:       '''{ append }'''&lt;br /&gt;
         compressType: '''{ compType }'''&lt;br /&gt;
         blockType:    '''{ iType }'''&lt;br /&gt;
         cipherKey:    '''{ cipherKey }'''&lt;br /&gt;
         normalize:    '''{ normalize }'''&lt;br /&gt;
&lt;br /&gt;
== Future Roadmap ==&lt;br /&gt;
:''List here suggestions for useful enhancements to or improvements for osis2mod''.&lt;br /&gt;
&lt;br /&gt;
* Add a command line flag '''-x''' to ''exclude'' all OSIS elements with the global attribute '''editions'''.&amp;lt;ref&amp;gt;The '''editions''' attribute is used to specify edition specific content, such as material omitted in Protestant versions of the Bible.&amp;lt;/ref&amp;gt;&amp;lt;BR&amp;gt;osis2mod would exclude those elements that match the specified attribute value.&lt;br /&gt;
&lt;br /&gt;
'''Note:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Reporting issues ==&lt;br /&gt;
* [http://www.crosswire.org/tracker/browse/MODTOOLS/component/10290/ Module Tools &amp;amp;ndash; osis2mod]&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[OSIS]] &amp;amp;ndash; a partial list of other OSIS related pages and external links.&lt;br /&gt;
* [[Mod2zmod]]&lt;br /&gt;
&lt;br /&gt;
[[Category:OSIS]]&lt;br /&gt;
[[Category:Utilities]]&lt;br /&gt;
[[Category:Versification]]&lt;/div&gt;</summary>
		<author><name>Dmsmith</name></author>	</entry>

	<entry>
		<id>https://wiki.crosswire.org/index.php?title=Osis2mod&amp;diff=17753</id>
		<title>Osis2mod</title>
		<link rel="alternate" type="text/html" href="https://wiki.crosswire.org/index.php?title=Osis2mod&amp;diff=17753"/>
				<updated>2025-07-07T15:41:00Z</updated>
		
		<summary type="html">&lt;p&gt;Dmsmith: /* Debug Messages */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
osis2mod transforms an OSIS encoded [[OSIS Bibles|Bible]] or [[OSIS_Commentaries|commentary]] into a SWORD module.&lt;br /&gt;
&lt;br /&gt;
==Where to get it==&lt;br /&gt;
* See [[DevTools:Modules#Collect_and_Install_Software_Tools|Collect and Install Software Tools]]&lt;br /&gt;
&lt;br /&gt;
== Current status ==&lt;br /&gt;
&lt;br /&gt;
Software bugs relating to osis2mod should be reported in https://tracker.crosswire.org/browse/MODTOOLS&lt;br /&gt;
&lt;br /&gt;
:''Please describe current status of osis2mod, including a list of any outstanding issues or unsolved difficulties''.&lt;br /&gt;
&lt;br /&gt;
==History of Changes==&lt;br /&gt;
The following outlines in reverse chronological order the major changes to osis2mod. When several changes were made over the span of a few days, they are lumped into the most recent date. Bug fixes are not mentioned.&lt;br /&gt;
&lt;br /&gt;
{|width=&amp;quot;100%&amp;quot; border=&amp;quot;0&amp;quot; class=&amp;quot;sortable&amp;quot;&lt;br /&gt;
!width=&amp;quot;10%&amp;quot;|Date&lt;br /&gt;
!Revision&lt;br /&gt;
!Feature&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2025-06-25'''&lt;br /&gt;
|&lt;br /&gt;
r3906&lt;br /&gt;
|&lt;br /&gt;
* MODTOOLS-76: Enhance -v argument handling in osis2mod with case-insensitive and prefix matching, and improved error reporting.&lt;br /&gt;
&lt;br /&gt;
 - Outputs the name of the versification system being used at program start&lt;br /&gt;
 - Adds layered resolution of versifications:&lt;br /&gt;
    1) Case-sensitive exact match&lt;br /&gt;
    2) Case-insensitive exact match&lt;br /&gt;
    3) Case-insensitive prefix match&lt;br /&gt;
 - Shows detailed error messages when input is invalid or ambiguous:&lt;br /&gt;
    * Lists all matches in case of ambiguity&lt;br /&gt;
    * Lists input and valid options if no match is found&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2025-06-19'''&lt;br /&gt;
|&lt;br /&gt;
r3903&lt;br /&gt;
|&lt;br /&gt;
* MODTOOLS-108  fix. Properly append verses beyond the last chapter of a book at the end of the book in the last verse of the chapter, which caused an infinite loop.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2020-07-26'''&lt;br /&gt;
|&lt;br /&gt;
r3769&lt;br /&gt;
|&lt;br /&gt;
* Fixed linking bug with ranges in osis2mod&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2020-05-08'''&lt;br /&gt;
|&lt;br /&gt;
r3737&lt;br /&gt;
|&lt;br /&gt;
* Added support putting reponumber into nano position of SWORD version string and output current SWORD version&lt;br /&gt;
* standardize on (SWORD: {SWVersion::currentVersion.getText()}) for all reported SWORD versions in utilities&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2016-08-16'''&lt;br /&gt;
|&lt;br /&gt;
r3431&lt;br /&gt;
|&lt;br /&gt;
* commented out  a set of lines handling &amp;quot;div type=&amp;quot;majorSection&amp;quot; &amp;quot; - see comments in code. &lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2016-02-06'''&lt;br /&gt;
|&lt;br /&gt;
r3401&lt;br /&gt;
|&lt;br /&gt;
* Added entity handling.&lt;br /&gt;
* div type='colophon' now not changed to milestones.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2015-02-16'''&lt;br /&gt;
|&lt;br /&gt;
r3322&lt;br /&gt;
| &lt;br /&gt;
* Correct casing of COUT&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2015-02-16'''&lt;br /&gt;
|&lt;br /&gt;
r3321&lt;br /&gt;
|&lt;br /&gt;
* cleaned up whitespace in osis2mod&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2014-12-17'''&lt;br /&gt;
|&lt;br /&gt;
r3310&lt;br /&gt;
|&lt;br /&gt;
* MODTOOLS-55 endless loop fix.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2014-12-15'''&lt;br /&gt;
|&lt;br /&gt;
r3307&lt;br /&gt;
|&lt;br /&gt;
* Greg Helling's patch to osis2mod for majorSections&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2014-03-17'''&lt;br /&gt;
|&lt;br /&gt;
r3139&lt;br /&gt;
|&lt;br /&gt;
* Added support for large entries (&amp;amp;gt; 64K) in compressed modules (aka zText4).&lt;br /&gt;
* Added support for UTF-16 and SCSU using the -e flag. SCSU is experimental.&lt;br /&gt;
* Added support for BZip2 and XZ compression, changing -z and -Z to -z &amp;amp;lt;l|z|b|x&amp;amp;gt;&lt;br /&gt;
* Added support for compression levels of 1 to 9 using the -l [1-9] flag.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2014-01-21'''&lt;br /&gt;
|&lt;br /&gt;
r3011&lt;br /&gt;
|&lt;br /&gt;
* Changed the transformation of &amp;amp;lt;p&amp;amp;gt; from &amp;amp;lt;div type=&amp;quot;paragraph&amp;quot; sID=&amp;quot;xxx&amp;quot;/&amp;amp;gt; to &amp;amp;lt;div type=&amp;quot;x-p&amp;quot; sID=&amp;quot;xxx&amp;quot;/&amp;amp;gt; This is a semantic change that brings osis2mod into alignment with the OSIS specification.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2012-03-24'''&lt;br /&gt;
|&lt;br /&gt;
r2693&lt;br /&gt;
|&lt;br /&gt;
* Allow for XML comments to be in the document, but stripped from the module. This allows for large parts of a document to be commented out, which is especially important during development.&lt;br /&gt;
* Allow for &amp;amp;lt;p&amp;amp;gt; elements to be in the &amp;amp;lt;header&amp;amp;gt; element but ignored. Previously, the p in a header, having been transformed to a div, was taken to be the start of the module's content.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2011-11-12'''&lt;br /&gt;
|&lt;br /&gt;
r2671&lt;br /&gt;
|&lt;br /&gt;
* Restored pre-verse handling. Titles no longer need to be specially specified in OSIS.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2010-06-04'''&lt;br /&gt;
|&lt;br /&gt;
r2519&lt;br /&gt;
|&lt;br /&gt;
* Removed pre-verse handling. Titles now have to be specially specified in OSIS. In OSIS there should also be no tags between verse elements except title and those marking book and chapter.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-06-06'''&lt;br /&gt;
|&lt;br /&gt;
r2435&lt;br /&gt;
|&lt;br /&gt;
* Improved handling of chapter introductions.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-05-30'''&lt;br /&gt;
|&lt;br /&gt;
r2421&lt;br /&gt;
|&lt;br /&gt;
* '''-d flags''' now always available.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-05-14'''&lt;br /&gt;
|&lt;br /&gt;
r2413&lt;br /&gt;
|&lt;br /&gt;
*Added '''-d flags''' as a compile time option.&lt;br /&gt;
*Improved exit codes and documented them here.&lt;br /&gt;
*Labeled all diagnostic and debug output.&lt;br /&gt;
*Can now read from standard input.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-04-28'''&lt;br /&gt;
|&lt;br /&gt;
r2358&lt;br /&gt;
|&lt;br /&gt;
*Predictable handling of inter-verse material.&lt;br /&gt;
*All tags, except verse, included in the module.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-04-26'''&lt;br /&gt;
|&lt;br /&gt;
r2345&lt;br /&gt;
|&lt;br /&gt;
*'''-v v11n''' added to support [[Alternate Versification]].&lt;br /&gt;
*'''-s &amp;lt;2|4&amp;gt;''' added to support uncompressed commentaries with large entries (exceeding 64K bytes).&lt;br /&gt;
*Replace paragraph hack with milestoned paragraphs: &amp;amp;lt;div type=&amp;quot;paragraph&amp;quot; sID=&amp;quot;xxx&amp;quot;/&amp;gt; ... &amp;amp;lt;div type=&amp;quot;paragraph&amp;quot; eID=&amp;quot;xxx&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2008-09-11'''&lt;br /&gt;
|&lt;br /&gt;
r2196&lt;br /&gt;
|&lt;br /&gt;
*Words of Christ (WoC) can be marked up naturally. osis2mod does the right thing.&lt;br /&gt;
*Container elements converted to their milestoned form.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2008-02-29'''&lt;br /&gt;
|&lt;br /&gt;
r2141&lt;br /&gt;
|&lt;br /&gt;
*Now supports commentaries in addition to Bibles.&lt;br /&gt;
*Added utf-8 detection and automatic conversion from cp1252 and iso8859-1 to utf-8, making that the default behavior&lt;br /&gt;
*Added NFC [[Encoding#Normalization|normalization]], making it the default&lt;br /&gt;
*Now handles the full definition of an osisID and an osisRef, including workID and grain.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2007-09-27'''&lt;br /&gt;
|&lt;br /&gt;
r2090&lt;br /&gt;
|&lt;br /&gt;
*Changed command-line parsing from positional parameters to flags.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2007-05-13'''&lt;br /&gt;
|&lt;br /&gt;
r2050&lt;br /&gt;
|&lt;br /&gt;
*All whitespace tokens are converted into blanks and adjacent spaces are merged into one. Leading whitespace on each verse is still removed.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2007-05-01'''&lt;br /&gt;
|&lt;br /&gt;
r2044&lt;br /&gt;
|&lt;br /&gt;
*Added version identification to the running of osis2mod.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2007-04-24'''&lt;br /&gt;
|&lt;br /&gt;
r2038&lt;br /&gt;
|&lt;br /&gt;
*Added ignoring of unknown books&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2006-07-15'''&lt;br /&gt;
|&lt;br /&gt;
r1948&lt;br /&gt;
|&lt;br /&gt;
*Optimized writing to module.&lt;br /&gt;
*Added simple transformations of &amp;amp;lt;q&amp;gt; and &amp;amp;lt;p&amp;gt; into milestones.&lt;br /&gt;
*Now allow empty attributes, such as marker=&amp;quot;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2006-07-04'''&lt;br /&gt;
|&lt;br /&gt;
r1914&lt;br /&gt;
|&lt;br /&gt;
*Updated to support OSIS 2.1&lt;br /&gt;
*Added validation that verses in isolation are well formed&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2005-12-22'''&lt;br /&gt;
|&lt;br /&gt;
r1876&lt;br /&gt;
|&lt;br /&gt;
*Added command-line options for compress and encipher.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2005-05-02'''&lt;br /&gt;
|&lt;br /&gt;
r1790&lt;br /&gt;
|&lt;br /&gt;
*Removed &amp;amp;lt;verse&amp;gt; and &amp;amp;lt;/verse&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2005-02-03'''&lt;br /&gt;
|&lt;br /&gt;
r1707&lt;br /&gt;
|&lt;br /&gt;
*Reverted pre-verse title handling&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2004-06-12'''&lt;br /&gt;
|&lt;br /&gt;
r1620&lt;br /&gt;
|&lt;br /&gt;
*Removed pre-verse title handling&lt;br /&gt;
*Added &amp;amp;lt;verse&amp;gt; and &amp;amp;lt;/verse&amp;gt;&lt;br /&gt;
*Added support for milestoned version of some OSIS elements&lt;br /&gt;
*Added support for verses that are not in the KJV versification by appending them to the closest prior verse.&lt;br /&gt;
*Added support for osisIDs with sub-verse references (i.e. osisID grains)&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2004-05-19'''&lt;br /&gt;
|&lt;br /&gt;
r1597&lt;br /&gt;
|&lt;br /&gt;
*Added support for linked verses&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2003-11-21'''&lt;br /&gt;
|&lt;br /&gt;
r1407&lt;br /&gt;
|&lt;br /&gt;
*Added recognition for &amp;lt;chapter&amp;gt; element&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2003-05-26'''&lt;br /&gt;
|&lt;br /&gt;
r1183&lt;br /&gt;
|&lt;br /&gt;
*Initial version&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Transformations==&lt;br /&gt;
:''This section may need further updating''.&lt;br /&gt;
&lt;br /&gt;
Osis2mod performs the following transformations&amp;lt;ref&amp;gt;These transformations are all performed &amp;quot;under the hood&amp;quot; as it were. Tweaking OSIS XML files to fix problems with pre-verse titles, etc., was never intended to be done by module developers as part of the preprocessing before using osis2mod.&amp;lt;/ref&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
* '''Whitespace''' -- Allows for human-readable OSIS files.&lt;br /&gt;
**Leading whitespace on books, chapters and verses is removed&lt;br /&gt;
**Whitespace is normalized into blanks&lt;br /&gt;
**Multiple adjacent whitespace is reduced to a single space&lt;br /&gt;
&lt;br /&gt;
* '''Unicode handling''' - All modules should be UTF-8, NFC.&amp;lt;ref&amp;gt;With the possible exception of Biblical Hebrew and some Indic scripts that should not be normalized.&amp;lt;/ref&amp;gt;&lt;br /&gt;
**Latin-1 (cp1252 and iso8859-1) are converted into UTF-8&lt;br /&gt;
**UTF-8 is normalized into NFC, unless specified otherwise (i.e. by using the -N option).&lt;br /&gt;
&lt;br /&gt;
* '''Verse ranges''' - also known as linked verses.&lt;br /&gt;
** Verses within a specified OSIS verse range are each linked to the first verse of the range.&lt;br /&gt;
&lt;br /&gt;
* '''Milestone conversion''' - necessary for frontends to show a verse at a time.&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;q ...&amp;gt;...&amp;amp;lt;/q&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;q sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;q eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;ref&amp;gt;'''gen#''' is unique for an sID/eID pair, where '''#''' is a number.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;Quotes with who=&amp;quot;Jesus&amp;quot; are not transformed at this stage.&amp;lt;/ref&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;p ...&amp;gt;...&amp;amp;lt;/p&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;div sID=&amp;quot;gen#&amp;quot; type=&amp;quot;x-p&amp;quot; .../&amp;gt;... &amp;amp;lt;div eID=&amp;quot;gen#&amp;quot; type=&amp;quot;x-p&amp;quot; ...&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;chapter ...&amp;gt;...&amp;amp;lt;/chapter&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;chapter sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;chapter eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;closer ...&amp;gt;...&amp;amp;lt;/closer&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;closer sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;closer eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;div ...&amp;gt;...&amp;amp;lt;/div&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;div sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;div eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;ref&amp;gt;As of r3401, &amp;amp;lt;div type=&amp;quot;colophon&amp;quot;...&amp;gt; is unchanged.&amp;lt;/ref&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;l ...&amp;gt;...&amp;amp;lt;/l&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;l sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;l eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;lg ...&amp;gt;...&amp;amp;lt;/lg&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;lg sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;lg eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;salute ...&amp;gt;...&amp;amp;lt;/salute&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;salute sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;salute eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;signed ...&amp;gt;...&amp;amp;lt;/signed&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;signed sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;signed eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;speech ...&amp;gt;...&amp;amp;lt;/speech&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;speech sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;speech eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;verse ...&amp;gt;...&amp;amp;lt;/verse&amp;gt;&amp;lt;/tt&amp;gt; becomes (when using -d 2 for debugging.)&amp;lt;BR&amp;gt;&amp;lt;tt&amp;gt;&amp;amp;lt;milestone resp=&amp;quot;v&amp;quot; sID=&amp;quot;gen#&amp;quot; ... /&amp;gt;...&amp;amp;lt;milestone resp=&amp;quot;v&amp;quot; eID=&amp;quot;gen#&amp;quot; ... /&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* '''Words of Christ''' - necessary for front-ends to appropriately highlight the WOC, a verse at a time.&amp;lt;ref&amp;gt;The examples given have the null string as the quotation marks in the '''marker''' attribute (as in the KJV module), but proper quotation marks are also supported.&amp;lt;/ref&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;q sID=&amp;quot;gen#&amp;quot; who=&amp;quot;Jesus&amp;quot; .../&amp;gt;...&amp;amp;lt;eID=&amp;quot;gen#&amp;quot; who=&amp;quot;Jesus&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt; becomes&amp;lt;BR&amp;gt;&amp;lt;tt&amp;gt;&amp;amp;lt;q who=&amp;quot;Jesus&amp;quot; marker=&amp;quot;&amp;quot;&amp;gt;&amp;amp;lt;q sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;q eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;amp;lt;/q&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;q who=&amp;quot;Jesus&amp;quot; ...&amp;gt;...&amp;amp;lt;/q&amp;gt;&amp;lt;/tt&amp;gt; becomes&amp;lt;BR&amp;gt;&amp;lt;tt&amp;gt;&amp;amp;lt;q who=&amp;quot;Jesus&amp;quot; marker=&amp;quot;&amp;quot;&amp;gt;&amp;amp;lt;q sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;q eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;amp;lt;/q&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** Within the following construct, &amp;lt;tt&amp;gt;&amp;amp;lt;q who=&amp;quot;Jesus&amp;quot; marker=&amp;quot;&amp;quot;&amp;gt;...&amp;lt;/q&amp;gt;&amp;lt;/tt&amp;gt; will surround verse text.&lt;br /&gt;
&lt;br /&gt;
* '''Pre-Verse Titles'''&amp;lt;ref&amp;gt;The older method that fixed titles only became obsolete with SVN revision 2358 for the SWORD 1.6.0 release and replaced with '''InterVerse Content'''.&amp;lt;/ref&amp;gt;&lt;br /&gt;
** InterVerse or postVerse&amp;lt;ref&amp;gt;For example, the '''colophon''' div as found at the end of some Epistles.&amp;lt;/ref&amp;gt; content not in titles is appended to the prior verse.&lt;br /&gt;
** Titles immediately preceeding a verse are converted into either&amp;lt;BR&amp;gt;&amp;lt;tt&amp;gt;&amp;amp;lt;title canonical=&amp;quot;true&amp;quot; type=&amp;quot;psalm&amp;quot;&amp;gt;...&amp;amp;lt;/title&amp;gt;&amp;lt;/tt&amp;gt; or&amp;lt;BR&amp;gt;&amp;lt;tt&amp;gt;&amp;amp;lt;title canonical=&amp;quot;false&amp;quot; type=&amp;quot;sub&amp;quot;&amp;gt;...&amp;amp;lt;/title&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;ref&amp;gt;type=&amp;quot;sub&amp;quot; is used irrespective of whether the non-canonical title is a section title or a subSection title.&amp;lt;/ref&amp;gt;&amp;lt;BR&amp;gt;and the whole such '''title''' element is wrapped within a special preverse '''div''' element. ''See below''.&lt;br /&gt;
&lt;br /&gt;
* '''InterVerse Content'''&amp;lt;ref&amp;gt;Introduced with SVN revision 2358 for the SWORD 1.6.0 release.&amp;lt;/ref&amp;gt;&lt;br /&gt;
** InterVerse Content refers to all content not contained by the verse element.&amp;lt;ref&amp;gt;i.e. Content between the '''eID''' milestone of a verse and the '''sID''' milestone of the next verse, or before the first verse of the chapter.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;For OSIS files derived from USFM files, the implication of this requirement is the following rule:&lt;br /&gt;
&amp;lt;blockquote&amp;gt;Do not place a title (or similar element) between a matching pair of verse milestones&amp;lt;BR&amp;gt;&lt;br /&gt;
except where the translation places the title somewhere within the verse text in the USFM file.&amp;lt;/blockquote&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
** Such content is divided between the prior and the current verse.&lt;br /&gt;
** Content appended to the prior verse is not marked in any special way.&lt;br /&gt;
** Content prepended&amp;lt;ref&amp;gt;This ensures that when the verse is called the prepended content is also displayed, subject to whatever filters are in place.&amp;lt;/ref&amp;gt; to the current verse is marked with&amp;lt;BR&amp;gt;&amp;lt;tt&amp;gt;&amp;amp;lt;div type=&amp;quot;x-milestone&amp;quot; subType=&amp;quot;x-preverse&amp;quot; sID=&amp;quot;pv#&amp;quot;/&amp;gt;...&amp;amp;lt;div type=&amp;quot;x-milestone&amp;quot; subType=&amp;quot;x-preverse&amp;quot; eID=&amp;quot;pv#&amp;quot;/&amp;gt;.&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Handling of Introductions, Titles and Inter-Verse Material==&lt;br /&gt;
SWORD looks for module, testament, book and chapter introductory material. Those introductions can have appropriate titles as well. &lt;br /&gt;
In SWORD 1.6.0 the handling of this material has changed.&lt;br /&gt;
&lt;br /&gt;
'''Note:'''&lt;br /&gt;
# In the following, the effects of the above transformations are not shown. The tagging of the pre-verse material is also not shown.&lt;br /&gt;
&lt;br /&gt;
===Module and Testament Introductions===&lt;br /&gt;
&lt;br /&gt;
At this time, osis2mod does not fully support module and testament introductions. A module introduction should be place into testament 0, book 0, chapter 0, verse 0. A testament introduction should be placed into testament 1 or 2, book 0, chapter 0, verse 0. Currently, these are placed into Genesis 0:0 or Matthew 0:0.&lt;br /&gt;
&lt;br /&gt;
===Book Introductions and Titles===&lt;br /&gt;
Book introductions and titles are straight forward. It includes the start of the book and everything following it up to, but not including the start of the chapter. See [[OSIS Bibles]] for best practices in marking up titles and introductions.&lt;br /&gt;
&lt;br /&gt;
For example:&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;book&amp;quot; ...&amp;gt;&lt;br /&gt;
 ... introductory material ...&lt;br /&gt;
 &amp;amp;lt;chapter&amp;quot;...&amp;gt;&lt;br /&gt;
will put the following into the book introduction:&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;book&amp;quot; ...&amp;gt;&lt;br /&gt;
 ... introductory material ...&lt;br /&gt;
&lt;br /&gt;
===Chapter Introductions===&lt;br /&gt;
Chapter introductions and titles are a bit problematic. Between the start of a chapter and its first verse, we could have a chapter title, a chapter introduction and/or a start of a section of verses or a titled verse. Osis2mod now handles this in a predictable fashion. From the start of the chapter up to and not including a section div or a title that has a type that is not ''main'', ''chapter'' or ''sub'', the content is chapter introduction. After that, it is part of the verse.&lt;br /&gt;
&lt;br /&gt;
Specifically, the following list gives the possible first elements following the chapter introduction.:&lt;br /&gt;
*&amp;amp;lt;div type=&amp;quot;section&amp;quot; ...&amp;gt;&lt;br /&gt;
*&amp;amp;lt;title type=&amp;quot;yyy&amp;quot; ...&amp;gt; where yyy is not ''main'', ''chapter'' or ''sub''.&lt;br /&gt;
&lt;br /&gt;
For example,&lt;br /&gt;
 &amp;amp;lt;chapter ...&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;Chapter Title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title type=&amp;quot;sub&amp;quot;&amp;gt;Chapter Subtitle&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;introduction&amp;quot;&amp;gt;... intro ...&amp;amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;section&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;A section title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;verse ...&amp;gt;...verse content...&amp;amp;lt;/verse&amp;gt;&lt;br /&gt;
will put the following into the chapter introduction:&lt;br /&gt;
 &amp;amp;lt;chapter ...&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;Chapter Title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title type=&amp;quot;sub&amp;quot;&amp;gt;Chapter Subtitle&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;introduction&amp;quot;&amp;gt;... intro ...&amp;amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
will put the following into verse 1 of that chapter&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;section&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;A section title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;verse ...&amp;gt;...verse content...&amp;amp;lt;/verse&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Between Verses===&lt;br /&gt;
Between verses we may have closing tags to finish off what was started earlier, structural opening tags (e.g. line groups, divisions, paragraphs, ...), titles and/or introductory material.&lt;br /&gt;
&lt;br /&gt;
Upon finding the close of a verse, osis2mod will append all adjacent closing tags to it. Once it finds a start tag, it will attach that to the following verse.&lt;br /&gt;
&lt;br /&gt;
For example, suppose the following is between &amp;amp;lt;/verse&amp;gt; and &amp;amp;lt;verse ...&amp;gt;:&lt;br /&gt;
 &amp;amp;lt;/lg&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;section&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;Section title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;lg&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
then it will append the following to the prior verse:&lt;br /&gt;
 &amp;amp;lt;/lg&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and will prepend the following to the current verse:&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;section&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;Section title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;lg&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Last Verse===&lt;br /&gt;
The material following the last verse of a chapter is appended to that verse. You might find:&lt;br /&gt;
 ... verse content ...&lt;br /&gt;
 &amp;amp;lt;/chapter&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;colophon&amp;quot;&amp;gt;... colophon text ...&amp;amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Exclusions==&lt;br /&gt;
Only content starting the first &amp;amp;lt;div&amp;gt; to the last &amp;amp;lt;/div&amp;gt; is retained. All other is excluded. From a practical perspective, this excludes the OSIS header information.&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
It is always preferable to use the most recent version of osis2mod and compiling it from SVN is best. &lt;br /&gt;
&lt;br /&gt;
'''Note:'''&lt;br /&gt;
# After the SWORD 1.5.9 release, osis2mod was changed to take flags rather than positional arguments.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
You are running osis2mod: $Rev: 3431 $&lt;br /&gt;
OSIS Bible/commentary module creation tool for The SWORD Project&lt;br /&gt;
&lt;br /&gt;
usage: ./osis2mod &amp;lt;output/path&amp;gt; &amp;lt;osisDoc&amp;gt; [OPTIONS]&lt;br /&gt;
  &amp;lt;output/path&amp;gt;		 an existing folder that the module will be written&lt;br /&gt;
  &amp;lt;osisDoc&amp;gt;		 path to the validated OSIS document, or '-' to&lt;br /&gt;
				 read from standard input&lt;br /&gt;
  -a			 augment module if exists (default is to create new)&lt;br /&gt;
  -z &amp;lt;l|z|b|x&amp;gt;		 compression type (default: none)&lt;br /&gt;
				 l - LZSS; z - ZIP; b - bzip2; x - xz&lt;br /&gt;
  -b &amp;lt;2|3|4&amp;gt;		 compression block size (default: 4)&lt;br /&gt;
				 2 - verse; 3 - chapter; 4 - book&lt;br /&gt;
  -l &amp;lt;1-9&amp;gt;		 compression level (default varies by compression type)&lt;br /&gt;
  -c &amp;lt;cipher_key&amp;gt;	 encipher module using supplied key&lt;br /&gt;
				 (default no enciphering)&lt;br /&gt;
  -e &amp;lt;1|2|s&amp;gt;		 convert Unicode encoding (default: 1)&lt;br /&gt;
				 1 - UTF-8 ; 2 - UTF-16 ; s - SCSU&lt;br /&gt;
  -N			 do not normalize to NFC&lt;br /&gt;
  -s &amp;lt;2|4&amp;gt;		 bytes used to store entry size (default is 2).&lt;br /&gt;
  -v &amp;lt;v11n&amp;gt;		 specify a versification scheme to use (default is KJV)&lt;br /&gt;
				 Note: The following are valid values for v11n:&lt;br /&gt;
				   Calvin      	Catholic    	Catholic2   &lt;br /&gt;
				   DarbyFr     	German      	KJV         &lt;br /&gt;
				   KJVA        	LXX         	Leningrad   &lt;br /&gt;
				   Luther      	MT          	NRSV        &lt;br /&gt;
				   NRSVA       	Orthodox    	Segond      &lt;br /&gt;
				   Synodal     	SynodalProt 	Vulg        &lt;br /&gt;
  -h 			 print verbose usage text&lt;br /&gt;
&lt;br /&gt;
See http://www.crosswire.org/wiki/osis2mod for more details.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Earlier builds (e.g. $Rev: 2893 $) also included the debug option help: See [[Osis2mod#Debug_Messages|Debug Messages]].&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  -d &amp;lt;flags&amp;gt;		 turn on debugging (default is 0)&lt;br /&gt;
				 Note: This flag may change in the future.&lt;br /&gt;
				 Flags: The following are valid values:&lt;br /&gt;
					0   - no debugging&lt;br /&gt;
					1   - writes to module, very verbose&lt;br /&gt;
					2   - verse start and end&lt;br /&gt;
					4   - quotes, esp. Words of Christ&lt;br /&gt;
					8   - titles&lt;br /&gt;
					16  - inter-verse material&lt;br /&gt;
					32  - BSP to BCV transformations&lt;br /&gt;
					64  - v11n exceptions&lt;br /&gt;
					128 - parsing of osisID and osisRef&lt;br /&gt;
					256 - internal stack&lt;br /&gt;
					512 - miscellaneous&lt;br /&gt;
				 This argument can be used more than once. (Or&lt;br /&gt;
				 the flags may be added together.)&lt;br /&gt;
&lt;br /&gt;
See http://www.crosswire.org/wiki/osis2mod for more details.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== Parameters and Options ===&lt;br /&gt;
'''&amp;amp;lt;output/path&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This a path to any existing directory. It is best for it to be empty.&lt;br /&gt;
&lt;br /&gt;
'''&amp;amp;lt;osisDoc&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This is a single, well-formed, valid OSIS document.&lt;br /&gt;
&lt;br /&gt;
If '''-''' is used instead of a file name, the document will be read from standard input. This allows for two constructs:&lt;br /&gt;
* Redirection&lt;br /&gt;
 osis2mod ./modules/texts/ztext/KJV - &amp;lt; kjv.xml&lt;br /&gt;
* Piping&lt;br /&gt;
 cat kjv.xml | osis2mod ./modules/texts/ztext/KJV -&lt;br /&gt;
&lt;br /&gt;
'''-a'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Osis2mod can create a Bible all at once or incrementally, depending on the presence of the -a flag. This&lt;br /&gt;
provides for two abilities,&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Assembling a Bible from book files:&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir /tmp/mymodule&lt;br /&gt;
osis2mod /tmp/mymodule  matt.xml&lt;br /&gt;
osis2mod /tmp/mymodule -a mark.xml&lt;br /&gt;
...&lt;br /&gt;
osis2mod /tmp/mymodule -a rev.xml&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
'''Note:''' The book files can be in any order. SWORD will order them correctly in the index.&lt;br /&gt;
&amp;lt;li&amp;gt;Adding corrections to a Bible:&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
osis2mod /tmp/mymodule -a fixes.xml&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
'''Note:''' When fixes are put into the module they are appended to the data file and do not actually replace the verses. The index file is adjusted to point to the new place in the data file.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''-z &amp;amp;lt;l|z|b|x&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
A SWORD Bible can be compressed with Zip (-z z), LZSS (-z l), BZip2 (-z b) '''or''' XZ (-lx). All of CrossWire's compressed Bible and commentary modules are compressed with Zip. This saves significant space over an uncompressed module. Uncompressed modules are useful for debugging.&lt;br /&gt;
&lt;br /&gt;
'''-b &amp;amp;lt;2|3|4&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This setting is only useful for a compressed module. The choice as to whether to use Verse (2), Chapter (3) or Book (4, the default) level compression depends upon the amount of data in the block. A typical Bible is best compressed book by book. A commentary, chapter by chapter. If the commentary is very robust and the amount of text per verse is really huge, then verse compression might make sense.&lt;br /&gt;
&lt;br /&gt;
All of SWORD's compressed Bible modules are compressed by book. Basically, all of the verses in a block are compressed and appended to the data file. For this reason, the datafile cannot be uncompressed by anything other than the SWORD and JSword libraries.&lt;br /&gt;
&lt;br /&gt;
When creating the module by appending it is important to do so by whole compression block. That is, if blockType is Chapter, then the osisDoc needs to contain one or more whole chapters.&lt;br /&gt;
&lt;br /&gt;
'''-l [1-9]'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This setting is useful for a compressed module and provides the level of compression to be used. The default varies depending on the compressor used. The default is typically used.&lt;br /&gt;
&lt;br /&gt;
'''-c cipherKey'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This is typically 16 characters in length, having no leading or trailing spaces, consisting of alternating sets of 4 alpha and 4 numeric characters, such as Aduf0274PjNq0328. The key is case-sensitive.&lt;br /&gt;
&lt;br /&gt;
'''-e &amp;amp;lt;1|2|s&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This flag gives whether the input is to be converted to UTF-8, UTF-16, or SCSU. By default the encoding is UTF-8. Using UTF-16 is reasonable for non-latin texts with little markup. SCSU will compress the Unicode, but it has not been sufficiently tested, requires [[DevTools:ICU|ICU]] support when compiling osis2mod and when running (not all frontends do).&lt;br /&gt;
&lt;br /&gt;
'''-N'''&amp;lt;br/&amp;gt;&lt;br /&gt;
All OSIS modules should be UTF-8 and all that are UTF-8 are also to be NFC. The default is to automatically detect the presense of Latin-1 (either cp1252 or iso8859-1) and convert it to UTF-8 and to normalize UTF-8 to NFC. This flag will turn off this behavior and is useful for creating Latin-1 modules or for modules for which the source text is already UTF-8 and NFC. It is also advised for Biblical Hebrew modules for which the source text (with accents and cantillation points) is intentionally not normalized, as &amp;quot;Unicode normalization can easily break Biblical Hebrew&amp;quot;. Quoted from page 9 of the SBL Hebrew Font Manual.&amp;lt;ref&amp;gt;See https://www.sbl-site.org/Fonts/SBLHebrewUserManual1.5x.pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: this was added late Feb 2008 and requires [[DevTools:ICU|ICU]] support when compiling.&lt;br /&gt;
&lt;br /&gt;
'''-s &amp;amp;lt;2|4&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
A value of 2, the default, restricts modules to 64K bytes per entry. A value of 4, breaks this barrier. This is needed for Bibles, having large introductory materials, and for commentaries with large entries.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' 4 was added late Apr 2009 for raw, uncompressed modules and will be part of the SWORD 1.6.0 release (formerly known as 1.5.11). A later release extended support to compressed modules.&lt;br /&gt;
&lt;br /&gt;
'''-v v11n'''&amp;lt;br/&amp;gt;&lt;br /&gt;
By default, osis2mod uses the KJV versification. The practical implication of this is that only books in the KJV canon are allowed and any text in an allowed book are retained. However, if the verse reference of a supported book falls outside of the versification it is appended to the prior verse in the canon. This flag allows for an [[Alternate Versification|alternate versification]].&lt;br /&gt;
&lt;br /&gt;
'''Note:''' This option was added in April 2009 as part of the SWORD 1.6.0 release.&lt;br /&gt;
&lt;br /&gt;
'''-d flags'''&amp;lt;br/&amp;gt;&lt;br /&gt;
The flag can be used more than once or the flags can be added together. For example,&lt;br /&gt;
 -d 2 -d 4&lt;br /&gt;
is the same as&lt;br /&gt;
 -d 6&lt;br /&gt;
&lt;br /&gt;
To do verbose debugging use:&lt;br /&gt;
 -d -1&lt;br /&gt;
&lt;br /&gt;
For the most part these flags are not intended for debugging modules, but rather for debugging problems in osis2mod.&lt;br /&gt;
&lt;br /&gt;
The -d 2 flag produces no output but puts milestones into the module where verses start and end. The form of the milestone is:&lt;br /&gt;
 &amp;amp;lt;milestone resp=&amp;quot;v&amp;quot; [attributes from verse] /&amp;gt;&lt;br /&gt;
The milestone will contain the osisID from the verse and also a valid sID or eID. The sID/eID indicates the start of end of the verse.&lt;br /&gt;
&lt;br /&gt;
Note: the -d 2 flag might change at any time, or may even be removed.&lt;br /&gt;
&lt;br /&gt;
==Messages==&lt;br /&gt;
Osis2mod has robust, mind-boggling messages. These are provided here in hopes that it will help problem diagnosis.&lt;br /&gt;
&lt;br /&gt;
===Exit Status===&lt;br /&gt;
When an error occurs that causes osis2mod to exit without processing the entire input file, a non-zero exit status is supplied to the caller. Here are the codes that osis2mod uses:&lt;br /&gt;
 const int EXIT_BAD_ARG     =   1; // Bad parameter given for program&lt;br /&gt;
 const int EXIT_NO_WRITE    =   2; // Could not open the module for writing&lt;br /&gt;
 const int EXIT_NO_CREATE   =   3; // Could not create the module&lt;br /&gt;
 const int EXIT_NO_READ     =   4; // Could not open the input file for reading.&lt;br /&gt;
 const int EXIT_BAD_NESTING =   5; // BSP or BCV nesting is bad or improper XML comment&lt;br /&gt;
&lt;br /&gt;
==Diagnostic Messages==&lt;br /&gt;
In the following, example values are given in '''{...}'''. The brackets do not actually appear in the message. Also, the messages are a bit prettier here than in reality.&lt;br /&gt;
&lt;br /&gt;
In the following&lt;br /&gt;
* ['''{ line }''','''{ col }'''] gives the location of the last line and column read in the file. Since processing is handled after the reading, the location is approximate. If the processing is before the file is read, such as during the reading of command line arguments, it won't show up.&lt;br /&gt;
* ('''{ osisID }''') gives the osisID being processed or N/A. It also is optionally output early in the execution of the program.&lt;br /&gt;
&lt;br /&gt;
 WARNING(UTF8)['''{ line }''','''{ col }''']('''{ osisID }'''):     Should be converted to UTF-8 ('''{text }''')&lt;br /&gt;
The program will always check for text that is not UTF-8.&lt;br /&gt;
&lt;br /&gt;
 INFO(UTF8)['''{ line }''','''{ col }''']('''{ osisID }'''):        Converting to UTF-8 ('''{ text before conversion }''')&lt;br /&gt;
Text that is converted to UTF-8 is noted.&lt;br /&gt;
&lt;br /&gt;
 ERROR(UTF8)['''{ line }''','''{ col }''']('''{ osisID }'''):       Converting to UTF-8 ('''{ text after first conversion }''')&lt;br /&gt;
It is an error if after a conversion it still is not UTF-8.&lt;br /&gt;
&lt;br /&gt;
 WARNING(UTF8)['''{ line }''','''{ col }''']('''{ osisID }'''):     osis2mod is not compiled with support for ICU. Ignoring -n flag.&lt;br /&gt;
Normalization was requested, but since osis2mod was not compiled for it, it cannot honor the default request.&lt;br /&gt;
&lt;br /&gt;
 INFO(V11N)['''{ line }''','''{ col }''']('''{ osisID }'''):        is not in the '''{ v11n }''' versification.&lt;br /&gt;
Indicates that a verse is not in the versification.&lt;br /&gt;
&lt;br /&gt;
 INFO(V11N)['''{ line }''','''{ col }''']('''{ osisID }'''):        is not in the '''{ v11n }''' versification. Appending content to '''{ osisID }'''&lt;br /&gt;
This like the other indicates a versification problem, but shows where the text will be found. Osis2mod preserves all module content for supported books.&lt;br /&gt;
&lt;br /&gt;
 WARNING(V11N)['''{ line }''','''{ col }''']('''{ osisID }'''):     New book is '''{ name }'''  and is not in '''{ v11n }''' versification, ignoring&lt;br /&gt;
The name of the book was not recognized as belonging to the chosen versification, it and all of it's content is ignored.&lt;br /&gt;
&lt;br /&gt;
 INFO(WRITE)['''{ line }''','''{ col }''']('''{ osisID }'''):       Appending entry: '''{ osisID }''': '''{ text so far }'''&lt;br /&gt;
If osis2mod encounters text that needs to be appended to a verse that is already in the module. This could indicate that&lt;br /&gt;
* the reference is in the input twice. This typically indicates a problem.&lt;br /&gt;
* more text was found that needs to be added to the prior verse.&lt;br /&gt;
* osis2mod is being run in append mode to fix a verse in the module.&lt;br /&gt;
&lt;br /&gt;
 INFO(LINK)['''{ line }''','''{ col }''']('''{ osisID }'''):        Linking '''{ osisID }''' to '''{ osisID }'''&lt;br /&gt;
An osisID such as &amp;quot;Gen.1.1 Gen.1.2 Gen.1.3&amp;quot; was used and the latter are linked to the first.&lt;br /&gt;
&lt;br /&gt;
 ERROR(REF)['''{ line }''','''{ col }''']('''{ osisID }'''):        Invalid osisID/annotateRef: '''{ invalid attribute value }'''&lt;br /&gt;
This indicates that the SWORD library was unable to parse the osisID or annotateRef.&lt;br /&gt;
&lt;br /&gt;
 FATAL(NESTING)['''{ line }''','''{ col }''']('''{ osisID }'''):    tag expected&lt;br /&gt;
This indicates that the specified verse is not balanced with regard to its tags. Building a raw text module, looking in the module for the verse and pairing begin/end tags will help find the problem. Typically, this indicates an end tag that did not have a matching begin tag and all tags before it were properly paired.&lt;br /&gt;
&lt;br /&gt;
 FATAL(NESTING)['''{ line }''','''{ col }''']('''{ osisID }'''):    Expected '''{ topToken.getName() }''' found '''{ tokenName }'''&lt;br /&gt;
This also indicates that the specified verse is not balanced with regard to its tags. Building a raw text module, looking in the module for the verse and pairing begin/end tags will help find the problem. It could be either a begin or an end tag problem.&lt;br /&gt;
&lt;br /&gt;
 WARNING(NESTING)['''{ line }''','''{ col }''']('''{ osisID }'''):  verse '''{ currentOsisID }''' is not well formed:('''{ verseDepth }''','''{ tagDepth }''')&lt;br /&gt;
This indicates that the verse probably will not show properly in some front-ends in some circumstances. Typically, it shows the problem if the verse is shown in isolation.&lt;br /&gt;
&lt;br /&gt;
 ERROR(NESTING)['''{ line }''','''{ col }''']('''{ osisID }'''):    improper nesting '''{ currentOsisID }''': matching (sID,eID) not found. Looking at ('''{ sID }''','''{ eID }''')&lt;br /&gt;
OSIS specifies that every sID has a matching eID. Osis2mod is checking that BSP elements are properly nested.&lt;br /&gt;
&lt;br /&gt;
 FATAL(COMMENTS)['''{ line }''','''{ col }''']('''{ osisID }'''):   unknown commentstate on comment start: { comment state }&lt;br /&gt;
This indicates that the comment is not of the form &amp;amp;lt;!-- ... --&amp;amp;gt;.&lt;br /&gt;
&lt;br /&gt;
 FATAL(COMMENTS)['''{ line }''','''{ col }''']('''{ osisID }'''):   unknown commentstate on comment end:  { comment state }&lt;br /&gt;
This indicates that the comment is not of the form &amp;amp;lt;!-- ... --&amp;amp;gt;.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    malformed entity, replacing &amp;amp;amp;'''{ malformed entity }''' with &amp;amp;amp;amp;'''{ malformed entity }'''&lt;br /&gt;
This means it found a &amp;amp;amp; that starts an entity but it wasn't terminated by a ; and changed it to something that probably isn't appropriate.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    HEX entity must begin with &amp;amp;amp;x, found '''{ entity }'''&lt;br /&gt;
This indicates &amp;amp;X, which is not valid for xml. It is not changed.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    SWORD does not search HEX entities, found '''{ entity }'''&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    SWORD does not search numeric entities, found '''{ entity }'''&lt;br /&gt;
Since we don't transform HEX or numeric entities to their equivalent UTF-8 value, this will be literal text that cannot be searched.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    XML only supports 5 Character entities &amp;amp;amp;amp;, &amp;amp;amp;lt;, &amp;amp;amp;gt;, &amp;amp;amp;quot; and &amp;amp;amp;apos;, found '''{ entity }'''&lt;br /&gt;
XML does not allow character entities. These are passed unchanged to SWORD module. This frustrates search and may only display properly in a front-end using HTML rendering.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    &amp;amp;amp;quot; is unnecessary outside of attribute values. Replace with &amp;quot;.&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    &amp;amp;amp;quot; is unnecessary inside single quoted attribute values. Replace with &amp;quot;.&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    &amp;amp;amp;quot; is only needed within double quoted attribute values. Considering using single quoted attribute and replacing with &amp;quot;.&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    &amp;amp;amp;apos; is only needed within single quoted attribute values. Considering using double quoted attribute and replacing with '.&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    &amp;amp;amp;apos; is unnecessary inside double quoted attribute values. Replacing with '.&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    &amp;amp;amp;apos; is unnecessary outside of attribute values. Replacing with '.&lt;br /&gt;
The &amp;amp;amp;apos; or &amp;amp;amp;quot; was found outside of an attribute value and is being substituted with a straight single apostrophe, ', or double quote, &amp;quot;, respectively.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    While valid for XML, &amp;amp;amp;quot; is only needed within double quoted attribute values.&lt;br /&gt;
This warning indicates that the entity is present where it does not need to be.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    While valid for XML, XHTML does not support &amp;amp;amp;apos;.&lt;br /&gt;
This warning indicates that the &amp;amp;amp;apos; may not display properly in all front-ends. It was found in an attribute value.&lt;br /&gt;
&lt;br /&gt;
===Debug Messages===&lt;br /&gt;
The following are shown in the same form as the diagnostic messages above. They are given without comment.&lt;br /&gt;
&lt;br /&gt;
'''-d 1'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Output of what is being written to the module. The two osisIDs should always be the same.&lt;br /&gt;
 DEBUG(WRITE)['''{ line }''','''{ col }''']('''{ osisID }'''):      '''[ osisID ]''':'''[ osisID ]''': '''[ text so far ]'''&lt;br /&gt;
&lt;br /&gt;
'''-d 4'''&amp;lt;br/&amp;gt;&lt;br /&gt;
A stack is maintained to represent the Words of Christ on a per verse basis. This is internal diagnostic of that stack&lt;br /&gt;
 DEBUG(QUOTE)['''{ line }''','''{ col }''']('''{ osisID }'''):      '''[ currentOsisID ]''': quote top('''[ quote stack size ]''') '''[ token ]'''&lt;br /&gt;
 DEBUG(QUOTE)['''{ line }''','''{ col }''']('''{ osisID }'''):      '''[ currentOsisID ]''': quote pop('''[ quote stack size ]''') '''[ topToken ]''' -- '''[ token ]'''&lt;br /&gt;
 DEBUG(QUOTE)['''{ line }''','''{ col }''']('''{ osisID }'''):      '''[ currentOsisID ]''': ('''[ quote stack size ]''') '''[ topToken ]''' -- '''[ token ]'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''-d 8'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Identifies when book and chapter introductions are being determined.&lt;br /&gt;
 DEBUG(TITLE)['''{ line }''','''{ col }''']('''{ osisID }'''):      '''[ currentOsisID ]''': OOPS INTRO&lt;br /&gt;
         inChapterIntro = '''[ inChapterIntro ]'''&lt;br /&gt;
         inBookIntro    = '''[ inBookIntro ]'''&lt;br /&gt;
 DEBUG(TITLE)['''{ line }''','''{ col }''']('''{ osisID }'''):      '''[ currentOsisID ]''': Looking for book introduction&lt;br /&gt;
 DEBUG(TITLE)['''{ line }''','''{ col }''']('''{ osisID }'''):      '''[ currentOsisID ]''': Done looking for book introduction&lt;br /&gt;
 DEBUG(TITLE)['''{ line }''','''{ col }''']('''{ osisID }'''):      '''[ currentOsisID ]''': BOOK INTRO '''[ beading ]'''&lt;br /&gt;
 DEBUG(TITLE)['''{ line }''','''{ col }''']('''{ osisID }'''):      '''[ currentOsisID ]''': Looking for chapter introduction&lt;br /&gt;
 DEBUG(TITLE)['''{ line }''','''{ col }''']('''{ osisID }'''):      '''[ currentOsisID ]''': Done looking for chapter introduction&lt;br /&gt;
 DEBUG(TITLE)['''{ line }''','''{ col }''']('''{ osisID }'''):      '''[ currentOsisID ]''': CHAPTER INTRO '''[ heading ]'''&lt;br /&gt;
&lt;br /&gt;
'''-d 16'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Inter-verse material either goes with the prior &amp;quot;verse&amp;quot; or the next. This help diagnose problems related to that split.&lt;br /&gt;
 DEBUG(INTERVERSE)['''{ line }''','''{ col }''']('''{ osisID }'''): '''[ currentOsisID ]''': interverse start token '''[ token ]''':'''[ text ]'''&lt;br /&gt;
 DEBUG(INTERVERSE)['''{ line }''','''{ col }''']('''{ osisID }'''): '''[ currentOsisID ]''': interverse end tag: '''[ tokenName ]'''('''[ tagDepth ]''','''[ chapterDepth ]''','''[ bookDepth ]''')&lt;br /&gt;
 DEBUG(INTERVERSE)['''{ line }''','''{ col }''']('''{ osisID }'''): '''[ currentOsisID ]''': appending interverse end tag: '''[tokenName ]'''('''[ tagDepth ]''','''[ chapterDepth ]''','''[ bookDepth ]''')&lt;br /&gt;
&lt;br /&gt;
'''-d 32'''&amp;lt;br/&amp;gt;&lt;br /&gt;
The following messages relate to the transformations of containers to milestones.&lt;br /&gt;
 DEBUG(XFORM)['''{ line }''','''{ col }''']('''{ osisID }'''):      '''[ currentOsisID ]''': xform empty '''[ token ]'''&lt;br /&gt;
 DEBUG(XFORM)['''{ line }''','''{ col }''']('''{ osisID }'''):      '''[ currentOsisID ]''': xform push ('''[ bspTagStack.size() ]''') '''[ token ]''' (tagname='''[ tagName ]''')&lt;br /&gt;
 DEBUG(XFORM)['''{ line }''','''{ col }''']('''{ osisID }'''):      '''[ currentOsisID ]''': xform top('''[ bsp stack size ]''') '''[ topToken ]'''&lt;br /&gt;
 DEBUG(XFORM)['''{ line }''','''{ col }''']('''{ osisID }'''):      '''[ currentOsisID ]''': xform pop('''[ bsp stack size ]''') '''[ topToken ]'''&lt;br /&gt;
&lt;br /&gt;
'''-d 64'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Occasionally a verse reference is outside of the chosen versification. These messages help to understand difficulties that osis2mod has in storing extra-canonical material in the module.&lt;br /&gt;
 DEBUG(V11N)['''{ line }''','''{ col }''']('''{ osisID }'''):       '''[ currentOsisID ]''' normalizes to '''[ after ]'''&lt;br /&gt;
 DEBUG(V11N)['''{ line }''','''{ col }''']('''{ osisID }'''):       Chapter max:'''[ chapterMax ]''', Verse Max:'''[ verseMax ]'''&lt;br /&gt;
&lt;br /&gt;
'''-d 128'''&amp;lt;br/&amp;gt;&lt;br /&gt;
OSIS ids and references can be of a form that SWORD cannot parse. Osis2mod contains a routine that munges these into a form that SWORD can understand.&lt;br /&gt;
 DEBUG(REF)['''{ line }''','''{ col }''']('''{ osisID }'''):        VerseKey can parse this as is.&lt;br /&gt;
 DEBUG(REF)['''{ line }''','''{ col }''']('''{ osisID }'''):        Found a range marker. Progress: '''{ progress }''' Remaining: '''{ remaining }'''&lt;br /&gt;
 DEBUG(REF)['''{ line }''','''{ col }''']('''{ osisID }'''):        Found a work prefix '''[ workPrefix ]''' Progress: '''{ progress }''' Remaining: '''{ remaining }'''&lt;br /&gt;
 DEBUG(REF)['''{ line }''','''{ col }''']('''{ osisID }'''):        Found an osisID:'''[ osisID ]''' Progress: '''{ progress }''' Remaining: '''{ remaining }'''&lt;br /&gt;
 DEBUG(REF)['''{ line }''','''{ col }''']('''{ osisID }'''):        Found a grain suffix '''[ grain ]''' Progress: '''{ progress }''' Remaining: '''{ remaining }'''&lt;br /&gt;
 DEBUG(REF)['''{ line }''','''{ col }''']('''{ osisID }'''):        Replacing space with ; Progress: '''{ progress }''' Remaining: '''{ remaining }'''&lt;br /&gt;
 DEBUG(REF)['''{ line }''','''{ col }''']('''{ osisID }'''):        Parseable VerseKey -- '''[ osisRef ]'''&lt;br /&gt;
&lt;br /&gt;
'''-d 256'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Osis2mod contains two stacks to validate proper nesting of BSP and BCV, respectively. This is an internal representation of the BCV stacks. It provides additional information to understand the diagnostic nesting messages.&lt;br /&gt;
 DEBUG(STACK)['''{ line }''','''{ col }''']('''{ osisID }'''):      '''[ currentOsisID ]''': push ('''[ stack size]''') '''[ tokenName ]'''&lt;br /&gt;
 DEBUG(STACK)['''{ line }''','''{ col }''']('''{ osisID }'''):      '''[ currentOsisID ]''': pop('''[ tagDepth ]''') '''[ topToken.getName() ]'''&lt;br /&gt;
&lt;br /&gt;
'''-d 512'''&amp;lt;br/&amp;gt;&lt;br /&gt;
These are general debug messages.&lt;br /&gt;
 DEBUG(FOUND)['''{ line }''','''{ col }''']('''{ osisID }'''):        Found first div and pitching prior material: '''[ text ]'''&lt;br /&gt;
 DEBUG(FOUND)['''{ line }''','''{ col }''']('''{ osisID }'''):        New book is '''[ currentOsisID ]'''&lt;br /&gt;
 DEBUG(FOUND)['''{ line }''','''{ col }''']('''{ osisID }'''):        Current chapter is '''[ currentOsisID ]''' ('''[ osisID attribute value ]''')&lt;br /&gt;
 DEBUG(FOUND)['''{ line }''','''{ col }''']('''{ osisID }'''):        Entering verse&lt;br /&gt;
 DEBUG(FOUND)['''{ line }''','''{ col }''']('''{ osisID }'''):        New current verse is '''[ currentOsisID ]'''&lt;br /&gt;
 DEBUG(FOUND)['''{ line }''','''{ col }''']('''{ osisID }'''):        osisID/annotateRef is adjusted to: '''[ simpler osisID or osisRef ]'''&lt;br /&gt;
 DEBUG(COMMENTS)['''{ line }''','''{ col }''']('''{ osisID }'''): in comment&lt;br /&gt;
 DEBUG(COMMENTS)['''{ line }''','''{ col }''']('''{ osisID }'''): out of comment&lt;br /&gt;
&lt;br /&gt;
'''-d 512'''&amp;lt;br/&amp;gt;&lt;br /&gt;
The following gives the input arguments.&lt;br /&gt;
 DEBUG(ARGS):&lt;br /&gt;
         path:         '''[ path ]'''&lt;br /&gt;
         osisDoc:      '''[ osisDoc ]'''&lt;br /&gt;
         create:       '''[ append ]'''&lt;br /&gt;
         compressType: '''[ compType ]'''&lt;br /&gt;
         blockType:    '''[ iType ]'''&lt;br /&gt;
         cipherKey:    '''[ cipherKey ]'''&lt;br /&gt;
         normalize:    '''[ normalize ]'''&lt;br /&gt;
&lt;br /&gt;
== Future Roadmap ==&lt;br /&gt;
:''List here suggestions for useful enhancements to or improvements for osis2mod''.&lt;br /&gt;
&lt;br /&gt;
* Add a command line flag '''-x''' to ''exclude'' all OSIS elements with the global attribute '''editions'''.&amp;lt;ref&amp;gt;The '''editions''' attribute is used to specify edition specific content, such as material omitted in Protestant versions of the Bible.&amp;lt;/ref&amp;gt;&amp;lt;BR&amp;gt;osis2mod would exclude those elements that match the specified attribute value.&lt;br /&gt;
&lt;br /&gt;
'''Note:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Reporting issues ==&lt;br /&gt;
* [http://www.crosswire.org/tracker/browse/MODTOOLS/component/10290/ Module Tools &amp;amp;ndash; osis2mod]&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[OSIS]] &amp;amp;ndash; a partial list of other OSIS related pages and external links.&lt;br /&gt;
* [[Mod2zmod]]&lt;br /&gt;
&lt;br /&gt;
[[Category:OSIS]]&lt;br /&gt;
[[Category:Utilities]]&lt;br /&gt;
[[Category:Versification]]&lt;/div&gt;</summary>
		<author><name>Dmsmith</name></author>	</entry>

	<entry>
		<id>https://wiki.crosswire.org/index.php?title=Osis2mod&amp;diff=17752</id>
		<title>Osis2mod</title>
		<link rel="alternate" type="text/html" href="https://wiki.crosswire.org/index.php?title=Osis2mod&amp;diff=17752"/>
				<updated>2025-07-07T15:37:38Z</updated>
		
		<summary type="html">&lt;p&gt;Dmsmith: /* Diagnostic Messages= */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
osis2mod transforms an OSIS encoded [[OSIS Bibles|Bible]] or [[OSIS_Commentaries|commentary]] into a SWORD module.&lt;br /&gt;
&lt;br /&gt;
==Where to get it==&lt;br /&gt;
* See [[DevTools:Modules#Collect_and_Install_Software_Tools|Collect and Install Software Tools]]&lt;br /&gt;
&lt;br /&gt;
== Current status ==&lt;br /&gt;
&lt;br /&gt;
Software bugs relating to osis2mod should be reported in https://tracker.crosswire.org/browse/MODTOOLS&lt;br /&gt;
&lt;br /&gt;
:''Please describe current status of osis2mod, including a list of any outstanding issues or unsolved difficulties''.&lt;br /&gt;
&lt;br /&gt;
==History of Changes==&lt;br /&gt;
The following outlines in reverse chronological order the major changes to osis2mod. When several changes were made over the span of a few days, they are lumped into the most recent date. Bug fixes are not mentioned.&lt;br /&gt;
&lt;br /&gt;
{|width=&amp;quot;100%&amp;quot; border=&amp;quot;0&amp;quot; class=&amp;quot;sortable&amp;quot;&lt;br /&gt;
!width=&amp;quot;10%&amp;quot;|Date&lt;br /&gt;
!Revision&lt;br /&gt;
!Feature&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2025-06-25'''&lt;br /&gt;
|&lt;br /&gt;
r3906&lt;br /&gt;
|&lt;br /&gt;
* MODTOOLS-76: Enhance -v argument handling in osis2mod with case-insensitive and prefix matching, and improved error reporting.&lt;br /&gt;
&lt;br /&gt;
 - Outputs the name of the versification system being used at program start&lt;br /&gt;
 - Adds layered resolution of versifications:&lt;br /&gt;
    1) Case-sensitive exact match&lt;br /&gt;
    2) Case-insensitive exact match&lt;br /&gt;
    3) Case-insensitive prefix match&lt;br /&gt;
 - Shows detailed error messages when input is invalid or ambiguous:&lt;br /&gt;
    * Lists all matches in case of ambiguity&lt;br /&gt;
    * Lists input and valid options if no match is found&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2025-06-19'''&lt;br /&gt;
|&lt;br /&gt;
r3903&lt;br /&gt;
|&lt;br /&gt;
* MODTOOLS-108  fix. Properly append verses beyond the last chapter of a book at the end of the book in the last verse of the chapter, which caused an infinite loop.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2020-07-26'''&lt;br /&gt;
|&lt;br /&gt;
r3769&lt;br /&gt;
|&lt;br /&gt;
* Fixed linking bug with ranges in osis2mod&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2020-05-08'''&lt;br /&gt;
|&lt;br /&gt;
r3737&lt;br /&gt;
|&lt;br /&gt;
* Added support putting reponumber into nano position of SWORD version string and output current SWORD version&lt;br /&gt;
* standardize on (SWORD: {SWVersion::currentVersion.getText()}) for all reported SWORD versions in utilities&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2016-08-16'''&lt;br /&gt;
|&lt;br /&gt;
r3431&lt;br /&gt;
|&lt;br /&gt;
* commented out  a set of lines handling &amp;quot;div type=&amp;quot;majorSection&amp;quot; &amp;quot; - see comments in code. &lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2016-02-06'''&lt;br /&gt;
|&lt;br /&gt;
r3401&lt;br /&gt;
|&lt;br /&gt;
* Added entity handling.&lt;br /&gt;
* div type='colophon' now not changed to milestones.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2015-02-16'''&lt;br /&gt;
|&lt;br /&gt;
r3322&lt;br /&gt;
| &lt;br /&gt;
* Correct casing of COUT&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2015-02-16'''&lt;br /&gt;
|&lt;br /&gt;
r3321&lt;br /&gt;
|&lt;br /&gt;
* cleaned up whitespace in osis2mod&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2014-12-17'''&lt;br /&gt;
|&lt;br /&gt;
r3310&lt;br /&gt;
|&lt;br /&gt;
* MODTOOLS-55 endless loop fix.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2014-12-15'''&lt;br /&gt;
|&lt;br /&gt;
r3307&lt;br /&gt;
|&lt;br /&gt;
* Greg Helling's patch to osis2mod for majorSections&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2014-03-17'''&lt;br /&gt;
|&lt;br /&gt;
r3139&lt;br /&gt;
|&lt;br /&gt;
* Added support for large entries (&amp;amp;gt; 64K) in compressed modules (aka zText4).&lt;br /&gt;
* Added support for UTF-16 and SCSU using the -e flag. SCSU is experimental.&lt;br /&gt;
* Added support for BZip2 and XZ compression, changing -z and -Z to -z &amp;amp;lt;l|z|b|x&amp;amp;gt;&lt;br /&gt;
* Added support for compression levels of 1 to 9 using the -l [1-9] flag.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2014-01-21'''&lt;br /&gt;
|&lt;br /&gt;
r3011&lt;br /&gt;
|&lt;br /&gt;
* Changed the transformation of &amp;amp;lt;p&amp;amp;gt; from &amp;amp;lt;div type=&amp;quot;paragraph&amp;quot; sID=&amp;quot;xxx&amp;quot;/&amp;amp;gt; to &amp;amp;lt;div type=&amp;quot;x-p&amp;quot; sID=&amp;quot;xxx&amp;quot;/&amp;amp;gt; This is a semantic change that brings osis2mod into alignment with the OSIS specification.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2012-03-24'''&lt;br /&gt;
|&lt;br /&gt;
r2693&lt;br /&gt;
|&lt;br /&gt;
* Allow for XML comments to be in the document, but stripped from the module. This allows for large parts of a document to be commented out, which is especially important during development.&lt;br /&gt;
* Allow for &amp;amp;lt;p&amp;amp;gt; elements to be in the &amp;amp;lt;header&amp;amp;gt; element but ignored. Previously, the p in a header, having been transformed to a div, was taken to be the start of the module's content.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2011-11-12'''&lt;br /&gt;
|&lt;br /&gt;
r2671&lt;br /&gt;
|&lt;br /&gt;
* Restored pre-verse handling. Titles no longer need to be specially specified in OSIS.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2010-06-04'''&lt;br /&gt;
|&lt;br /&gt;
r2519&lt;br /&gt;
|&lt;br /&gt;
* Removed pre-verse handling. Titles now have to be specially specified in OSIS. In OSIS there should also be no tags between verse elements except title and those marking book and chapter.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-06-06'''&lt;br /&gt;
|&lt;br /&gt;
r2435&lt;br /&gt;
|&lt;br /&gt;
* Improved handling of chapter introductions.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-05-30'''&lt;br /&gt;
|&lt;br /&gt;
r2421&lt;br /&gt;
|&lt;br /&gt;
* '''-d flags''' now always available.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-05-14'''&lt;br /&gt;
|&lt;br /&gt;
r2413&lt;br /&gt;
|&lt;br /&gt;
*Added '''-d flags''' as a compile time option.&lt;br /&gt;
*Improved exit codes and documented them here.&lt;br /&gt;
*Labeled all diagnostic and debug output.&lt;br /&gt;
*Can now read from standard input.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-04-28'''&lt;br /&gt;
|&lt;br /&gt;
r2358&lt;br /&gt;
|&lt;br /&gt;
*Predictable handling of inter-verse material.&lt;br /&gt;
*All tags, except verse, included in the module.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-04-26'''&lt;br /&gt;
|&lt;br /&gt;
r2345&lt;br /&gt;
|&lt;br /&gt;
*'''-v v11n''' added to support [[Alternate Versification]].&lt;br /&gt;
*'''-s &amp;lt;2|4&amp;gt;''' added to support uncompressed commentaries with large entries (exceeding 64K bytes).&lt;br /&gt;
*Replace paragraph hack with milestoned paragraphs: &amp;amp;lt;div type=&amp;quot;paragraph&amp;quot; sID=&amp;quot;xxx&amp;quot;/&amp;gt; ... &amp;amp;lt;div type=&amp;quot;paragraph&amp;quot; eID=&amp;quot;xxx&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2008-09-11'''&lt;br /&gt;
|&lt;br /&gt;
r2196&lt;br /&gt;
|&lt;br /&gt;
*Words of Christ (WoC) can be marked up naturally. osis2mod does the right thing.&lt;br /&gt;
*Container elements converted to their milestoned form.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2008-02-29'''&lt;br /&gt;
|&lt;br /&gt;
r2141&lt;br /&gt;
|&lt;br /&gt;
*Now supports commentaries in addition to Bibles.&lt;br /&gt;
*Added utf-8 detection and automatic conversion from cp1252 and iso8859-1 to utf-8, making that the default behavior&lt;br /&gt;
*Added NFC [[Encoding#Normalization|normalization]], making it the default&lt;br /&gt;
*Now handles the full definition of an osisID and an osisRef, including workID and grain.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2007-09-27'''&lt;br /&gt;
|&lt;br /&gt;
r2090&lt;br /&gt;
|&lt;br /&gt;
*Changed command-line parsing from positional parameters to flags.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2007-05-13'''&lt;br /&gt;
|&lt;br /&gt;
r2050&lt;br /&gt;
|&lt;br /&gt;
*All whitespace tokens are converted into blanks and adjacent spaces are merged into one. Leading whitespace on each verse is still removed.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2007-05-01'''&lt;br /&gt;
|&lt;br /&gt;
r2044&lt;br /&gt;
|&lt;br /&gt;
*Added version identification to the running of osis2mod.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2007-04-24'''&lt;br /&gt;
|&lt;br /&gt;
r2038&lt;br /&gt;
|&lt;br /&gt;
*Added ignoring of unknown books&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2006-07-15'''&lt;br /&gt;
|&lt;br /&gt;
r1948&lt;br /&gt;
|&lt;br /&gt;
*Optimized writing to module.&lt;br /&gt;
*Added simple transformations of &amp;amp;lt;q&amp;gt; and &amp;amp;lt;p&amp;gt; into milestones.&lt;br /&gt;
*Now allow empty attributes, such as marker=&amp;quot;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2006-07-04'''&lt;br /&gt;
|&lt;br /&gt;
r1914&lt;br /&gt;
|&lt;br /&gt;
*Updated to support OSIS 2.1&lt;br /&gt;
*Added validation that verses in isolation are well formed&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2005-12-22'''&lt;br /&gt;
|&lt;br /&gt;
r1876&lt;br /&gt;
|&lt;br /&gt;
*Added command-line options for compress and encipher.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2005-05-02'''&lt;br /&gt;
|&lt;br /&gt;
r1790&lt;br /&gt;
|&lt;br /&gt;
*Removed &amp;amp;lt;verse&amp;gt; and &amp;amp;lt;/verse&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2005-02-03'''&lt;br /&gt;
|&lt;br /&gt;
r1707&lt;br /&gt;
|&lt;br /&gt;
*Reverted pre-verse title handling&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2004-06-12'''&lt;br /&gt;
|&lt;br /&gt;
r1620&lt;br /&gt;
|&lt;br /&gt;
*Removed pre-verse title handling&lt;br /&gt;
*Added &amp;amp;lt;verse&amp;gt; and &amp;amp;lt;/verse&amp;gt;&lt;br /&gt;
*Added support for milestoned version of some OSIS elements&lt;br /&gt;
*Added support for verses that are not in the KJV versification by appending them to the closest prior verse.&lt;br /&gt;
*Added support for osisIDs with sub-verse references (i.e. osisID grains)&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2004-05-19'''&lt;br /&gt;
|&lt;br /&gt;
r1597&lt;br /&gt;
|&lt;br /&gt;
*Added support for linked verses&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2003-11-21'''&lt;br /&gt;
|&lt;br /&gt;
r1407&lt;br /&gt;
|&lt;br /&gt;
*Added recognition for &amp;lt;chapter&amp;gt; element&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2003-05-26'''&lt;br /&gt;
|&lt;br /&gt;
r1183&lt;br /&gt;
|&lt;br /&gt;
*Initial version&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Transformations==&lt;br /&gt;
:''This section may need further updating''.&lt;br /&gt;
&lt;br /&gt;
Osis2mod performs the following transformations&amp;lt;ref&amp;gt;These transformations are all performed &amp;quot;under the hood&amp;quot; as it were. Tweaking OSIS XML files to fix problems with pre-verse titles, etc., was never intended to be done by module developers as part of the preprocessing before using osis2mod.&amp;lt;/ref&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
* '''Whitespace''' -- Allows for human-readable OSIS files.&lt;br /&gt;
**Leading whitespace on books, chapters and verses is removed&lt;br /&gt;
**Whitespace is normalized into blanks&lt;br /&gt;
**Multiple adjacent whitespace is reduced to a single space&lt;br /&gt;
&lt;br /&gt;
* '''Unicode handling''' - All modules should be UTF-8, NFC.&amp;lt;ref&amp;gt;With the possible exception of Biblical Hebrew and some Indic scripts that should not be normalized.&amp;lt;/ref&amp;gt;&lt;br /&gt;
**Latin-1 (cp1252 and iso8859-1) are converted into UTF-8&lt;br /&gt;
**UTF-8 is normalized into NFC, unless specified otherwise (i.e. by using the -N option).&lt;br /&gt;
&lt;br /&gt;
* '''Verse ranges''' - also known as linked verses.&lt;br /&gt;
** Verses within a specified OSIS verse range are each linked to the first verse of the range.&lt;br /&gt;
&lt;br /&gt;
* '''Milestone conversion''' - necessary for frontends to show a verse at a time.&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;q ...&amp;gt;...&amp;amp;lt;/q&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;q sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;q eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;ref&amp;gt;'''gen#''' is unique for an sID/eID pair, where '''#''' is a number.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;Quotes with who=&amp;quot;Jesus&amp;quot; are not transformed at this stage.&amp;lt;/ref&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;p ...&amp;gt;...&amp;amp;lt;/p&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;div sID=&amp;quot;gen#&amp;quot; type=&amp;quot;x-p&amp;quot; .../&amp;gt;... &amp;amp;lt;div eID=&amp;quot;gen#&amp;quot; type=&amp;quot;x-p&amp;quot; ...&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;chapter ...&amp;gt;...&amp;amp;lt;/chapter&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;chapter sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;chapter eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;closer ...&amp;gt;...&amp;amp;lt;/closer&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;closer sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;closer eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;div ...&amp;gt;...&amp;amp;lt;/div&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;div sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;div eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;ref&amp;gt;As of r3401, &amp;amp;lt;div type=&amp;quot;colophon&amp;quot;...&amp;gt; is unchanged.&amp;lt;/ref&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;l ...&amp;gt;...&amp;amp;lt;/l&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;l sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;l eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;lg ...&amp;gt;...&amp;amp;lt;/lg&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;lg sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;lg eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;salute ...&amp;gt;...&amp;amp;lt;/salute&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;salute sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;salute eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;signed ...&amp;gt;...&amp;amp;lt;/signed&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;signed sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;signed eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;speech ...&amp;gt;...&amp;amp;lt;/speech&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;speech sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;speech eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;verse ...&amp;gt;...&amp;amp;lt;/verse&amp;gt;&amp;lt;/tt&amp;gt; becomes (when using -d 2 for debugging.)&amp;lt;BR&amp;gt;&amp;lt;tt&amp;gt;&amp;amp;lt;milestone resp=&amp;quot;v&amp;quot; sID=&amp;quot;gen#&amp;quot; ... /&amp;gt;...&amp;amp;lt;milestone resp=&amp;quot;v&amp;quot; eID=&amp;quot;gen#&amp;quot; ... /&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* '''Words of Christ''' - necessary for front-ends to appropriately highlight the WOC, a verse at a time.&amp;lt;ref&amp;gt;The examples given have the null string as the quotation marks in the '''marker''' attribute (as in the KJV module), but proper quotation marks are also supported.&amp;lt;/ref&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;q sID=&amp;quot;gen#&amp;quot; who=&amp;quot;Jesus&amp;quot; .../&amp;gt;...&amp;amp;lt;eID=&amp;quot;gen#&amp;quot; who=&amp;quot;Jesus&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt; becomes&amp;lt;BR&amp;gt;&amp;lt;tt&amp;gt;&amp;amp;lt;q who=&amp;quot;Jesus&amp;quot; marker=&amp;quot;&amp;quot;&amp;gt;&amp;amp;lt;q sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;q eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;amp;lt;/q&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;q who=&amp;quot;Jesus&amp;quot; ...&amp;gt;...&amp;amp;lt;/q&amp;gt;&amp;lt;/tt&amp;gt; becomes&amp;lt;BR&amp;gt;&amp;lt;tt&amp;gt;&amp;amp;lt;q who=&amp;quot;Jesus&amp;quot; marker=&amp;quot;&amp;quot;&amp;gt;&amp;amp;lt;q sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;q eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;amp;lt;/q&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** Within the following construct, &amp;lt;tt&amp;gt;&amp;amp;lt;q who=&amp;quot;Jesus&amp;quot; marker=&amp;quot;&amp;quot;&amp;gt;...&amp;lt;/q&amp;gt;&amp;lt;/tt&amp;gt; will surround verse text.&lt;br /&gt;
&lt;br /&gt;
* '''Pre-Verse Titles'''&amp;lt;ref&amp;gt;The older method that fixed titles only became obsolete with SVN revision 2358 for the SWORD 1.6.0 release and replaced with '''InterVerse Content'''.&amp;lt;/ref&amp;gt;&lt;br /&gt;
** InterVerse or postVerse&amp;lt;ref&amp;gt;For example, the '''colophon''' div as found at the end of some Epistles.&amp;lt;/ref&amp;gt; content not in titles is appended to the prior verse.&lt;br /&gt;
** Titles immediately preceeding a verse are converted into either&amp;lt;BR&amp;gt;&amp;lt;tt&amp;gt;&amp;amp;lt;title canonical=&amp;quot;true&amp;quot; type=&amp;quot;psalm&amp;quot;&amp;gt;...&amp;amp;lt;/title&amp;gt;&amp;lt;/tt&amp;gt; or&amp;lt;BR&amp;gt;&amp;lt;tt&amp;gt;&amp;amp;lt;title canonical=&amp;quot;false&amp;quot; type=&amp;quot;sub&amp;quot;&amp;gt;...&amp;amp;lt;/title&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;ref&amp;gt;type=&amp;quot;sub&amp;quot; is used irrespective of whether the non-canonical title is a section title or a subSection title.&amp;lt;/ref&amp;gt;&amp;lt;BR&amp;gt;and the whole such '''title''' element is wrapped within a special preverse '''div''' element. ''See below''.&lt;br /&gt;
&lt;br /&gt;
* '''InterVerse Content'''&amp;lt;ref&amp;gt;Introduced with SVN revision 2358 for the SWORD 1.6.0 release.&amp;lt;/ref&amp;gt;&lt;br /&gt;
** InterVerse Content refers to all content not contained by the verse element.&amp;lt;ref&amp;gt;i.e. Content between the '''eID''' milestone of a verse and the '''sID''' milestone of the next verse, or before the first verse of the chapter.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;For OSIS files derived from USFM files, the implication of this requirement is the following rule:&lt;br /&gt;
&amp;lt;blockquote&amp;gt;Do not place a title (or similar element) between a matching pair of verse milestones&amp;lt;BR&amp;gt;&lt;br /&gt;
except where the translation places the title somewhere within the verse text in the USFM file.&amp;lt;/blockquote&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
** Such content is divided between the prior and the current verse.&lt;br /&gt;
** Content appended to the prior verse is not marked in any special way.&lt;br /&gt;
** Content prepended&amp;lt;ref&amp;gt;This ensures that when the verse is called the prepended content is also displayed, subject to whatever filters are in place.&amp;lt;/ref&amp;gt; to the current verse is marked with&amp;lt;BR&amp;gt;&amp;lt;tt&amp;gt;&amp;amp;lt;div type=&amp;quot;x-milestone&amp;quot; subType=&amp;quot;x-preverse&amp;quot; sID=&amp;quot;pv#&amp;quot;/&amp;gt;...&amp;amp;lt;div type=&amp;quot;x-milestone&amp;quot; subType=&amp;quot;x-preverse&amp;quot; eID=&amp;quot;pv#&amp;quot;/&amp;gt;.&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Handling of Introductions, Titles and Inter-Verse Material==&lt;br /&gt;
SWORD looks for module, testament, book and chapter introductory material. Those introductions can have appropriate titles as well. &lt;br /&gt;
In SWORD 1.6.0 the handling of this material has changed.&lt;br /&gt;
&lt;br /&gt;
'''Note:'''&lt;br /&gt;
# In the following, the effects of the above transformations are not shown. The tagging of the pre-verse material is also not shown.&lt;br /&gt;
&lt;br /&gt;
===Module and Testament Introductions===&lt;br /&gt;
&lt;br /&gt;
At this time, osis2mod does not fully support module and testament introductions. A module introduction should be place into testament 0, book 0, chapter 0, verse 0. A testament introduction should be placed into testament 1 or 2, book 0, chapter 0, verse 0. Currently, these are placed into Genesis 0:0 or Matthew 0:0.&lt;br /&gt;
&lt;br /&gt;
===Book Introductions and Titles===&lt;br /&gt;
Book introductions and titles are straight forward. It includes the start of the book and everything following it up to, but not including the start of the chapter. See [[OSIS Bibles]] for best practices in marking up titles and introductions.&lt;br /&gt;
&lt;br /&gt;
For example:&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;book&amp;quot; ...&amp;gt;&lt;br /&gt;
 ... introductory material ...&lt;br /&gt;
 &amp;amp;lt;chapter&amp;quot;...&amp;gt;&lt;br /&gt;
will put the following into the book introduction:&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;book&amp;quot; ...&amp;gt;&lt;br /&gt;
 ... introductory material ...&lt;br /&gt;
&lt;br /&gt;
===Chapter Introductions===&lt;br /&gt;
Chapter introductions and titles are a bit problematic. Between the start of a chapter and its first verse, we could have a chapter title, a chapter introduction and/or a start of a section of verses or a titled verse. Osis2mod now handles this in a predictable fashion. From the start of the chapter up to and not including a section div or a title that has a type that is not ''main'', ''chapter'' or ''sub'', the content is chapter introduction. After that, it is part of the verse.&lt;br /&gt;
&lt;br /&gt;
Specifically, the following list gives the possible first elements following the chapter introduction.:&lt;br /&gt;
*&amp;amp;lt;div type=&amp;quot;section&amp;quot; ...&amp;gt;&lt;br /&gt;
*&amp;amp;lt;title type=&amp;quot;yyy&amp;quot; ...&amp;gt; where yyy is not ''main'', ''chapter'' or ''sub''.&lt;br /&gt;
&lt;br /&gt;
For example,&lt;br /&gt;
 &amp;amp;lt;chapter ...&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;Chapter Title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title type=&amp;quot;sub&amp;quot;&amp;gt;Chapter Subtitle&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;introduction&amp;quot;&amp;gt;... intro ...&amp;amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;section&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;A section title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;verse ...&amp;gt;...verse content...&amp;amp;lt;/verse&amp;gt;&lt;br /&gt;
will put the following into the chapter introduction:&lt;br /&gt;
 &amp;amp;lt;chapter ...&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;Chapter Title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title type=&amp;quot;sub&amp;quot;&amp;gt;Chapter Subtitle&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;introduction&amp;quot;&amp;gt;... intro ...&amp;amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
will put the following into verse 1 of that chapter&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;section&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;A section title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;verse ...&amp;gt;...verse content...&amp;amp;lt;/verse&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Between Verses===&lt;br /&gt;
Between verses we may have closing tags to finish off what was started earlier, structural opening tags (e.g. line groups, divisions, paragraphs, ...), titles and/or introductory material.&lt;br /&gt;
&lt;br /&gt;
Upon finding the close of a verse, osis2mod will append all adjacent closing tags to it. Once it finds a start tag, it will attach that to the following verse.&lt;br /&gt;
&lt;br /&gt;
For example, suppose the following is between &amp;amp;lt;/verse&amp;gt; and &amp;amp;lt;verse ...&amp;gt;:&lt;br /&gt;
 &amp;amp;lt;/lg&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;section&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;Section title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;lg&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
then it will append the following to the prior verse:&lt;br /&gt;
 &amp;amp;lt;/lg&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and will prepend the following to the current verse:&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;section&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;Section title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;lg&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Last Verse===&lt;br /&gt;
The material following the last verse of a chapter is appended to that verse. You might find:&lt;br /&gt;
 ... verse content ...&lt;br /&gt;
 &amp;amp;lt;/chapter&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;colophon&amp;quot;&amp;gt;... colophon text ...&amp;amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Exclusions==&lt;br /&gt;
Only content starting the first &amp;amp;lt;div&amp;gt; to the last &amp;amp;lt;/div&amp;gt; is retained. All other is excluded. From a practical perspective, this excludes the OSIS header information.&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
It is always preferable to use the most recent version of osis2mod and compiling it from SVN is best. &lt;br /&gt;
&lt;br /&gt;
'''Note:'''&lt;br /&gt;
# After the SWORD 1.5.9 release, osis2mod was changed to take flags rather than positional arguments.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
You are running osis2mod: $Rev: 3431 $&lt;br /&gt;
OSIS Bible/commentary module creation tool for The SWORD Project&lt;br /&gt;
&lt;br /&gt;
usage: ./osis2mod &amp;lt;output/path&amp;gt; &amp;lt;osisDoc&amp;gt; [OPTIONS]&lt;br /&gt;
  &amp;lt;output/path&amp;gt;		 an existing folder that the module will be written&lt;br /&gt;
  &amp;lt;osisDoc&amp;gt;		 path to the validated OSIS document, or '-' to&lt;br /&gt;
				 read from standard input&lt;br /&gt;
  -a			 augment module if exists (default is to create new)&lt;br /&gt;
  -z &amp;lt;l|z|b|x&amp;gt;		 compression type (default: none)&lt;br /&gt;
				 l - LZSS; z - ZIP; b - bzip2; x - xz&lt;br /&gt;
  -b &amp;lt;2|3|4&amp;gt;		 compression block size (default: 4)&lt;br /&gt;
				 2 - verse; 3 - chapter; 4 - book&lt;br /&gt;
  -l &amp;lt;1-9&amp;gt;		 compression level (default varies by compression type)&lt;br /&gt;
  -c &amp;lt;cipher_key&amp;gt;	 encipher module using supplied key&lt;br /&gt;
				 (default no enciphering)&lt;br /&gt;
  -e &amp;lt;1|2|s&amp;gt;		 convert Unicode encoding (default: 1)&lt;br /&gt;
				 1 - UTF-8 ; 2 - UTF-16 ; s - SCSU&lt;br /&gt;
  -N			 do not normalize to NFC&lt;br /&gt;
  -s &amp;lt;2|4&amp;gt;		 bytes used to store entry size (default is 2).&lt;br /&gt;
  -v &amp;lt;v11n&amp;gt;		 specify a versification scheme to use (default is KJV)&lt;br /&gt;
				 Note: The following are valid values for v11n:&lt;br /&gt;
				   Calvin      	Catholic    	Catholic2   &lt;br /&gt;
				   DarbyFr     	German      	KJV         &lt;br /&gt;
				   KJVA        	LXX         	Leningrad   &lt;br /&gt;
				   Luther      	MT          	NRSV        &lt;br /&gt;
				   NRSVA       	Orthodox    	Segond      &lt;br /&gt;
				   Synodal     	SynodalProt 	Vulg        &lt;br /&gt;
  -h 			 print verbose usage text&lt;br /&gt;
&lt;br /&gt;
See http://www.crosswire.org/wiki/osis2mod for more details.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Earlier builds (e.g. $Rev: 2893 $) also included the debug option help: See [[Osis2mod#Debug_Messages|Debug Messages]].&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  -d &amp;lt;flags&amp;gt;		 turn on debugging (default is 0)&lt;br /&gt;
				 Note: This flag may change in the future.&lt;br /&gt;
				 Flags: The following are valid values:&lt;br /&gt;
					0   - no debugging&lt;br /&gt;
					1   - writes to module, very verbose&lt;br /&gt;
					2   - verse start and end&lt;br /&gt;
					4   - quotes, esp. Words of Christ&lt;br /&gt;
					8   - titles&lt;br /&gt;
					16  - inter-verse material&lt;br /&gt;
					32  - BSP to BCV transformations&lt;br /&gt;
					64  - v11n exceptions&lt;br /&gt;
					128 - parsing of osisID and osisRef&lt;br /&gt;
					256 - internal stack&lt;br /&gt;
					512 - miscellaneous&lt;br /&gt;
				 This argument can be used more than once. (Or&lt;br /&gt;
				 the flags may be added together.)&lt;br /&gt;
&lt;br /&gt;
See http://www.crosswire.org/wiki/osis2mod for more details.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== Parameters and Options ===&lt;br /&gt;
'''&amp;amp;lt;output/path&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This a path to any existing directory. It is best for it to be empty.&lt;br /&gt;
&lt;br /&gt;
'''&amp;amp;lt;osisDoc&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This is a single, well-formed, valid OSIS document.&lt;br /&gt;
&lt;br /&gt;
If '''-''' is used instead of a file name, the document will be read from standard input. This allows for two constructs:&lt;br /&gt;
* Redirection&lt;br /&gt;
 osis2mod ./modules/texts/ztext/KJV - &amp;lt; kjv.xml&lt;br /&gt;
* Piping&lt;br /&gt;
 cat kjv.xml | osis2mod ./modules/texts/ztext/KJV -&lt;br /&gt;
&lt;br /&gt;
'''-a'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Osis2mod can create a Bible all at once or incrementally, depending on the presence of the -a flag. This&lt;br /&gt;
provides for two abilities,&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Assembling a Bible from book files:&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir /tmp/mymodule&lt;br /&gt;
osis2mod /tmp/mymodule  matt.xml&lt;br /&gt;
osis2mod /tmp/mymodule -a mark.xml&lt;br /&gt;
...&lt;br /&gt;
osis2mod /tmp/mymodule -a rev.xml&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
'''Note:''' The book files can be in any order. SWORD will order them correctly in the index.&lt;br /&gt;
&amp;lt;li&amp;gt;Adding corrections to a Bible:&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
osis2mod /tmp/mymodule -a fixes.xml&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
'''Note:''' When fixes are put into the module they are appended to the data file and do not actually replace the verses. The index file is adjusted to point to the new place in the data file.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''-z &amp;amp;lt;l|z|b|x&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
A SWORD Bible can be compressed with Zip (-z z), LZSS (-z l), BZip2 (-z b) '''or''' XZ (-lx). All of CrossWire's compressed Bible and commentary modules are compressed with Zip. This saves significant space over an uncompressed module. Uncompressed modules are useful for debugging.&lt;br /&gt;
&lt;br /&gt;
'''-b &amp;amp;lt;2|3|4&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This setting is only useful for a compressed module. The choice as to whether to use Verse (2), Chapter (3) or Book (4, the default) level compression depends upon the amount of data in the block. A typical Bible is best compressed book by book. A commentary, chapter by chapter. If the commentary is very robust and the amount of text per verse is really huge, then verse compression might make sense.&lt;br /&gt;
&lt;br /&gt;
All of SWORD's compressed Bible modules are compressed by book. Basically, all of the verses in a block are compressed and appended to the data file. For this reason, the datafile cannot be uncompressed by anything other than the SWORD and JSword libraries.&lt;br /&gt;
&lt;br /&gt;
When creating the module by appending it is important to do so by whole compression block. That is, if blockType is Chapter, then the osisDoc needs to contain one or more whole chapters.&lt;br /&gt;
&lt;br /&gt;
'''-l [1-9]'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This setting is useful for a compressed module and provides the level of compression to be used. The default varies depending on the compressor used. The default is typically used.&lt;br /&gt;
&lt;br /&gt;
'''-c cipherKey'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This is typically 16 characters in length, having no leading or trailing spaces, consisting of alternating sets of 4 alpha and 4 numeric characters, such as Aduf0274PjNq0328. The key is case-sensitive.&lt;br /&gt;
&lt;br /&gt;
'''-e &amp;amp;lt;1|2|s&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This flag gives whether the input is to be converted to UTF-8, UTF-16, or SCSU. By default the encoding is UTF-8. Using UTF-16 is reasonable for non-latin texts with little markup. SCSU will compress the Unicode, but it has not been sufficiently tested, requires [[DevTools:ICU|ICU]] support when compiling osis2mod and when running (not all frontends do).&lt;br /&gt;
&lt;br /&gt;
'''-N'''&amp;lt;br/&amp;gt;&lt;br /&gt;
All OSIS modules should be UTF-8 and all that are UTF-8 are also to be NFC. The default is to automatically detect the presense of Latin-1 (either cp1252 or iso8859-1) and convert it to UTF-8 and to normalize UTF-8 to NFC. This flag will turn off this behavior and is useful for creating Latin-1 modules or for modules for which the source text is already UTF-8 and NFC. It is also advised for Biblical Hebrew modules for which the source text (with accents and cantillation points) is intentionally not normalized, as &amp;quot;Unicode normalization can easily break Biblical Hebrew&amp;quot;. Quoted from page 9 of the SBL Hebrew Font Manual.&amp;lt;ref&amp;gt;See https://www.sbl-site.org/Fonts/SBLHebrewUserManual1.5x.pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: this was added late Feb 2008 and requires [[DevTools:ICU|ICU]] support when compiling.&lt;br /&gt;
&lt;br /&gt;
'''-s &amp;amp;lt;2|4&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
A value of 2, the default, restricts modules to 64K bytes per entry. A value of 4, breaks this barrier. This is needed for Bibles, having large introductory materials, and for commentaries with large entries.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' 4 was added late Apr 2009 for raw, uncompressed modules and will be part of the SWORD 1.6.0 release (formerly known as 1.5.11). A later release extended support to compressed modules.&lt;br /&gt;
&lt;br /&gt;
'''-v v11n'''&amp;lt;br/&amp;gt;&lt;br /&gt;
By default, osis2mod uses the KJV versification. The practical implication of this is that only books in the KJV canon are allowed and any text in an allowed book are retained. However, if the verse reference of a supported book falls outside of the versification it is appended to the prior verse in the canon. This flag allows for an [[Alternate Versification|alternate versification]].&lt;br /&gt;
&lt;br /&gt;
'''Note:''' This option was added in April 2009 as part of the SWORD 1.6.0 release.&lt;br /&gt;
&lt;br /&gt;
'''-d flags'''&amp;lt;br/&amp;gt;&lt;br /&gt;
The flag can be used more than once or the flags can be added together. For example,&lt;br /&gt;
 -d 2 -d 4&lt;br /&gt;
is the same as&lt;br /&gt;
 -d 6&lt;br /&gt;
&lt;br /&gt;
To do verbose debugging use:&lt;br /&gt;
 -d -1&lt;br /&gt;
&lt;br /&gt;
For the most part these flags are not intended for debugging modules, but rather for debugging problems in osis2mod.&lt;br /&gt;
&lt;br /&gt;
The -d 2 flag produces no output but puts milestones into the module where verses start and end. The form of the milestone is:&lt;br /&gt;
 &amp;amp;lt;milestone resp=&amp;quot;v&amp;quot; [attributes from verse] /&amp;gt;&lt;br /&gt;
The milestone will contain the osisID from the verse and also a valid sID or eID. The sID/eID indicates the start of end of the verse.&lt;br /&gt;
&lt;br /&gt;
Note: the -d 2 flag might change at any time, or may even be removed.&lt;br /&gt;
&lt;br /&gt;
==Messages==&lt;br /&gt;
Osis2mod has robust, mind-boggling messages. These are provided here in hopes that it will help problem diagnosis.&lt;br /&gt;
&lt;br /&gt;
===Exit Status===&lt;br /&gt;
When an error occurs that causes osis2mod to exit without processing the entire input file, a non-zero exit status is supplied to the caller. Here are the codes that osis2mod uses:&lt;br /&gt;
 const int EXIT_BAD_ARG     =   1; // Bad parameter given for program&lt;br /&gt;
 const int EXIT_NO_WRITE    =   2; // Could not open the module for writing&lt;br /&gt;
 const int EXIT_NO_CREATE   =   3; // Could not create the module&lt;br /&gt;
 const int EXIT_NO_READ     =   4; // Could not open the input file for reading.&lt;br /&gt;
 const int EXIT_BAD_NESTING =   5; // BSP or BCV nesting is bad or improper XML comment&lt;br /&gt;
&lt;br /&gt;
==Diagnostic Messages==&lt;br /&gt;
In the following, example values are given in '''{...}'''. The brackets do not actually appear in the message. Also, the messages are a bit prettier here than in reality.&lt;br /&gt;
&lt;br /&gt;
In the following&lt;br /&gt;
* ['''{ line }''','''{ col }'''] gives the location of the last line and column read in the file. Since processing is handled after the reading, the location is approximate. If the processing is before the file is read, such as during the reading of command line arguments, it won't show up.&lt;br /&gt;
* ('''{ osisID }''') gives the osisID being processed or N/A. It also is optionally output early in the execution of the program.&lt;br /&gt;
&lt;br /&gt;
 WARNING(UTF8)['''{ line }''','''{ col }''']('''{ osisID }'''):     Should be converted to UTF-8 ('''{text }''')&lt;br /&gt;
The program will always check for text that is not UTF-8.&lt;br /&gt;
&lt;br /&gt;
 INFO(UTF8)['''{ line }''','''{ col }''']('''{ osisID }'''):        Converting to UTF-8 ('''{ text before conversion }''')&lt;br /&gt;
Text that is converted to UTF-8 is noted.&lt;br /&gt;
&lt;br /&gt;
 ERROR(UTF8)['''{ line }''','''{ col }''']('''{ osisID }'''):       Converting to UTF-8 ('''{ text after first conversion }''')&lt;br /&gt;
It is an error if after a conversion it still is not UTF-8.&lt;br /&gt;
&lt;br /&gt;
 WARNING(UTF8)['''{ line }''','''{ col }''']('''{ osisID }'''):     osis2mod is not compiled with support for ICU. Ignoring -n flag.&lt;br /&gt;
Normalization was requested, but since osis2mod was not compiled for it, it cannot honor the default request.&lt;br /&gt;
&lt;br /&gt;
 INFO(V11N)['''{ line }''','''{ col }''']('''{ osisID }'''):        is not in the '''{ v11n }''' versification.&lt;br /&gt;
Indicates that a verse is not in the versification.&lt;br /&gt;
&lt;br /&gt;
 INFO(V11N)['''{ line }''','''{ col }''']('''{ osisID }'''):        is not in the '''{ v11n }''' versification. Appending content to '''{ osisID }'''&lt;br /&gt;
This like the other indicates a versification problem, but shows where the text will be found. Osis2mod preserves all module content for supported books.&lt;br /&gt;
&lt;br /&gt;
 WARNING(V11N)['''{ line }''','''{ col }''']('''{ osisID }'''):     New book is '''{ name }'''  and is not in '''{ v11n }''' versification, ignoring&lt;br /&gt;
The name of the book was not recognized as belonging to the chosen versification, it and all of it's content is ignored.&lt;br /&gt;
&lt;br /&gt;
 INFO(WRITE)['''{ line }''','''{ col }''']('''{ osisID }'''):       Appending entry: '''{ osisID }''': '''{ text so far }'''&lt;br /&gt;
If osis2mod encounters text that needs to be appended to a verse that is already in the module. This could indicate that&lt;br /&gt;
* the reference is in the input twice. This typically indicates a problem.&lt;br /&gt;
* more text was found that needs to be added to the prior verse.&lt;br /&gt;
* osis2mod is being run in append mode to fix a verse in the module.&lt;br /&gt;
&lt;br /&gt;
 INFO(LINK)['''{ line }''','''{ col }''']('''{ osisID }'''):        Linking '''{ osisID }''' to '''{ osisID }'''&lt;br /&gt;
An osisID such as &amp;quot;Gen.1.1 Gen.1.2 Gen.1.3&amp;quot; was used and the latter are linked to the first.&lt;br /&gt;
&lt;br /&gt;
 ERROR(REF)['''{ line }''','''{ col }''']('''{ osisID }'''):        Invalid osisID/annotateRef: '''{ invalid attribute value }'''&lt;br /&gt;
This indicates that the SWORD library was unable to parse the osisID or annotateRef.&lt;br /&gt;
&lt;br /&gt;
 FATAL(NESTING)['''{ line }''','''{ col }''']('''{ osisID }'''):    tag expected&lt;br /&gt;
This indicates that the specified verse is not balanced with regard to its tags. Building a raw text module, looking in the module for the verse and pairing begin/end tags will help find the problem. Typically, this indicates an end tag that did not have a matching begin tag and all tags before it were properly paired.&lt;br /&gt;
&lt;br /&gt;
 FATAL(NESTING)['''{ line }''','''{ col }''']('''{ osisID }'''):    Expected '''{ topToken.getName() }''' found '''{ tokenName }'''&lt;br /&gt;
This also indicates that the specified verse is not balanced with regard to its tags. Building a raw text module, looking in the module for the verse and pairing begin/end tags will help find the problem. It could be either a begin or an end tag problem.&lt;br /&gt;
&lt;br /&gt;
 WARNING(NESTING)['''{ line }''','''{ col }''']('''{ osisID }'''):  verse '''{ currentOsisID }''' is not well formed:('''{ verseDepth }''','''{ tagDepth }''')&lt;br /&gt;
This indicates that the verse probably will not show properly in some front-ends in some circumstances. Typically, it shows the problem if the verse is shown in isolation.&lt;br /&gt;
&lt;br /&gt;
 ERROR(NESTING)['''{ line }''','''{ col }''']('''{ osisID }'''):    improper nesting '''{ currentOsisID }''': matching (sID,eID) not found. Looking at ('''{ sID }''','''{ eID }''')&lt;br /&gt;
OSIS specifies that every sID has a matching eID. Osis2mod is checking that BSP elements are properly nested.&lt;br /&gt;
&lt;br /&gt;
 FATAL(COMMENTS)['''{ line }''','''{ col }''']('''{ osisID }'''):   unknown commentstate on comment start: { comment state }&lt;br /&gt;
This indicates that the comment is not of the form &amp;amp;lt;!-- ... --&amp;amp;gt;.&lt;br /&gt;
&lt;br /&gt;
 FATAL(COMMENTS)['''{ line }''','''{ col }''']('''{ osisID }'''):   unknown commentstate on comment end:  { comment state }&lt;br /&gt;
This indicates that the comment is not of the form &amp;amp;lt;!-- ... --&amp;amp;gt;.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    malformed entity, replacing &amp;amp;amp;'''{ malformed entity }''' with &amp;amp;amp;amp;'''{ malformed entity }'''&lt;br /&gt;
This means it found a &amp;amp;amp; that starts an entity but it wasn't terminated by a ; and changed it to something that probably isn't appropriate.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    HEX entity must begin with &amp;amp;amp;x, found '''{ entity }'''&lt;br /&gt;
This indicates &amp;amp;X, which is not valid for xml. It is not changed.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    SWORD does not search HEX entities, found '''{ entity }'''&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    SWORD does not search numeric entities, found '''{ entity }'''&lt;br /&gt;
Since we don't transform HEX or numeric entities to their equivalent UTF-8 value, this will be literal text that cannot be searched.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    XML only supports 5 Character entities &amp;amp;amp;amp;, &amp;amp;amp;lt;, &amp;amp;amp;gt;, &amp;amp;amp;quot; and &amp;amp;amp;apos;, found '''{ entity }'''&lt;br /&gt;
XML does not allow character entities. These are passed unchanged to SWORD module. This frustrates search and may only display properly in a front-end using HTML rendering.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    &amp;amp;amp;quot; is unnecessary outside of attribute values. Replace with &amp;quot;.&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    &amp;amp;amp;quot; is unnecessary inside single quoted attribute values. Replace with &amp;quot;.&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    &amp;amp;amp;quot; is only needed within double quoted attribute values. Considering using single quoted attribute and replacing with &amp;quot;.&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    &amp;amp;amp;apos; is only needed within single quoted attribute values. Considering using double quoted attribute and replacing with '.&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    &amp;amp;amp;apos; is unnecessary inside double quoted attribute values. Replacing with '.&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    &amp;amp;amp;apos; is unnecessary outside of attribute values. Replacing with '.&lt;br /&gt;
The &amp;amp;amp;apos; or &amp;amp;amp;quot; was found outside of an attribute value and is being substituted with a straight single apostrophe, ', or double quote, &amp;quot;, respectively.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    While valid for XML, &amp;amp;amp;quot; is only needed within double quoted attribute values.&lt;br /&gt;
This warning indicates that the entity is present where it does not need to be.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    While valid for XML, XHTML does not support &amp;amp;amp;apos;.&lt;br /&gt;
This warning indicates that the &amp;amp;amp;apos; may not display properly in all front-ends. It was found in an attribute value.&lt;br /&gt;
&lt;br /&gt;
===Debug Messages===&lt;br /&gt;
The following are shown in the same form as the diagnostic messages above. They are given without comment.&lt;br /&gt;
&lt;br /&gt;
'''-d 1'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Output of what is being written to the module. The two osisIDs should always be the same.&lt;br /&gt;
 DEBUG(WRITE):      '''[ osisID ]''':'''[ osisID ]''': '''[ text so far ]'''&lt;br /&gt;
&lt;br /&gt;
'''-d 4'''&amp;lt;br/&amp;gt;&lt;br /&gt;
A stack is maintained to represent the Words of Christ on a per verse basis. This is internal diagnostic of that stack&lt;br /&gt;
 DEBUG(QUOTE):      '''[ currentOsisID ]''': quote top('''[ quote stack size ]''') '''[ token ]'''&lt;br /&gt;
 DEBUG(QUOTE):      '''[ currentOsisID ]''': quote pop('''[ quote stack size ]''') '''[ topToken ]''' -- '''[ token ]'''&lt;br /&gt;
 DEBUG(QUOTE):      '''[ currentOsisID ]''': ('''[ quote stack size ]''') '''[ topToken ]''' -- '''[ token ]'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''-d 8'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Identifies when book and chapter introductions are being determined.&lt;br /&gt;
 DEBUG(TITLE):      '''[ currentOsisID ]''': OOPS INTRO&lt;br /&gt;
         inChapterIntro = '''[ inChapterIntro ]'''&lt;br /&gt;
         inBookIntro    = '''[ inBookIntro ]'''&lt;br /&gt;
 DEBUG(TITLE):      '''[ currentOsisID ]''': Looking for book introduction&lt;br /&gt;
 DEBUG(TITLE):      '''[ currentOsisID ]''': Done looking for book introduction&lt;br /&gt;
 DEBUG(TITLE):      '''[ currentOsisID ]''': BOOK INTRO '''[ beading ]'''&lt;br /&gt;
 DEBUG(TITLE):      '''[ currentOsisID ]''': Looking for chapter introduction&lt;br /&gt;
 DEBUG(TITLE):      '''[ currentOsisID ]''': Done looking for chapter introduction&lt;br /&gt;
 DEBUG(TITLE):      '''[ currentOsisID ]''': CHAPTER INTRO '''[ heading ]'''&lt;br /&gt;
&lt;br /&gt;
'''-d 16'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Inter-verse material either goes with the prior &amp;quot;verse&amp;quot; or the next. This help diagnose problems related to that split.&lt;br /&gt;
 DEBUG(INTERVERSE): '''[ currentOsisID ]''': interverse start token '''[ token ]''':'''[ text ]'''&lt;br /&gt;
 DEBUG(INTERVERSE): '''[ currentOsisID ]''': interverse end tag: '''[ tokenName ]'''('''[ tagDepth ]''','''[ chapterDepth ]''','''[ bookDepth ]''')&lt;br /&gt;
 DEBUG(INTERVERSE): '''[ currentOsisID ]''': appending interverse end tag: '''[tokenName ]'''('''[ tagDepth ]''','''[ chapterDepth ]''','''[ bookDepth ]''')&lt;br /&gt;
&lt;br /&gt;
'''-d 32'''&amp;lt;br/&amp;gt;&lt;br /&gt;
The following messages relate to the transformations of containers to milestones.&lt;br /&gt;
 DEBUG(XFORM):      '''[ currentOsisID ]''': xform empty '''[ token ]'''&lt;br /&gt;
 DEBUG(XFORM):      '''[ currentOsisID ]''': xform push ('''[ bspTagStack.size() ]''') '''[ token ]''' (tagname='''[ tagName ]''')&lt;br /&gt;
 DEBUG(XFORM):      '''[ currentOsisID ]''': xform top('''[ bsp stack size ]''') '''[ topToken ]'''&lt;br /&gt;
 DEBUG(XFORM):      '''[ currentOsisID ]''': xform pop('''[ bsp stack size ]''') '''[ topToken ]'''&lt;br /&gt;
&lt;br /&gt;
'''-d 64'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Occasionally a verse reference is outside of the chosen versification. These messages help to understand difficulties that osis2mod has in storing extra-canonical material in the module.&lt;br /&gt;
 DEBUG(V11N):       '''[ currentOsisID ]''' normalizes to '''[ after ]'''&lt;br /&gt;
 DEBUG(V11N):       Chapter max:'''[ chapterMax ]''', Verse Max:'''[ verseMax ]'''&lt;br /&gt;
&lt;br /&gt;
'''-d 128'''&amp;lt;br/&amp;gt;&lt;br /&gt;
OSIS ids and references can be of a form that SWORD cannot parse. Osis2mod contains a routine that munges these into a form that SWORD can understand.&lt;br /&gt;
 DEBUG(REF):        VerseKey can parse this as is.&lt;br /&gt;
 DEBUG(REF):        Found a range marker. Progress: '''{ progress }''' Remaining: '''{ remaining }'''&lt;br /&gt;
 DEBUG(REF):        Found a work prefix '''[ workPrefix ]''' Progress: '''{ progress }''' Remaining: '''{ remaining }'''&lt;br /&gt;
 DEBUG(REF):        Found an osisID:'''[ osisID ]''' Progress: '''{ progress }''' Remaining: '''{ remaining }'''&lt;br /&gt;
 DEBUG(REF):        Found a grain suffix '''[ grain ]''' Progress: '''{ progress }''' Remaining: '''{ remaining }'''&lt;br /&gt;
 DEBUG(REF):        Replacing space with ; Progress: '''{ progress }''' Remaining: '''{ remaining }'''&lt;br /&gt;
 DEBUG(REF):        Parseable VerseKey -- '''[ osisRef ]'''&lt;br /&gt;
&lt;br /&gt;
'''-d 256'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Osis2mod contains two stacks to validate proper nesting of BSP and BCV, respectively. This is an internal representation of the BCV stacks. It provides additional information to understand the diagnostic nesting messages.&lt;br /&gt;
 DEBUG(STACK):      '''[ currentOsisID ]''': push ('''[ stack size]''') '''[ tokenName ]'''&lt;br /&gt;
 DEBUG(STACK):      '''[ currentOsisID ]''': pop('''[ tagDepth ]''') '''[ topToken.getName() ]'''&lt;br /&gt;
&lt;br /&gt;
'''-d 512'''&amp;lt;br/&amp;gt;&lt;br /&gt;
These are general debug messages.&lt;br /&gt;
 DEBUG(FOUND):        Found first div and pitching prior material: '''[ text ]'''&lt;br /&gt;
 DEBUG(FOUND):        New book is '''[ currentOsisID ]'''&lt;br /&gt;
 DEBUG(FOUND):        Current chapter is '''[ currentOsisID ]''' ('''[ osisID attribute value ]''')&lt;br /&gt;
 DEBUG(FOUND):        Entering verse&lt;br /&gt;
 DEBUG(FOUND):        New current verse is '''[ currentOsisID ]'''&lt;br /&gt;
 DEBUG(FOUND):        osisID/annotateRef is adjusted to: '''[ simpler osisID or osisRef ]'''&lt;br /&gt;
 DEBUG(COMMENTS): in comment&lt;br /&gt;
 DEBUG(COMMENTS): out of comment&lt;br /&gt;
&lt;br /&gt;
'''-d 512'''&amp;lt;br/&amp;gt;&lt;br /&gt;
The following gives the input arguments.&lt;br /&gt;
 DEBUG(ARGS):&lt;br /&gt;
         path:         '''[ path ]'''&lt;br /&gt;
         osisDoc:      '''[ osisDoc ]'''&lt;br /&gt;
         create:       '''[ append ]'''&lt;br /&gt;
         compressType: '''[ compType ]'''&lt;br /&gt;
         blockType:    '''[ iType ]'''&lt;br /&gt;
         cipherKey:    '''[ cipherKey ]'''&lt;br /&gt;
         normalize:    '''[ normalize ]'''&lt;br /&gt;
&lt;br /&gt;
== Future Roadmap ==&lt;br /&gt;
:''List here suggestions for useful enhancements to or improvements for osis2mod''.&lt;br /&gt;
&lt;br /&gt;
* Add a command line flag '''-x''' to ''exclude'' all OSIS elements with the global attribute '''editions'''.&amp;lt;ref&amp;gt;The '''editions''' attribute is used to specify edition specific content, such as material omitted in Protestant versions of the Bible.&amp;lt;/ref&amp;gt;&amp;lt;BR&amp;gt;osis2mod would exclude those elements that match the specified attribute value.&lt;br /&gt;
&lt;br /&gt;
'''Note:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Reporting issues ==&lt;br /&gt;
* [http://www.crosswire.org/tracker/browse/MODTOOLS/component/10290/ Module Tools &amp;amp;ndash; osis2mod]&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[OSIS]] &amp;amp;ndash; a partial list of other OSIS related pages and external links.&lt;br /&gt;
* [[Mod2zmod]]&lt;br /&gt;
&lt;br /&gt;
[[Category:OSIS]]&lt;br /&gt;
[[Category:Utilities]]&lt;br /&gt;
[[Category:Versification]]&lt;/div&gt;</summary>
		<author><name>Dmsmith</name></author>	</entry>

	<entry>
		<id>https://wiki.crosswire.org/index.php?title=Osis2mod&amp;diff=17751</id>
		<title>Osis2mod</title>
		<link rel="alternate" type="text/html" href="https://wiki.crosswire.org/index.php?title=Osis2mod&amp;diff=17751"/>
				<updated>2025-07-07T15:36:31Z</updated>
		
		<summary type="html">&lt;p&gt;Dmsmith: /* Debug Messages */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
osis2mod transforms an OSIS encoded [[OSIS Bibles|Bible]] or [[OSIS_Commentaries|commentary]] into a SWORD module.&lt;br /&gt;
&lt;br /&gt;
==Where to get it==&lt;br /&gt;
* See [[DevTools:Modules#Collect_and_Install_Software_Tools|Collect and Install Software Tools]]&lt;br /&gt;
&lt;br /&gt;
== Current status ==&lt;br /&gt;
&lt;br /&gt;
Software bugs relating to osis2mod should be reported in https://tracker.crosswire.org/browse/MODTOOLS&lt;br /&gt;
&lt;br /&gt;
:''Please describe current status of osis2mod, including a list of any outstanding issues or unsolved difficulties''.&lt;br /&gt;
&lt;br /&gt;
==History of Changes==&lt;br /&gt;
The following outlines in reverse chronological order the major changes to osis2mod. When several changes were made over the span of a few days, they are lumped into the most recent date. Bug fixes are not mentioned.&lt;br /&gt;
&lt;br /&gt;
{|width=&amp;quot;100%&amp;quot; border=&amp;quot;0&amp;quot; class=&amp;quot;sortable&amp;quot;&lt;br /&gt;
!width=&amp;quot;10%&amp;quot;|Date&lt;br /&gt;
!Revision&lt;br /&gt;
!Feature&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2025-06-25'''&lt;br /&gt;
|&lt;br /&gt;
r3906&lt;br /&gt;
|&lt;br /&gt;
* MODTOOLS-76: Enhance -v argument handling in osis2mod with case-insensitive and prefix matching, and improved error reporting.&lt;br /&gt;
&lt;br /&gt;
 - Outputs the name of the versification system being used at program start&lt;br /&gt;
 - Adds layered resolution of versifications:&lt;br /&gt;
    1) Case-sensitive exact match&lt;br /&gt;
    2) Case-insensitive exact match&lt;br /&gt;
    3) Case-insensitive prefix match&lt;br /&gt;
 - Shows detailed error messages when input is invalid or ambiguous:&lt;br /&gt;
    * Lists all matches in case of ambiguity&lt;br /&gt;
    * Lists input and valid options if no match is found&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2025-06-19'''&lt;br /&gt;
|&lt;br /&gt;
r3903&lt;br /&gt;
|&lt;br /&gt;
* MODTOOLS-108  fix. Properly append verses beyond the last chapter of a book at the end of the book in the last verse of the chapter, which caused an infinite loop.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2020-07-26'''&lt;br /&gt;
|&lt;br /&gt;
r3769&lt;br /&gt;
|&lt;br /&gt;
* Fixed linking bug with ranges in osis2mod&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2020-05-08'''&lt;br /&gt;
|&lt;br /&gt;
r3737&lt;br /&gt;
|&lt;br /&gt;
* Added support putting reponumber into nano position of SWORD version string and output current SWORD version&lt;br /&gt;
* standardize on (SWORD: {SWVersion::currentVersion.getText()}) for all reported SWORD versions in utilities&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2016-08-16'''&lt;br /&gt;
|&lt;br /&gt;
r3431&lt;br /&gt;
|&lt;br /&gt;
* commented out  a set of lines handling &amp;quot;div type=&amp;quot;majorSection&amp;quot; &amp;quot; - see comments in code. &lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2016-02-06'''&lt;br /&gt;
|&lt;br /&gt;
r3401&lt;br /&gt;
|&lt;br /&gt;
* Added entity handling.&lt;br /&gt;
* div type='colophon' now not changed to milestones.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2015-02-16'''&lt;br /&gt;
|&lt;br /&gt;
r3322&lt;br /&gt;
| &lt;br /&gt;
* Correct casing of COUT&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2015-02-16'''&lt;br /&gt;
|&lt;br /&gt;
r3321&lt;br /&gt;
|&lt;br /&gt;
* cleaned up whitespace in osis2mod&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2014-12-17'''&lt;br /&gt;
|&lt;br /&gt;
r3310&lt;br /&gt;
|&lt;br /&gt;
* MODTOOLS-55 endless loop fix.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2014-12-15'''&lt;br /&gt;
|&lt;br /&gt;
r3307&lt;br /&gt;
|&lt;br /&gt;
* Greg Helling's patch to osis2mod for majorSections&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2014-03-17'''&lt;br /&gt;
|&lt;br /&gt;
r3139&lt;br /&gt;
|&lt;br /&gt;
* Added support for large entries (&amp;amp;gt; 64K) in compressed modules (aka zText4).&lt;br /&gt;
* Added support for UTF-16 and SCSU using the -e flag. SCSU is experimental.&lt;br /&gt;
* Added support for BZip2 and XZ compression, changing -z and -Z to -z &amp;amp;lt;l|z|b|x&amp;amp;gt;&lt;br /&gt;
* Added support for compression levels of 1 to 9 using the -l [1-9] flag.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2014-01-21'''&lt;br /&gt;
|&lt;br /&gt;
r3011&lt;br /&gt;
|&lt;br /&gt;
* Changed the transformation of &amp;amp;lt;p&amp;amp;gt; from &amp;amp;lt;div type=&amp;quot;paragraph&amp;quot; sID=&amp;quot;xxx&amp;quot;/&amp;amp;gt; to &amp;amp;lt;div type=&amp;quot;x-p&amp;quot; sID=&amp;quot;xxx&amp;quot;/&amp;amp;gt; This is a semantic change that brings osis2mod into alignment with the OSIS specification.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2012-03-24'''&lt;br /&gt;
|&lt;br /&gt;
r2693&lt;br /&gt;
|&lt;br /&gt;
* Allow for XML comments to be in the document, but stripped from the module. This allows for large parts of a document to be commented out, which is especially important during development.&lt;br /&gt;
* Allow for &amp;amp;lt;p&amp;amp;gt; elements to be in the &amp;amp;lt;header&amp;amp;gt; element but ignored. Previously, the p in a header, having been transformed to a div, was taken to be the start of the module's content.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2011-11-12'''&lt;br /&gt;
|&lt;br /&gt;
r2671&lt;br /&gt;
|&lt;br /&gt;
* Restored pre-verse handling. Titles no longer need to be specially specified in OSIS.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2010-06-04'''&lt;br /&gt;
|&lt;br /&gt;
r2519&lt;br /&gt;
|&lt;br /&gt;
* Removed pre-verse handling. Titles now have to be specially specified in OSIS. In OSIS there should also be no tags between verse elements except title and those marking book and chapter.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-06-06'''&lt;br /&gt;
|&lt;br /&gt;
r2435&lt;br /&gt;
|&lt;br /&gt;
* Improved handling of chapter introductions.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-05-30'''&lt;br /&gt;
|&lt;br /&gt;
r2421&lt;br /&gt;
|&lt;br /&gt;
* '''-d flags''' now always available.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-05-14'''&lt;br /&gt;
|&lt;br /&gt;
r2413&lt;br /&gt;
|&lt;br /&gt;
*Added '''-d flags''' as a compile time option.&lt;br /&gt;
*Improved exit codes and documented them here.&lt;br /&gt;
*Labeled all diagnostic and debug output.&lt;br /&gt;
*Can now read from standard input.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-04-28'''&lt;br /&gt;
|&lt;br /&gt;
r2358&lt;br /&gt;
|&lt;br /&gt;
*Predictable handling of inter-verse material.&lt;br /&gt;
*All tags, except verse, included in the module.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-04-26'''&lt;br /&gt;
|&lt;br /&gt;
r2345&lt;br /&gt;
|&lt;br /&gt;
*'''-v v11n''' added to support [[Alternate Versification]].&lt;br /&gt;
*'''-s &amp;lt;2|4&amp;gt;''' added to support uncompressed commentaries with large entries (exceeding 64K bytes).&lt;br /&gt;
*Replace paragraph hack with milestoned paragraphs: &amp;amp;lt;div type=&amp;quot;paragraph&amp;quot; sID=&amp;quot;xxx&amp;quot;/&amp;gt; ... &amp;amp;lt;div type=&amp;quot;paragraph&amp;quot; eID=&amp;quot;xxx&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2008-09-11'''&lt;br /&gt;
|&lt;br /&gt;
r2196&lt;br /&gt;
|&lt;br /&gt;
*Words of Christ (WoC) can be marked up naturally. osis2mod does the right thing.&lt;br /&gt;
*Container elements converted to their milestoned form.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2008-02-29'''&lt;br /&gt;
|&lt;br /&gt;
r2141&lt;br /&gt;
|&lt;br /&gt;
*Now supports commentaries in addition to Bibles.&lt;br /&gt;
*Added utf-8 detection and automatic conversion from cp1252 and iso8859-1 to utf-8, making that the default behavior&lt;br /&gt;
*Added NFC [[Encoding#Normalization|normalization]], making it the default&lt;br /&gt;
*Now handles the full definition of an osisID and an osisRef, including workID and grain.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2007-09-27'''&lt;br /&gt;
|&lt;br /&gt;
r2090&lt;br /&gt;
|&lt;br /&gt;
*Changed command-line parsing from positional parameters to flags.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2007-05-13'''&lt;br /&gt;
|&lt;br /&gt;
r2050&lt;br /&gt;
|&lt;br /&gt;
*All whitespace tokens are converted into blanks and adjacent spaces are merged into one. Leading whitespace on each verse is still removed.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2007-05-01'''&lt;br /&gt;
|&lt;br /&gt;
r2044&lt;br /&gt;
|&lt;br /&gt;
*Added version identification to the running of osis2mod.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2007-04-24'''&lt;br /&gt;
|&lt;br /&gt;
r2038&lt;br /&gt;
|&lt;br /&gt;
*Added ignoring of unknown books&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2006-07-15'''&lt;br /&gt;
|&lt;br /&gt;
r1948&lt;br /&gt;
|&lt;br /&gt;
*Optimized writing to module.&lt;br /&gt;
*Added simple transformations of &amp;amp;lt;q&amp;gt; and &amp;amp;lt;p&amp;gt; into milestones.&lt;br /&gt;
*Now allow empty attributes, such as marker=&amp;quot;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2006-07-04'''&lt;br /&gt;
|&lt;br /&gt;
r1914&lt;br /&gt;
|&lt;br /&gt;
*Updated to support OSIS 2.1&lt;br /&gt;
*Added validation that verses in isolation are well formed&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2005-12-22'''&lt;br /&gt;
|&lt;br /&gt;
r1876&lt;br /&gt;
|&lt;br /&gt;
*Added command-line options for compress and encipher.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2005-05-02'''&lt;br /&gt;
|&lt;br /&gt;
r1790&lt;br /&gt;
|&lt;br /&gt;
*Removed &amp;amp;lt;verse&amp;gt; and &amp;amp;lt;/verse&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2005-02-03'''&lt;br /&gt;
|&lt;br /&gt;
r1707&lt;br /&gt;
|&lt;br /&gt;
*Reverted pre-verse title handling&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2004-06-12'''&lt;br /&gt;
|&lt;br /&gt;
r1620&lt;br /&gt;
|&lt;br /&gt;
*Removed pre-verse title handling&lt;br /&gt;
*Added &amp;amp;lt;verse&amp;gt; and &amp;amp;lt;/verse&amp;gt;&lt;br /&gt;
*Added support for milestoned version of some OSIS elements&lt;br /&gt;
*Added support for verses that are not in the KJV versification by appending them to the closest prior verse.&lt;br /&gt;
*Added support for osisIDs with sub-verse references (i.e. osisID grains)&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2004-05-19'''&lt;br /&gt;
|&lt;br /&gt;
r1597&lt;br /&gt;
|&lt;br /&gt;
*Added support for linked verses&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2003-11-21'''&lt;br /&gt;
|&lt;br /&gt;
r1407&lt;br /&gt;
|&lt;br /&gt;
*Added recognition for &amp;lt;chapter&amp;gt; element&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2003-05-26'''&lt;br /&gt;
|&lt;br /&gt;
r1183&lt;br /&gt;
|&lt;br /&gt;
*Initial version&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Transformations==&lt;br /&gt;
:''This section may need further updating''.&lt;br /&gt;
&lt;br /&gt;
Osis2mod performs the following transformations&amp;lt;ref&amp;gt;These transformations are all performed &amp;quot;under the hood&amp;quot; as it were. Tweaking OSIS XML files to fix problems with pre-verse titles, etc., was never intended to be done by module developers as part of the preprocessing before using osis2mod.&amp;lt;/ref&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
* '''Whitespace''' -- Allows for human-readable OSIS files.&lt;br /&gt;
**Leading whitespace on books, chapters and verses is removed&lt;br /&gt;
**Whitespace is normalized into blanks&lt;br /&gt;
**Multiple adjacent whitespace is reduced to a single space&lt;br /&gt;
&lt;br /&gt;
* '''Unicode handling''' - All modules should be UTF-8, NFC.&amp;lt;ref&amp;gt;With the possible exception of Biblical Hebrew and some Indic scripts that should not be normalized.&amp;lt;/ref&amp;gt;&lt;br /&gt;
**Latin-1 (cp1252 and iso8859-1) are converted into UTF-8&lt;br /&gt;
**UTF-8 is normalized into NFC, unless specified otherwise (i.e. by using the -N option).&lt;br /&gt;
&lt;br /&gt;
* '''Verse ranges''' - also known as linked verses.&lt;br /&gt;
** Verses within a specified OSIS verse range are each linked to the first verse of the range.&lt;br /&gt;
&lt;br /&gt;
* '''Milestone conversion''' - necessary for frontends to show a verse at a time.&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;q ...&amp;gt;...&amp;amp;lt;/q&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;q sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;q eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;ref&amp;gt;'''gen#''' is unique for an sID/eID pair, where '''#''' is a number.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;Quotes with who=&amp;quot;Jesus&amp;quot; are not transformed at this stage.&amp;lt;/ref&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;p ...&amp;gt;...&amp;amp;lt;/p&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;div sID=&amp;quot;gen#&amp;quot; type=&amp;quot;x-p&amp;quot; .../&amp;gt;... &amp;amp;lt;div eID=&amp;quot;gen#&amp;quot; type=&amp;quot;x-p&amp;quot; ...&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;chapter ...&amp;gt;...&amp;amp;lt;/chapter&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;chapter sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;chapter eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;closer ...&amp;gt;...&amp;amp;lt;/closer&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;closer sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;closer eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;div ...&amp;gt;...&amp;amp;lt;/div&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;div sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;div eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;ref&amp;gt;As of r3401, &amp;amp;lt;div type=&amp;quot;colophon&amp;quot;...&amp;gt; is unchanged.&amp;lt;/ref&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;l ...&amp;gt;...&amp;amp;lt;/l&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;l sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;l eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;lg ...&amp;gt;...&amp;amp;lt;/lg&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;lg sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;lg eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;salute ...&amp;gt;...&amp;amp;lt;/salute&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;salute sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;salute eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;signed ...&amp;gt;...&amp;amp;lt;/signed&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;signed sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;signed eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;speech ...&amp;gt;...&amp;amp;lt;/speech&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;speech sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;speech eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;verse ...&amp;gt;...&amp;amp;lt;/verse&amp;gt;&amp;lt;/tt&amp;gt; becomes (when using -d 2 for debugging.)&amp;lt;BR&amp;gt;&amp;lt;tt&amp;gt;&amp;amp;lt;milestone resp=&amp;quot;v&amp;quot; sID=&amp;quot;gen#&amp;quot; ... /&amp;gt;...&amp;amp;lt;milestone resp=&amp;quot;v&amp;quot; eID=&amp;quot;gen#&amp;quot; ... /&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* '''Words of Christ''' - necessary for front-ends to appropriately highlight the WOC, a verse at a time.&amp;lt;ref&amp;gt;The examples given have the null string as the quotation marks in the '''marker''' attribute (as in the KJV module), but proper quotation marks are also supported.&amp;lt;/ref&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;q sID=&amp;quot;gen#&amp;quot; who=&amp;quot;Jesus&amp;quot; .../&amp;gt;...&amp;amp;lt;eID=&amp;quot;gen#&amp;quot; who=&amp;quot;Jesus&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt; becomes&amp;lt;BR&amp;gt;&amp;lt;tt&amp;gt;&amp;amp;lt;q who=&amp;quot;Jesus&amp;quot; marker=&amp;quot;&amp;quot;&amp;gt;&amp;amp;lt;q sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;q eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;amp;lt;/q&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;q who=&amp;quot;Jesus&amp;quot; ...&amp;gt;...&amp;amp;lt;/q&amp;gt;&amp;lt;/tt&amp;gt; becomes&amp;lt;BR&amp;gt;&amp;lt;tt&amp;gt;&amp;amp;lt;q who=&amp;quot;Jesus&amp;quot; marker=&amp;quot;&amp;quot;&amp;gt;&amp;amp;lt;q sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;q eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;amp;lt;/q&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** Within the following construct, &amp;lt;tt&amp;gt;&amp;amp;lt;q who=&amp;quot;Jesus&amp;quot; marker=&amp;quot;&amp;quot;&amp;gt;...&amp;lt;/q&amp;gt;&amp;lt;/tt&amp;gt; will surround verse text.&lt;br /&gt;
&lt;br /&gt;
* '''Pre-Verse Titles'''&amp;lt;ref&amp;gt;The older method that fixed titles only became obsolete with SVN revision 2358 for the SWORD 1.6.0 release and replaced with '''InterVerse Content'''.&amp;lt;/ref&amp;gt;&lt;br /&gt;
** InterVerse or postVerse&amp;lt;ref&amp;gt;For example, the '''colophon''' div as found at the end of some Epistles.&amp;lt;/ref&amp;gt; content not in titles is appended to the prior verse.&lt;br /&gt;
** Titles immediately preceeding a verse are converted into either&amp;lt;BR&amp;gt;&amp;lt;tt&amp;gt;&amp;amp;lt;title canonical=&amp;quot;true&amp;quot; type=&amp;quot;psalm&amp;quot;&amp;gt;...&amp;amp;lt;/title&amp;gt;&amp;lt;/tt&amp;gt; or&amp;lt;BR&amp;gt;&amp;lt;tt&amp;gt;&amp;amp;lt;title canonical=&amp;quot;false&amp;quot; type=&amp;quot;sub&amp;quot;&amp;gt;...&amp;amp;lt;/title&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;ref&amp;gt;type=&amp;quot;sub&amp;quot; is used irrespective of whether the non-canonical title is a section title or a subSection title.&amp;lt;/ref&amp;gt;&amp;lt;BR&amp;gt;and the whole such '''title''' element is wrapped within a special preverse '''div''' element. ''See below''.&lt;br /&gt;
&lt;br /&gt;
* '''InterVerse Content'''&amp;lt;ref&amp;gt;Introduced with SVN revision 2358 for the SWORD 1.6.0 release.&amp;lt;/ref&amp;gt;&lt;br /&gt;
** InterVerse Content refers to all content not contained by the verse element.&amp;lt;ref&amp;gt;i.e. Content between the '''eID''' milestone of a verse and the '''sID''' milestone of the next verse, or before the first verse of the chapter.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;For OSIS files derived from USFM files, the implication of this requirement is the following rule:&lt;br /&gt;
&amp;lt;blockquote&amp;gt;Do not place a title (or similar element) between a matching pair of verse milestones&amp;lt;BR&amp;gt;&lt;br /&gt;
except where the translation places the title somewhere within the verse text in the USFM file.&amp;lt;/blockquote&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
** Such content is divided between the prior and the current verse.&lt;br /&gt;
** Content appended to the prior verse is not marked in any special way.&lt;br /&gt;
** Content prepended&amp;lt;ref&amp;gt;This ensures that when the verse is called the prepended content is also displayed, subject to whatever filters are in place.&amp;lt;/ref&amp;gt; to the current verse is marked with&amp;lt;BR&amp;gt;&amp;lt;tt&amp;gt;&amp;amp;lt;div type=&amp;quot;x-milestone&amp;quot; subType=&amp;quot;x-preverse&amp;quot; sID=&amp;quot;pv#&amp;quot;/&amp;gt;...&amp;amp;lt;div type=&amp;quot;x-milestone&amp;quot; subType=&amp;quot;x-preverse&amp;quot; eID=&amp;quot;pv#&amp;quot;/&amp;gt;.&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Handling of Introductions, Titles and Inter-Verse Material==&lt;br /&gt;
SWORD looks for module, testament, book and chapter introductory material. Those introductions can have appropriate titles as well. &lt;br /&gt;
In SWORD 1.6.0 the handling of this material has changed.&lt;br /&gt;
&lt;br /&gt;
'''Note:'''&lt;br /&gt;
# In the following, the effects of the above transformations are not shown. The tagging of the pre-verse material is also not shown.&lt;br /&gt;
&lt;br /&gt;
===Module and Testament Introductions===&lt;br /&gt;
&lt;br /&gt;
At this time, osis2mod does not fully support module and testament introductions. A module introduction should be place into testament 0, book 0, chapter 0, verse 0. A testament introduction should be placed into testament 1 or 2, book 0, chapter 0, verse 0. Currently, these are placed into Genesis 0:0 or Matthew 0:0.&lt;br /&gt;
&lt;br /&gt;
===Book Introductions and Titles===&lt;br /&gt;
Book introductions and titles are straight forward. It includes the start of the book and everything following it up to, but not including the start of the chapter. See [[OSIS Bibles]] for best practices in marking up titles and introductions.&lt;br /&gt;
&lt;br /&gt;
For example:&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;book&amp;quot; ...&amp;gt;&lt;br /&gt;
 ... introductory material ...&lt;br /&gt;
 &amp;amp;lt;chapter&amp;quot;...&amp;gt;&lt;br /&gt;
will put the following into the book introduction:&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;book&amp;quot; ...&amp;gt;&lt;br /&gt;
 ... introductory material ...&lt;br /&gt;
&lt;br /&gt;
===Chapter Introductions===&lt;br /&gt;
Chapter introductions and titles are a bit problematic. Between the start of a chapter and its first verse, we could have a chapter title, a chapter introduction and/or a start of a section of verses or a titled verse. Osis2mod now handles this in a predictable fashion. From the start of the chapter up to and not including a section div or a title that has a type that is not ''main'', ''chapter'' or ''sub'', the content is chapter introduction. After that, it is part of the verse.&lt;br /&gt;
&lt;br /&gt;
Specifically, the following list gives the possible first elements following the chapter introduction.:&lt;br /&gt;
*&amp;amp;lt;div type=&amp;quot;section&amp;quot; ...&amp;gt;&lt;br /&gt;
*&amp;amp;lt;title type=&amp;quot;yyy&amp;quot; ...&amp;gt; where yyy is not ''main'', ''chapter'' or ''sub''.&lt;br /&gt;
&lt;br /&gt;
For example,&lt;br /&gt;
 &amp;amp;lt;chapter ...&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;Chapter Title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title type=&amp;quot;sub&amp;quot;&amp;gt;Chapter Subtitle&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;introduction&amp;quot;&amp;gt;... intro ...&amp;amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;section&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;A section title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;verse ...&amp;gt;...verse content...&amp;amp;lt;/verse&amp;gt;&lt;br /&gt;
will put the following into the chapter introduction:&lt;br /&gt;
 &amp;amp;lt;chapter ...&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;Chapter Title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title type=&amp;quot;sub&amp;quot;&amp;gt;Chapter Subtitle&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;introduction&amp;quot;&amp;gt;... intro ...&amp;amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
will put the following into verse 1 of that chapter&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;section&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;A section title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;verse ...&amp;gt;...verse content...&amp;amp;lt;/verse&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Between Verses===&lt;br /&gt;
Between verses we may have closing tags to finish off what was started earlier, structural opening tags (e.g. line groups, divisions, paragraphs, ...), titles and/or introductory material.&lt;br /&gt;
&lt;br /&gt;
Upon finding the close of a verse, osis2mod will append all adjacent closing tags to it. Once it finds a start tag, it will attach that to the following verse.&lt;br /&gt;
&lt;br /&gt;
For example, suppose the following is between &amp;amp;lt;/verse&amp;gt; and &amp;amp;lt;verse ...&amp;gt;:&lt;br /&gt;
 &amp;amp;lt;/lg&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;section&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;Section title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;lg&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
then it will append the following to the prior verse:&lt;br /&gt;
 &amp;amp;lt;/lg&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and will prepend the following to the current verse:&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;section&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;Section title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;lg&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Last Verse===&lt;br /&gt;
The material following the last verse of a chapter is appended to that verse. You might find:&lt;br /&gt;
 ... verse content ...&lt;br /&gt;
 &amp;amp;lt;/chapter&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;colophon&amp;quot;&amp;gt;... colophon text ...&amp;amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Exclusions==&lt;br /&gt;
Only content starting the first &amp;amp;lt;div&amp;gt; to the last &amp;amp;lt;/div&amp;gt; is retained. All other is excluded. From a practical perspective, this excludes the OSIS header information.&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
It is always preferable to use the most recent version of osis2mod and compiling it from SVN is best. &lt;br /&gt;
&lt;br /&gt;
'''Note:'''&lt;br /&gt;
# After the SWORD 1.5.9 release, osis2mod was changed to take flags rather than positional arguments.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
You are running osis2mod: $Rev: 3431 $&lt;br /&gt;
OSIS Bible/commentary module creation tool for The SWORD Project&lt;br /&gt;
&lt;br /&gt;
usage: ./osis2mod &amp;lt;output/path&amp;gt; &amp;lt;osisDoc&amp;gt; [OPTIONS]&lt;br /&gt;
  &amp;lt;output/path&amp;gt;		 an existing folder that the module will be written&lt;br /&gt;
  &amp;lt;osisDoc&amp;gt;		 path to the validated OSIS document, or '-' to&lt;br /&gt;
				 read from standard input&lt;br /&gt;
  -a			 augment module if exists (default is to create new)&lt;br /&gt;
  -z &amp;lt;l|z|b|x&amp;gt;		 compression type (default: none)&lt;br /&gt;
				 l - LZSS; z - ZIP; b - bzip2; x - xz&lt;br /&gt;
  -b &amp;lt;2|3|4&amp;gt;		 compression block size (default: 4)&lt;br /&gt;
				 2 - verse; 3 - chapter; 4 - book&lt;br /&gt;
  -l &amp;lt;1-9&amp;gt;		 compression level (default varies by compression type)&lt;br /&gt;
  -c &amp;lt;cipher_key&amp;gt;	 encipher module using supplied key&lt;br /&gt;
				 (default no enciphering)&lt;br /&gt;
  -e &amp;lt;1|2|s&amp;gt;		 convert Unicode encoding (default: 1)&lt;br /&gt;
				 1 - UTF-8 ; 2 - UTF-16 ; s - SCSU&lt;br /&gt;
  -N			 do not normalize to NFC&lt;br /&gt;
  -s &amp;lt;2|4&amp;gt;		 bytes used to store entry size (default is 2).&lt;br /&gt;
  -v &amp;lt;v11n&amp;gt;		 specify a versification scheme to use (default is KJV)&lt;br /&gt;
				 Note: The following are valid values for v11n:&lt;br /&gt;
				   Calvin      	Catholic    	Catholic2   &lt;br /&gt;
				   DarbyFr     	German      	KJV         &lt;br /&gt;
				   KJVA        	LXX         	Leningrad   &lt;br /&gt;
				   Luther      	MT          	NRSV        &lt;br /&gt;
				   NRSVA       	Orthodox    	Segond      &lt;br /&gt;
				   Synodal     	SynodalProt 	Vulg        &lt;br /&gt;
  -h 			 print verbose usage text&lt;br /&gt;
&lt;br /&gt;
See http://www.crosswire.org/wiki/osis2mod for more details.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Earlier builds (e.g. $Rev: 2893 $) also included the debug option help: See [[Osis2mod#Debug_Messages|Debug Messages]].&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  -d &amp;lt;flags&amp;gt;		 turn on debugging (default is 0)&lt;br /&gt;
				 Note: This flag may change in the future.&lt;br /&gt;
				 Flags: The following are valid values:&lt;br /&gt;
					0   - no debugging&lt;br /&gt;
					1   - writes to module, very verbose&lt;br /&gt;
					2   - verse start and end&lt;br /&gt;
					4   - quotes, esp. Words of Christ&lt;br /&gt;
					8   - titles&lt;br /&gt;
					16  - inter-verse material&lt;br /&gt;
					32  - BSP to BCV transformations&lt;br /&gt;
					64  - v11n exceptions&lt;br /&gt;
					128 - parsing of osisID and osisRef&lt;br /&gt;
					256 - internal stack&lt;br /&gt;
					512 - miscellaneous&lt;br /&gt;
				 This argument can be used more than once. (Or&lt;br /&gt;
				 the flags may be added together.)&lt;br /&gt;
&lt;br /&gt;
See http://www.crosswire.org/wiki/osis2mod for more details.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== Parameters and Options ===&lt;br /&gt;
'''&amp;amp;lt;output/path&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This a path to any existing directory. It is best for it to be empty.&lt;br /&gt;
&lt;br /&gt;
'''&amp;amp;lt;osisDoc&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This is a single, well-formed, valid OSIS document.&lt;br /&gt;
&lt;br /&gt;
If '''-''' is used instead of a file name, the document will be read from standard input. This allows for two constructs:&lt;br /&gt;
* Redirection&lt;br /&gt;
 osis2mod ./modules/texts/ztext/KJV - &amp;lt; kjv.xml&lt;br /&gt;
* Piping&lt;br /&gt;
 cat kjv.xml | osis2mod ./modules/texts/ztext/KJV -&lt;br /&gt;
&lt;br /&gt;
'''-a'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Osis2mod can create a Bible all at once or incrementally, depending on the presence of the -a flag. This&lt;br /&gt;
provides for two abilities,&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Assembling a Bible from book files:&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir /tmp/mymodule&lt;br /&gt;
osis2mod /tmp/mymodule  matt.xml&lt;br /&gt;
osis2mod /tmp/mymodule -a mark.xml&lt;br /&gt;
...&lt;br /&gt;
osis2mod /tmp/mymodule -a rev.xml&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
'''Note:''' The book files can be in any order. SWORD will order them correctly in the index.&lt;br /&gt;
&amp;lt;li&amp;gt;Adding corrections to a Bible:&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
osis2mod /tmp/mymodule -a fixes.xml&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
'''Note:''' When fixes are put into the module they are appended to the data file and do not actually replace the verses. The index file is adjusted to point to the new place in the data file.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''-z &amp;amp;lt;l|z|b|x&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
A SWORD Bible can be compressed with Zip (-z z), LZSS (-z l), BZip2 (-z b) '''or''' XZ (-lx). All of CrossWire's compressed Bible and commentary modules are compressed with Zip. This saves significant space over an uncompressed module. Uncompressed modules are useful for debugging.&lt;br /&gt;
&lt;br /&gt;
'''-b &amp;amp;lt;2|3|4&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This setting is only useful for a compressed module. The choice as to whether to use Verse (2), Chapter (3) or Book (4, the default) level compression depends upon the amount of data in the block. A typical Bible is best compressed book by book. A commentary, chapter by chapter. If the commentary is very robust and the amount of text per verse is really huge, then verse compression might make sense.&lt;br /&gt;
&lt;br /&gt;
All of SWORD's compressed Bible modules are compressed by book. Basically, all of the verses in a block are compressed and appended to the data file. For this reason, the datafile cannot be uncompressed by anything other than the SWORD and JSword libraries.&lt;br /&gt;
&lt;br /&gt;
When creating the module by appending it is important to do so by whole compression block. That is, if blockType is Chapter, then the osisDoc needs to contain one or more whole chapters.&lt;br /&gt;
&lt;br /&gt;
'''-l [1-9]'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This setting is useful for a compressed module and provides the level of compression to be used. The default varies depending on the compressor used. The default is typically used.&lt;br /&gt;
&lt;br /&gt;
'''-c cipherKey'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This is typically 16 characters in length, having no leading or trailing spaces, consisting of alternating sets of 4 alpha and 4 numeric characters, such as Aduf0274PjNq0328. The key is case-sensitive.&lt;br /&gt;
&lt;br /&gt;
'''-e &amp;amp;lt;1|2|s&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This flag gives whether the input is to be converted to UTF-8, UTF-16, or SCSU. By default the encoding is UTF-8. Using UTF-16 is reasonable for non-latin texts with little markup. SCSU will compress the Unicode, but it has not been sufficiently tested, requires [[DevTools:ICU|ICU]] support when compiling osis2mod and when running (not all frontends do).&lt;br /&gt;
&lt;br /&gt;
'''-N'''&amp;lt;br/&amp;gt;&lt;br /&gt;
All OSIS modules should be UTF-8 and all that are UTF-8 are also to be NFC. The default is to automatically detect the presense of Latin-1 (either cp1252 or iso8859-1) and convert it to UTF-8 and to normalize UTF-8 to NFC. This flag will turn off this behavior and is useful for creating Latin-1 modules or for modules for which the source text is already UTF-8 and NFC. It is also advised for Biblical Hebrew modules for which the source text (with accents and cantillation points) is intentionally not normalized, as &amp;quot;Unicode normalization can easily break Biblical Hebrew&amp;quot;. Quoted from page 9 of the SBL Hebrew Font Manual.&amp;lt;ref&amp;gt;See https://www.sbl-site.org/Fonts/SBLHebrewUserManual1.5x.pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: this was added late Feb 2008 and requires [[DevTools:ICU|ICU]] support when compiling.&lt;br /&gt;
&lt;br /&gt;
'''-s &amp;amp;lt;2|4&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
A value of 2, the default, restricts modules to 64K bytes per entry. A value of 4, breaks this barrier. This is needed for Bibles, having large introductory materials, and for commentaries with large entries.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' 4 was added late Apr 2009 for raw, uncompressed modules and will be part of the SWORD 1.6.0 release (formerly known as 1.5.11). A later release extended support to compressed modules.&lt;br /&gt;
&lt;br /&gt;
'''-v v11n'''&amp;lt;br/&amp;gt;&lt;br /&gt;
By default, osis2mod uses the KJV versification. The practical implication of this is that only books in the KJV canon are allowed and any text in an allowed book are retained. However, if the verse reference of a supported book falls outside of the versification it is appended to the prior verse in the canon. This flag allows for an [[Alternate Versification|alternate versification]].&lt;br /&gt;
&lt;br /&gt;
'''Note:''' This option was added in April 2009 as part of the SWORD 1.6.0 release.&lt;br /&gt;
&lt;br /&gt;
'''-d flags'''&amp;lt;br/&amp;gt;&lt;br /&gt;
The flag can be used more than once or the flags can be added together. For example,&lt;br /&gt;
 -d 2 -d 4&lt;br /&gt;
is the same as&lt;br /&gt;
 -d 6&lt;br /&gt;
&lt;br /&gt;
To do verbose debugging use:&lt;br /&gt;
 -d -1&lt;br /&gt;
&lt;br /&gt;
For the most part these flags are not intended for debugging modules, but rather for debugging problems in osis2mod.&lt;br /&gt;
&lt;br /&gt;
The -d 2 flag produces no output but puts milestones into the module where verses start and end. The form of the milestone is:&lt;br /&gt;
 &amp;amp;lt;milestone resp=&amp;quot;v&amp;quot; [attributes from verse] /&amp;gt;&lt;br /&gt;
The milestone will contain the osisID from the verse and also a valid sID or eID. The sID/eID indicates the start of end of the verse.&lt;br /&gt;
&lt;br /&gt;
Note: the -d 2 flag might change at any time, or may even be removed.&lt;br /&gt;
&lt;br /&gt;
==Messages==&lt;br /&gt;
Osis2mod has robust, mind-boggling messages. These are provided here in hopes that it will help problem diagnosis.&lt;br /&gt;
&lt;br /&gt;
===Exit Status===&lt;br /&gt;
When an error occurs that causes osis2mod to exit without processing the entire input file, a non-zero exit status is supplied to the caller. Here are the codes that osis2mod uses:&lt;br /&gt;
 const int EXIT_BAD_ARG     =   1; // Bad parameter given for program&lt;br /&gt;
 const int EXIT_NO_WRITE    =   2; // Could not open the module for writing&lt;br /&gt;
 const int EXIT_NO_CREATE   =   3; // Could not create the module&lt;br /&gt;
 const int EXIT_NO_READ     =   4; // Could not open the input file for reading.&lt;br /&gt;
 const int EXIT_BAD_NESTING =   5; // BSP or BCV nesting is bad or improper XML comment&lt;br /&gt;
&lt;br /&gt;
==Diagnostic Messages===&lt;br /&gt;
In the following, example values are given in '''{...}'''. The brackets do not actually appear in the message. Also, the messages are a bit prettier here than in reality.&lt;br /&gt;
&lt;br /&gt;
In the following&lt;br /&gt;
* ['''{ line }''','''{ col }'''] gives the location of the last line and column read in the file. Since processing is handled after the reading, the location is approximate. If the processing is before the file is read, such as during the reading of command line arguments, it won't show up.&lt;br /&gt;
* ('''{ osisID }''') gives the osisID being processed or N/A. It also is optionally output early in the execution of the program.&lt;br /&gt;
&lt;br /&gt;
 WARNING(UTF8)['''{ line }''','''{ col }''']('''{ osisID }'''):     Should be converted to UTF-8 ('''{text }''')&lt;br /&gt;
The program will always check for text that is not UTF-8.&lt;br /&gt;
&lt;br /&gt;
 INFO(UTF8)['''{ line }''','''{ col }''']('''{ osisID }'''):        Converting to UTF-8 ('''{ text before conversion }''')&lt;br /&gt;
Text that is converted to UTF-8 is noted.&lt;br /&gt;
&lt;br /&gt;
 ERROR(UTF8)['''{ line }''','''{ col }''']('''{ osisID }'''):       Converting to UTF-8 ('''{ text after first conversion }''')&lt;br /&gt;
It is an error if after a conversion it still is not UTF-8.&lt;br /&gt;
&lt;br /&gt;
 WARNING(UTF8)['''{ line }''','''{ col }''']('''{ osisID }'''):     osis2mod is not compiled with support for ICU. Ignoring -n flag.&lt;br /&gt;
Normalization was requested, but since osis2mod was not compiled for it, it cannot honor the default request.&lt;br /&gt;
&lt;br /&gt;
 INFO(V11N)['''{ line }''','''{ col }''']('''{ osisID }'''):        is not in the '''{ v11n }''' versification.&lt;br /&gt;
Indicates that a verse is not in the versification.&lt;br /&gt;
&lt;br /&gt;
 INFO(V11N)['''{ line }''','''{ col }''']('''{ osisID }'''):        is not in the '''{ v11n }''' versification. Appending content to '''{ osisID }'''&lt;br /&gt;
This like the other indicates a versification problem, but shows where the text will be found. Osis2mod preserves all module content for supported books.&lt;br /&gt;
&lt;br /&gt;
 WARNING(V11N)['''{ line }''','''{ col }''']('''{ osisID }'''):     New book is '''{ name }'''  and is not in '''{ v11n }''' versification, ignoring&lt;br /&gt;
The name of the book was not recognized as belonging to the chosen versification, it and all of it's content is ignored.&lt;br /&gt;
&lt;br /&gt;
 INFO(WRITE)['''{ line }''','''{ col }''']('''{ osisID }'''):       Appending entry: '''{ osisID }''': '''{ text so far }'''&lt;br /&gt;
If osis2mod encounters text that needs to be appended to a verse that is already in the module. This could indicate that&lt;br /&gt;
* the reference is in the input twice. This typically indicates a problem.&lt;br /&gt;
* more text was found that needs to be added to the prior verse.&lt;br /&gt;
* osis2mod is being run in append mode to fix a verse in the module.&lt;br /&gt;
&lt;br /&gt;
 INFO(LINK)['''{ line }''','''{ col }''']('''{ osisID }'''):        Linking '''{ osisID }''' to '''{ osisID }'''&lt;br /&gt;
An osisID such as &amp;quot;Gen.1.1 Gen.1.2 Gen.1.3&amp;quot; was used and the latter are linked to the first.&lt;br /&gt;
&lt;br /&gt;
 ERROR(REF)['''{ line }''','''{ col }''']('''{ osisID }'''):        Invalid osisID/annotateRef: '''{ invalid attribute value }'''&lt;br /&gt;
This indicates that the SWORD library was unable to parse the osisID or annotateRef.&lt;br /&gt;
&lt;br /&gt;
 FATAL(NESTING)['''{ line }''','''{ col }''']('''{ osisID }'''):    tag expected&lt;br /&gt;
This indicates that the specified verse is not balanced with regard to its tags. Building a raw text module, looking in the module for the verse and pairing begin/end tags will help find the problem. Typically, this indicates an end tag that did not have a matching begin tag and all tags before it were properly paired.&lt;br /&gt;
&lt;br /&gt;
 FATAL(NESTING)['''{ line }''','''{ col }''']('''{ osisID }'''):    Expected '''{ topToken.getName() }''' found '''{ tokenName }'''&lt;br /&gt;
This also indicates that the specified verse is not balanced with regard to its tags. Building a raw text module, looking in the module for the verse and pairing begin/end tags will help find the problem. It could be either a begin or an end tag problem.&lt;br /&gt;
&lt;br /&gt;
 WARNING(NESTING)['''{ line }''','''{ col }''']('''{ osisID }'''):  verse '''{ currentOsisID }''' is not well formed:('''{ verseDepth }''','''{ tagDepth }''')&lt;br /&gt;
This indicates that the verse probably will not show properly in some front-ends in some circumstances. Typically, it shows the problem if the verse is shown in isolation.&lt;br /&gt;
&lt;br /&gt;
 ERROR(NESTING)['''{ line }''','''{ col }''']('''{ osisID }'''):    improper nesting '''{ currentOsisID }''': matching (sID,eID) not found. Looking at ('''{ sID }''','''{ eID }''')&lt;br /&gt;
OSIS specifies that every sID has a matching eID. Osis2mod is checking that BSP elements are properly nested.&lt;br /&gt;
&lt;br /&gt;
 FATAL(COMMENTS)['''{ line }''','''{ col }''']('''{ osisID }'''):   unknown commentstate on comment start: { comment state }&lt;br /&gt;
This indicates that the comment is not of the form &amp;amp;lt;!-- ... --&amp;amp;gt;.&lt;br /&gt;
&lt;br /&gt;
 FATAL(COMMENTS)['''{ line }''','''{ col }''']('''{ osisID }'''):   unknown commentstate on comment end:  { comment state }&lt;br /&gt;
This indicates that the comment is not of the form &amp;amp;lt;!-- ... --&amp;amp;gt;.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    malformed entity, replacing &amp;amp;amp;'''{ malformed entity }''' with &amp;amp;amp;amp;'''{ malformed entity }'''&lt;br /&gt;
This means it found a &amp;amp;amp; that starts an entity but it wasn't terminated by a ; and changed it to something that probably isn't appropriate.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    HEX entity must begin with &amp;amp;amp;x, found '''{ entity }'''&lt;br /&gt;
This indicates &amp;amp;X, which is not valid for xml. It is not changed.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    SWORD does not search HEX entities, found '''{ entity }'''&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    SWORD does not search numeric entities, found '''{ entity }'''&lt;br /&gt;
Since we don't transform HEX or numeric entities to their equivalent UTF-8 value, this will be literal text that cannot be searched.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    XML only supports 5 Character entities &amp;amp;amp;amp;, &amp;amp;amp;lt;, &amp;amp;amp;gt;, &amp;amp;amp;quot; and &amp;amp;amp;apos;, found '''{ entity }'''&lt;br /&gt;
XML does not allow character entities. These are passed unchanged to SWORD module. This frustrates search and may only display properly in a front-end using HTML rendering.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    &amp;amp;amp;quot; is unnecessary outside of attribute values. Replace with &amp;quot;.&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    &amp;amp;amp;quot; is unnecessary inside single quoted attribute values. Replace with &amp;quot;.&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    &amp;amp;amp;quot; is only needed within double quoted attribute values. Considering using single quoted attribute and replacing with &amp;quot;.&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    &amp;amp;amp;apos; is only needed within single quoted attribute values. Considering using double quoted attribute and replacing with '.&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    &amp;amp;amp;apos; is unnecessary inside double quoted attribute values. Replacing with '.&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    &amp;amp;amp;apos; is unnecessary outside of attribute values. Replacing with '.&lt;br /&gt;
The &amp;amp;amp;apos; or &amp;amp;amp;quot; was found outside of an attribute value and is being substituted with a straight single apostrophe, ', or double quote, &amp;quot;, respectively.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    While valid for XML, &amp;amp;amp;quot; is only needed within double quoted attribute values.&lt;br /&gt;
This warning indicates that the entity is present where it does not need to be.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    While valid for XML, XHTML does not support &amp;amp;amp;apos;.&lt;br /&gt;
This warning indicates that the &amp;amp;amp;apos; may not display properly in all front-ends. It was found in an attribute value.&lt;br /&gt;
&lt;br /&gt;
===Debug Messages===&lt;br /&gt;
The following are shown in the same form as the diagnostic messages above. They are given without comment.&lt;br /&gt;
&lt;br /&gt;
'''-d 1'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Output of what is being written to the module. The two osisIDs should always be the same.&lt;br /&gt;
 DEBUG(WRITE):      '''[ osisID ]''':'''[ osisID ]''': '''[ text so far ]'''&lt;br /&gt;
&lt;br /&gt;
'''-d 4'''&amp;lt;br/&amp;gt;&lt;br /&gt;
A stack is maintained to represent the Words of Christ on a per verse basis. This is internal diagnostic of that stack&lt;br /&gt;
 DEBUG(QUOTE):      '''[ currentOsisID ]''': quote top('''[ quote stack size ]''') '''[ token ]'''&lt;br /&gt;
 DEBUG(QUOTE):      '''[ currentOsisID ]''': quote pop('''[ quote stack size ]''') '''[ topToken ]''' -- '''[ token ]'''&lt;br /&gt;
 DEBUG(QUOTE):      '''[ currentOsisID ]''': ('''[ quote stack size ]''') '''[ topToken ]''' -- '''[ token ]'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''-d 8'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Identifies when book and chapter introductions are being determined.&lt;br /&gt;
 DEBUG(TITLE):      '''[ currentOsisID ]''': OOPS INTRO&lt;br /&gt;
         inChapterIntro = '''[ inChapterIntro ]'''&lt;br /&gt;
         inBookIntro    = '''[ inBookIntro ]'''&lt;br /&gt;
 DEBUG(TITLE):      '''[ currentOsisID ]''': Looking for book introduction&lt;br /&gt;
 DEBUG(TITLE):      '''[ currentOsisID ]''': Done looking for book introduction&lt;br /&gt;
 DEBUG(TITLE):      '''[ currentOsisID ]''': BOOK INTRO '''[ beading ]'''&lt;br /&gt;
 DEBUG(TITLE):      '''[ currentOsisID ]''': Looking for chapter introduction&lt;br /&gt;
 DEBUG(TITLE):      '''[ currentOsisID ]''': Done looking for chapter introduction&lt;br /&gt;
 DEBUG(TITLE):      '''[ currentOsisID ]''': CHAPTER INTRO '''[ heading ]'''&lt;br /&gt;
&lt;br /&gt;
'''-d 16'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Inter-verse material either goes with the prior &amp;quot;verse&amp;quot; or the next. This help diagnose problems related to that split.&lt;br /&gt;
 DEBUG(INTERVERSE): '''[ currentOsisID ]''': interverse start token '''[ token ]''':'''[ text ]'''&lt;br /&gt;
 DEBUG(INTERVERSE): '''[ currentOsisID ]''': interverse end tag: '''[ tokenName ]'''('''[ tagDepth ]''','''[ chapterDepth ]''','''[ bookDepth ]''')&lt;br /&gt;
 DEBUG(INTERVERSE): '''[ currentOsisID ]''': appending interverse end tag: '''[tokenName ]'''('''[ tagDepth ]''','''[ chapterDepth ]''','''[ bookDepth ]''')&lt;br /&gt;
&lt;br /&gt;
'''-d 32'''&amp;lt;br/&amp;gt;&lt;br /&gt;
The following messages relate to the transformations of containers to milestones.&lt;br /&gt;
 DEBUG(XFORM):      '''[ currentOsisID ]''': xform empty '''[ token ]'''&lt;br /&gt;
 DEBUG(XFORM):      '''[ currentOsisID ]''': xform push ('''[ bspTagStack.size() ]''') '''[ token ]''' (tagname='''[ tagName ]''')&lt;br /&gt;
 DEBUG(XFORM):      '''[ currentOsisID ]''': xform top('''[ bsp stack size ]''') '''[ topToken ]'''&lt;br /&gt;
 DEBUG(XFORM):      '''[ currentOsisID ]''': xform pop('''[ bsp stack size ]''') '''[ topToken ]'''&lt;br /&gt;
&lt;br /&gt;
'''-d 64'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Occasionally a verse reference is outside of the chosen versification. These messages help to understand difficulties that osis2mod has in storing extra-canonical material in the module.&lt;br /&gt;
 DEBUG(V11N):       '''[ currentOsisID ]''' normalizes to '''[ after ]'''&lt;br /&gt;
 DEBUG(V11N):       Chapter max:'''[ chapterMax ]''', Verse Max:'''[ verseMax ]'''&lt;br /&gt;
&lt;br /&gt;
'''-d 128'''&amp;lt;br/&amp;gt;&lt;br /&gt;
OSIS ids and references can be of a form that SWORD cannot parse. Osis2mod contains a routine that munges these into a form that SWORD can understand.&lt;br /&gt;
 DEBUG(REF):        VerseKey can parse this as is.&lt;br /&gt;
 DEBUG(REF):        Found a range marker. Progress: '''{ progress }''' Remaining: '''{ remaining }'''&lt;br /&gt;
 DEBUG(REF):        Found a work prefix '''[ workPrefix ]''' Progress: '''{ progress }''' Remaining: '''{ remaining }'''&lt;br /&gt;
 DEBUG(REF):        Found an osisID:'''[ osisID ]''' Progress: '''{ progress }''' Remaining: '''{ remaining }'''&lt;br /&gt;
 DEBUG(REF):        Found a grain suffix '''[ grain ]''' Progress: '''{ progress }''' Remaining: '''{ remaining }'''&lt;br /&gt;
 DEBUG(REF):        Replacing space with ; Progress: '''{ progress }''' Remaining: '''{ remaining }'''&lt;br /&gt;
 DEBUG(REF):        Parseable VerseKey -- '''[ osisRef ]'''&lt;br /&gt;
&lt;br /&gt;
'''-d 256'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Osis2mod contains two stacks to validate proper nesting of BSP and BCV, respectively. This is an internal representation of the BCV stacks. It provides additional information to understand the diagnostic nesting messages.&lt;br /&gt;
 DEBUG(STACK):      '''[ currentOsisID ]''': push ('''[ stack size]''') '''[ tokenName ]'''&lt;br /&gt;
 DEBUG(STACK):      '''[ currentOsisID ]''': pop('''[ tagDepth ]''') '''[ topToken.getName() ]'''&lt;br /&gt;
&lt;br /&gt;
'''-d 512'''&amp;lt;br/&amp;gt;&lt;br /&gt;
These are general debug messages.&lt;br /&gt;
 DEBUG(FOUND):        Found first div and pitching prior material: '''[ text ]'''&lt;br /&gt;
 DEBUG(FOUND):        New book is '''[ currentOsisID ]'''&lt;br /&gt;
 DEBUG(FOUND):        Current chapter is '''[ currentOsisID ]''' ('''[ osisID attribute value ]''')&lt;br /&gt;
 DEBUG(FOUND):        Entering verse&lt;br /&gt;
 DEBUG(FOUND):        New current verse is '''[ currentOsisID ]'''&lt;br /&gt;
 DEBUG(FOUND):        osisID/annotateRef is adjusted to: '''[ simpler osisID or osisRef ]'''&lt;br /&gt;
 DEBUG(COMMENTS): in comment&lt;br /&gt;
 DEBUG(COMMENTS): out of comment&lt;br /&gt;
&lt;br /&gt;
'''-d 512'''&amp;lt;br/&amp;gt;&lt;br /&gt;
The following gives the input arguments.&lt;br /&gt;
 DEBUG(ARGS):&lt;br /&gt;
         path:         '''[ path ]'''&lt;br /&gt;
         osisDoc:      '''[ osisDoc ]'''&lt;br /&gt;
         create:       '''[ append ]'''&lt;br /&gt;
         compressType: '''[ compType ]'''&lt;br /&gt;
         blockType:    '''[ iType ]'''&lt;br /&gt;
         cipherKey:    '''[ cipherKey ]'''&lt;br /&gt;
         normalize:    '''[ normalize ]'''&lt;br /&gt;
&lt;br /&gt;
== Future Roadmap ==&lt;br /&gt;
:''List here suggestions for useful enhancements to or improvements for osis2mod''.&lt;br /&gt;
&lt;br /&gt;
* Add a command line flag '''-x''' to ''exclude'' all OSIS elements with the global attribute '''editions'''.&amp;lt;ref&amp;gt;The '''editions''' attribute is used to specify edition specific content, such as material omitted in Protestant versions of the Bible.&amp;lt;/ref&amp;gt;&amp;lt;BR&amp;gt;osis2mod would exclude those elements that match the specified attribute value.&lt;br /&gt;
&lt;br /&gt;
'''Note:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Reporting issues ==&lt;br /&gt;
* [http://www.crosswire.org/tracker/browse/MODTOOLS/component/10290/ Module Tools &amp;amp;ndash; osis2mod]&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[OSIS]] &amp;amp;ndash; a partial list of other OSIS related pages and external links.&lt;br /&gt;
* [[Mod2zmod]]&lt;br /&gt;
&lt;br /&gt;
[[Category:OSIS]]&lt;br /&gt;
[[Category:Utilities]]&lt;br /&gt;
[[Category:Versification]]&lt;/div&gt;</summary>
		<author><name>Dmsmith</name></author>	</entry>

	<entry>
		<id>https://wiki.crosswire.org/index.php?title=Osis2mod&amp;diff=17750</id>
		<title>Osis2mod</title>
		<link rel="alternate" type="text/html" href="https://wiki.crosswire.org/index.php?title=Osis2mod&amp;diff=17750"/>
				<updated>2025-07-07T14:28:19Z</updated>
		
		<summary type="html">&lt;p&gt;Dmsmith: /* Diagnostic Messages */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
osis2mod transforms an OSIS encoded [[OSIS Bibles|Bible]] or [[OSIS_Commentaries|commentary]] into a SWORD module.&lt;br /&gt;
&lt;br /&gt;
==Where to get it==&lt;br /&gt;
* See [[DevTools:Modules#Collect_and_Install_Software_Tools|Collect and Install Software Tools]]&lt;br /&gt;
&lt;br /&gt;
== Current status ==&lt;br /&gt;
&lt;br /&gt;
Software bugs relating to osis2mod should be reported in https://tracker.crosswire.org/browse/MODTOOLS&lt;br /&gt;
&lt;br /&gt;
:''Please describe current status of osis2mod, including a list of any outstanding issues or unsolved difficulties''.&lt;br /&gt;
&lt;br /&gt;
==History of Changes==&lt;br /&gt;
The following outlines in reverse chronological order the major changes to osis2mod. When several changes were made over the span of a few days, they are lumped into the most recent date. Bug fixes are not mentioned.&lt;br /&gt;
&lt;br /&gt;
{|width=&amp;quot;100%&amp;quot; border=&amp;quot;0&amp;quot; class=&amp;quot;sortable&amp;quot;&lt;br /&gt;
!width=&amp;quot;10%&amp;quot;|Date&lt;br /&gt;
!Revision&lt;br /&gt;
!Feature&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2025-06-25'''&lt;br /&gt;
|&lt;br /&gt;
r3906&lt;br /&gt;
|&lt;br /&gt;
* MODTOOLS-76: Enhance -v argument handling in osis2mod with case-insensitive and prefix matching, and improved error reporting.&lt;br /&gt;
&lt;br /&gt;
 - Outputs the name of the versification system being used at program start&lt;br /&gt;
 - Adds layered resolution of versifications:&lt;br /&gt;
    1) Case-sensitive exact match&lt;br /&gt;
    2) Case-insensitive exact match&lt;br /&gt;
    3) Case-insensitive prefix match&lt;br /&gt;
 - Shows detailed error messages when input is invalid or ambiguous:&lt;br /&gt;
    * Lists all matches in case of ambiguity&lt;br /&gt;
    * Lists input and valid options if no match is found&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2025-06-19'''&lt;br /&gt;
|&lt;br /&gt;
r3903&lt;br /&gt;
|&lt;br /&gt;
* MODTOOLS-108  fix. Properly append verses beyond the last chapter of a book at the end of the book in the last verse of the chapter, which caused an infinite loop.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2020-07-26'''&lt;br /&gt;
|&lt;br /&gt;
r3769&lt;br /&gt;
|&lt;br /&gt;
* Fixed linking bug with ranges in osis2mod&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2020-05-08'''&lt;br /&gt;
|&lt;br /&gt;
r3737&lt;br /&gt;
|&lt;br /&gt;
* Added support putting reponumber into nano position of SWORD version string and output current SWORD version&lt;br /&gt;
* standardize on (SWORD: {SWVersion::currentVersion.getText()}) for all reported SWORD versions in utilities&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2016-08-16'''&lt;br /&gt;
|&lt;br /&gt;
r3431&lt;br /&gt;
|&lt;br /&gt;
* commented out  a set of lines handling &amp;quot;div type=&amp;quot;majorSection&amp;quot; &amp;quot; - see comments in code. &lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2016-02-06'''&lt;br /&gt;
|&lt;br /&gt;
r3401&lt;br /&gt;
|&lt;br /&gt;
* Added entity handling.&lt;br /&gt;
* div type='colophon' now not changed to milestones.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2015-02-16'''&lt;br /&gt;
|&lt;br /&gt;
r3322&lt;br /&gt;
| &lt;br /&gt;
* Correct casing of COUT&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2015-02-16'''&lt;br /&gt;
|&lt;br /&gt;
r3321&lt;br /&gt;
|&lt;br /&gt;
* cleaned up whitespace in osis2mod&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2014-12-17'''&lt;br /&gt;
|&lt;br /&gt;
r3310&lt;br /&gt;
|&lt;br /&gt;
* MODTOOLS-55 endless loop fix.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2014-12-15'''&lt;br /&gt;
|&lt;br /&gt;
r3307&lt;br /&gt;
|&lt;br /&gt;
* Greg Helling's patch to osis2mod for majorSections&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2014-03-17'''&lt;br /&gt;
|&lt;br /&gt;
r3139&lt;br /&gt;
|&lt;br /&gt;
* Added support for large entries (&amp;amp;gt; 64K) in compressed modules (aka zText4).&lt;br /&gt;
* Added support for UTF-16 and SCSU using the -e flag. SCSU is experimental.&lt;br /&gt;
* Added support for BZip2 and XZ compression, changing -z and -Z to -z &amp;amp;lt;l|z|b|x&amp;amp;gt;&lt;br /&gt;
* Added support for compression levels of 1 to 9 using the -l [1-9] flag.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2014-01-21'''&lt;br /&gt;
|&lt;br /&gt;
r3011&lt;br /&gt;
|&lt;br /&gt;
* Changed the transformation of &amp;amp;lt;p&amp;amp;gt; from &amp;amp;lt;div type=&amp;quot;paragraph&amp;quot; sID=&amp;quot;xxx&amp;quot;/&amp;amp;gt; to &amp;amp;lt;div type=&amp;quot;x-p&amp;quot; sID=&amp;quot;xxx&amp;quot;/&amp;amp;gt; This is a semantic change that brings osis2mod into alignment with the OSIS specification.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2012-03-24'''&lt;br /&gt;
|&lt;br /&gt;
r2693&lt;br /&gt;
|&lt;br /&gt;
* Allow for XML comments to be in the document, but stripped from the module. This allows for large parts of a document to be commented out, which is especially important during development.&lt;br /&gt;
* Allow for &amp;amp;lt;p&amp;amp;gt; elements to be in the &amp;amp;lt;header&amp;amp;gt; element but ignored. Previously, the p in a header, having been transformed to a div, was taken to be the start of the module's content.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2011-11-12'''&lt;br /&gt;
|&lt;br /&gt;
r2671&lt;br /&gt;
|&lt;br /&gt;
* Restored pre-verse handling. Titles no longer need to be specially specified in OSIS.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2010-06-04'''&lt;br /&gt;
|&lt;br /&gt;
r2519&lt;br /&gt;
|&lt;br /&gt;
* Removed pre-verse handling. Titles now have to be specially specified in OSIS. In OSIS there should also be no tags between verse elements except title and those marking book and chapter.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-06-06'''&lt;br /&gt;
|&lt;br /&gt;
r2435&lt;br /&gt;
|&lt;br /&gt;
* Improved handling of chapter introductions.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-05-30'''&lt;br /&gt;
|&lt;br /&gt;
r2421&lt;br /&gt;
|&lt;br /&gt;
* '''-d flags''' now always available.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-05-14'''&lt;br /&gt;
|&lt;br /&gt;
r2413&lt;br /&gt;
|&lt;br /&gt;
*Added '''-d flags''' as a compile time option.&lt;br /&gt;
*Improved exit codes and documented them here.&lt;br /&gt;
*Labeled all diagnostic and debug output.&lt;br /&gt;
*Can now read from standard input.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-04-28'''&lt;br /&gt;
|&lt;br /&gt;
r2358&lt;br /&gt;
|&lt;br /&gt;
*Predictable handling of inter-verse material.&lt;br /&gt;
*All tags, except verse, included in the module.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-04-26'''&lt;br /&gt;
|&lt;br /&gt;
r2345&lt;br /&gt;
|&lt;br /&gt;
*'''-v v11n''' added to support [[Alternate Versification]].&lt;br /&gt;
*'''-s &amp;lt;2|4&amp;gt;''' added to support uncompressed commentaries with large entries (exceeding 64K bytes).&lt;br /&gt;
*Replace paragraph hack with milestoned paragraphs: &amp;amp;lt;div type=&amp;quot;paragraph&amp;quot; sID=&amp;quot;xxx&amp;quot;/&amp;gt; ... &amp;amp;lt;div type=&amp;quot;paragraph&amp;quot; eID=&amp;quot;xxx&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2008-09-11'''&lt;br /&gt;
|&lt;br /&gt;
r2196&lt;br /&gt;
|&lt;br /&gt;
*Words of Christ (WoC) can be marked up naturally. osis2mod does the right thing.&lt;br /&gt;
*Container elements converted to their milestoned form.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2008-02-29'''&lt;br /&gt;
|&lt;br /&gt;
r2141&lt;br /&gt;
|&lt;br /&gt;
*Now supports commentaries in addition to Bibles.&lt;br /&gt;
*Added utf-8 detection and automatic conversion from cp1252 and iso8859-1 to utf-8, making that the default behavior&lt;br /&gt;
*Added NFC [[Encoding#Normalization|normalization]], making it the default&lt;br /&gt;
*Now handles the full definition of an osisID and an osisRef, including workID and grain.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2007-09-27'''&lt;br /&gt;
|&lt;br /&gt;
r2090&lt;br /&gt;
|&lt;br /&gt;
*Changed command-line parsing from positional parameters to flags.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2007-05-13'''&lt;br /&gt;
|&lt;br /&gt;
r2050&lt;br /&gt;
|&lt;br /&gt;
*All whitespace tokens are converted into blanks and adjacent spaces are merged into one. Leading whitespace on each verse is still removed.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2007-05-01'''&lt;br /&gt;
|&lt;br /&gt;
r2044&lt;br /&gt;
|&lt;br /&gt;
*Added version identification to the running of osis2mod.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2007-04-24'''&lt;br /&gt;
|&lt;br /&gt;
r2038&lt;br /&gt;
|&lt;br /&gt;
*Added ignoring of unknown books&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2006-07-15'''&lt;br /&gt;
|&lt;br /&gt;
r1948&lt;br /&gt;
|&lt;br /&gt;
*Optimized writing to module.&lt;br /&gt;
*Added simple transformations of &amp;amp;lt;q&amp;gt; and &amp;amp;lt;p&amp;gt; into milestones.&lt;br /&gt;
*Now allow empty attributes, such as marker=&amp;quot;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2006-07-04'''&lt;br /&gt;
|&lt;br /&gt;
r1914&lt;br /&gt;
|&lt;br /&gt;
*Updated to support OSIS 2.1&lt;br /&gt;
*Added validation that verses in isolation are well formed&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2005-12-22'''&lt;br /&gt;
|&lt;br /&gt;
r1876&lt;br /&gt;
|&lt;br /&gt;
*Added command-line options for compress and encipher.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2005-05-02'''&lt;br /&gt;
|&lt;br /&gt;
r1790&lt;br /&gt;
|&lt;br /&gt;
*Removed &amp;amp;lt;verse&amp;gt; and &amp;amp;lt;/verse&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2005-02-03'''&lt;br /&gt;
|&lt;br /&gt;
r1707&lt;br /&gt;
|&lt;br /&gt;
*Reverted pre-verse title handling&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2004-06-12'''&lt;br /&gt;
|&lt;br /&gt;
r1620&lt;br /&gt;
|&lt;br /&gt;
*Removed pre-verse title handling&lt;br /&gt;
*Added &amp;amp;lt;verse&amp;gt; and &amp;amp;lt;/verse&amp;gt;&lt;br /&gt;
*Added support for milestoned version of some OSIS elements&lt;br /&gt;
*Added support for verses that are not in the KJV versification by appending them to the closest prior verse.&lt;br /&gt;
*Added support for osisIDs with sub-verse references (i.e. osisID grains)&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2004-05-19'''&lt;br /&gt;
|&lt;br /&gt;
r1597&lt;br /&gt;
|&lt;br /&gt;
*Added support for linked verses&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2003-11-21'''&lt;br /&gt;
|&lt;br /&gt;
r1407&lt;br /&gt;
|&lt;br /&gt;
*Added recognition for &amp;lt;chapter&amp;gt; element&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2003-05-26'''&lt;br /&gt;
|&lt;br /&gt;
r1183&lt;br /&gt;
|&lt;br /&gt;
*Initial version&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Transformations==&lt;br /&gt;
:''This section may need further updating''.&lt;br /&gt;
&lt;br /&gt;
Osis2mod performs the following transformations&amp;lt;ref&amp;gt;These transformations are all performed &amp;quot;under the hood&amp;quot; as it were. Tweaking OSIS XML files to fix problems with pre-verse titles, etc., was never intended to be done by module developers as part of the preprocessing before using osis2mod.&amp;lt;/ref&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
* '''Whitespace''' -- Allows for human-readable OSIS files.&lt;br /&gt;
**Leading whitespace on books, chapters and verses is removed&lt;br /&gt;
**Whitespace is normalized into blanks&lt;br /&gt;
**Multiple adjacent whitespace is reduced to a single space&lt;br /&gt;
&lt;br /&gt;
* '''Unicode handling''' - All modules should be UTF-8, NFC.&amp;lt;ref&amp;gt;With the possible exception of Biblical Hebrew and some Indic scripts that should not be normalized.&amp;lt;/ref&amp;gt;&lt;br /&gt;
**Latin-1 (cp1252 and iso8859-1) are converted into UTF-8&lt;br /&gt;
**UTF-8 is normalized into NFC, unless specified otherwise (i.e. by using the -N option).&lt;br /&gt;
&lt;br /&gt;
* '''Verse ranges''' - also known as linked verses.&lt;br /&gt;
** Verses within a specified OSIS verse range are each linked to the first verse of the range.&lt;br /&gt;
&lt;br /&gt;
* '''Milestone conversion''' - necessary for frontends to show a verse at a time.&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;q ...&amp;gt;...&amp;amp;lt;/q&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;q sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;q eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;ref&amp;gt;'''gen#''' is unique for an sID/eID pair, where '''#''' is a number.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;Quotes with who=&amp;quot;Jesus&amp;quot; are not transformed at this stage.&amp;lt;/ref&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;p ...&amp;gt;...&amp;amp;lt;/p&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;div sID=&amp;quot;gen#&amp;quot; type=&amp;quot;x-p&amp;quot; .../&amp;gt;... &amp;amp;lt;div eID=&amp;quot;gen#&amp;quot; type=&amp;quot;x-p&amp;quot; ...&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;chapter ...&amp;gt;...&amp;amp;lt;/chapter&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;chapter sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;chapter eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;closer ...&amp;gt;...&amp;amp;lt;/closer&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;closer sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;closer eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;div ...&amp;gt;...&amp;amp;lt;/div&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;div sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;div eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;ref&amp;gt;As of r3401, &amp;amp;lt;div type=&amp;quot;colophon&amp;quot;...&amp;gt; is unchanged.&amp;lt;/ref&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;l ...&amp;gt;...&amp;amp;lt;/l&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;l sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;l eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;lg ...&amp;gt;...&amp;amp;lt;/lg&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;lg sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;lg eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;salute ...&amp;gt;...&amp;amp;lt;/salute&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;salute sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;salute eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;signed ...&amp;gt;...&amp;amp;lt;/signed&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;signed sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;signed eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;speech ...&amp;gt;...&amp;amp;lt;/speech&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;speech sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;speech eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;verse ...&amp;gt;...&amp;amp;lt;/verse&amp;gt;&amp;lt;/tt&amp;gt; becomes (when using -d 2 for debugging.)&amp;lt;BR&amp;gt;&amp;lt;tt&amp;gt;&amp;amp;lt;milestone resp=&amp;quot;v&amp;quot; sID=&amp;quot;gen#&amp;quot; ... /&amp;gt;...&amp;amp;lt;milestone resp=&amp;quot;v&amp;quot; eID=&amp;quot;gen#&amp;quot; ... /&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* '''Words of Christ''' - necessary for front-ends to appropriately highlight the WOC, a verse at a time.&amp;lt;ref&amp;gt;The examples given have the null string as the quotation marks in the '''marker''' attribute (as in the KJV module), but proper quotation marks are also supported.&amp;lt;/ref&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;q sID=&amp;quot;gen#&amp;quot; who=&amp;quot;Jesus&amp;quot; .../&amp;gt;...&amp;amp;lt;eID=&amp;quot;gen#&amp;quot; who=&amp;quot;Jesus&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt; becomes&amp;lt;BR&amp;gt;&amp;lt;tt&amp;gt;&amp;amp;lt;q who=&amp;quot;Jesus&amp;quot; marker=&amp;quot;&amp;quot;&amp;gt;&amp;amp;lt;q sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;q eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;amp;lt;/q&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;q who=&amp;quot;Jesus&amp;quot; ...&amp;gt;...&amp;amp;lt;/q&amp;gt;&amp;lt;/tt&amp;gt; becomes&amp;lt;BR&amp;gt;&amp;lt;tt&amp;gt;&amp;amp;lt;q who=&amp;quot;Jesus&amp;quot; marker=&amp;quot;&amp;quot;&amp;gt;&amp;amp;lt;q sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;q eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;amp;lt;/q&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** Within the following construct, &amp;lt;tt&amp;gt;&amp;amp;lt;q who=&amp;quot;Jesus&amp;quot; marker=&amp;quot;&amp;quot;&amp;gt;...&amp;lt;/q&amp;gt;&amp;lt;/tt&amp;gt; will surround verse text.&lt;br /&gt;
&lt;br /&gt;
* '''Pre-Verse Titles'''&amp;lt;ref&amp;gt;The older method that fixed titles only became obsolete with SVN revision 2358 for the SWORD 1.6.0 release and replaced with '''InterVerse Content'''.&amp;lt;/ref&amp;gt;&lt;br /&gt;
** InterVerse or postVerse&amp;lt;ref&amp;gt;For example, the '''colophon''' div as found at the end of some Epistles.&amp;lt;/ref&amp;gt; content not in titles is appended to the prior verse.&lt;br /&gt;
** Titles immediately preceeding a verse are converted into either&amp;lt;BR&amp;gt;&amp;lt;tt&amp;gt;&amp;amp;lt;title canonical=&amp;quot;true&amp;quot; type=&amp;quot;psalm&amp;quot;&amp;gt;...&amp;amp;lt;/title&amp;gt;&amp;lt;/tt&amp;gt; or&amp;lt;BR&amp;gt;&amp;lt;tt&amp;gt;&amp;amp;lt;title canonical=&amp;quot;false&amp;quot; type=&amp;quot;sub&amp;quot;&amp;gt;...&amp;amp;lt;/title&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;ref&amp;gt;type=&amp;quot;sub&amp;quot; is used irrespective of whether the non-canonical title is a section title or a subSection title.&amp;lt;/ref&amp;gt;&amp;lt;BR&amp;gt;and the whole such '''title''' element is wrapped within a special preverse '''div''' element. ''See below''.&lt;br /&gt;
&lt;br /&gt;
* '''InterVerse Content'''&amp;lt;ref&amp;gt;Introduced with SVN revision 2358 for the SWORD 1.6.0 release.&amp;lt;/ref&amp;gt;&lt;br /&gt;
** InterVerse Content refers to all content not contained by the verse element.&amp;lt;ref&amp;gt;i.e. Content between the '''eID''' milestone of a verse and the '''sID''' milestone of the next verse, or before the first verse of the chapter.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;For OSIS files derived from USFM files, the implication of this requirement is the following rule:&lt;br /&gt;
&amp;lt;blockquote&amp;gt;Do not place a title (or similar element) between a matching pair of verse milestones&amp;lt;BR&amp;gt;&lt;br /&gt;
except where the translation places the title somewhere within the verse text in the USFM file.&amp;lt;/blockquote&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
** Such content is divided between the prior and the current verse.&lt;br /&gt;
** Content appended to the prior verse is not marked in any special way.&lt;br /&gt;
** Content prepended&amp;lt;ref&amp;gt;This ensures that when the verse is called the prepended content is also displayed, subject to whatever filters are in place.&amp;lt;/ref&amp;gt; to the current verse is marked with&amp;lt;BR&amp;gt;&amp;lt;tt&amp;gt;&amp;amp;lt;div type=&amp;quot;x-milestone&amp;quot; subType=&amp;quot;x-preverse&amp;quot; sID=&amp;quot;pv#&amp;quot;/&amp;gt;...&amp;amp;lt;div type=&amp;quot;x-milestone&amp;quot; subType=&amp;quot;x-preverse&amp;quot; eID=&amp;quot;pv#&amp;quot;/&amp;gt;.&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Handling of Introductions, Titles and Inter-Verse Material==&lt;br /&gt;
SWORD looks for module, testament, book and chapter introductory material. Those introductions can have appropriate titles as well. &lt;br /&gt;
In SWORD 1.6.0 the handling of this material has changed.&lt;br /&gt;
&lt;br /&gt;
'''Note:'''&lt;br /&gt;
# In the following, the effects of the above transformations are not shown. The tagging of the pre-verse material is also not shown.&lt;br /&gt;
&lt;br /&gt;
===Module and Testament Introductions===&lt;br /&gt;
&lt;br /&gt;
At this time, osis2mod does not fully support module and testament introductions. A module introduction should be place into testament 0, book 0, chapter 0, verse 0. A testament introduction should be placed into testament 1 or 2, book 0, chapter 0, verse 0. Currently, these are placed into Genesis 0:0 or Matthew 0:0.&lt;br /&gt;
&lt;br /&gt;
===Book Introductions and Titles===&lt;br /&gt;
Book introductions and titles are straight forward. It includes the start of the book and everything following it up to, but not including the start of the chapter. See [[OSIS Bibles]] for best practices in marking up titles and introductions.&lt;br /&gt;
&lt;br /&gt;
For example:&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;book&amp;quot; ...&amp;gt;&lt;br /&gt;
 ... introductory material ...&lt;br /&gt;
 &amp;amp;lt;chapter&amp;quot;...&amp;gt;&lt;br /&gt;
will put the following into the book introduction:&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;book&amp;quot; ...&amp;gt;&lt;br /&gt;
 ... introductory material ...&lt;br /&gt;
&lt;br /&gt;
===Chapter Introductions===&lt;br /&gt;
Chapter introductions and titles are a bit problematic. Between the start of a chapter and its first verse, we could have a chapter title, a chapter introduction and/or a start of a section of verses or a titled verse. Osis2mod now handles this in a predictable fashion. From the start of the chapter up to and not including a section div or a title that has a type that is not ''main'', ''chapter'' or ''sub'', the content is chapter introduction. After that, it is part of the verse.&lt;br /&gt;
&lt;br /&gt;
Specifically, the following list gives the possible first elements following the chapter introduction.:&lt;br /&gt;
*&amp;amp;lt;div type=&amp;quot;section&amp;quot; ...&amp;gt;&lt;br /&gt;
*&amp;amp;lt;title type=&amp;quot;yyy&amp;quot; ...&amp;gt; where yyy is not ''main'', ''chapter'' or ''sub''.&lt;br /&gt;
&lt;br /&gt;
For example,&lt;br /&gt;
 &amp;amp;lt;chapter ...&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;Chapter Title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title type=&amp;quot;sub&amp;quot;&amp;gt;Chapter Subtitle&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;introduction&amp;quot;&amp;gt;... intro ...&amp;amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;section&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;A section title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;verse ...&amp;gt;...verse content...&amp;amp;lt;/verse&amp;gt;&lt;br /&gt;
will put the following into the chapter introduction:&lt;br /&gt;
 &amp;amp;lt;chapter ...&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;Chapter Title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title type=&amp;quot;sub&amp;quot;&amp;gt;Chapter Subtitle&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;introduction&amp;quot;&amp;gt;... intro ...&amp;amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
will put the following into verse 1 of that chapter&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;section&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;A section title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;verse ...&amp;gt;...verse content...&amp;amp;lt;/verse&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Between Verses===&lt;br /&gt;
Between verses we may have closing tags to finish off what was started earlier, structural opening tags (e.g. line groups, divisions, paragraphs, ...), titles and/or introductory material.&lt;br /&gt;
&lt;br /&gt;
Upon finding the close of a verse, osis2mod will append all adjacent closing tags to it. Once it finds a start tag, it will attach that to the following verse.&lt;br /&gt;
&lt;br /&gt;
For example, suppose the following is between &amp;amp;lt;/verse&amp;gt; and &amp;amp;lt;verse ...&amp;gt;:&lt;br /&gt;
 &amp;amp;lt;/lg&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;section&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;Section title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;lg&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
then it will append the following to the prior verse:&lt;br /&gt;
 &amp;amp;lt;/lg&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and will prepend the following to the current verse:&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;section&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;Section title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;lg&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Last Verse===&lt;br /&gt;
The material following the last verse of a chapter is appended to that verse. You might find:&lt;br /&gt;
 ... verse content ...&lt;br /&gt;
 &amp;amp;lt;/chapter&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;colophon&amp;quot;&amp;gt;... colophon text ...&amp;amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Exclusions==&lt;br /&gt;
Only content starting the first &amp;amp;lt;div&amp;gt; to the last &amp;amp;lt;/div&amp;gt; is retained. All other is excluded. From a practical perspective, this excludes the OSIS header information.&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
It is always preferable to use the most recent version of osis2mod and compiling it from SVN is best. &lt;br /&gt;
&lt;br /&gt;
'''Note:'''&lt;br /&gt;
# After the SWORD 1.5.9 release, osis2mod was changed to take flags rather than positional arguments.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
You are running osis2mod: $Rev: 3431 $&lt;br /&gt;
OSIS Bible/commentary module creation tool for The SWORD Project&lt;br /&gt;
&lt;br /&gt;
usage: ./osis2mod &amp;lt;output/path&amp;gt; &amp;lt;osisDoc&amp;gt; [OPTIONS]&lt;br /&gt;
  &amp;lt;output/path&amp;gt;		 an existing folder that the module will be written&lt;br /&gt;
  &amp;lt;osisDoc&amp;gt;		 path to the validated OSIS document, or '-' to&lt;br /&gt;
				 read from standard input&lt;br /&gt;
  -a			 augment module if exists (default is to create new)&lt;br /&gt;
  -z &amp;lt;l|z|b|x&amp;gt;		 compression type (default: none)&lt;br /&gt;
				 l - LZSS; z - ZIP; b - bzip2; x - xz&lt;br /&gt;
  -b &amp;lt;2|3|4&amp;gt;		 compression block size (default: 4)&lt;br /&gt;
				 2 - verse; 3 - chapter; 4 - book&lt;br /&gt;
  -l &amp;lt;1-9&amp;gt;		 compression level (default varies by compression type)&lt;br /&gt;
  -c &amp;lt;cipher_key&amp;gt;	 encipher module using supplied key&lt;br /&gt;
				 (default no enciphering)&lt;br /&gt;
  -e &amp;lt;1|2|s&amp;gt;		 convert Unicode encoding (default: 1)&lt;br /&gt;
				 1 - UTF-8 ; 2 - UTF-16 ; s - SCSU&lt;br /&gt;
  -N			 do not normalize to NFC&lt;br /&gt;
  -s &amp;lt;2|4&amp;gt;		 bytes used to store entry size (default is 2).&lt;br /&gt;
  -v &amp;lt;v11n&amp;gt;		 specify a versification scheme to use (default is KJV)&lt;br /&gt;
				 Note: The following are valid values for v11n:&lt;br /&gt;
				   Calvin      	Catholic    	Catholic2   &lt;br /&gt;
				   DarbyFr     	German      	KJV         &lt;br /&gt;
				   KJVA        	LXX         	Leningrad   &lt;br /&gt;
				   Luther      	MT          	NRSV        &lt;br /&gt;
				   NRSVA       	Orthodox    	Segond      &lt;br /&gt;
				   Synodal     	SynodalProt 	Vulg        &lt;br /&gt;
  -h 			 print verbose usage text&lt;br /&gt;
&lt;br /&gt;
See http://www.crosswire.org/wiki/osis2mod for more details.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Earlier builds (e.g. $Rev: 2893 $) also included the debug option help: See [[Osis2mod#Debug_Messages|Debug Messages]].&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  -d &amp;lt;flags&amp;gt;		 turn on debugging (default is 0)&lt;br /&gt;
				 Note: This flag may change in the future.&lt;br /&gt;
				 Flags: The following are valid values:&lt;br /&gt;
					0   - no debugging&lt;br /&gt;
					1   - writes to module, very verbose&lt;br /&gt;
					2   - verse start and end&lt;br /&gt;
					4   - quotes, esp. Words of Christ&lt;br /&gt;
					8   - titles&lt;br /&gt;
					16  - inter-verse material&lt;br /&gt;
					32  - BSP to BCV transformations&lt;br /&gt;
					64  - v11n exceptions&lt;br /&gt;
					128 - parsing of osisID and osisRef&lt;br /&gt;
					256 - internal stack&lt;br /&gt;
					512 - miscellaneous&lt;br /&gt;
				 This argument can be used more than once. (Or&lt;br /&gt;
				 the flags may be added together.)&lt;br /&gt;
&lt;br /&gt;
See http://www.crosswire.org/wiki/osis2mod for more details.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== Parameters and Options ===&lt;br /&gt;
'''&amp;amp;lt;output/path&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This a path to any existing directory. It is best for it to be empty.&lt;br /&gt;
&lt;br /&gt;
'''&amp;amp;lt;osisDoc&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This is a single, well-formed, valid OSIS document.&lt;br /&gt;
&lt;br /&gt;
If '''-''' is used instead of a file name, the document will be read from standard input. This allows for two constructs:&lt;br /&gt;
* Redirection&lt;br /&gt;
 osis2mod ./modules/texts/ztext/KJV - &amp;lt; kjv.xml&lt;br /&gt;
* Piping&lt;br /&gt;
 cat kjv.xml | osis2mod ./modules/texts/ztext/KJV -&lt;br /&gt;
&lt;br /&gt;
'''-a'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Osis2mod can create a Bible all at once or incrementally, depending on the presence of the -a flag. This&lt;br /&gt;
provides for two abilities,&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Assembling a Bible from book files:&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir /tmp/mymodule&lt;br /&gt;
osis2mod /tmp/mymodule  matt.xml&lt;br /&gt;
osis2mod /tmp/mymodule -a mark.xml&lt;br /&gt;
...&lt;br /&gt;
osis2mod /tmp/mymodule -a rev.xml&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
'''Note:''' The book files can be in any order. SWORD will order them correctly in the index.&lt;br /&gt;
&amp;lt;li&amp;gt;Adding corrections to a Bible:&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
osis2mod /tmp/mymodule -a fixes.xml&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
'''Note:''' When fixes are put into the module they are appended to the data file and do not actually replace the verses. The index file is adjusted to point to the new place in the data file.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''-z &amp;amp;lt;l|z|b|x&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
A SWORD Bible can be compressed with Zip (-z z), LZSS (-z l), BZip2 (-z b) '''or''' XZ (-lx). All of CrossWire's compressed Bible and commentary modules are compressed with Zip. This saves significant space over an uncompressed module. Uncompressed modules are useful for debugging.&lt;br /&gt;
&lt;br /&gt;
'''-b &amp;amp;lt;2|3|4&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This setting is only useful for a compressed module. The choice as to whether to use Verse (2), Chapter (3) or Book (4, the default) level compression depends upon the amount of data in the block. A typical Bible is best compressed book by book. A commentary, chapter by chapter. If the commentary is very robust and the amount of text per verse is really huge, then verse compression might make sense.&lt;br /&gt;
&lt;br /&gt;
All of SWORD's compressed Bible modules are compressed by book. Basically, all of the verses in a block are compressed and appended to the data file. For this reason, the datafile cannot be uncompressed by anything other than the SWORD and JSword libraries.&lt;br /&gt;
&lt;br /&gt;
When creating the module by appending it is important to do so by whole compression block. That is, if blockType is Chapter, then the osisDoc needs to contain one or more whole chapters.&lt;br /&gt;
&lt;br /&gt;
'''-l [1-9]'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This setting is useful for a compressed module and provides the level of compression to be used. The default varies depending on the compressor used. The default is typically used.&lt;br /&gt;
&lt;br /&gt;
'''-c cipherKey'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This is typically 16 characters in length, having no leading or trailing spaces, consisting of alternating sets of 4 alpha and 4 numeric characters, such as Aduf0274PjNq0328. The key is case-sensitive.&lt;br /&gt;
&lt;br /&gt;
'''-e &amp;amp;lt;1|2|s&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This flag gives whether the input is to be converted to UTF-8, UTF-16, or SCSU. By default the encoding is UTF-8. Using UTF-16 is reasonable for non-latin texts with little markup. SCSU will compress the Unicode, but it has not been sufficiently tested, requires [[DevTools:ICU|ICU]] support when compiling osis2mod and when running (not all frontends do).&lt;br /&gt;
&lt;br /&gt;
'''-N'''&amp;lt;br/&amp;gt;&lt;br /&gt;
All OSIS modules should be UTF-8 and all that are UTF-8 are also to be NFC. The default is to automatically detect the presense of Latin-1 (either cp1252 or iso8859-1) and convert it to UTF-8 and to normalize UTF-8 to NFC. This flag will turn off this behavior and is useful for creating Latin-1 modules or for modules for which the source text is already UTF-8 and NFC. It is also advised for Biblical Hebrew modules for which the source text (with accents and cantillation points) is intentionally not normalized, as &amp;quot;Unicode normalization can easily break Biblical Hebrew&amp;quot;. Quoted from page 9 of the SBL Hebrew Font Manual.&amp;lt;ref&amp;gt;See https://www.sbl-site.org/Fonts/SBLHebrewUserManual1.5x.pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: this was added late Feb 2008 and requires [[DevTools:ICU|ICU]] support when compiling.&lt;br /&gt;
&lt;br /&gt;
'''-s &amp;amp;lt;2|4&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
A value of 2, the default, restricts modules to 64K bytes per entry. A value of 4, breaks this barrier. This is needed for Bibles, having large introductory materials, and for commentaries with large entries.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' 4 was added late Apr 2009 for raw, uncompressed modules and will be part of the SWORD 1.6.0 release (formerly known as 1.5.11). A later release extended support to compressed modules.&lt;br /&gt;
&lt;br /&gt;
'''-v v11n'''&amp;lt;br/&amp;gt;&lt;br /&gt;
By default, osis2mod uses the KJV versification. The practical implication of this is that only books in the KJV canon are allowed and any text in an allowed book are retained. However, if the verse reference of a supported book falls outside of the versification it is appended to the prior verse in the canon. This flag allows for an [[Alternate Versification|alternate versification]].&lt;br /&gt;
&lt;br /&gt;
'''Note:''' This option was added in April 2009 as part of the SWORD 1.6.0 release.&lt;br /&gt;
&lt;br /&gt;
'''-d flags'''&amp;lt;br/&amp;gt;&lt;br /&gt;
The flag can be used more than once or the flags can be added together. For example,&lt;br /&gt;
 -d 2 -d 4&lt;br /&gt;
is the same as&lt;br /&gt;
 -d 6&lt;br /&gt;
&lt;br /&gt;
To do verbose debugging use:&lt;br /&gt;
 -d -1&lt;br /&gt;
&lt;br /&gt;
For the most part these flags are not intended for debugging modules, but rather for debugging problems in osis2mod.&lt;br /&gt;
&lt;br /&gt;
The -d 2 flag produces no output but puts milestones into the module where verses start and end. The form of the milestone is:&lt;br /&gt;
 &amp;amp;lt;milestone resp=&amp;quot;v&amp;quot; [attributes from verse] /&amp;gt;&lt;br /&gt;
The milestone will contain the osisID from the verse and also a valid sID or eID. The sID/eID indicates the start of end of the verse.&lt;br /&gt;
&lt;br /&gt;
Note: the -d 2 flag might change at any time, or may even be removed.&lt;br /&gt;
&lt;br /&gt;
==Messages==&lt;br /&gt;
Osis2mod has robust, mind-boggling messages. These are provided here in hopes that it will help problem diagnosis.&lt;br /&gt;
&lt;br /&gt;
===Exit Status===&lt;br /&gt;
When an error occurs that causes osis2mod to exit without processing the entire input file, a non-zero exit status is supplied to the caller. Here are the codes that osis2mod uses:&lt;br /&gt;
 const int EXIT_BAD_ARG     =   1; // Bad parameter given for program&lt;br /&gt;
 const int EXIT_NO_WRITE    =   2; // Could not open the module for writing&lt;br /&gt;
 const int EXIT_NO_CREATE   =   3; // Could not create the module&lt;br /&gt;
 const int EXIT_NO_READ     =   4; // Could not open the input file for reading.&lt;br /&gt;
 const int EXIT_BAD_NESTING =   5; // BSP or BCV nesting is bad or improper XML comment&lt;br /&gt;
&lt;br /&gt;
==Diagnostic Messages===&lt;br /&gt;
In the following, example values are given in '''{...}'''. The brackets do not actually appear in the message. Also, the messages are a bit prettier here than in reality.&lt;br /&gt;
&lt;br /&gt;
In the following&lt;br /&gt;
* ['''{ line }''','''{ col }'''] gives the location of the last line and column read in the file. Since processing is handled after the reading, the location is approximate. If the processing is before the file is read, such as during the reading of command line arguments, it won't show up.&lt;br /&gt;
* ('''{ osisID }''') gives the osisID being processed or N/A. It also is optionally output early in the execution of the program.&lt;br /&gt;
&lt;br /&gt;
 WARNING(UTF8)['''{ line }''','''{ col }''']('''{ osisID }'''):     Should be converted to UTF-8 ('''{text }''')&lt;br /&gt;
The program will always check for text that is not UTF-8.&lt;br /&gt;
&lt;br /&gt;
 INFO(UTF8)['''{ line }''','''{ col }''']('''{ osisID }'''):        Converting to UTF-8 ('''{ text before conversion }''')&lt;br /&gt;
Text that is converted to UTF-8 is noted.&lt;br /&gt;
&lt;br /&gt;
 ERROR(UTF8)['''{ line }''','''{ col }''']('''{ osisID }'''):       Converting to UTF-8 ('''{ text after first conversion }''')&lt;br /&gt;
It is an error if after a conversion it still is not UTF-8.&lt;br /&gt;
&lt;br /&gt;
 WARNING(UTF8)['''{ line }''','''{ col }''']('''{ osisID }'''):     osis2mod is not compiled with support for ICU. Ignoring -n flag.&lt;br /&gt;
Normalization was requested, but since osis2mod was not compiled for it, it cannot honor the default request.&lt;br /&gt;
&lt;br /&gt;
 INFO(V11N)['''{ line }''','''{ col }''']('''{ osisID }'''):        is not in the '''{ v11n }''' versification.&lt;br /&gt;
Indicates that a verse is not in the versification.&lt;br /&gt;
&lt;br /&gt;
 INFO(V11N)['''{ line }''','''{ col }''']('''{ osisID }'''):        is not in the '''{ v11n }''' versification. Appending content to '''{ osisID }'''&lt;br /&gt;
This like the other indicates a versification problem, but shows where the text will be found. Osis2mod preserves all module content for supported books.&lt;br /&gt;
&lt;br /&gt;
 WARNING(V11N)['''{ line }''','''{ col }''']('''{ osisID }'''):     New book is '''{ name }'''  and is not in '''{ v11n }''' versification, ignoring&lt;br /&gt;
The name of the book was not recognized as belonging to the chosen versification, it and all of it's content is ignored.&lt;br /&gt;
&lt;br /&gt;
 INFO(WRITE)['''{ line }''','''{ col }''']('''{ osisID }'''):       Appending entry: '''{ osisID }''': '''{ text so far }'''&lt;br /&gt;
If osis2mod encounters text that needs to be appended to a verse that is already in the module. This could indicate that&lt;br /&gt;
* the reference is in the input twice. This typically indicates a problem.&lt;br /&gt;
* more text was found that needs to be added to the prior verse.&lt;br /&gt;
* osis2mod is being run in append mode to fix a verse in the module.&lt;br /&gt;
&lt;br /&gt;
 INFO(LINK)['''{ line }''','''{ col }''']('''{ osisID }'''):        Linking '''{ osisID }''' to '''{ osisID }'''&lt;br /&gt;
An osisID such as &amp;quot;Gen.1.1 Gen.1.2 Gen.1.3&amp;quot; was used and the latter are linked to the first.&lt;br /&gt;
&lt;br /&gt;
 ERROR(REF)['''{ line }''','''{ col }''']('''{ osisID }'''):        Invalid osisID/annotateRef: '''{ invalid attribute value }'''&lt;br /&gt;
This indicates that the SWORD library was unable to parse the osisID or annotateRef.&lt;br /&gt;
&lt;br /&gt;
 FATAL(NESTING)['''{ line }''','''{ col }''']('''{ osisID }'''):    tag expected&lt;br /&gt;
This indicates that the specified verse is not balanced with regard to its tags. Building a raw text module, looking in the module for the verse and pairing begin/end tags will help find the problem. Typically, this indicates an end tag that did not have a matching begin tag and all tags before it were properly paired.&lt;br /&gt;
&lt;br /&gt;
 FATAL(NESTING)['''{ line }''','''{ col }''']('''{ osisID }'''):    Expected '''{ topToken.getName() }''' found '''{ tokenName }'''&lt;br /&gt;
This also indicates that the specified verse is not balanced with regard to its tags. Building a raw text module, looking in the module for the verse and pairing begin/end tags will help find the problem. It could be either a begin or an end tag problem.&lt;br /&gt;
&lt;br /&gt;
 WARNING(NESTING)['''{ line }''','''{ col }''']('''{ osisID }'''):  verse '''{ currentOsisID }''' is not well formed:('''{ verseDepth }''','''{ tagDepth }''')&lt;br /&gt;
This indicates that the verse probably will not show properly in some front-ends in some circumstances. Typically, it shows the problem if the verse is shown in isolation.&lt;br /&gt;
&lt;br /&gt;
 ERROR(NESTING)['''{ line }''','''{ col }''']('''{ osisID }'''):    improper nesting '''{ currentOsisID }''': matching (sID,eID) not found. Looking at ('''{ sID }''','''{ eID }''')&lt;br /&gt;
OSIS specifies that every sID has a matching eID. Osis2mod is checking that BSP elements are properly nested.&lt;br /&gt;
&lt;br /&gt;
 FATAL(COMMENTS)['''{ line }''','''{ col }''']('''{ osisID }'''):   unknown commentstate on comment start: { comment state }&lt;br /&gt;
This indicates that the comment is not of the form &amp;amp;lt;!-- ... --&amp;amp;gt;.&lt;br /&gt;
&lt;br /&gt;
 FATAL(COMMENTS)['''{ line }''','''{ col }''']('''{ osisID }'''):   unknown commentstate on comment end:  { comment state }&lt;br /&gt;
This indicates that the comment is not of the form &amp;amp;lt;!-- ... --&amp;amp;gt;.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    malformed entity, replacing &amp;amp;amp;'''{ malformed entity }''' with &amp;amp;amp;amp;'''{ malformed entity }'''&lt;br /&gt;
This means it found a &amp;amp;amp; that starts an entity but it wasn't terminated by a ; and changed it to something that probably isn't appropriate.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    HEX entity must begin with &amp;amp;amp;x, found '''{ entity }'''&lt;br /&gt;
This indicates &amp;amp;X, which is not valid for xml. It is not changed.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    SWORD does not search HEX entities, found '''{ entity }'''&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    SWORD does not search numeric entities, found '''{ entity }'''&lt;br /&gt;
Since we don't transform HEX or numeric entities to their equivalent UTF-8 value, this will be literal text that cannot be searched.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    XML only supports 5 Character entities &amp;amp;amp;amp;, &amp;amp;amp;lt;, &amp;amp;amp;gt;, &amp;amp;amp;quot; and &amp;amp;amp;apos;, found '''{ entity }'''&lt;br /&gt;
XML does not allow character entities. These are passed unchanged to SWORD module. This frustrates search and may only display properly in a front-end using HTML rendering.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    &amp;amp;amp;quot; is unnecessary outside of attribute values. Replace with &amp;quot;.&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    &amp;amp;amp;quot; is unnecessary inside single quoted attribute values. Replace with &amp;quot;.&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    &amp;amp;amp;quot; is only needed within double quoted attribute values. Considering using single quoted attribute and replacing with &amp;quot;.&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    &amp;amp;amp;apos; is only needed within single quoted attribute values. Considering using double quoted attribute and replacing with '.&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    &amp;amp;amp;apos; is unnecessary inside double quoted attribute values. Replacing with '.&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    &amp;amp;amp;apos; is unnecessary outside of attribute values. Replacing with '.&lt;br /&gt;
The &amp;amp;amp;apos; or &amp;amp;amp;quot; was found outside of an attribute value and is being substituted with a straight single apostrophe, ', or double quote, &amp;quot;, respectively.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    While valid for XML, &amp;amp;amp;quot; is only needed within double quoted attribute values.&lt;br /&gt;
This warning indicates that the entity is present where it does not need to be.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE)['''{ line }''','''{ col }''']('''{ osisID }'''):    While valid for XML, XHTML does not support &amp;amp;amp;apos;.&lt;br /&gt;
This warning indicates that the &amp;amp;amp;apos; may not display properly in all front-ends. It was found in an attribute value.&lt;br /&gt;
&lt;br /&gt;
===Debug Messages===&lt;br /&gt;
The following are shown in the same form as the diagnostic messages above. They are given without comment.&lt;br /&gt;
&lt;br /&gt;
'''-d 1'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Output of what is being written to the module. The two osisIDs should always be the same.&lt;br /&gt;
 DEBUG(WRITE):      '''[ osisID ]''':'''[ osisID ]''': '''[ text so far ]'''&lt;br /&gt;
&lt;br /&gt;
'''-d 4'''&amp;lt;br/&amp;gt;&lt;br /&gt;
A stack is maintained to represent the Words of Christ on a per verse basis. This is internal diagnostic of that stack&lt;br /&gt;
 DEBUG(QUOTE):      '''[ currentOsisID ]''': quote top('''[ quote stack size ]''') '''[ token ]'''&lt;br /&gt;
 DEBUG(QUOTE):      '''[ currentOsisID ]''': quote pop('''[ quote stack size ]''') '''[ topToken ]''' -- '''[ token ]'''&lt;br /&gt;
 DEBUG(QUOTE):      '''[ currentOsisID ]''': ('''[ quote stack size ]''') '''[ topToken ]''' -- '''[ token ]'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''-d 8'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Identifies when book and chapter introductions are being determined.&lt;br /&gt;
 DEBUG(TITLE):      '''[ currentOsisID ]''': OOPS INTRO&lt;br /&gt;
         inChapterIntro = '''[ inChapterIntro ]'''&lt;br /&gt;
         inBookIntro    = '''[ inBookIntro ]'''&lt;br /&gt;
 DEBUG(TITLE):      '''[ currentOsisID ]''': Looking for book introduction&lt;br /&gt;
 DEBUG(TITLE):      '''[ currentOsisID ]''': Done looking for book introduction&lt;br /&gt;
 DEBUG(TITLE):      '''[ currentOsisID ]''': BOOK INTRO '''[ beading ]'''&lt;br /&gt;
 DEBUG(TITLE):      '''[ currentOsisID ]''': Looking for chapter introduction&lt;br /&gt;
 DEBUG(TITLE):      '''[ currentOsisID ]''': Done looking for chapter introduction&lt;br /&gt;
 DEBUG(TITLE):      '''[ currentOsisID ]''': CHAPTER INTRO '''[ heading ]'''&lt;br /&gt;
&lt;br /&gt;
'''-d 16'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Inter-verse material either goes with the prior &amp;quot;verse&amp;quot; or the next. This help diagnose problems related to that split.&lt;br /&gt;
 DEBUG(INTERVERSE): '''[ currentOsisID ]''': interverse start token '''[ token ]''':'''[ text ]'''&lt;br /&gt;
 DEBUG(INTERVERSE): '''[ currentOsisID ]''': interverse end tag: '''[ tokenName ]'''('''[ tagDepth ]''','''[ chapterDepth ]''','''[ bookDepth ]''')&lt;br /&gt;
 DEBUG(INTERVERSE): '''[ currentOsisID ]''': appending interverse end tag: '''[tokenName ]'''('''[ tagDepth ]''','''[ chapterDepth ]''','''[ bookDepth ]''')&lt;br /&gt;
&lt;br /&gt;
'''-d 32'''&amp;lt;br/&amp;gt;&lt;br /&gt;
The following messages relate to the transformations of containers to milestones.&lt;br /&gt;
 DEBUG(XFORM):      '''[ currentOsisID ]''': xform empty '''[ token ]'''&lt;br /&gt;
 DEBUG(XFORM):      '''[ currentOsisID ]''': xform push ('''[ bspTagStack.size() ]''') '''[ token ]''' (tagname='''[ tagName ]''')&lt;br /&gt;
 DEBUG(XFORM):      '''[ currentOsisID ]''': xform top('''[ bsp stack size ]''') '''[ topToken ]'''&lt;br /&gt;
 DEBUG(XFORM):      '''[ currentOsisID ]''': xform pop('''[ bsp stack size ]''') '''[ topToken ]'''&lt;br /&gt;
&lt;br /&gt;
'''-d 64'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Occasionally a verse reference is outside of the chosen versification. These messages help to understand difficulties that osis2mod has in storing extra-canonical material in the module.&lt;br /&gt;
 DEBUG(V11N):       '''[ currentOsisID ]''' normalizes to '''[ after ]'''&lt;br /&gt;
 DEBUG(V11N):       Chapter max:'''[ chapterMax ]''', Verse Max:'''[ verseMax ]'''&lt;br /&gt;
&lt;br /&gt;
'''-d 128'''&amp;lt;br/&amp;gt;&lt;br /&gt;
OSIS ids and references can be of a form that SWORD cannot parse. Osis2mod contains a routine that munges these into a form that SWORD can understand.&lt;br /&gt;
 DEBUG(REF):        Copy range marker: '''[ marker ]'''&lt;br /&gt;
 DEBUG(REF):        Found a work prefix '''[ workPrefix ]'''&lt;br /&gt;
 DEBUG(REF):        Copy osisID:'''[ osisID ]'''&lt;br /&gt;
 DEBUG(REF):        Found a grain suffix '''[ grain ]'''&lt;br /&gt;
 DEBUG(REF):        Found a range&lt;br /&gt;
 DEBUG(REF):        replacing space with ;. Remaining: '''[ text ]'''&lt;br /&gt;
 DEBUG(REF):        shortended keyVal to`'''[ text ]'''`&lt;br /&gt;
&lt;br /&gt;
'''-d 256'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Osis2mod contains two stacks to validate proper nesting of BSP and BCV, respectively. This is an internal representation of the BCV stacks. It provides additional information to understand the diagnostic nesting messages.&lt;br /&gt;
 DEBUG(STACK):      '''[ currentOsisID ]''': push ('''[ stack size]''') '''[ tokenName ]'''&lt;br /&gt;
 DEBUG(STACK):      '''[ currentOsisID ]''': pop('''[ tagDepth ]''') '''[ topToken.getName() ]'''&lt;br /&gt;
&lt;br /&gt;
'''-d 512'''&amp;lt;br/&amp;gt;&lt;br /&gt;
These are general debug messages.&lt;br /&gt;
 DEBUG(FOUND):        Found first div and pitching prior material: '''[ text ]'''&lt;br /&gt;
 DEBUG(FOUND):        New book is '''[ currentOsisID ]'''&lt;br /&gt;
 DEBUG(FOUND):        Current chapter is '''[ currentOsisID ]''' ('''[ osisID attribute value ]''')&lt;br /&gt;
 DEBUG(FOUND):        Entering verse&lt;br /&gt;
 DEBUG(FOUND):        New current verse is '''[ currentOsisID ]'''&lt;br /&gt;
 DEBUG(FOUND):        osisID/annotateRef is adjusted to: '''[ simpler osisID or osisRef ]'''&lt;br /&gt;
 DEBUG(COMMENTS): in comment&lt;br /&gt;
 DEBUG(COMMENTS): out of comment&lt;br /&gt;
&lt;br /&gt;
'''-d 512'''&amp;lt;br/&amp;gt;&lt;br /&gt;
The following gives the input arguments.&lt;br /&gt;
 DEBUG(ARGS):&lt;br /&gt;
         path:         '''[ path ]'''&lt;br /&gt;
         osisDoc:      '''[ osisDoc ]'''&lt;br /&gt;
         create:       '''[ append ]'''&lt;br /&gt;
         compressType: '''[ compType ]'''&lt;br /&gt;
         blockType:    '''[ iType ]'''&lt;br /&gt;
         cipherKey:    '''[ cipherKey ]'''&lt;br /&gt;
         normalize:    '''[ normalize ]'''&lt;br /&gt;
&lt;br /&gt;
== Future Roadmap ==&lt;br /&gt;
:''List here suggestions for useful enhancements to or improvements for osis2mod''.&lt;br /&gt;
&lt;br /&gt;
* Add a command line flag '''-x''' to ''exclude'' all OSIS elements with the global attribute '''editions'''.&amp;lt;ref&amp;gt;The '''editions''' attribute is used to specify edition specific content, such as material omitted in Protestant versions of the Bible.&amp;lt;/ref&amp;gt;&amp;lt;BR&amp;gt;osis2mod would exclude those elements that match the specified attribute value.&lt;br /&gt;
&lt;br /&gt;
'''Note:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Reporting issues ==&lt;br /&gt;
* [http://www.crosswire.org/tracker/browse/MODTOOLS/component/10290/ Module Tools &amp;amp;ndash; osis2mod]&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[OSIS]] &amp;amp;ndash; a partial list of other OSIS related pages and external links.&lt;br /&gt;
* [[Mod2zmod]]&lt;br /&gt;
&lt;br /&gt;
[[Category:OSIS]]&lt;br /&gt;
[[Category:Utilities]]&lt;br /&gt;
[[Category:Versification]]&lt;/div&gt;</summary>
		<author><name>Dmsmith</name></author>	</entry>

	<entry>
		<id>https://wiki.crosswire.org/index.php?title=Osis2mod&amp;diff=17749</id>
		<title>Osis2mod</title>
		<link rel="alternate" type="text/html" href="https://wiki.crosswire.org/index.php?title=Osis2mod&amp;diff=17749"/>
				<updated>2025-07-07T13:58:41Z</updated>
		
		<summary type="html">&lt;p&gt;Dmsmith: /* History of Changes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
osis2mod transforms an OSIS encoded [[OSIS Bibles|Bible]] or [[OSIS_Commentaries|commentary]] into a SWORD module.&lt;br /&gt;
&lt;br /&gt;
==Where to get it==&lt;br /&gt;
* See [[DevTools:Modules#Collect_and_Install_Software_Tools|Collect and Install Software Tools]]&lt;br /&gt;
&lt;br /&gt;
== Current status ==&lt;br /&gt;
&lt;br /&gt;
Software bugs relating to osis2mod should be reported in https://tracker.crosswire.org/browse/MODTOOLS&lt;br /&gt;
&lt;br /&gt;
:''Please describe current status of osis2mod, including a list of any outstanding issues or unsolved difficulties''.&lt;br /&gt;
&lt;br /&gt;
==History of Changes==&lt;br /&gt;
The following outlines in reverse chronological order the major changes to osis2mod. When several changes were made over the span of a few days, they are lumped into the most recent date. Bug fixes are not mentioned.&lt;br /&gt;
&lt;br /&gt;
{|width=&amp;quot;100%&amp;quot; border=&amp;quot;0&amp;quot; class=&amp;quot;sortable&amp;quot;&lt;br /&gt;
!width=&amp;quot;10%&amp;quot;|Date&lt;br /&gt;
!Revision&lt;br /&gt;
!Feature&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2025-06-25'''&lt;br /&gt;
|&lt;br /&gt;
r3906&lt;br /&gt;
|&lt;br /&gt;
* MODTOOLS-76: Enhance -v argument handling in osis2mod with case-insensitive and prefix matching, and improved error reporting.&lt;br /&gt;
&lt;br /&gt;
 - Outputs the name of the versification system being used at program start&lt;br /&gt;
 - Adds layered resolution of versifications:&lt;br /&gt;
    1) Case-sensitive exact match&lt;br /&gt;
    2) Case-insensitive exact match&lt;br /&gt;
    3) Case-insensitive prefix match&lt;br /&gt;
 - Shows detailed error messages when input is invalid or ambiguous:&lt;br /&gt;
    * Lists all matches in case of ambiguity&lt;br /&gt;
    * Lists input and valid options if no match is found&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2025-06-19'''&lt;br /&gt;
|&lt;br /&gt;
r3903&lt;br /&gt;
|&lt;br /&gt;
* MODTOOLS-108  fix. Properly append verses beyond the last chapter of a book at the end of the book in the last verse of the chapter, which caused an infinite loop.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2020-07-26'''&lt;br /&gt;
|&lt;br /&gt;
r3769&lt;br /&gt;
|&lt;br /&gt;
* Fixed linking bug with ranges in osis2mod&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2020-05-08'''&lt;br /&gt;
|&lt;br /&gt;
r3737&lt;br /&gt;
|&lt;br /&gt;
* Added support putting reponumber into nano position of SWORD version string and output current SWORD version&lt;br /&gt;
* standardize on (SWORD: {SWVersion::currentVersion.getText()}) for all reported SWORD versions in utilities&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2016-08-16'''&lt;br /&gt;
|&lt;br /&gt;
r3431&lt;br /&gt;
|&lt;br /&gt;
* commented out  a set of lines handling &amp;quot;div type=&amp;quot;majorSection&amp;quot; &amp;quot; - see comments in code. &lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2016-02-06'''&lt;br /&gt;
|&lt;br /&gt;
r3401&lt;br /&gt;
|&lt;br /&gt;
* Added entity handling.&lt;br /&gt;
* div type='colophon' now not changed to milestones.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2015-02-16'''&lt;br /&gt;
|&lt;br /&gt;
r3322&lt;br /&gt;
| &lt;br /&gt;
* Correct casing of COUT&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2015-02-16'''&lt;br /&gt;
|&lt;br /&gt;
r3321&lt;br /&gt;
|&lt;br /&gt;
* cleaned up whitespace in osis2mod&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2014-12-17'''&lt;br /&gt;
|&lt;br /&gt;
r3310&lt;br /&gt;
|&lt;br /&gt;
* MODTOOLS-55 endless loop fix.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2014-12-15'''&lt;br /&gt;
|&lt;br /&gt;
r3307&lt;br /&gt;
|&lt;br /&gt;
* Greg Helling's patch to osis2mod for majorSections&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2014-03-17'''&lt;br /&gt;
|&lt;br /&gt;
r3139&lt;br /&gt;
|&lt;br /&gt;
* Added support for large entries (&amp;amp;gt; 64K) in compressed modules (aka zText4).&lt;br /&gt;
* Added support for UTF-16 and SCSU using the -e flag. SCSU is experimental.&lt;br /&gt;
* Added support for BZip2 and XZ compression, changing -z and -Z to -z &amp;amp;lt;l|z|b|x&amp;amp;gt;&lt;br /&gt;
* Added support for compression levels of 1 to 9 using the -l [1-9] flag.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2014-01-21'''&lt;br /&gt;
|&lt;br /&gt;
r3011&lt;br /&gt;
|&lt;br /&gt;
* Changed the transformation of &amp;amp;lt;p&amp;amp;gt; from &amp;amp;lt;div type=&amp;quot;paragraph&amp;quot; sID=&amp;quot;xxx&amp;quot;/&amp;amp;gt; to &amp;amp;lt;div type=&amp;quot;x-p&amp;quot; sID=&amp;quot;xxx&amp;quot;/&amp;amp;gt; This is a semantic change that brings osis2mod into alignment with the OSIS specification.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2012-03-24'''&lt;br /&gt;
|&lt;br /&gt;
r2693&lt;br /&gt;
|&lt;br /&gt;
* Allow for XML comments to be in the document, but stripped from the module. This allows for large parts of a document to be commented out, which is especially important during development.&lt;br /&gt;
* Allow for &amp;amp;lt;p&amp;amp;gt; elements to be in the &amp;amp;lt;header&amp;amp;gt; element but ignored. Previously, the p in a header, having been transformed to a div, was taken to be the start of the module's content.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2011-11-12'''&lt;br /&gt;
|&lt;br /&gt;
r2671&lt;br /&gt;
|&lt;br /&gt;
* Restored pre-verse handling. Titles no longer need to be specially specified in OSIS.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2010-06-04'''&lt;br /&gt;
|&lt;br /&gt;
r2519&lt;br /&gt;
|&lt;br /&gt;
* Removed pre-verse handling. Titles now have to be specially specified in OSIS. In OSIS there should also be no tags between verse elements except title and those marking book and chapter.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-06-06'''&lt;br /&gt;
|&lt;br /&gt;
r2435&lt;br /&gt;
|&lt;br /&gt;
* Improved handling of chapter introductions.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-05-30'''&lt;br /&gt;
|&lt;br /&gt;
r2421&lt;br /&gt;
|&lt;br /&gt;
* '''-d flags''' now always available.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-05-14'''&lt;br /&gt;
|&lt;br /&gt;
r2413&lt;br /&gt;
|&lt;br /&gt;
*Added '''-d flags''' as a compile time option.&lt;br /&gt;
*Improved exit codes and documented them here.&lt;br /&gt;
*Labeled all diagnostic and debug output.&lt;br /&gt;
*Can now read from standard input.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-04-28'''&lt;br /&gt;
|&lt;br /&gt;
r2358&lt;br /&gt;
|&lt;br /&gt;
*Predictable handling of inter-verse material.&lt;br /&gt;
*All tags, except verse, included in the module.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-04-26'''&lt;br /&gt;
|&lt;br /&gt;
r2345&lt;br /&gt;
|&lt;br /&gt;
*'''-v v11n''' added to support [[Alternate Versification]].&lt;br /&gt;
*'''-s &amp;lt;2|4&amp;gt;''' added to support uncompressed commentaries with large entries (exceeding 64K bytes).&lt;br /&gt;
*Replace paragraph hack with milestoned paragraphs: &amp;amp;lt;div type=&amp;quot;paragraph&amp;quot; sID=&amp;quot;xxx&amp;quot;/&amp;gt; ... &amp;amp;lt;div type=&amp;quot;paragraph&amp;quot; eID=&amp;quot;xxx&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2008-09-11'''&lt;br /&gt;
|&lt;br /&gt;
r2196&lt;br /&gt;
|&lt;br /&gt;
*Words of Christ (WoC) can be marked up naturally. osis2mod does the right thing.&lt;br /&gt;
*Container elements converted to their milestoned form.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2008-02-29'''&lt;br /&gt;
|&lt;br /&gt;
r2141&lt;br /&gt;
|&lt;br /&gt;
*Now supports commentaries in addition to Bibles.&lt;br /&gt;
*Added utf-8 detection and automatic conversion from cp1252 and iso8859-1 to utf-8, making that the default behavior&lt;br /&gt;
*Added NFC [[Encoding#Normalization|normalization]], making it the default&lt;br /&gt;
*Now handles the full definition of an osisID and an osisRef, including workID and grain.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2007-09-27'''&lt;br /&gt;
|&lt;br /&gt;
r2090&lt;br /&gt;
|&lt;br /&gt;
*Changed command-line parsing from positional parameters to flags.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2007-05-13'''&lt;br /&gt;
|&lt;br /&gt;
r2050&lt;br /&gt;
|&lt;br /&gt;
*All whitespace tokens are converted into blanks and adjacent spaces are merged into one. Leading whitespace on each verse is still removed.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2007-05-01'''&lt;br /&gt;
|&lt;br /&gt;
r2044&lt;br /&gt;
|&lt;br /&gt;
*Added version identification to the running of osis2mod.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2007-04-24'''&lt;br /&gt;
|&lt;br /&gt;
r2038&lt;br /&gt;
|&lt;br /&gt;
*Added ignoring of unknown books&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2006-07-15'''&lt;br /&gt;
|&lt;br /&gt;
r1948&lt;br /&gt;
|&lt;br /&gt;
*Optimized writing to module.&lt;br /&gt;
*Added simple transformations of &amp;amp;lt;q&amp;gt; and &amp;amp;lt;p&amp;gt; into milestones.&lt;br /&gt;
*Now allow empty attributes, such as marker=&amp;quot;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2006-07-04'''&lt;br /&gt;
|&lt;br /&gt;
r1914&lt;br /&gt;
|&lt;br /&gt;
*Updated to support OSIS 2.1&lt;br /&gt;
*Added validation that verses in isolation are well formed&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2005-12-22'''&lt;br /&gt;
|&lt;br /&gt;
r1876&lt;br /&gt;
|&lt;br /&gt;
*Added command-line options for compress and encipher.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2005-05-02'''&lt;br /&gt;
|&lt;br /&gt;
r1790&lt;br /&gt;
|&lt;br /&gt;
*Removed &amp;amp;lt;verse&amp;gt; and &amp;amp;lt;/verse&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2005-02-03'''&lt;br /&gt;
|&lt;br /&gt;
r1707&lt;br /&gt;
|&lt;br /&gt;
*Reverted pre-verse title handling&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2004-06-12'''&lt;br /&gt;
|&lt;br /&gt;
r1620&lt;br /&gt;
|&lt;br /&gt;
*Removed pre-verse title handling&lt;br /&gt;
*Added &amp;amp;lt;verse&amp;gt; and &amp;amp;lt;/verse&amp;gt;&lt;br /&gt;
*Added support for milestoned version of some OSIS elements&lt;br /&gt;
*Added support for verses that are not in the KJV versification by appending them to the closest prior verse.&lt;br /&gt;
*Added support for osisIDs with sub-verse references (i.e. osisID grains)&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2004-05-19'''&lt;br /&gt;
|&lt;br /&gt;
r1597&lt;br /&gt;
|&lt;br /&gt;
*Added support for linked verses&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2003-11-21'''&lt;br /&gt;
|&lt;br /&gt;
r1407&lt;br /&gt;
|&lt;br /&gt;
*Added recognition for &amp;lt;chapter&amp;gt; element&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2003-05-26'''&lt;br /&gt;
|&lt;br /&gt;
r1183&lt;br /&gt;
|&lt;br /&gt;
*Initial version&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Transformations==&lt;br /&gt;
:''This section may need further updating''.&lt;br /&gt;
&lt;br /&gt;
Osis2mod performs the following transformations&amp;lt;ref&amp;gt;These transformations are all performed &amp;quot;under the hood&amp;quot; as it were. Tweaking OSIS XML files to fix problems with pre-verse titles, etc., was never intended to be done by module developers as part of the preprocessing before using osis2mod.&amp;lt;/ref&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
* '''Whitespace''' -- Allows for human-readable OSIS files.&lt;br /&gt;
**Leading whitespace on books, chapters and verses is removed&lt;br /&gt;
**Whitespace is normalized into blanks&lt;br /&gt;
**Multiple adjacent whitespace is reduced to a single space&lt;br /&gt;
&lt;br /&gt;
* '''Unicode handling''' - All modules should be UTF-8, NFC.&amp;lt;ref&amp;gt;With the possible exception of Biblical Hebrew and some Indic scripts that should not be normalized.&amp;lt;/ref&amp;gt;&lt;br /&gt;
**Latin-1 (cp1252 and iso8859-1) are converted into UTF-8&lt;br /&gt;
**UTF-8 is normalized into NFC, unless specified otherwise (i.e. by using the -N option).&lt;br /&gt;
&lt;br /&gt;
* '''Verse ranges''' - also known as linked verses.&lt;br /&gt;
** Verses within a specified OSIS verse range are each linked to the first verse of the range.&lt;br /&gt;
&lt;br /&gt;
* '''Milestone conversion''' - necessary for frontends to show a verse at a time.&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;q ...&amp;gt;...&amp;amp;lt;/q&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;q sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;q eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;ref&amp;gt;'''gen#''' is unique for an sID/eID pair, where '''#''' is a number.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;Quotes with who=&amp;quot;Jesus&amp;quot; are not transformed at this stage.&amp;lt;/ref&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;p ...&amp;gt;...&amp;amp;lt;/p&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;div sID=&amp;quot;gen#&amp;quot; type=&amp;quot;x-p&amp;quot; .../&amp;gt;... &amp;amp;lt;div eID=&amp;quot;gen#&amp;quot; type=&amp;quot;x-p&amp;quot; ...&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;chapter ...&amp;gt;...&amp;amp;lt;/chapter&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;chapter sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;chapter eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;closer ...&amp;gt;...&amp;amp;lt;/closer&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;closer sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;closer eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;div ...&amp;gt;...&amp;amp;lt;/div&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;div sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;div eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;ref&amp;gt;As of r3401, &amp;amp;lt;div type=&amp;quot;colophon&amp;quot;...&amp;gt; is unchanged.&amp;lt;/ref&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;l ...&amp;gt;...&amp;amp;lt;/l&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;l sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;l eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;lg ...&amp;gt;...&amp;amp;lt;/lg&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;lg sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;lg eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;salute ...&amp;gt;...&amp;amp;lt;/salute&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;salute sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;salute eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;signed ...&amp;gt;...&amp;amp;lt;/signed&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;signed sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;signed eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;speech ...&amp;gt;...&amp;amp;lt;/speech&amp;gt;&amp;lt;/tt&amp;gt; becomes &amp;lt;tt&amp;gt;&amp;amp;lt;speech sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;speech eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;verse ...&amp;gt;...&amp;amp;lt;/verse&amp;gt;&amp;lt;/tt&amp;gt; becomes (when using -d 2 for debugging.)&amp;lt;BR&amp;gt;&amp;lt;tt&amp;gt;&amp;amp;lt;milestone resp=&amp;quot;v&amp;quot; sID=&amp;quot;gen#&amp;quot; ... /&amp;gt;...&amp;amp;lt;milestone resp=&amp;quot;v&amp;quot; eID=&amp;quot;gen#&amp;quot; ... /&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* '''Words of Christ''' - necessary for front-ends to appropriately highlight the WOC, a verse at a time.&amp;lt;ref&amp;gt;The examples given have the null string as the quotation marks in the '''marker''' attribute (as in the KJV module), but proper quotation marks are also supported.&amp;lt;/ref&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;q sID=&amp;quot;gen#&amp;quot; who=&amp;quot;Jesus&amp;quot; .../&amp;gt;...&amp;amp;lt;eID=&amp;quot;gen#&amp;quot; who=&amp;quot;Jesus&amp;quot; .../&amp;gt;&amp;lt;/tt&amp;gt; becomes&amp;lt;BR&amp;gt;&amp;lt;tt&amp;gt;&amp;amp;lt;q who=&amp;quot;Jesus&amp;quot; marker=&amp;quot;&amp;quot;&amp;gt;&amp;amp;lt;q sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;q eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;amp;lt;/q&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** &amp;lt;tt&amp;gt;&amp;amp;lt;q who=&amp;quot;Jesus&amp;quot; ...&amp;gt;...&amp;amp;lt;/q&amp;gt;&amp;lt;/tt&amp;gt; becomes&amp;lt;BR&amp;gt;&amp;lt;tt&amp;gt;&amp;amp;lt;q who=&amp;quot;Jesus&amp;quot; marker=&amp;quot;&amp;quot;&amp;gt;&amp;amp;lt;q sID=&amp;quot;gen#&amp;quot; .../&amp;gt;...&amp;amp;lt;q eID=&amp;quot;gen#&amp;quot; .../&amp;gt;&amp;amp;lt;/q&amp;gt;&amp;lt;/tt&amp;gt;&lt;br /&gt;
** Within the following construct, &amp;lt;tt&amp;gt;&amp;amp;lt;q who=&amp;quot;Jesus&amp;quot; marker=&amp;quot;&amp;quot;&amp;gt;...&amp;lt;/q&amp;gt;&amp;lt;/tt&amp;gt; will surround verse text.&lt;br /&gt;
&lt;br /&gt;
* '''Pre-Verse Titles'''&amp;lt;ref&amp;gt;The older method that fixed titles only became obsolete with SVN revision 2358 for the SWORD 1.6.0 release and replaced with '''InterVerse Content'''.&amp;lt;/ref&amp;gt;&lt;br /&gt;
** InterVerse or postVerse&amp;lt;ref&amp;gt;For example, the '''colophon''' div as found at the end of some Epistles.&amp;lt;/ref&amp;gt; content not in titles is appended to the prior verse.&lt;br /&gt;
** Titles immediately preceeding a verse are converted into either&amp;lt;BR&amp;gt;&amp;lt;tt&amp;gt;&amp;amp;lt;title canonical=&amp;quot;true&amp;quot; type=&amp;quot;psalm&amp;quot;&amp;gt;...&amp;amp;lt;/title&amp;gt;&amp;lt;/tt&amp;gt; or&amp;lt;BR&amp;gt;&amp;lt;tt&amp;gt;&amp;amp;lt;title canonical=&amp;quot;false&amp;quot; type=&amp;quot;sub&amp;quot;&amp;gt;...&amp;amp;lt;/title&amp;gt;&amp;lt;/tt&amp;gt;&amp;lt;ref&amp;gt;type=&amp;quot;sub&amp;quot; is used irrespective of whether the non-canonical title is a section title or a subSection title.&amp;lt;/ref&amp;gt;&amp;lt;BR&amp;gt;and the whole such '''title''' element is wrapped within a special preverse '''div''' element. ''See below''.&lt;br /&gt;
&lt;br /&gt;
* '''InterVerse Content'''&amp;lt;ref&amp;gt;Introduced with SVN revision 2358 for the SWORD 1.6.0 release.&amp;lt;/ref&amp;gt;&lt;br /&gt;
** InterVerse Content refers to all content not contained by the verse element.&amp;lt;ref&amp;gt;i.e. Content between the '''eID''' milestone of a verse and the '''sID''' milestone of the next verse, or before the first verse of the chapter.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;For OSIS files derived from USFM files, the implication of this requirement is the following rule:&lt;br /&gt;
&amp;lt;blockquote&amp;gt;Do not place a title (or similar element) between a matching pair of verse milestones&amp;lt;BR&amp;gt;&lt;br /&gt;
except where the translation places the title somewhere within the verse text in the USFM file.&amp;lt;/blockquote&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
** Such content is divided between the prior and the current verse.&lt;br /&gt;
** Content appended to the prior verse is not marked in any special way.&lt;br /&gt;
** Content prepended&amp;lt;ref&amp;gt;This ensures that when the verse is called the prepended content is also displayed, subject to whatever filters are in place.&amp;lt;/ref&amp;gt; to the current verse is marked with&amp;lt;BR&amp;gt;&amp;lt;tt&amp;gt;&amp;amp;lt;div type=&amp;quot;x-milestone&amp;quot; subType=&amp;quot;x-preverse&amp;quot; sID=&amp;quot;pv#&amp;quot;/&amp;gt;...&amp;amp;lt;div type=&amp;quot;x-milestone&amp;quot; subType=&amp;quot;x-preverse&amp;quot; eID=&amp;quot;pv#&amp;quot;/&amp;gt;.&amp;lt;/tt&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Handling of Introductions, Titles and Inter-Verse Material==&lt;br /&gt;
SWORD looks for module, testament, book and chapter introductory material. Those introductions can have appropriate titles as well. &lt;br /&gt;
In SWORD 1.6.0 the handling of this material has changed.&lt;br /&gt;
&lt;br /&gt;
'''Note:'''&lt;br /&gt;
# In the following, the effects of the above transformations are not shown. The tagging of the pre-verse material is also not shown.&lt;br /&gt;
&lt;br /&gt;
===Module and Testament Introductions===&lt;br /&gt;
&lt;br /&gt;
At this time, osis2mod does not fully support module and testament introductions. A module introduction should be place into testament 0, book 0, chapter 0, verse 0. A testament introduction should be placed into testament 1 or 2, book 0, chapter 0, verse 0. Currently, these are placed into Genesis 0:0 or Matthew 0:0.&lt;br /&gt;
&lt;br /&gt;
===Book Introductions and Titles===&lt;br /&gt;
Book introductions and titles are straight forward. It includes the start of the book and everything following it up to, but not including the start of the chapter. See [[OSIS Bibles]] for best practices in marking up titles and introductions.&lt;br /&gt;
&lt;br /&gt;
For example:&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;book&amp;quot; ...&amp;gt;&lt;br /&gt;
 ... introductory material ...&lt;br /&gt;
 &amp;amp;lt;chapter&amp;quot;...&amp;gt;&lt;br /&gt;
will put the following into the book introduction:&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;book&amp;quot; ...&amp;gt;&lt;br /&gt;
 ... introductory material ...&lt;br /&gt;
&lt;br /&gt;
===Chapter Introductions===&lt;br /&gt;
Chapter introductions and titles are a bit problematic. Between the start of a chapter and its first verse, we could have a chapter title, a chapter introduction and/or a start of a section of verses or a titled verse. Osis2mod now handles this in a predictable fashion. From the start of the chapter up to and not including a section div or a title that has a type that is not ''main'', ''chapter'' or ''sub'', the content is chapter introduction. After that, it is part of the verse.&lt;br /&gt;
&lt;br /&gt;
Specifically, the following list gives the possible first elements following the chapter introduction.:&lt;br /&gt;
*&amp;amp;lt;div type=&amp;quot;section&amp;quot; ...&amp;gt;&lt;br /&gt;
*&amp;amp;lt;title type=&amp;quot;yyy&amp;quot; ...&amp;gt; where yyy is not ''main'', ''chapter'' or ''sub''.&lt;br /&gt;
&lt;br /&gt;
For example,&lt;br /&gt;
 &amp;amp;lt;chapter ...&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;Chapter Title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title type=&amp;quot;sub&amp;quot;&amp;gt;Chapter Subtitle&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;introduction&amp;quot;&amp;gt;... intro ...&amp;amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;section&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;A section title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;verse ...&amp;gt;...verse content...&amp;amp;lt;/verse&amp;gt;&lt;br /&gt;
will put the following into the chapter introduction:&lt;br /&gt;
 &amp;amp;lt;chapter ...&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;Chapter Title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title type=&amp;quot;sub&amp;quot;&amp;gt;Chapter Subtitle&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;introduction&amp;quot;&amp;gt;... intro ...&amp;amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
will put the following into verse 1 of that chapter&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;section&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;A section title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;verse ...&amp;gt;...verse content...&amp;amp;lt;/verse&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Between Verses===&lt;br /&gt;
Between verses we may have closing tags to finish off what was started earlier, structural opening tags (e.g. line groups, divisions, paragraphs, ...), titles and/or introductory material.&lt;br /&gt;
&lt;br /&gt;
Upon finding the close of a verse, osis2mod will append all adjacent closing tags to it. Once it finds a start tag, it will attach that to the following verse.&lt;br /&gt;
&lt;br /&gt;
For example, suppose the following is between &amp;amp;lt;/verse&amp;gt; and &amp;amp;lt;verse ...&amp;gt;:&lt;br /&gt;
 &amp;amp;lt;/lg&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;section&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;Section title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;lg&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
then it will append the following to the prior verse:&lt;br /&gt;
 &amp;amp;lt;/lg&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and will prepend the following to the current verse:&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;section&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;Section title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;lg&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Last Verse===&lt;br /&gt;
The material following the last verse of a chapter is appended to that verse. You might find:&lt;br /&gt;
 ... verse content ...&lt;br /&gt;
 &amp;amp;lt;/chapter&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;colophon&amp;quot;&amp;gt;... colophon text ...&amp;amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Exclusions==&lt;br /&gt;
Only content starting the first &amp;amp;lt;div&amp;gt; to the last &amp;amp;lt;/div&amp;gt; is retained. All other is excluded. From a practical perspective, this excludes the OSIS header information.&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
It is always preferable to use the most recent version of osis2mod and compiling it from SVN is best. &lt;br /&gt;
&lt;br /&gt;
'''Note:'''&lt;br /&gt;
# After the SWORD 1.5.9 release, osis2mod was changed to take flags rather than positional arguments.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
You are running osis2mod: $Rev: 3431 $&lt;br /&gt;
OSIS Bible/commentary module creation tool for The SWORD Project&lt;br /&gt;
&lt;br /&gt;
usage: ./osis2mod &amp;lt;output/path&amp;gt; &amp;lt;osisDoc&amp;gt; [OPTIONS]&lt;br /&gt;
  &amp;lt;output/path&amp;gt;		 an existing folder that the module will be written&lt;br /&gt;
  &amp;lt;osisDoc&amp;gt;		 path to the validated OSIS document, or '-' to&lt;br /&gt;
				 read from standard input&lt;br /&gt;
  -a			 augment module if exists (default is to create new)&lt;br /&gt;
  -z &amp;lt;l|z|b|x&amp;gt;		 compression type (default: none)&lt;br /&gt;
				 l - LZSS; z - ZIP; b - bzip2; x - xz&lt;br /&gt;
  -b &amp;lt;2|3|4&amp;gt;		 compression block size (default: 4)&lt;br /&gt;
				 2 - verse; 3 - chapter; 4 - book&lt;br /&gt;
  -l &amp;lt;1-9&amp;gt;		 compression level (default varies by compression type)&lt;br /&gt;
  -c &amp;lt;cipher_key&amp;gt;	 encipher module using supplied key&lt;br /&gt;
				 (default no enciphering)&lt;br /&gt;
  -e &amp;lt;1|2|s&amp;gt;		 convert Unicode encoding (default: 1)&lt;br /&gt;
				 1 - UTF-8 ; 2 - UTF-16 ; s - SCSU&lt;br /&gt;
  -N			 do not normalize to NFC&lt;br /&gt;
  -s &amp;lt;2|4&amp;gt;		 bytes used to store entry size (default is 2).&lt;br /&gt;
  -v &amp;lt;v11n&amp;gt;		 specify a versification scheme to use (default is KJV)&lt;br /&gt;
				 Note: The following are valid values for v11n:&lt;br /&gt;
				   Calvin      	Catholic    	Catholic2   &lt;br /&gt;
				   DarbyFr     	German      	KJV         &lt;br /&gt;
				   KJVA        	LXX         	Leningrad   &lt;br /&gt;
				   Luther      	MT          	NRSV        &lt;br /&gt;
				   NRSVA       	Orthodox    	Segond      &lt;br /&gt;
				   Synodal     	SynodalProt 	Vulg        &lt;br /&gt;
  -h 			 print verbose usage text&lt;br /&gt;
&lt;br /&gt;
See http://www.crosswire.org/wiki/osis2mod for more details.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Earlier builds (e.g. $Rev: 2893 $) also included the debug option help: See [[Osis2mod#Debug_Messages|Debug Messages]].&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  -d &amp;lt;flags&amp;gt;		 turn on debugging (default is 0)&lt;br /&gt;
				 Note: This flag may change in the future.&lt;br /&gt;
				 Flags: The following are valid values:&lt;br /&gt;
					0   - no debugging&lt;br /&gt;
					1   - writes to module, very verbose&lt;br /&gt;
					2   - verse start and end&lt;br /&gt;
					4   - quotes, esp. Words of Christ&lt;br /&gt;
					8   - titles&lt;br /&gt;
					16  - inter-verse material&lt;br /&gt;
					32  - BSP to BCV transformations&lt;br /&gt;
					64  - v11n exceptions&lt;br /&gt;
					128 - parsing of osisID and osisRef&lt;br /&gt;
					256 - internal stack&lt;br /&gt;
					512 - miscellaneous&lt;br /&gt;
				 This argument can be used more than once. (Or&lt;br /&gt;
				 the flags may be added together.)&lt;br /&gt;
&lt;br /&gt;
See http://www.crosswire.org/wiki/osis2mod for more details.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== Parameters and Options ===&lt;br /&gt;
'''&amp;amp;lt;output/path&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This a path to any existing directory. It is best for it to be empty.&lt;br /&gt;
&lt;br /&gt;
'''&amp;amp;lt;osisDoc&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This is a single, well-formed, valid OSIS document.&lt;br /&gt;
&lt;br /&gt;
If '''-''' is used instead of a file name, the document will be read from standard input. This allows for two constructs:&lt;br /&gt;
* Redirection&lt;br /&gt;
 osis2mod ./modules/texts/ztext/KJV - &amp;lt; kjv.xml&lt;br /&gt;
* Piping&lt;br /&gt;
 cat kjv.xml | osis2mod ./modules/texts/ztext/KJV -&lt;br /&gt;
&lt;br /&gt;
'''-a'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Osis2mod can create a Bible all at once or incrementally, depending on the presence of the -a flag. This&lt;br /&gt;
provides for two abilities,&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Assembling a Bible from book files:&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir /tmp/mymodule&lt;br /&gt;
osis2mod /tmp/mymodule  matt.xml&lt;br /&gt;
osis2mod /tmp/mymodule -a mark.xml&lt;br /&gt;
...&lt;br /&gt;
osis2mod /tmp/mymodule -a rev.xml&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
'''Note:''' The book files can be in any order. SWORD will order them correctly in the index.&lt;br /&gt;
&amp;lt;li&amp;gt;Adding corrections to a Bible:&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
osis2mod /tmp/mymodule -a fixes.xml&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
'''Note:''' When fixes are put into the module they are appended to the data file and do not actually replace the verses. The index file is adjusted to point to the new place in the data file.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''-z &amp;amp;lt;l|z|b|x&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
A SWORD Bible can be compressed with Zip (-z z), LZSS (-z l), BZip2 (-z b) '''or''' XZ (-lx). All of CrossWire's compressed Bible and commentary modules are compressed with Zip. This saves significant space over an uncompressed module. Uncompressed modules are useful for debugging.&lt;br /&gt;
&lt;br /&gt;
'''-b &amp;amp;lt;2|3|4&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This setting is only useful for a compressed module. The choice as to whether to use Verse (2), Chapter (3) or Book (4, the default) level compression depends upon the amount of data in the block. A typical Bible is best compressed book by book. A commentary, chapter by chapter. If the commentary is very robust and the amount of text per verse is really huge, then verse compression might make sense.&lt;br /&gt;
&lt;br /&gt;
All of SWORD's compressed Bible modules are compressed by book. Basically, all of the verses in a block are compressed and appended to the data file. For this reason, the datafile cannot be uncompressed by anything other than the SWORD and JSword libraries.&lt;br /&gt;
&lt;br /&gt;
When creating the module by appending it is important to do so by whole compression block. That is, if blockType is Chapter, then the osisDoc needs to contain one or more whole chapters.&lt;br /&gt;
&lt;br /&gt;
'''-l [1-9]'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This setting is useful for a compressed module and provides the level of compression to be used. The default varies depending on the compressor used. The default is typically used.&lt;br /&gt;
&lt;br /&gt;
'''-c cipherKey'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This is typically 16 characters in length, having no leading or trailing spaces, consisting of alternating sets of 4 alpha and 4 numeric characters, such as Aduf0274PjNq0328. The key is case-sensitive.&lt;br /&gt;
&lt;br /&gt;
'''-e &amp;amp;lt;1|2|s&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This flag gives whether the input is to be converted to UTF-8, UTF-16, or SCSU. By default the encoding is UTF-8. Using UTF-16 is reasonable for non-latin texts with little markup. SCSU will compress the Unicode, but it has not been sufficiently tested, requires [[DevTools:ICU|ICU]] support when compiling osis2mod and when running (not all frontends do).&lt;br /&gt;
&lt;br /&gt;
'''-N'''&amp;lt;br/&amp;gt;&lt;br /&gt;
All OSIS modules should be UTF-8 and all that are UTF-8 are also to be NFC. The default is to automatically detect the presense of Latin-1 (either cp1252 or iso8859-1) and convert it to UTF-8 and to normalize UTF-8 to NFC. This flag will turn off this behavior and is useful for creating Latin-1 modules or for modules for which the source text is already UTF-8 and NFC. It is also advised for Biblical Hebrew modules for which the source text (with accents and cantillation points) is intentionally not normalized, as &amp;quot;Unicode normalization can easily break Biblical Hebrew&amp;quot;. Quoted from page 9 of the SBL Hebrew Font Manual.&amp;lt;ref&amp;gt;See https://www.sbl-site.org/Fonts/SBLHebrewUserManual1.5x.pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: this was added late Feb 2008 and requires [[DevTools:ICU|ICU]] support when compiling.&lt;br /&gt;
&lt;br /&gt;
'''-s &amp;amp;lt;2|4&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
A value of 2, the default, restricts modules to 64K bytes per entry. A value of 4, breaks this barrier. This is needed for Bibles, having large introductory materials, and for commentaries with large entries.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' 4 was added late Apr 2009 for raw, uncompressed modules and will be part of the SWORD 1.6.0 release (formerly known as 1.5.11). A later release extended support to compressed modules.&lt;br /&gt;
&lt;br /&gt;
'''-v v11n'''&amp;lt;br/&amp;gt;&lt;br /&gt;
By default, osis2mod uses the KJV versification. The practical implication of this is that only books in the KJV canon are allowed and any text in an allowed book are retained. However, if the verse reference of a supported book falls outside of the versification it is appended to the prior verse in the canon. This flag allows for an [[Alternate Versification|alternate versification]].&lt;br /&gt;
&lt;br /&gt;
'''Note:''' This option was added in April 2009 as part of the SWORD 1.6.0 release.&lt;br /&gt;
&lt;br /&gt;
'''-d flags'''&amp;lt;br/&amp;gt;&lt;br /&gt;
The flag can be used more than once or the flags can be added together. For example,&lt;br /&gt;
 -d 2 -d 4&lt;br /&gt;
is the same as&lt;br /&gt;
 -d 6&lt;br /&gt;
&lt;br /&gt;
To do verbose debugging use:&lt;br /&gt;
 -d -1&lt;br /&gt;
&lt;br /&gt;
For the most part these flags are not intended for debugging modules, but rather for debugging problems in osis2mod.&lt;br /&gt;
&lt;br /&gt;
The -d 2 flag produces no output but puts milestones into the module where verses start and end. The form of the milestone is:&lt;br /&gt;
 &amp;amp;lt;milestone resp=&amp;quot;v&amp;quot; [attributes from verse] /&amp;gt;&lt;br /&gt;
The milestone will contain the osisID from the verse and also a valid sID or eID. The sID/eID indicates the start of end of the verse.&lt;br /&gt;
&lt;br /&gt;
Note: the -d 2 flag might change at any time, or may even be removed.&lt;br /&gt;
&lt;br /&gt;
==Messages==&lt;br /&gt;
Osis2mod has robust, mind-boggling messages. These are provided here in hopes that it will help problem diagnosis.&lt;br /&gt;
&lt;br /&gt;
===Exit Status===&lt;br /&gt;
When an error occurs that causes osis2mod to exit without processing the entire input file, a non-zero exit status is supplied to the caller. Here are the codes that osis2mod uses:&lt;br /&gt;
 const int EXIT_BAD_ARG     =   1; // Bad parameter given for program&lt;br /&gt;
 const int EXIT_NO_WRITE    =   2; // Could not open the module for writing&lt;br /&gt;
 const int EXIT_NO_CREATE   =   3; // Could not create the module&lt;br /&gt;
 const int EXIT_NO_READ     =   4; // Could not open the input file for reading.&lt;br /&gt;
 const int EXIT_BAD_NESTING =   5; // BSP or BCV nesting is bad or improper XML comment&lt;br /&gt;
&lt;br /&gt;
===Diagnostic Messages===&lt;br /&gt;
In the following, example values are given in '''[...]'''. The brackets do not actually appear in the message. Also, the messages are a bit prettier here than in reality.&lt;br /&gt;
 WARNING(UTF8):     '''[ osisID ]''': Should be converted to UTF-8 ('''[ text ]''')&lt;br /&gt;
The program will always check for text that is not UTF-8.&lt;br /&gt;
&lt;br /&gt;
 INFO(UTF8):        '''[ osisID ]''': Converting to UTF-8 ('''[ text before conversion ]''')&lt;br /&gt;
Text that is converted to UTF-8 is noted.&lt;br /&gt;
&lt;br /&gt;
 ERROR(UTF8):       '''[ osisID ]''': Converting to UTF-8 ('''[ text after first conversion ]''')&lt;br /&gt;
It is an error if after a conversion it still is not UTF-8.&lt;br /&gt;
&lt;br /&gt;
 WARNING(UTF8):     osis2mod is not compiled with support for ICU. Ignoring -n flag.&lt;br /&gt;
Normalization was requested, but since osis2mod was not compiled for it, it cannot honor the default request.&lt;br /&gt;
&lt;br /&gt;
 INFO(V11N):        '''[ osisID ]''' is not in the '''[ v11n ]''' versification.&lt;br /&gt;
Indicates that a verse is not in the versification.&lt;br /&gt;
&lt;br /&gt;
 INFO(V11N):        '''[ osisID ]''' is not in the '''[ v11n ]''' versification. Appending content to '''[ osisID ]'''&lt;br /&gt;
This like the other indicates a versification problem, but shows where the text will be found. Osis2mod preserves all module content for supported books.&lt;br /&gt;
&lt;br /&gt;
 WARNING(V11N): New book is '''[ name ]'''  and is not in '''[ v11n ]''' versification, ignoring&lt;br /&gt;
The name of the book was not recognized as belonging to the chosen versification, it and all of it's content is ignored.&lt;br /&gt;
&lt;br /&gt;
 INFO(WRITE):       Appending entry: '''[ osisID ]''': '''[ text so far ]'''&lt;br /&gt;
If osis2mod encounters text that needs to be appended to a verse that is already in the module. This could indicate that&lt;br /&gt;
* the reference is in the input twice. This typically indicates a problem.&lt;br /&gt;
* more text was found that needs to be added to the prior verse.&lt;br /&gt;
* osis2mod is being run in append mode to fix a verse in the module.&lt;br /&gt;
&lt;br /&gt;
 INFO(LINK):        Linking '''[ osisID ]''' to '''[ osisID ]'''&lt;br /&gt;
An osisID such as &amp;quot;Gen.1.1 Gen.1.2 Gen.1.3&amp;quot; was used and the latter are linked to the first.&lt;br /&gt;
&lt;br /&gt;
 ERROR(REF):        Invalid osisID/annotateRef: '''[ invalid attribute value ]'''&lt;br /&gt;
This indicates that the SWORD library was unable to parse the osisID or annotateRef.&lt;br /&gt;
&lt;br /&gt;
 FATAL(NESTING):    '''[ currentOsisID ]''': tag expected&lt;br /&gt;
This indicates that the specified verse is not balanced with regard to its tags. Building a raw text module, looking in the module for the verse and pairing begin/end tags will help find the problem. Typically, this indicates an end tag that did not have a matching begin tag and all tags before it were properly paired.&lt;br /&gt;
&lt;br /&gt;
 FATAL(NESTING):    '''[ currentOsisID ]''': Expected '''[ topToken.getName() ]''' found '''[ tokenName ]'''&lt;br /&gt;
This also indicates that the specified verse is not balanced with regard to its tags. Building a raw text module, looking in the module for the verse and pairing begin/end tags will help find the problem. It could be either a begin or an end tag problem.&lt;br /&gt;
&lt;br /&gt;
 WARNING(NESTING):  verse '''[ currentOsisID ]''' is not well formed:('''[ verseDepth ]''','''[ tagDepth ]''')&lt;br /&gt;
This indicates that the verse probably will not show properly in some front-ends in some circumstances. Typically, it shows the problem if the verse is shown in isolation.&lt;br /&gt;
&lt;br /&gt;
 ERROR(NESTING):    improper nesting '''[ currentOsisID ]''': matching (sID,eID) not found. Looking at ('''[ sID ]''','''[ eID ]''')&lt;br /&gt;
OSIS specifies that every sID has a matching eID. Osis2mod is checking that BSP elements are properly nested.&lt;br /&gt;
&lt;br /&gt;
 FATAL(COMMENTS): unknown commentstate on comment start: [ comment state ]&lt;br /&gt;
This indicates that the comment is not of the form &amp;amp;lt;!-- ... --&amp;amp;gt;.&lt;br /&gt;
&lt;br /&gt;
 FATAL(COMMENTS): unknown commentstate on comment end:  [ comment state ]&lt;br /&gt;
This indicates that the comment is not of the form &amp;amp;lt;!-- ... --&amp;amp;gt;.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE): malformed entity, replacing &amp;amp;amp;'''[ malformed entity ]''' with &amp;amp;amp;amp;'''[ malformed entity ]'''&lt;br /&gt;
This means it found a &amp;amp;amp; that starts an entity but it wasn't terminated by a ; and changed it to something that probably isn't appropriate.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE): HEX entity must begin with &amp;amp;amp;x, found '''[ entity ]'''&lt;br /&gt;
This indicates &amp;amp;X, which is not valid for xml. It is not changed.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE): SWORD does not search HEX entities, found '''[ entity ]'''&lt;br /&gt;
 WARNING(PARSE): SWORD does not search numeric entities, found '''[ entity ]'''&lt;br /&gt;
Since we don't transform HEX or numeric entities to their equivalent UTF-8 value, this will be literal text that cannot be searched.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE): XML only supports 5 Character entities &amp;amp;amp;amp;, &amp;amp;amp;lt;, &amp;amp;amp;gt;, &amp;amp;amp;quot; and &amp;amp;amp;apos;, found '''[ entity ]'''&lt;br /&gt;
XML does not allow character entities. These are passed unchanged to SWORD module. This frustrates search and may only display properly in a front-end using HTML rendering.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE): &amp;amp;amp;quot; is unnecessary outside of attribute values. Replace with &amp;quot;.&lt;br /&gt;
 WARNING(PARSE): &amp;amp;amp;quot; is unnecessary inside single quoted attribute values. Replace with &amp;quot;.&lt;br /&gt;
 WARNING(PARSE): &amp;amp;amp;quot; is only needed within double quoted attribute values. Considering using single quoted attribute and replacing with &amp;quot;.&lt;br /&gt;
 WARNING(PARSE): &amp;amp;amp;apos; is only needed within single quoted attribute values. Considering using double quoted attribute and replacing with '.&lt;br /&gt;
 WARNING(PARSE): &amp;amp;amp;apos; is unnecessary inside double quoted attribute values. Replacing with '.&lt;br /&gt;
 WARNING(PARSE): &amp;amp;amp;apos; is unnecessary outside of attribute values. Replacing with '.&lt;br /&gt;
The &amp;amp;amp;apos; or &amp;amp;amp;quot; was found outside of an attribute value and is being substituted with a straight single apostrophe, ', or double quote, &amp;quot;, respectively.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE): While valid for XML, &amp;amp;amp;quot; is only needed within double quoted attribute values.&lt;br /&gt;
This warning indicates that the entity is present where it does not need to be.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE): While valid for XML, XHTML does not support &amp;amp;amp;apos;.&lt;br /&gt;
This warning indicates that the &amp;amp;amp;apos; may not display properly in all front-ends. It was found in an attribute value.&lt;br /&gt;
&lt;br /&gt;
===Debug Messages===&lt;br /&gt;
The following are shown in the same form as the diagnostic messages above. They are given without comment.&lt;br /&gt;
&lt;br /&gt;
'''-d 1'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Output of what is being written to the module. The two osisIDs should always be the same.&lt;br /&gt;
 DEBUG(WRITE):      '''[ osisID ]''':'''[ osisID ]''': '''[ text so far ]'''&lt;br /&gt;
&lt;br /&gt;
'''-d 4'''&amp;lt;br/&amp;gt;&lt;br /&gt;
A stack is maintained to represent the Words of Christ on a per verse basis. This is internal diagnostic of that stack&lt;br /&gt;
 DEBUG(QUOTE):      '''[ currentOsisID ]''': quote top('''[ quote stack size ]''') '''[ token ]'''&lt;br /&gt;
 DEBUG(QUOTE):      '''[ currentOsisID ]''': quote pop('''[ quote stack size ]''') '''[ topToken ]''' -- '''[ token ]'''&lt;br /&gt;
 DEBUG(QUOTE):      '''[ currentOsisID ]''': ('''[ quote stack size ]''') '''[ topToken ]''' -- '''[ token ]'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''-d 8'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Identifies when book and chapter introductions are being determined.&lt;br /&gt;
 DEBUG(TITLE):      '''[ currentOsisID ]''': OOPS INTRO&lt;br /&gt;
         inChapterIntro = '''[ inChapterIntro ]'''&lt;br /&gt;
         inBookIntro    = '''[ inBookIntro ]'''&lt;br /&gt;
 DEBUG(TITLE):      '''[ currentOsisID ]''': Looking for book introduction&lt;br /&gt;
 DEBUG(TITLE):      '''[ currentOsisID ]''': Done looking for book introduction&lt;br /&gt;
 DEBUG(TITLE):      '''[ currentOsisID ]''': BOOK INTRO '''[ beading ]'''&lt;br /&gt;
 DEBUG(TITLE):      '''[ currentOsisID ]''': Looking for chapter introduction&lt;br /&gt;
 DEBUG(TITLE):      '''[ currentOsisID ]''': Done looking for chapter introduction&lt;br /&gt;
 DEBUG(TITLE):      '''[ currentOsisID ]''': CHAPTER INTRO '''[ heading ]'''&lt;br /&gt;
&lt;br /&gt;
'''-d 16'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Inter-verse material either goes with the prior &amp;quot;verse&amp;quot; or the next. This help diagnose problems related to that split.&lt;br /&gt;
 DEBUG(INTERVERSE): '''[ currentOsisID ]''': interverse start token '''[ token ]''':'''[ text ]'''&lt;br /&gt;
 DEBUG(INTERVERSE): '''[ currentOsisID ]''': interverse end tag: '''[ tokenName ]'''('''[ tagDepth ]''','''[ chapterDepth ]''','''[ bookDepth ]''')&lt;br /&gt;
 DEBUG(INTERVERSE): '''[ currentOsisID ]''': appending interverse end tag: '''[tokenName ]'''('''[ tagDepth ]''','''[ chapterDepth ]''','''[ bookDepth ]''')&lt;br /&gt;
&lt;br /&gt;
'''-d 32'''&amp;lt;br/&amp;gt;&lt;br /&gt;
The following messages relate to the transformations of containers to milestones.&lt;br /&gt;
 DEBUG(XFORM):      '''[ currentOsisID ]''': xform empty '''[ token ]'''&lt;br /&gt;
 DEBUG(XFORM):      '''[ currentOsisID ]''': xform push ('''[ bspTagStack.size() ]''') '''[ token ]''' (tagname='''[ tagName ]''')&lt;br /&gt;
 DEBUG(XFORM):      '''[ currentOsisID ]''': xform top('''[ bsp stack size ]''') '''[ topToken ]'''&lt;br /&gt;
 DEBUG(XFORM):      '''[ currentOsisID ]''': xform pop('''[ bsp stack size ]''') '''[ topToken ]'''&lt;br /&gt;
&lt;br /&gt;
'''-d 64'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Occasionally a verse reference is outside of the chosen versification. These messages help to understand difficulties that osis2mod has in storing extra-canonical material in the module.&lt;br /&gt;
 DEBUG(V11N):       '''[ currentOsisID ]''' normalizes to '''[ after ]'''&lt;br /&gt;
 DEBUG(V11N):       Chapter max:'''[ chapterMax ]''', Verse Max:'''[ verseMax ]'''&lt;br /&gt;
&lt;br /&gt;
'''-d 128'''&amp;lt;br/&amp;gt;&lt;br /&gt;
OSIS ids and references can be of a form that SWORD cannot parse. Osis2mod contains a routine that munges these into a form that SWORD can understand.&lt;br /&gt;
 DEBUG(REF):        Copy range marker: '''[ marker ]'''&lt;br /&gt;
 DEBUG(REF):        Found a work prefix '''[ workPrefix ]'''&lt;br /&gt;
 DEBUG(REF):        Copy osisID:'''[ osisID ]'''&lt;br /&gt;
 DEBUG(REF):        Found a grain suffix '''[ grain ]'''&lt;br /&gt;
 DEBUG(REF):        Found a range&lt;br /&gt;
 DEBUG(REF):        replacing space with ;. Remaining: '''[ text ]'''&lt;br /&gt;
 DEBUG(REF):        shortended keyVal to`'''[ text ]'''`&lt;br /&gt;
&lt;br /&gt;
'''-d 256'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Osis2mod contains two stacks to validate proper nesting of BSP and BCV, respectively. This is an internal representation of the BCV stacks. It provides additional information to understand the diagnostic nesting messages.&lt;br /&gt;
 DEBUG(STACK):      '''[ currentOsisID ]''': push ('''[ stack size]''') '''[ tokenName ]'''&lt;br /&gt;
 DEBUG(STACK):      '''[ currentOsisID ]''': pop('''[ tagDepth ]''') '''[ topToken.getName() ]'''&lt;br /&gt;
&lt;br /&gt;
'''-d 512'''&amp;lt;br/&amp;gt;&lt;br /&gt;
These are general debug messages.&lt;br /&gt;
 DEBUG(FOUND):        Found first div and pitching prior material: '''[ text ]'''&lt;br /&gt;
 DEBUG(FOUND):        New book is '''[ currentOsisID ]'''&lt;br /&gt;
 DEBUG(FOUND):        Current chapter is '''[ currentOsisID ]''' ('''[ osisID attribute value ]''')&lt;br /&gt;
 DEBUG(FOUND):        Entering verse&lt;br /&gt;
 DEBUG(FOUND):        New current verse is '''[ currentOsisID ]'''&lt;br /&gt;
 DEBUG(FOUND):        osisID/annotateRef is adjusted to: '''[ simpler osisID or osisRef ]'''&lt;br /&gt;
 DEBUG(COMMENTS): in comment&lt;br /&gt;
 DEBUG(COMMENTS): out of comment&lt;br /&gt;
&lt;br /&gt;
'''-d 512'''&amp;lt;br/&amp;gt;&lt;br /&gt;
The following gives the input arguments.&lt;br /&gt;
 DEBUG(ARGS):&lt;br /&gt;
         path:         '''[ path ]'''&lt;br /&gt;
         osisDoc:      '''[ osisDoc ]'''&lt;br /&gt;
         create:       '''[ append ]'''&lt;br /&gt;
         compressType: '''[ compType ]'''&lt;br /&gt;
         blockType:    '''[ iType ]'''&lt;br /&gt;
         cipherKey:    '''[ cipherKey ]'''&lt;br /&gt;
         normalize:    '''[ normalize ]'''&lt;br /&gt;
&lt;br /&gt;
== Future Roadmap ==&lt;br /&gt;
:''List here suggestions for useful enhancements to or improvements for osis2mod''.&lt;br /&gt;
&lt;br /&gt;
* Add a command line flag '''-x''' to ''exclude'' all OSIS elements with the global attribute '''editions'''.&amp;lt;ref&amp;gt;The '''editions''' attribute is used to specify edition specific content, such as material omitted in Protestant versions of the Bible.&amp;lt;/ref&amp;gt;&amp;lt;BR&amp;gt;osis2mod would exclude those elements that match the specified attribute value.&lt;br /&gt;
&lt;br /&gt;
'''Note:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Reporting issues ==&lt;br /&gt;
* [http://www.crosswire.org/tracker/browse/MODTOOLS/component/10290/ Module Tools &amp;amp;ndash; osis2mod]&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[OSIS]] &amp;amp;ndash; a partial list of other OSIS related pages and external links.&lt;br /&gt;
* [[Mod2zmod]]&lt;br /&gt;
&lt;br /&gt;
[[Category:OSIS]]&lt;br /&gt;
[[Category:Utilities]]&lt;br /&gt;
[[Category:Versification]]&lt;/div&gt;</summary>
		<author><name>Dmsmith</name></author>	</entry>

	<entry>
		<id>https://wiki.crosswire.org/index.php?title=CrossWire_KJV&amp;diff=17737</id>
		<title>CrossWire KJV</title>
		<link rel="alternate" type="text/html" href="https://wiki.crosswire.org/index.php?title=CrossWire_KJV&amp;diff=17737"/>
				<updated>2025-05-21T16:08:30Z</updated>
		
		<summary type="html">&lt;p&gt;Dmsmith: /* Reference text */  Added full archive.org links to full scans of 1769 Blaney and 1901 Louis Klopsch&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;:''This page is a work in progress''.&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
The KJV module was one of the earliest to be released and distributed by CrossWire after '''The SWORD Project''' was launched. It remains one of the most frequently downloaded modules in all our repositories.&lt;br /&gt;
&lt;br /&gt;
The KJV module text is based substantially on the '''1769 Oxford Edition''' (the basis for all modern editions), not the original 1611 first edition. See our [[EnduserFAQ#Do_you_have_the_original_King_James.2FAuthorized_Version.3F|FAQ]].&lt;br /&gt;
&lt;br /&gt;
This is the only module maintained by CrossWire volunteers. It is marked up in OSIS XML. All other modules are based on source text from external providers.&lt;br /&gt;
&lt;br /&gt;
== Provenance and acknowledgements ==&lt;br /&gt;
Strong's numbers provide a useful means for looking up the exact original language word in a lexicon that is keyed to [http://en.wikipedia.org/wiki/Strong's_Concordance Strong's Concordance].&lt;br /&gt;
&lt;br /&gt;
[http://en.wikipedia.org/wiki/Morphology_%28linguistics%29 Morphology] data provides a means to understand the structure of the original language's morphemes and other linguistic units.&lt;br /&gt;
&lt;br /&gt;
* The Strong's numbers in the OT were obtained from [http://www.bf.org/ The Bible Foundation]&lt;br /&gt;
* The Strong's data in the NT was obtained from the [[CrossWire_KJV#Text_Development_Stages|KJV2003 Project]] at CrossWire.&lt;br /&gt;
&lt;br /&gt;
Special thanks to the volunteers at Bible Foundation for keying the Hebrew/English data and of Project KJV2003 for working toward the completion of synchronizing the English phrases to the Stephanus [http://en.wikipedia.org/wiki/Textus_Receptus Textus Receptus], and to Dr. Maurice A. Robinson for providing the base Greek text with Strong's and Morphology.&lt;br /&gt;
&lt;br /&gt;
We are also appreciative of formatting markup that was provided by [http://www.ebible.org Michael Paul Johnson]. &lt;br /&gt;
&lt;br /&gt;
Their time and generosity to contribute such for the free use of the Body of Christ is a great blessing and this derivitive work could not have been possible without these efforts of so many individuals.  It is in this spirit that we in turn offer the KJV2003 Project text and its successors freely for any purpose.&lt;br /&gt;
&lt;br /&gt;
We are also appreciative for the feedback reports over the years from several individuals that have enabled us to fix minor text and markup issues by comparison with the reference texts.&lt;br /&gt;
&lt;br /&gt;
== Reference text ==&lt;br /&gt;
The CrossWire KJV is meant to be the faithful e-text edition&amp;lt;ref&amp;gt;With added features suited to the digital age we live in.&amp;lt;/ref&amp;gt; of [http://en.wikipedia.org/wiki/Benjamin_Blayney Benjamin Blayney's] 1769 Oxford edition of the KJV&amp;lt;ref&amp;gt;Excluding the Apocrypha.&amp;lt;/ref&amp;gt; (hereafter called 1769 KJV). To that end we required it to be diligently checked against a reference standard for accuracy. Finding a reference text was a daunting task, not least because  &amp;quot;most of it was destroyed by fire in the Bible warehouse&amp;quot;.&amp;lt;ref&amp;gt;[https://www.jewishencyclopedia.com/articles/3360-blayney-benjamin Jewish Encyclopedia: article by Crawford Howell Toy, Edgar Mels]&amp;lt;/ref&amp;gt; What is known today as the KJV has been changed on a regular basis since it's first publication to today.&amp;lt;ref&amp;gt;Refer to [http://en.wikipedia.org/wiki/Frederick_Henry_Ambrose_Scrivener F H A Scrivener] and to the [http://en.wikipedia.org/wiki/New_Cambridge_Paragraph_Bible New Cambridge Paragraph Bible].&amp;lt;/ref&amp;gt; Some of these changes are well known; others are quietly done by publishers.&amp;lt;ref&amp;gt;See also [https://www.purecambridgetext.com/post/concerning-the-1769-blayney-bible Concerning the 1769 Blayney Bible] and &lt;br /&gt;
[https://books.google.co.uk/books?id=KW8TuSNhBcMC&amp;amp;pg=PA242... Appendix D (page 138) of Scrivener].&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There also was a need to have a reference for red-letter text. This too varied from one modern KJV to another.&lt;br /&gt;
&lt;br /&gt;
:''See also [[User:Dmsmith/KJV_2.6#Reference_text_policy]]''.&lt;br /&gt;
&lt;br /&gt;
===Need for a reference text===&lt;br /&gt;
Ideally, the reference standard would be a faithful electronic copy of 1769 KJV. When CrossWire's KJV2006 Project was started there was no such text either as a facsimile or eText. In lieu of that, finding an acceptable text was needed to arbitrate the claims that &amp;quot;my KJV is right and it is different from what you have.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
We compared our text with two independent 1769 KJV eTexts (CCEL and InterLeaf). All of the other eTexts we found seemed to be one of these three. Those comparisons yielded differences that needed to be verified in an independent text. Thus the need for *a* dead tree text. While working on the KJV2006 release, several websites that were dedicated to producing a &amp;quot;true&amp;quot; text were abandoned with chagrin that it is not a doable task apart from having a facsimile of the 1769 KJV, which was not known.&lt;br /&gt;
&lt;br /&gt;
One criteria was finding a text that the [http://en.wikipedia.org/wiki/King_James_Only_movement KJV-only] adherents felt was more accurate 1769 KJV text. Using various listings of differences between current and &amp;quot;true&amp;quot;, dozens of dead tree texts in several stores were examined. Also, it was important to avoid copyright claims based upon minor changes in the text. Both combined to come up with the Public Domain [http://en.wikipedia.org/wiki/Scofield_Reference_Bible Old Scofield Study Bible]&amp;lt;ref&amp;gt;The use of the Scofield in no way implies our endorsement of the extensive non-canonical study notes therein.&amp;lt;/ref&amp;gt;. The Biblical text was thought to be one of the most faithful copies of the 1769 Oxford Edition.&amp;lt;ref&amp;gt;i.e. Even by those in the KJV Only movement.&amp;lt;/ref&amp;gt; It was published in 1917, which was important in terms of USA copyright law. It was also considered to be a faithful red-letter text.&lt;br /&gt;
&lt;br /&gt;
We have obtained a hard copy facsimiles of the &amp;quot;Blayney&amp;quot; 1769 KJV text folio and quarto editions. And the full pdf is available on the Internet Archives at https://archive.org/details/kjv-1769-oxford-edition-full-bible. These will be the reference text going forward.&lt;br /&gt;
&lt;br /&gt;
===Need for a reference red-letter text===&lt;br /&gt;
Red-Letter text is a fairly recent addition to the 1769 KJV. In 1899, Louis Klopsch proposed rendering the words of Christ in red letters. His work was published in 1901. Recently (2016-01-28), we've obtained Louis Klopsch's 1901 edition of the KJV and will use that as the future reference for red-letter text.&lt;br /&gt;
&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Chosen Texts===&lt;br /&gt;
The public domain Old Scofield Study Bible was used for version 2.3 to 2.10 for text and for version 2.3 to 2.9 for red-letter markup.&lt;br /&gt;
&lt;br /&gt;
The Louis Klopsch 1901 KJV is used for red-letter markup for 2.10 and later.&lt;br /&gt;
A scanned copy is available at https://archive.org/details/rubricated-american-heritage-bible-e-book&lt;br /&gt;
&lt;br /&gt;
The 1769 KJV facsimile is used for text, front-matter, notes, cross-references, titles, .... for versions after 2.11.&amp;lt;BR&amp;gt;&lt;br /&gt;
A scanned copy is available at https://archive.org/details/kjv-1769-oxford-edition-full-bible&lt;br /&gt;
&lt;br /&gt;
The following 4 quarto volumes are print on demand Gale ECCO editions&amp;lt;ref&amp;gt;These &amp;quot;high quality&amp;quot; facsimile reprints contain numerous words with dotless letter ı &amp;amp;ndash; we must therefore assume that the publisher  applied some undeclared clean-up process to the page scans to remove &amp;quot;blemishes&amp;quot; that has had the unfortunate effect of changing dotted i to dotless ı in many words.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;That clean-up process may also explain why some full-stops are missing where they would usually be expected.&amp;lt;/ref&amp;gt; published by [https://www.gale.com/ Gale].&lt;br /&gt;
* The Holy Bible, Containing the Old and New Testaments: Volume 1 of 4, [https://www.amazon.com/dp/1171169825 ISBN-13: 9781171169826]&lt;br /&gt;
* The Holy Bible, Containing the Old and New Testaments: Volume 2 of 4, [https://www.amazon.com/dp/1171169817 ISBN-13: 9781171169819]&lt;br /&gt;
* The Holy Bible, Containing the Old and New Testaments: Volume 3 of 4, [https://www.amazon.com/dp/1171169809 ISBN-13: 9781171169802]&lt;br /&gt;
* The New Testament of Our Lord and Saviour Jesus Christ, Volume 4 of 4, [https://www.amazon.com/dp/1171169795/ ISBN-13: 9781171169796]&amp;lt;br/&amp;gt;Translated Out of the Original Greek: And with the Former Translations Diligently Compared and Revised, by His Majesty's Special Command. Appointed to by Read in Churches.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Copyright ==&lt;br /&gt;
Any copyright that might be obtained for this effort is held by the CrossWire Bible Society © 2003-2023 and the CrossWire Bible Society hereby grants a general public license to use this text for any purpose.&lt;br /&gt;
&lt;br /&gt;
CrossWire's KJV module is an amalgamation of different source material. Each has its own copyright or is in the public domain.&lt;br /&gt;
* The actual text validated against 2 independent eTexts and found differences against our hard-copy reference for such.&lt;br /&gt;
* The [http://en.wikipedia.org/wiki/Red_letter_edition Red Letter] markup of the words of Christ have been validated against our hard-copy reference for such.&lt;br /&gt;
* The Strong's numbers in the OT are from [http://www.bf.org/ The Bible Foundation].&lt;br /&gt;
* The Strong's numbers in the NT are from [http://apps.sebts.edu/FacultyUploads/Maurice%20Robinson%20CV.pdf Dr Maurice A. Robinson], Senior Professor of New Testament and Greek at [http://en.wikipedia.org/wiki/Southeastern_Baptist_Theological_Seminary Southeastern Baptist Theological Seminary] in North Carolina.&lt;br /&gt;
* The OSIS XML markup is a unique effort that began with our KJV2003 project &amp;amp;ndash; Copyright © 2003-2023 The CrossWire Bible Society.&lt;br /&gt;
* The tagging of Strong's numbers to the NT text is a unique effort of our KJV2003 project &amp;amp;ndash;  Copyright © 2003-2023 The CrossWire Bible Society.&lt;br /&gt;
&lt;br /&gt;
=== Crown copyright, Letters Patent and the KJV ===&lt;br /&gt;
In the United Kingdom, the text of the [http://en.wikipedia.org/wiki/King_James_Version Authorized King James Version] of the Bible is protected by '''royal prerogative'''. &amp;quot;There is a small class of materials where the Crown claims the right to control reproduction outside normal copyright law due to '''Letters Patent''' issued under the royal prerogative. This material includes the '''King James Bible''', and the '''Book of Common Prayer'''.&amp;quot; See [http://en.wikipedia.org/wiki/Crown_copyright#United_Kingdom Crown copyright].&lt;br /&gt;
&lt;br /&gt;
In most of the world, the Authorized Version has passed out of copyright and is freely reproduced. In the United Kingdom, the British Crown restricts production of the Authorized Version per transitional exemptions from the Copyright Act 1775 (which implemented this clause) in the Copyright, Designs and Patents Act 1988 (Schedule I, section 13(1)), which expire in 2039. [http://en.wikipedia.org/wiki/Cambridge_University_Press Cambridge University Press]&amp;lt;ref&amp;gt;Cambridge University Press wrote to [[Projects:Go_Bible|Go Bible]] several years ago, acting as agents of Crown copyright. Their request was simple and straightforward, viz., that we include a clear statement about Crown copyright for the KJV. After we did that, and informed them, they seem to have been satisfied.&amp;lt;/ref&amp;gt;, [http://en.wikipedia.org/wiki/Oxford_University_Press Oxford University Press], [http://en.wikipedia.org/wiki/HarperCollins HarperCollins] and the [http://en.wikipedia.org/wiki/King's_Printer King's Printers] have the right to produce the Authorized Version. See [http://en.wikipedia.org/wiki/King_James_Bible King James Bible].&lt;br /&gt;
&lt;br /&gt;
The [http://en.wikipedia.org/wiki/British_and_Foreign_Bible_Society British &amp;amp; Foreign Bible Society] (based in the UK) respects this copyright status, although many American organisations do not respect it and treat it wrongly as if it were public domain.  In reality, the many editions of the KJV used in the USA are a revision of the text made by the [http://en.wikipedia.org/wiki/American_Bible_Society American Bible Society] and the rights for this revision are still held by ABS.&lt;br /&gt;
&lt;br /&gt;
Permission to publish the KJV in England and Wales can be obtained by following the guidance in [http://www.churchofengland.org/media/41098/litcopy.rtf A Brief Guide to Liturgical Copyright, third edition] (RTF file); permission to publish in Scotland requires contacting the Scottish Bible Board. All signatories to the International Copyright Treaty are obliged to recognize each other's copyrights, so, technically speaking, the KJV is copyrighted throughout the world. However, it is unlikely that any prosecution under copyright law would succeed outside the UK.&lt;br /&gt;
&lt;br /&gt;
'''Note:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Distribution License ===&lt;br /&gt;
Currently the files kjv.conf and kjva.conf used to contain the following key:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
DistributionLicense=General public license for distribution for any purpose&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
This form of words did not match any of the defined options listed in [[DevTools:conf Files#Copyright_.26_Licensing_related_elements|Copyright &amp;amp; Licensing related elements]]. We should change this to one of the specified items.&lt;br /&gt;
&lt;br /&gt;
:Modules version '''3.1''' and thereafter now has &amp;lt;code&amp;gt;DistributionLicense=GPL&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Features ==&lt;br /&gt;
&lt;br /&gt;
=== Hyphenated names ===&lt;br /&gt;
In the KJV module, for compound Hebrew '''names''', the corresponding names in the OT use the '''en dash''' U+2013.&amp;lt;ref&amp;gt;These occur 798 times in the KJV mdoule.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A '''hyphen''' is used by SWORD to split words as if it were a word boundary punctuation symbol. An '''en dash''' is not. &amp;lt;ref&amp;gt;It is actually '''not''' the case that an '''en dash''' in such names corresponds to a [https://en.wikipedia.org/wiki/Hebrew_punctuation#Hyphen_and_maqaf maqaf] in the Hebrew!&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;A discussion began in January 2025 about whether to use the '''non-breaking hyphen''' U+2011 instead.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Twelve instances of other English hyphenated words in both testaments use the ordinary hyphen/minus character.&amp;lt;ref&amp;gt;These being: God-ward 3, Maran-atha 1, joint-heirs 1, thee-ward 1, us-ward 3, you-ward 3.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Note:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Margin notes ===&lt;br /&gt;
The KJV module currently has no '''note''' elements in the NT.&lt;br /&gt;
&lt;br /&gt;
In a study of the marginal notes in the 1611 KJV, Scrivener&amp;lt;ref&amp;gt;Scrivener, F. H. A. ,''The Authorized Edition of the English Bible'', p. 56.&amp;lt;/ref&amp;gt; counted:&lt;br /&gt;
* 6637 in the OT&lt;br /&gt;
* 1018 in the Apocrypha&lt;br /&gt;
* 0767 in the NT&lt;br /&gt;
* 8422 in total&lt;br /&gt;
Of the 767 notes in the NT, 35 are explanatory notes or brief ex­positions, 582 give alternative translations, 112 give a more literal ren­dering of the Greek than the translators judged suitable for the text, and 37 give readings of different manuscripts.&lt;br /&gt;
&lt;br /&gt;
The KJV module (2.11 wip) currently has the following study notes:&lt;br /&gt;
* 6959 in the OT of which a few are duplicates on the same &amp;quot;page&amp;quot; for similar verses.&amp;lt;ref&amp;gt;Performing a sort operation to remove all duplicates reduces the total by 617 to 6342, though some of those removed would not be close to each other before the sort.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;cf. There are only 6955 in David's eXperimental module KJVX. 5808 verses and 47 title elements have at least one note.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Literatura Bautista''' has an article by Calvin George entitled &amp;quot;[http://en.literaturabautista.com/exhaustive-listing-marginal-notes-1611-edition-king-james-bible An exhaustive listing of the marginal notes of the 1611 edition of the King James Bible]&amp;quot;.&amp;lt;ref&amp;gt;This page lists 7344 margin notes, which is 1078 fewer than the count by Scrivener!.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;I have reported 3 typos in the webpage using the comments facility at the foot of the page. &amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;For 36 of these notes, there is no colon in the note text other than in scripture reference!&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;The notes text include 91 margin cross-refs. eg. Jeremiah 2:16 broken the crown: Or, feed on thy crown, deut. 33.12 Isai. 8.8&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;This note marks an error in the source: Matthew 5:15 a bushel: [symbol in wrong place in 1611] the word in the original signifieth a measure containing about a pint less than a peck&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;Here's another example: 1 Samuel 6:18 great stone: Or, great stone [possibly a mistake in the KJV notes? I verified with 1611 scan]&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;Notes for canonical Psalm titles are mis-referenced as Psalm N:1, but some of these notes are missing!&amp;lt;/ref&amp;gt; This is a very useful resource for checking our module and comparing with the 1769 Reference Text. [[User:David Haslam|David Haslam]] has created an Excel worksheet for this purpose. He has identified up to 22 places where an OT note may be missing from the KJV module.&lt;br /&gt;
&lt;br /&gt;
In the printed editions, the '''dagger''' symbol '''†''' (U+2020) was used when the margin displayed a more literal Hebrew meaning.&amp;lt;BR&amp;gt;The '''double vertical line''' symbol '''‖''' (U+2016) was used to express another way in which the underlying Hebrew could be translated.&amp;lt;BR&amp;gt;The '''flower punctuation''' mark '''⁕''' (U+2055) was also used in a few places.&amp;lt;ref&amp;gt;These symbols were placed at the start of the &amp;quot;catch word&amp;quot; to mark the beginning of the verse text where each note applied, which could be one or more words.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Cross references ===&lt;br /&gt;
The KJV module currently lacks any cross-references, apart from one or two that happen to be included in the margin notes. There were extensive cross-references in the 1611 first edition, and the same quantity or more in the 1769 Oxford edition. Whereas margin notes used superscripted numerical tags, the cross-references generally used lowercase letters tags, likewise superscripted and usually in italics.&lt;br /&gt;
&lt;br /&gt;
== Road map ==&lt;br /&gt;
First we must decide how to markup or correct the observed differences between the present text and the Blayney 1769 Oxford edition.&amp;lt;ref&amp;gt;Particularly what we should do with regard to spelling issues, as noted in David's user page [[User:David Haslam/Benjamin Blayney's 1769 KJV|Benjamin Blayney's 1769 KJV]].&amp;lt;/ref&amp;gt;&lt;br /&gt;
:''List briefly the further enhancements we would like to make in the future beyond the next release''.&lt;br /&gt;
=== KJV module: ===&lt;br /&gt;
* Correct the '''Cambridge''' spellings to '''Oxford''' spellings in accordance with the Blayney text.&amp;lt;ref&amp;gt;Analysis is well underway. Consult [[User:David Haslam|David]] for details.&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Undo the &amp;quot;backwards greedy matching&amp;quot; method that was applied when Strong's markup was first implemented.&amp;lt;ref&amp;gt;Each '''w''' element should only enclose the word[s] corresponding to the Strong's number[s]. This would leave a lot more text outside '''w''' elements.&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Mark all proper names with the '''name''' element&amp;lt;ref&amp;gt;OSIS 2.1.1 does not allow a '''name''' element within a '''w''' element. Marking names must therefore be done outside '''w''' elements. This might require that the &amp;quot;backwards greedy matching&amp;quot; be rolled back first. Meanwhile, an alternative approach would be to wrap each '''name''' element within a '''seg''' element, eg. &amp;lt;code&amp;gt;&amp;lt;w lemma=&amp;quot;strong:H05731&amp;quot;&amp;gt;in &amp;lt;seg&amp;gt;&amp;lt;name type=&amp;quot;geographic&amp;quot;&amp;gt;Eden&amp;lt;/name&amp;gt;&amp;lt;/seg&amp;gt;&amp;lt;/w&amp;gt;&amp;lt;/code&amp;gt; which does validate.&amp;lt;/ref&amp;gt;; with type '''person''', '''geographic''', '''nonhuman''', '''holiday''', '''ritual''', etc.&amp;lt;ref&amp;gt;These proposed name types are not yet finalised. See also [[Talk:OSIS 211 CR#Classifying_names_in_the_Bible]].&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;For name '''type=&amp;quot;person&amp;quot;''', it would be useful to define a new OSIS attribute '''sex=&amp;quot;male&amp;quot;''' or '''sex=&amp;quot;female&amp;quot;'''.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;Spelling variants could be associated by means of the '''regular''' attribute (e.g. Cedron for Kidron).&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;Consider using '''type=&amp;quot;x-book&amp;quot;''' for the names of objects such as 'the book of Jasher'. See [http://en.wikipedia.org/wiki/Non-canonical_books_referenced_in_the_Bible Non-canonical books referenced in the Bible].&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;Suggest use '''type''' value '''x-people-group''' for names such as 'Hittites', and '''x-people-group-member''' for the corresponding singular 'Hittite'.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;Suggest use '''type=&amp;quot;x-month&amp;quot;''' and '''n=&amp;quot;1&amp;quot;''' to '''n=&amp;quot;13&amp;quot;''' for the names of the months in the [https://en.wikipedia.org/wiki/Hebrew_calendar#Names_of_months Hebrew calendar].&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;Suggest include '''subType=&amp;quot;x-possessive&amp;quot;''' or '''subType=&amp;quot;x-plural&amp;quot;'''. Also to make use of the attribute '''regular''' where this is appropriate.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;Also need to identify several multi-word names in which a good part of the name is not capitalised.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;Names within study notes should also be marked with the '''name''' element.&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Mark all natural numbers with the proposed [[OSIS 211 CR#New number element|new '''number''' element]]; with the numerical value recorded in the '''n''' attribute.&lt;br /&gt;
* Use the '''inscription''' element to mark text that reports a written inscription.&lt;br /&gt;
* Use the '''q''' element to mark all other quotations, making use of a suitable set of '''who''' attribute values to identify each speaker.&amp;lt;ref&amp;gt;Currently the module only uses &amp;lt;code&amp;gt;&amp;amp;lt;q who=&amp;quot;Jesus&amp;quot;&amp;gt;...&amp;amp;lt;/q&amp;gt;&amp;lt;/code&amp;gt; to tag the words of Christ.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;The &amp;lt;tt&amp;gt;level&amp;lt;/tt&amp;gt; attribute could be added to every quotation to reflect the nesting of quoted speech.&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Mark the 'salutation text' in the Epistles with the '''salute''' element?&lt;br /&gt;
* Mark the 'benedictions' in the Epistles with the '''seg''' element and type '''benediction'''?&lt;br /&gt;
* Mark the 'sign off text' in the Epistles with the '''signed''' element?&lt;br /&gt;
* Mark the closing &amp;quot;Amen.&amp;quot; in NT books with the '''closer''' element?&amp;lt;ref&amp;gt;For some books, the closer element might enclose more than the word &amp;quot;Amen.&amp;quot; Also, 3 John doesn't end with &amp;quot;Amen.&amp;quot;&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Mark each 'refrain' in Deut 27:15-25 using the '''seg''' element and type '''refrain'''?&amp;lt;ref&amp;gt;i.e. &amp;quot;And all the people shall say, Amen.&amp;quot;&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;This would require an addition to our custom OSIS schema.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;Poetry line element '''l''' permits type=&amp;quot;refrain&amp;quot;, but the KJV doesn't use poetry lines.&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Mark each 'refrain' in Psalm 136 using the same method.&amp;lt;ref&amp;gt;i.e. &amp;quot;for his mercy endureth for ever.&amp;quot;&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;Likewise for a few other similar verses where this wording is found.&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Mark the 'canonical colophon' at the end of Job 31:40&amp;lt;ref&amp;gt;i.e. &amp;quot;The words of Job are ended.&amp;quot;&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Mark the 'canonical colophon' in Psalms 72:20&amp;lt;ref&amp;gt;i.e. &amp;quot;The prayers of David the son of Jesse are ended.&amp;quot;&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Mark the 'canonical colophon' at the end of Habakkuk 3:19&amp;lt;ref&amp;gt;i.e. &amp;quot;To the chief singer on my stringed instruments.&amp;quot;&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Move each '''note''' element to the start of its &amp;quot;catch word&amp;quot; in the verse (or title) text.&amp;lt;ref&amp;gt;Currently, all the notes are at the end of the verse. An intermediate step might be to move all notes to the start of the verse.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;Undoing the &amp;quot;backwards greedy matching&amp;quot; for Strong's markup would be a necessary prerequisite!&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Further thoughts based upon having the Blayney edition:====&lt;br /&gt;
* Audit OT notes and make any necessary corrections (e.g. Psalm 119:24,42).&lt;br /&gt;
* Check the case of the initial letter in the first word after the '''catchWord''' element.&amp;lt;ref&amp;gt;e.g. For such notes, Blayney normally has &amp;lt;code&amp;gt;That is, &amp;lt;/code&amp;gt; where the module has mostly &amp;lt;code&amp;gt;: that is, &amp;lt;/code&amp;gt;.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;Such case discrepancies were already present before we added the '''catchWord''' markup.&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Check notes text for added words not in italics (e.g. Job 31:35, 32:14, 33:29).&amp;lt;ref&amp;gt;Such words should be wrapped in the '''transChange''' element. The SWORD engine will need to support the &amp;quot;italics inversion&amp;quot; rule, or we should make a [[OSIS_211_CR|CR to OSIS 2.1.1]] to allow for the attribute &amp;lt;code&amp;gt;subType=&amp;quot;normal&amp;quot;&amp;lt;/code&amp;gt;for '''transChange'''.&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Insert the special note symbols († ‖ ⁕) from Blayney.&amp;lt;ref&amp;gt;In Blayney, these note symbols are normal case rather than superscript. There is also a space before the symbol as well as after.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;One possibility would be to use the '''milestone''' element, i.e. &amp;lt;code&amp;gt;&amp;lt;milestone type=&amp;quot;x-note&amp;quot; subType=&amp;quot;x-dvbs&amp;quot; marker=&amp;quot;‖&amp;quot;/&amp;gt;&amp;lt;/code&amp;gt; but this is not valid within a '''w''' element, so either the &amp;quot;backwards greedy matching&amp;quot; method used for Strong's markup would first need to be undone, or we could make use of the '''seg''' element to make it valid, thus: &amp;lt;code&amp;gt;&amp;lt;seg&amp;gt;&amp;lt;milestone type=&amp;quot;x-note&amp;quot; subType=&amp;quot;x-dvbs&amp;quot; marker=&amp;quot;‖&amp;quot;/&amp;gt;&amp;lt;/seg&amp;gt;&amp;lt;/code&amp;gt;&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;Ideally, such symbols should only be displayed while notes are displayed, so the SWORD engine may need to be enhanced to cover this.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;An alternative would be to use the appropriate '''marker''' attribute in each '''note''' element, but that would first require all the notes to be moved from the end of each verse/title.&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Identify the OT notes (e.g. '''Ezra 6:16''') that have an abbreviation for '''Chaldee''', and correct accordingly.&amp;lt;ref&amp;gt;There are 72 in Blayney, and the abbreviations varied, and included '''Cald''' as well as '''Chal'''['''d''']['''e'''].&amp;lt;/ref&amp;gt;&lt;br /&gt;
* At least one note had simply &amp;quot;called&amp;quot; rather than &amp;quot;also called&amp;quot; ('''1 Chronicles 8:29''' father of Gibeon: also called Jehiel).&lt;br /&gt;
* Add front-matter: dedicatory and preface, OT intro, NT intro, ....&lt;br /&gt;
* Add any end titles. e.g. The End of the /PROPHETS/. (after Malachi).&lt;br /&gt;
* Add NT chapter summaries.&amp;lt;ref name=cdt&amp;gt;Marking each verse number therein as a hyperlink to the corresponding verse. cf. The '''AKJV''' module includes these already, albeit not with such hyperlinks. NB. There are numerous typos in the chapter summaries of the AKJV module so it’s not a very reliable source.&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Add OT chapter summaries.&amp;lt;ref name=cdt&amp;gt;Marking each verse number therein as a hyperlink to the corresponding verse. cf. The '''AKJV''' module includes these already, albeit not with such hyperlinks. NB. There are numerous typos in the chapter summaries of the AKJV module so it’s not a very reliable source.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;There were never any chapter summaries for Proverbs chapters 11-24 and Haggai chapter 2.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;In Psalms, these occur ''before'' the canonical Psalm title.&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Add xrefs and notes to NT.&lt;br /&gt;
* Add xrefs to OT.&amp;lt;ref&amp;gt;References to DC books should include the attribute &amp;lt;code&amp;gt;editions=&amp;quot;KJVA&amp;quot;&amp;lt;/code&amp;gt; such that these can be filtered out when making the KJV module without the Apocrypha.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====''Tentative suggestions:''====&lt;br /&gt;
* Perform a thorough review of the Strong's Hebrew markup in the OT, identifying any incorrect Strong's numbers or misplaced, missing and/or unwarranted items.&amp;lt;ref&amp;gt;e.g. There are sixteen locations with 4 consecutive Strong's numbers, two of which are quadruple &amp;lt;code&amp;gt;&amp;lt;H03588&amp;gt;&amp;lt;/code&amp;gt;.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;e.g. Compare our Strong's markup with that of the [https://github.com/openscriptures/morphhb Open Scriptures Hebrew Bible] project.&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Add a new &amp;lt;code&amp;gt;&amp;lt;work osisWork=&amp;quot;lemma.MT&amp;quot;&amp;gt;&amp;lt;/code&amp;gt; to the OSIS header and populate the '''lemma''' attribute of every OT '''w''' element, after the &amp;lt;code&amp;gt; strong:H0nnnn &amp;lt;/code&amp;gt; value, with the corresponding &amp;lt;code&amp;gt; lemma.MT:Hebrew word[s] &amp;lt;/code&amp;gt; from the Masoretic Text, recording the original word order by adding the '''src''' attribute (like we have in the NT).&lt;br /&gt;
* Enhance the Strong's Hebrew markup to record where the Hebrew Bible has [https://en.wikipedia.org/wiki/Qere_and_Ketiv kitev/qere] variants.&lt;br /&gt;
* Include an encoded '''transliteration''' of the Hebrew words provided in such lemma attributes.&amp;lt;ref&amp;gt;These could be generated by using '''diatheke''' to process an existing Hebrew Bible module using the algorithmic transliteration method of ICU in the Lucene library.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;A useful [https://hebrewtransliteration.app/about/ resource] is the [https://www.npmjs.com/package/hebrew-transliteration Hebrew transliteration] tool developed by the Hebraist Charles Loder.&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Use the '''foreign''' element to mark text that was transliterated from (e.g.) Aramaic to Greek in the NT.&amp;lt;ref&amp;gt;Such words are already marked with the attribute &amp;lt;code&amp;gt;morph=&amp;quot;robinson:HEB&amp;quot;&amp;lt;/code&amp;gt; in the '''w''' element.&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Also tag the '''Aramaic''' personal and place '''names''' in the NT.&lt;br /&gt;
* Add pronunciation help, e.g. for proper names or to avoid ambiguity for text to speech engines.&amp;lt;ref&amp;gt;[https://en.wikipedia.org/wiki/Part-of-speech_tagging Part-of-speech tagging] can also help to distinguish (e.g.) &amp;quot;lives&amp;quot; as a verb from &amp;quot;lives&amp;quot; as a plural noun.&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Add column breaks and page breaks.&amp;lt;ref&amp;gt;Tying to the dead-tree edition. There were no page numbers in the Blayney 1769 Oxford Edition.&amp;lt;/ref&amp;gt; These would be '''milestone''' elements with either type=&amp;quot;column&amp;quot; or type=&amp;quot;pb&amp;quot;.&lt;br /&gt;
* Insert a soft hyphen (U+00AD) into every polysyllabic word that might be split at line-wrap when the module font is large relative to screen or window width.&amp;lt;ref&amp;gt;This set would include all words that were printed with a line-end hyphen in the two-column Blayney edition, but need not be restricted to that set.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;Need to confirm that the search features in the SWORD engine would ignore soft hyphens.&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Add [http://en.wikipedia.org/wiki/James_Ussher James Ussher's] chronology (found at the top of page margins) as note to chapter starts (probably in first verse or verse 0.)&amp;lt;ref&amp;gt;Some chapters change the year part way through (e.g. Gen.36).&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Split KJV into KJV and AV where AV is an orthographic representation of the 1769 KJV.&amp;lt;ref&amp;gt;The existing module already uses the letters Æ and æ.&amp;lt;/ref&amp;gt;&amp;lt;BR&amp;gt;i.e. with letters&amp;lt;ref&amp;gt;See, e.g. [https://www.babelstone.co.uk/Blog/2006/06/rules-for-long-s.html ''The Rules for Long S''] by Andrew West, 2006&amp;lt;/ref&amp;gt;: long ſ and ligatures&amp;lt;ref&amp;gt;Blayney also uses a typographical ligature for the digraphs 'ct', 'sb' &amp;amp; 'sk' but there is no Unicode codepoint for those 3 characters! The ligatures in the [https://en.wikipedia.org/wiki/Alphabetic_Presentation_Forms Alphabetic Presentation Forms] block were encoded for legacy with pre-existing character sets at the start of Unicode. A deliberate decision was later made never to encode any more Latin ligatures, so there is no chance of getting the 'ct', 'sb' &amp;amp; 'sk', etc. ligatures encoded. Please see the [https://unicode.org/faq/ligature_digraph.html Unicode FAQ] for further information.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;Unicode now considers these sort of ligatures to be a font feature. If you use a suitable font that supports Latin ligatures then you can get them by putting a '''[https://en.wikipedia.org/wiki/Zero-width_joiner ZWJ]''' between the two letters to be ligated.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;The [https://www.babelstone.co.uk/Fonts/Roman.html BabelStone Roman font] supports all the common ligatures found in 18th century English typography by inserting ZWJ where required.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;Other professional fonts should also support some or all ligatures, but you would need to check.&amp;lt;/ref&amp;gt;: œ, ﬀ, ﬁ, ﬂ, ﬃ, ﬄ, ﬅ, ﬆ … &lt;br /&gt;
* Decide whether to encode how Blayney used &amp;quot;drop caps&amp;quot; in/for the first word[s] of each chapter.&amp;lt;ref&amp;gt; This is sometimes for only the first two letters of a longer word. Example: Proverbs 19:1 '''B'''Etter, where the large letter 'B' drops below the line and displaces the start of the next line, but where the letter 'E' is also a capital.&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Insert a punctuation space before each colon and semicolon, just as in Blayney?&amp;lt;ref&amp;gt;It's conceivable that the space was built in to the metal type for these and maybe some other punctuation marks. This is probably better done by using a smart-font that spaces these two punctuation marks automatically.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
:''Details to be reviewed in the light of proposed [[OSIS 211 CR#New_Features|new OSIS features]]''.&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== KJVA module: === &lt;br /&gt;
:''KJVA is currently was not being rebuilt whenever KJV was updated. It should be.''&lt;br /&gt;
* Create the OSIS XML file for just the DC (deuterocanonical) books. Done. [[User:David Haslam|David Haslam]]&lt;br /&gt;
* Add the two prologues to Sirach: one &amp;quot;made by an uncertain Author&amp;quot;; the other &amp;quot;of the Wisdom of Jesus the Son of Sirach.&amp;quot;&lt;br /&gt;
* Add bookGroup title and bookGroup end title.&lt;br /&gt;
* Add the global attribute '''editions=&amp;quot;KJVA&amp;quot;''' to the main bookGroup div element.&lt;br /&gt;
* Update the book main titles to match those in 1769 KJV.&amp;lt;ref&amp;gt;Two books (Susanna &amp;amp; Bel) had text between the title and chapter 1.&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Remove the title type attribute of the Epistle of Jeremy in Baruch 6.&lt;br /&gt;
* Move the main title for EsthAdd to chapter 10 and remove the type attribute.&lt;br /&gt;
* Insert a horizontal ellipsis in the 12 empty verses before EsthAdd.10.4&amp;lt;ref&amp;gt;This avoids navigation issues in front-ends such as Xiphos.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt; A simple valid alternative for each empty verse would be to use a self-closing '''w''' element, &amp;lt;code&amp;gt;&amp;lt;w/&amp;gt;&amp;lt;/code&amp;gt;.&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Add chapter labels as per 1769 KJV. Use Roman numerals for chapter numbers.&lt;br /&gt;
* Minor corrections to 1Esd.1.42, 1Esd.4.6, 1Esd.4.38, 1Esd.6.1, 1Esd.6.17, 2Esd.1.1, 2Esd.6.23, 2Esd.9.17, 2Esd.9.34, Tob.3.7, Tob.3.10, Tob.6.6, Jdt.7.20, Jdt.16.12, Wis.2.22, Wis.8.7, Wis.14.24, Wis.18.24, Sir.8.1, Sir.14.20, Sir.20.32, Sir.31.26, Sir.33.16, Sir.35.2, Sir.45.10, Sir.46.18, Sir.51.20, Bar.3.2, Bar.6.15, Bar.6.72, PrAzar.1.46, PrMan.1.1, 1Macc.2.41, 1Macc.8.16, 1Macc.9.19, 1Macc.10.88, 1Macc.11.9, 1Macc.14.7, 2Macc.4.1, 2Macc.7.39, 2Macc.14.8, 2Macc.10.15, 2Macc.14.14, 2Macc.15.10&lt;br /&gt;
* Fix some remaining spelling mistakes: e.g. &amp;quot;faithfuless&amp;quot; (Sir.45.3); &amp;quot;Isreal&amp;quot; (2Macc.9.3).&lt;br /&gt;
* Marked all proper names with the '''name''' element, though without any attributes. Bipolar names unified.&lt;br /&gt;
* Successfully rebuilt the KJVA module from two XML files (KJV &amp;amp; KJVDC) using the augment flag in &amp;lt;code&amp;gt;osis2mod&amp;lt;/code&amp;gt; for the latter.&amp;lt;ref&amp;gt;An alternative would be to combine the two files '''kjv.xml''' and '''kjvdc.xml''' into one file '''kjva.xml''' by means of a suitable shell script.&amp;lt;/ref&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
* Remove unwanted significant whitespace from '''kjvdc.xml'''&amp;lt;ref&amp;gt;This was caused by applying pretty print - indent only - to the whole file. Fortunately, the unwanted whitespace appears only at the end of each verse.&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Correct the '''Cambridge''' spellings to '''Oxford''' spellings in accordance with the Blayney text.&amp;lt;ref&amp;gt;Analysis is well underway. Consult [[User:David Haslam|David]] for details.&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Audit DC books text and markup. Look especially for added words printed in italics.&amp;lt;ref&amp;gt;There are only 36 instances in the DC books that use the '''transChange''' element.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;Recent research found that Blayney simply had square brackets for each of those 36 instances, but that he had words in italics in many other places. Further research is required to list all such locations.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;In the original KJV 1611 words added were printed in smaller Roman type to contrast with the normal text in [http://en.wikipedia.org/wiki/Blackletter Gothic type].&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;Examples: &amp;quot;blessed is&amp;quot; (Wis.3.14); &amp;quot;to take him away,&amp;quot; (Wis.4.14); &amp;quot;aright&amp;quot; (Wis.8.8); &amp;quot;the fruit of&amp;quot; (Wis.10.10); &amp;quot;As namely&amp;quot; (Wis.19.7); &amp;quot;Sodomites&amp;quot; (Wis.19.14).&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Check a printed edition for any Pilcrows and add them if found.&amp;lt;ref&amp;gt;KJV 1611 had Pilcrows in 1Esd.2.8, 3.13, 4.13, 8.22,25; 2Esd.6.11; 1Macc.6.43,48, 9.23&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Check the DC books in the 1611 KJV for any extra paragraphs without a pilcrow.&amp;lt;ref&amp;gt;These could be marked as milestone type=&amp;quot;x-extra-p&amp;quot;.&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Add DC study notes. There are none in the existing module!&lt;br /&gt;
* Add DC chapter descriptions. Restore pilcrows corresponding to verses tagged therein.&amp;lt;ref&amp;gt;Verse numbers in these descriptions rarely coincide with a Pilcrow at the start of the verse.&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Add DC xrefs. cf. Blayney's Bible included DC xrefs in the PC (protocanonical) OT &amp;amp; NT books.&lt;br /&gt;
* Mark each 'refrain' in PrAzar.1.35-68 (aka the ''Benedicite'') using the '''seg''' element and type '''refrain'''?&amp;lt;ref&amp;gt;i.e. &amp;quot;praise and exalt him above all for ever&amp;quot;&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;NB. The final punctuation mark in each line of the ''Benedicite'' varies between comma and full-stop.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== History ==&lt;br /&gt;
=== Text development stages ===&lt;br /&gt;
From the time the KJV module was first released, text and markup development has been done in several major stages:&lt;br /&gt;
* The original '''KJV2003''' Project &amp;amp;ndash; ''user page no longer exists''&lt;br /&gt;
* The [http://www.crosswire.org/~dmsmith/kjv2006/ KJV2006] Project&lt;br /&gt;
* The [[User:Dmsmith/KJV2011|KJV2011]] Effort&lt;br /&gt;
* The [[User:Dmsmith/KJV 2.6|KJV 2.6]] Effort &amp;amp;ndash; begun in 2013 and ongoing...&lt;br /&gt;
* The KJV project is now hosted by CrossWire on [https://gitlab.com/crosswire-bible-society/kjv GitLab] in 2023 for KJV 2.11 and onwards&lt;br /&gt;
&lt;br /&gt;
=== Module versions ===&lt;br /&gt;
While the KJV was a module at CrossWire prior to version 2.0, this is the earliest for which dates can be determined.&amp;lt;BR&amp;gt;Dates prior to version 2.3 are best estimates. (For changes in versions 1.x, refer to the file kjv.conf)&lt;br /&gt;
&amp;lt;BR&amp;gt;The revision from 2.6 onward is a link to the released source (where available).&lt;br /&gt;
&amp;lt;BR&amp;gt;It is preferred that both modules KJV &amp;amp; KJVA should henceforth have the same version number.&amp;lt;ref&amp;gt;Therefore the KJV release after version 2.10.2 jumped straight to 3.1 - missing out 3.0 - as the KJVA module was made from the same XML file[s]. KJVA is currently version 3.1 also.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{|  width=&amp;quot;100%&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;sortable&amp;quot;&lt;br /&gt;
! width=&amp;quot;5%&amp;quot;|Revision&lt;br /&gt;
! width=&amp;quot;10%&amp;quot;|Date&lt;br /&gt;
! width=&amp;quot;85%&amp;quot;|Description&lt;br /&gt;
|- &lt;br /&gt;
| '''3.3''' ?&lt;br /&gt;
| ''Yet to prepare''&lt;br /&gt;
| Improve the OSIS markup. Minor textual changes to notes and titles.&lt;br /&gt;
|- &lt;br /&gt;
| '''3.2''' ?&lt;br /&gt;
| ''Being prepared''&amp;lt;ref&amp;gt;The changes were overtaken by the release of v3.1. It would therefore be necessary to re-implement them from that later starting point.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| Improve the OSIS markup. Minor textual changes to notes and titles.&lt;br /&gt;
Details&amp;lt;ref&amp;gt;Many of these changes were being implemented (in an unreleased eXperimental '''KJVX''' module) by [[User:David Haslam|David Haslam]] in 2014 onwards and were discussed with [[User:Dmsmith|DM Smith]] at the time.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;That was then known in-house as '''KJVX''' version 2.10 being before the release of the unrelated version 2.10.2 &amp;lt;/ref&amp;gt;: (''with progress marker'')&lt;br /&gt;
* Update our custom [[OSIS 211 CR|OSIS schema]] to properly validate '''type''' values in '''rdg''' element, etc.&lt;br /&gt;
* Move '''sID''' before '''osisID''' in each verse start element.&lt;br /&gt;
* Move '''morph''' to after '''lemma''' in each '''w''' element (in the OT).&amp;lt;ref&amp;gt;The lemma attribute is the one that specifies Strong's numbers. This is merely to be consistent in both testaments.&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Add a final full-stop to all notes previously lacking one.&lt;br /&gt;
* Fix the punctuation after a few instances of &amp;quot; etc&amp;quot;.&lt;br /&gt;
* Mark all the abbreviations for &amp;quot;etc.&amp;quot;, &amp;quot;LXX&amp;quot;, &amp;quot;Gr.&amp;quot; &amp;amp; &amp;quot;Heb.&amp;quot; found in notes using the '''abbr''' element.&lt;br /&gt;
* Add a space after the ¶ in the pilcrow milestone markers.&lt;br /&gt;
* Add the hitherto missing pilcrows ¶ in NT books: Romans&amp;amp;mdash;Revelation.&lt;br /&gt;
* Change red pilcrows ¶ to black (i.e. within text marked as &amp;quot;words of Jesus&amp;quot;)&lt;br /&gt;
* Wherever the '''divineName''' element is within text wrapped by the '''transChange''' element, insert the attribute &amp;lt;code&amp;gt; type=&amp;quot;x-added&amp;quot;&amp;lt;/code&amp;gt; to the former, so that the 13 such instances can be readily found.&lt;br /&gt;
* Make minor corrections to a few notes.&lt;br /&gt;
* Add the comma after &amp;quot;: or&amp;quot; and &amp;quot;: that is&amp;quot; that was missing from some notes. &lt;br /&gt;
* Improve markup for '''colophon''' div in each Pauline epistle.&lt;br /&gt;
* Add '''osisID''' to the canonical Psalm titles.&lt;br /&gt;
* Add '''bookGroup''' div elements for OT &amp;amp; NT.&amp;lt;ref&amp;gt;cf. The deuterocanonical books for the KJVA module are already wrapped within such a '''bookGroup''' div for DC.&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Add '''majorSection''' div elements for the five books in the Psalter (but without titles)&lt;br /&gt;
* Remove the redundant '''chapterTitle''' attribute from the '''chapter''' element.&lt;br /&gt;
* Make '''canonical''' the first attribute in '''div''' &amp;amp; '''title''' elements. They line up better!&lt;br /&gt;
* Mark up the '''title''' element for each chapter &amp;amp; psalm to to match the Blayney edition.&lt;br /&gt;
* Use '''Roman numerals''' for chapter &amp;amp; psalm numbers.&lt;br /&gt;
* Update Words of Christ (red letter markup) to match Louis Klopsch's 1901 edition.&lt;br /&gt;
* Update the 66 book titles to match those in the Blayney edition (including a final full-stop).&lt;br /&gt;
* Move 47 notes from Psalms verse 1 to the canonical '''title''' element.&lt;br /&gt;
* Minor corrections to two Psalm titles.&lt;br /&gt;
* Updated the '''osisID''' for each canonical Psalm title.&lt;br /&gt;
* Add '''osisRef''' to each '''catchWord''' element in the study '''note'''s, using the '''@s''' fine-grain operator.&lt;br /&gt;
* Add '''osisID''' &amp;amp; '''n''' attributes to each '''note''' element.&lt;br /&gt;
* Insert file history in the OSIS header using the '''revisionDesc''' element (for '''KJV 2.0''' to '''3.1''').&amp;lt;ref&amp;gt;Excludes details of conf file updates.&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Rearrange the source XML for improved readability while ''preserving'' '''significant whitespace'''.&amp;lt;ref&amp;gt;On 2023-06-15, [[User:David Haslam|David Haslam]] designed a special TextPipe filter that achieves this goal. It can be applied to any XML file.&amp;lt;BR&amp;gt;For OSIS files, it also removes unwanted whitespace just before a '''verse eID''' milestone.&amp;lt;/ref&amp;gt;&lt;br /&gt;
-----&lt;br /&gt;
* Move '''type''' to before '''subType''' in each '''milestone''' element.&lt;br /&gt;
* Move '''src''' to before '''lemma''' in each '''w''' element.&lt;br /&gt;
* Add some few notes missing from the OT (less than 22).&lt;br /&gt;
* Identify and fix the notes for which the '''catchWord''' text doesn't properly match the verse text (e.g. '''Job.8.20''').&amp;lt;ref&amp;gt;[[User:Dmsmith/KJV_2.6#Unmatched catchWord text, KJV 3.2 (if possible)]]&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Check the notes order for verses with multiple notes.&amp;lt;ref&amp;gt;Not required if we move each note to before its '''catchWord''' text.&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Review notes not found in the 1611 by comparison with the list from SB.&lt;br /&gt;
* Pad all Strong's numbers with leading zeros to 5 digits for Hebrew and 4 digits for Greek?&amp;lt;ref&amp;gt;Then the displayed numeric codes would match the entries in Xiphos dictionary module StrongsRealHebrew. Module StrongsRealGreek is padded to 5 digits yet module '''ESV_th''' has 4 digits for Greek.&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Review and further update conf file where required.&lt;br /&gt;
|- &lt;br /&gt;
| '''3.1'''&lt;br /&gt;
| 2023-07-19&lt;br /&gt;
| Several textual/markup corrections.&lt;br /&gt;
Details: (''with links to tracker where appropriate'')&lt;br /&gt;
* Move a misplaced question mark at the end of '''Numbers 16:13''' to after the '''w''' element.&lt;br /&gt;
* Correct '''rdg''' attribute type=&amp;quot;alternative&amp;quot; (2.9) to &amp;quot;alternate&amp;quot;.&amp;lt;ref&amp;gt;This was to fix a minor but systematic mistake that DFH made in 2016 that is hitherto not detected by OSIS validation.&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Update '''Strong''''s numbers and '''lemma.TR''' to the latest '''TR''' from Maurice Robinson.&amp;lt;ref&amp;gt;This was received on or before 2016-02-07. A total of 5888 verses had at least one detailed change; these changes were located in 1494 different contiguous verse groups. In addition to corrections to Strong's numbers and/or morph entries, there were also a few character level corrections in some Greek words.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;As a side benefit, update CrossWire's TR module to match.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;This was implemented by merging the updates from [https://www.crosswire.org/~dmsmith/kjv2011/kjv2.9a/ KJV 2.9a].&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Update '''Words of Christ''' (red letter markup) to match Louis Klopsch's 1901 edition.&lt;br /&gt;
* Correction of '''Ps.2.4''': the Lord → the &amp;lt;divineName&amp;gt;Lord&amp;lt;/divineName&amp;gt;.&lt;br /&gt;
* [https://tracker.crosswire.org/projects/MOD/issues/MOD-448 MOD-448]: many errors with strong G3688, changed to G3588.&lt;br /&gt;
* Five locations where small-caps was inappropriate for the divine name &amp;lt;divineName&amp;gt;Lord&amp;lt;/divineName&amp;gt; change for &amp;lt;divineName&amp;gt;LORD&amp;lt;/divineName&amp;gt; '''Exodus 28:36''', '''Exodus 39:30''', '''Deuteronomy 28:58''', '''Jeremiah 23:6''', '''Zechariah 14:20'''.&lt;br /&gt;
* [https://tracker.crosswire.org/projects/MOD/issues/MOD-411 MOD-411]: capitalization in title of '''Psalm 80''', Shoshannim–eduth → Shoshannim–Eduth.&lt;br /&gt;
* [https://tracker.crosswire.org/projects/MOD/issues/MOD-408 MOD-408]: italics in '''Nahum 1:3''', (&amp;lt;w lemma=strong:H01870&amp;gt;hath his way&amp;lt;/w&amp;gt;) → (&amp;lt;transChange type=added&amp;gt;hath&amp;lt;/transChange&amp;gt; &amp;lt;w lemma=strong:H01870&amp;gt;his way&amp;lt;/w&amp;gt;).&lt;br /&gt;
* [https://tracker.crosswire.org/projects/MOD/issues/MOD-358 MOD-358]: Missing red letter markup in '''Luke 11:2''', red marker &amp;lt;q who=Jesus marker=&amp;gt; moved before 'When'.&lt;br /&gt;
* [https://tracker.crosswire.org/projects/MOD/issues/MOD-413 MOD-413]: multiple text issues (italics, spelling, ...).&lt;br /&gt;
* [https://tracker.crosswire.org/projects/MOD/issues/MOD-441 MOD-441]: Missing strong number for the seventh word (dead) in '''1 Corinthians 15:35'''.&lt;br /&gt;
* [https://tracker.crosswire.org/projects/MOD/issues/MOD-419 MOD-419]: Spurious &amp;quot;or&amp;quot; removed from '''Joshua 19:2'''.&lt;br /&gt;
* '''Exodus 17:15''' had &amp;quot;Jehovah–nissi&amp;quot; but Blayney has &amp;quot;JEHOVAH–nissi&amp;quot; (all caps &amp;amp;ndash; not small-caps).&amp;lt;ref&amp;gt;Albeit &amp;quot;Jehovah–jireh&amp;quot; in '''Genesis 22:14''' and &amp;quot;Jehovah–shalom&amp;quot; in '''Judges 6:24''' are both with title case in Blayney.&amp;lt;/ref&amp;gt;&lt;br /&gt;
* '''1 John 2:23''' had &amp;quot;''(but)''&amp;quot; whereas Blayney has &amp;quot;[''but'']&amp;quot; though the brackets are not with italics! &lt;br /&gt;
* Fix the duplication of &amp;quot;exceeding abundantly &amp;quot; in '''Ephesians 3:20'''.&lt;br /&gt;
* Remove a spurious comma in '''Genesis 1:2''' and '''2:9''' that are absent in Blayney.&lt;br /&gt;
* [http://jira.crosswire.org/browse/MOD-453 MOD-453 comment] Correct the markup in in '''Ezra 5:3,6; 6.6,13''' for the word '''Tatnai'''.&amp;lt;ref&amp;gt;Replace &amp;lt;code&amp;gt;&amp;lt;w morph=&amp;quot;strongMorph:TH8674&amp;quot;&amp;gt;&amp;lt;/code&amp;gt; by &amp;lt;code&amp;gt;&amp;lt;w lemma=&amp;quot;strong:H8674&amp;quot;&amp;gt;&amp;lt;/code&amp;gt;&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Corrected the spelling for &amp;lt;code&amp;gt;Zaccheus&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;Cesar&amp;lt;/code&amp;gt; / &amp;lt;code&amp;gt;Cesarea&amp;lt;/code&amp;gt; to match that in Blayney.&lt;br /&gt;
* Corrected the several other names that had either &amp;lt;code&amp;gt;æ&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;Æ&amp;lt;/code&amp;gt; to use &amp;lt;code&amp;gt;e&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;E&amp;lt;/code&amp;gt; &amp;amp;ndash; the one exception in Blayney being &amp;lt;code&amp;gt;Ænon&amp;lt;/code&amp;gt;.&lt;br /&gt;
|- &lt;br /&gt;
| '''2.10.2'''&lt;br /&gt;
| 2021-04-04&lt;br /&gt;
| Emergency update&amp;lt;ref&amp;gt;This was an out of band release by CrossWire's founder. Source text was to be updated.&amp;lt;/ref&amp;gt; to fix errant article Strong's markup in '''Romans 3:26'''&lt;br /&gt;
|- &lt;br /&gt;
| [https://www.crosswire.org/~dmsmith/kjv2011/kjv2.9/kjv-osis-201601210734-2_9.zip 2.9]&lt;br /&gt;
| 2016-01-21&lt;br /&gt;
| Improved OSIS markup.&lt;br /&gt;
Details:&lt;br /&gt;
* Added '''catchWord''' and reading ('''rdg''') markup to notes.&lt;br /&gt;
* Improved markup placement for ''Selah'' in 13 places.&lt;br /&gt;
|- &lt;br /&gt;
| [https://www.crosswire.org/~dmsmith/kjv2011/kjv2.8/kjv2_8-osis-201512200842.zip 2.8]&lt;br /&gt;
| 2015-12-20&lt;br /&gt;
| Improved OSIS markup.&lt;br /&gt;
Details:&lt;br /&gt;
* Moved Ps 119 acrostic titles before verse number.&lt;br /&gt;
* Changed double spaces to a single space.&lt;br /&gt;
* Changed &amp;quot;Heb &amp;quot; to &amp;quot;Heb. &amp;quot; in notes.&lt;br /&gt;
* Added Feature=NoParagraphs.&lt;br /&gt;
|- &lt;br /&gt;
| [https://www.crosswire.org/~dmsmith/kjv2011/kjv2.7/kjv2_7-osis201508291819.zip 2.7]&lt;br /&gt;
| 2015-08-09&lt;br /&gt;
| Fixed bugs preventing the display of some Strong's Numbers in the Old Testament.&amp;lt;BR&amp;gt;Improved markup of Strong's numbers in 2 Cor 15.&lt;br /&gt;
|- &lt;br /&gt;
| [https://www.crosswire.org/~dmsmith/kjv2011/kjv2.6/kjv-osis-201402190055.zip 2.6.1]&lt;br /&gt;
| 2014-02-15&lt;br /&gt;
| Added GlobalOptionFilter for OSISLemma&lt;br /&gt;
|- &lt;br /&gt;
| [https://www.crosswire.org/~dmsmith/kjv2011/kjv2.6/kjv-osis-201402190055.zip 2.6]&lt;br /&gt;
| 2013-10-05&lt;br /&gt;
| Fixed bugs. Added Greek from TR.&lt;br /&gt;
|- &lt;br /&gt;
| 2.5&lt;br /&gt;
| 2013-02-02&lt;br /&gt;
| Fixed bugs. See: [[User:Dmsmith/KJV2011|KJV2011]]&lt;br /&gt;
Details:&lt;br /&gt;
* Fixed markup of added words.&lt;br /&gt;
* Fixed more Words of Christ markup.&lt;br /&gt;
* Fixed punctuation, apostrophes, dashes and placement of spaces.&lt;br /&gt;
* Fixed the markup of a word that was split into two parts.&lt;br /&gt;
* Other bug fixes.&lt;br /&gt;
|- &lt;br /&gt;
| 2.4&lt;br /&gt;
| 2009-05-29&lt;br /&gt;
| Fixed bugs. Updated red-letter markup of Words of Christ.&lt;br /&gt;
|- &lt;br /&gt;
| 2.3&lt;br /&gt;
| 2006-10-09&lt;br /&gt;
| Fixed bugs. See: [http://crosswire.org/~dmsmith/kjv2006/ Project KJV2006]&lt;br /&gt;
Goals:&lt;br /&gt;
* Faithful representation of the KJV.&lt;br /&gt;
* Each book of the Bible is well-formed xml.&lt;br /&gt;
* Each book of the Bible is valid OSIS xml according to the 2.1.1 schema.&lt;br /&gt;
* The markup conforms to OSIS best practices as mentioned on the Sword-devel mailing list and the OSIS 2.1.1 user's manual&lt;br /&gt;
* Strong's markup normalized.&lt;br /&gt;
&lt;br /&gt;
Details:&lt;br /&gt;
* The xml is now well-formed.&lt;br /&gt;
* The xml is now valid OSIS 2.1.1&lt;br /&gt;
* Strong's numbers have been normalized.&lt;br /&gt;
* Fixed the missing 's in the OT&lt;br /&gt;
* Moved whitespace and punctuation to a more sensible location and fixed whitespace problems.&lt;br /&gt;
* Positioned the [http://en.wikipedia.org/wiki/Pilcrow pilcrow symbol] ¶ at the start of verses.&lt;br /&gt;
* Validated against Old Scofield Study Bible for all differences found by comparing against&lt;br /&gt;
::(a) the KJV encoded by Tim Lanfear for CCEL.&lt;br /&gt;
::(b) the KJV encoded Interleaf Bible.&lt;br /&gt;
* Fixed all existing titles and added missing ones.&lt;br /&gt;
* Fixed paragraphing&lt;br /&gt;
* Tagged all inscriptions&lt;br /&gt;
* Fixed and tagged all divine names&lt;br /&gt;
* Added xlit to w elements for the acrostic in Psalm 119&lt;br /&gt;
* Hyphenated names&lt;br /&gt;
* Fixed names with the letter &amp;lt;code&amp;gt;Æ&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;æ&amp;lt;/code&amp;gt;&amp;lt;ref&amp;gt;It was later reported that two names in the NT are exceptions to using either &amp;lt;code&amp;gt;ae&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;æ&amp;lt;/code&amp;gt; ― &amp;lt;code&amp;gt;Zaccheus&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;Cesar&amp;lt;/code&amp;gt; are the spellings in the Blayney 1769 edition. These are being corrected in version 3.1&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Fixed a bug in osis2mod that incorrectly encoded the last verse of each book&lt;br /&gt;
* Removed Strong's number H00 as it does not exist.&lt;br /&gt;
|- &lt;br /&gt;
| 2.2&lt;br /&gt;
| 2004-07-25&lt;br /&gt;
| Updated to 20040121 snapshot of KJV2003.&lt;br /&gt;
|- &lt;br /&gt;
| 2.1&lt;br /&gt;
| 2003-06-24&lt;br /&gt;
| Changed Old Testament to use OSIS tags, removing the last of the GBF markup.&amp;lt;BR&amp;gt;Also updated to 20030624 snapshot of KJV2003.  Compressed.&lt;br /&gt;
|- &lt;br /&gt;
| 2.0&lt;br /&gt;
| 2003-01-08&lt;br /&gt;
| Changed New Testament to use a snapshot of the KJV2003 Project&lt;br /&gt;
|}&lt;br /&gt;
'''Note:'''&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Errata==&lt;br /&gt;
Use this section to record any reported or discovered errors for either KJV or KJVA module.&lt;br /&gt;
===Textual errata===&lt;br /&gt;
&lt;br /&gt;
==== Errata in Blayney ====&lt;br /&gt;
These observations have been gleaned from an online discussion [https://www.facebook.com/groups/467217787457422/posts/1315969992582193/ thread] within a public group on Facebook called [https://www.facebook.com/groups/467217787457422/ Textus Receptus Academy]:&lt;br /&gt;
:Today's post-1900 KJV editions are not the 1769 Oxford edition. The 1769 Oxford edition was not free from any man-made error. The 1769 Oxford edition actually introduced some new man-made errors into KJV editions. For one example, the printer or typesetter introduced an error at Exodus 6:21 &amp;quot;Zithri&amp;quot; [taken from the last word of Exodus 6:22] instead of &amp;quot;Zichri&amp;quot;, and that new printing error remained uncorrected in most Cambridge and Oxford editions of the KJV for over 100 years. The 1873 Cambridge edition by [https://en.wikipedia.org/wiki/Frederick_Henry_Ambrose_Scrivener Scrivener] would correct this error. There were other man-made errors in the 1769 Oxford edition of the KJV.&lt;br /&gt;
&lt;br /&gt;
:T. H. Darlow and H. F. Moule observed that the 1769 edition &amp;quot;contains many misprints, probably more than 'the commonly estimated number of 116‘&amp;quot; ([https://archive.org/details/historicalcatal00librgoog Historical Catalogue of the Printed Editions of Holy Scriptures], I, p. 294). &lt;br /&gt;
&lt;br /&gt;
:The [https://www.google.co.uk/books/edition/_/vboYAAAAYAAJ?hl=en Cyclopaedia of Literary and Scientific Anecdote] edited by [https://en.wikipedia.org/wiki/William_Keddie William Keddie] asserted: “What is in England called the Standard Bible is that printed at Oxford, in 1769, which was superintended by Dr. Blayney; yet it has been ascertained that there are at least one hundred and sixteen errors in it” (p. 189). The [https://www.cambridge.org/core/series/cambridge-history-of-the-bible/017493FD583405F1E3038D248299B552# Cambridge History of the Bible] noted that Blayney’s edition “was indeed erroneous in many places” (Vol. 3, p. 464). [https://en.wikipedia.org/wiki/David_Daniell_(author) David Daniell] also asserted that the 1769 Oxford standard KJV edition included “many errors,” and that it repeated “most of Dr. Paris’s errors” (Bible in English, pp. 606, 620). Before a committee of Parliament, Adam Thomson stated: “Dr. Blayney’s edition itself is very incorrect; the errors are both numerous and important” (Reports from Committees, Vol. XXII, p. 42). In an overstatement at least concerning omissions, [https://en.wikipedia.org/wiki/W._J._Loftie William Loftie] asserted that “Blayney’s folio of 1769” “abounds in omissions and misprints: yet this is still considered a standard edition” ([https://www.cambridge.org/core/books/abs/century-of-bibles/introductory/2DA176FC1171CE5AAB3FB32CF4A838B6 Century of Bibles], p. 21).&lt;br /&gt;
&lt;br /&gt;
:In around 90 places, the 1769 Oxford edition has &amp;quot;LORD&amp;quot; [Jehovah] while most present KJV editions [besides The Companion Bible and perhaps a few others] have &amp;quot;Lord.&amp;quot; This is a list of those places: [Gen. 18:27, Gen. 18:30, Gen. 18:31, Gen. 18:32, Gen. 20:4, Exod. 15:17, Exod. 34:9, Num. 14:17, Josh. 3:11, Jud. 13:8, 1 Kings 3:10, 1 Kings 22:6, 2 Kings 7:6, 2 Kings 19:23, Neh. 1:11, Neh. 4:14, Neh. 8:10, Job 28:28, Ps. 2:4, Ps. 22:30, Ps. 35:17, Ps. 35:22, Ps. 37:13, Ps. 38:9, Ps. 38:15, Ps. 38:22, Ps. 39:7, Ps. 40:17, Ps. 44:23, Ps. 51:15, Ps. 54:4, Ps. 55:9, Ps. 57:9, Ps. 59:11, Ps. 62:12, Ps. 66:18, Ps. 68:11, Ps. 68:17, Ps. 68:19, Ps. 68:22, Ps. 68:32, Ps. 77:2, Ps. 77:7, Ps. 78:65, Ps. 79:12, Ps. 86:3, Ps. 86:4, Ps. 86:5, Ps. 86:8, Ps. 86:9, Ps. 86:12, Ps. 86:15, Ps. 89:49, Ps. 89:50, Ps. 97:5, Ps. 110:5, Ps. 114:7, Ps. 130:2, Ps. 130:3, Ps. 130:6, Ps. 135:5, Ps. 136:3, Ps. 140:7, Ps. 141:8, Ps. 147:5, Isa. 3:17, Isa. 3:18, Isa. 4:4, Isa. 9:8, Isa. 9:17, Isa. 11:11, Isa. 21:6, Isa. 21:16, Lam. 1:14, Lam. 1:15, Lam. 2:1, Lam. 2:5, Lam. 2:7, Lam. 2:20, Lam. 3:31, Lam. 3:36, Lam. 3:37, Lam. 3:58, Ezek. 18:25, Ezek. 18:29, Zech. 4:14, Zech. 6:5, Zech. 9:4, Mal. 1:14, Mal. 3:1].&lt;br /&gt;
&lt;br /&gt;
:At four verses, the 1769 Oxford has “Lord” where present KJV editions have “LORD” [Gen. 30:30, Deut. 29:23, Jud. 2:23, Jer. 7:4]. The 1769 Oxford has “LORD God” where most present KJV editions have “Lord GOD” at some verses [Exod. 23:17, Exod. 34:23, 2 Sam. 7:18, 2 Sam. 7:19, 2 Sam. 7:20, 2 Sam. 7:28, Isa. 56:8]. At Daniel 9:3, the 1769 Oxford has “Lord GOD” instead of “Lord God” that is in most present KJV editions. The 1769 Oxford has “Lord God” at seven verses where present KJV editions have “Lord GOD” [Jud. 6:22, Isa. 3:15, Isa. 61:1, Ezek. 16:23, Ezek. 23:35, Ezek. 32:11, Ezek. 45:9]. The 1769 Oxford has “LORD GOD” at one verse [Amos 6:8].&lt;br /&gt;
&lt;br /&gt;
:The 1769 Oxford still has “God” at 2 Samuel 12:22 instead of “GOD.” This change to indicate that the Hebrew has the name Jehovah was not introduced into KJV editions until the 1829 Oxford edition. This correction was made over 50 years after 1769.&lt;br /&gt;
&lt;br /&gt;
:Other places where the 1769 Oxford edition would differ from most present KJV editions include the following Old Testament examples: “Heman” (Gen. 36:22), “thy progenitors” (Gen. 49:26), “Zithri” (Exod. 6:21), “travel’ (Num. 20:14), “brakedst” (Deut. 10:2), “thy tithe“ (Deut. 12:17), “thy earth” (Deut. 12:19), “the widow’s” (Deut. 24:17), “Beer-sheba, Sheba” (Josh. 19:2), “children of Gilead” (Jud. 11:7), “all the coast” (Jud. 19:29), “in a straight“ (1 Sam. 13:6), “Shimei“ (1 Chron. 6:30), “whom God alone” (1 Chron. 29:1), “on the pillars” (2 Chron. 4:12), “thy companions’ (Job 41:6), “unto me“ (Ps. 18:47), “my foot” (Ps. 31:8), “feared” (Ps. 60:4), “in the presence” (Ps. 68:2), “part“ (Ps. 78:66), “When there were” (Ps. 105:12), “gates of iron” (Ps. 107:16), “the latter end” (Prov. 19:20), “riches, honour” (Prov. 22:4), “king of Jerusalem” (Eccl. 1:1), “gone to” (Isa. 15:2), “travel‘ (Lam. 3:5), “a brier” (Micah 7:4), and “mighty is spoiled” (Zech. 11:2).&lt;br /&gt;
&lt;br /&gt;
:In the New Testament, examples include “And in the same” (Luke 7:21), “ye enter not” (Luke 11:52), “lifted“ (Luke 16:23), “and the truth” (John 14:6), “the names” (Acts 1:15), “Now if do” (Rom. 7:20), “not in unbelief” (Rom. 11:23), “the earth” (1 Cor. 4:13), “was done“ (2 Cor. 3:11), “about” (2 Cor. 12:2), “you were inferior” (2 Cor. 12:13), “those who” (Gal. 2:6), “the holy apostles” (Eph. 3:5), “broidered” (1 Tim. 2:9), “sprinkled likewise” (Heb. 9:21), “our joy” (1 John 1:4), and several missing words at Revelation 18:22.&lt;br /&gt;
&lt;br /&gt;
:Several of these renderings were introduced in the 1769 Oxford while some were kept from earlier KJV editions. For example, “king of Jerusalem” (Eccl. 1:1) was in the standard 1629 and 1638 Cambridge editions while “and the truth” (John 14:6) was in the 1638 Cambridge. Some of them may have been intentional editing decisions while others may have been unintentionally introduced by the typesetters/printers.&lt;br /&gt;
&lt;br /&gt;
:''The added links are mine, not part of the cited thread''. [[User:David Haslam|David Haslam]] ([[User talk:David Haslam|talk]])&lt;br /&gt;
&lt;br /&gt;
==== KJV ====&lt;br /&gt;
''Include any new issues here''&lt;br /&gt;
==== KJVA (DC books) ====&lt;br /&gt;
* '''Judith 10:1''' Now after that she had ceased to cry unto the God of Israel, and '''bad''' made an end of all these words.&amp;lt;BR&amp;gt;The highlighted word should be 'had'. [[User:David Haslam|David Haslam]] ([[User talk:David Haslam|talk]])&lt;br /&gt;
::Fixed in '''KJVA''' v'''3.1''' [[User:David Haslam|David Haslam]] ([[User talk:David Haslam|talk]])&lt;br /&gt;
&lt;br /&gt;
===Margin notes errata===&lt;br /&gt;
A thorough review of the notes in the KJV Old Testament is required.&lt;br /&gt;
&lt;br /&gt;
''Include any further new issues below in this section.''&lt;br /&gt;
&lt;br /&gt;
* In '''Job 40:15''', the margin note tagged for &amp;lt;code&amp;gt;behemoth&amp;lt;/code&amp;gt; reads: &amp;lt;code&amp;gt;Or, ''the elephant'' as some think&amp;lt;/code&amp;gt;&lt;br /&gt;
:cf. The '''KJV''' module '''v3.1''' currently has: &amp;lt;code&amp;gt;behemoth: probably an extinct animal of some kind&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Strong's numbers errata===&lt;br /&gt;
''Include any new issues here.''&lt;br /&gt;
* There are 108&amp;lt;ref&amp;gt;This figure now ''excludes'' the 100 consecutive numbers from G3203 to G3302 that were not present even in the first edition of [https://en.wikipedia.org/wiki/James_Strong_(theologian) Strong]'s Concordance.&amp;lt;/ref&amp;gt; Strong's Greek numbers&amp;lt;ref&amp;gt;These are listed in the [[Talk:CrossWire_KJV|Talk]] page.&amp;lt;/ref&amp;gt; missing.&lt;br /&gt;
* It was thought that there were no Strong's Hebrew numbers missing.&amp;lt;ref&amp;gt;It's since been reported that H05048 is missing from '''Obadiah 1:11'''&amp;lt;/ref&amp;gt;&lt;br /&gt;
* A study has begun to compare the Strong's Hebrew numbers of the KJV with those of the [https://github.com/openscriptures/morphhb OSHB]. See [https://gitlab.com/crosswire-bible-society/kjv/-/issues/31 issue #31]&lt;br /&gt;
* A further study has begun to compare the Strong's Hebrew numbers of the KJV with those of the '''THOT''' module available from STEP Bible.&lt;br /&gt;
* In '''I Kings 4:13''', the two numbers for '''Ramoth–gilead''' are in the wrong order compared to the other 18 instances.&lt;br /&gt;
&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Morphology errata===&lt;br /&gt;
''Include any new issues here.''&lt;br /&gt;
&lt;br /&gt;
Should all the &amp;lt;code&amp;gt;strongMorph:THnnnn&amp;lt;/code&amp;gt; codes be removed from the OT in the KJV module?&amp;lt;ref&amp;gt;There is no '''strongMorph''' dictionary module for Hebrew Morphology. There are 135 unique &amp;lt;code&amp;gt;strongMorph:THnnnn&amp;lt;/code&amp;gt; codes but I know of no dictionary or other database that these numeric codes '''TH8675''' through '''TH8809''' might map to.&amp;lt;/ref&amp;gt; [[User:David Haslam|David Haslam]] ([[User talk:David Haslam|talk]]) &lt;br /&gt;
&lt;br /&gt;
'''Note:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Help:Contents#Modules|Reporting module issues]]&lt;br /&gt;
* [[User:David Haslam/Benjamin Blayney's 1769 KJV|Benjamin Blayney's 1769 KJV]] &amp;amp;ndash; [[User:David Haslam|David Haslam]] ([[User talk:David Haslam|talk]])'s user page&lt;br /&gt;
* [[KJV 1611]]&lt;br /&gt;
&lt;br /&gt;
== Hebrew calendar ==&lt;br /&gt;
KJV words include the names of the months in the [https://en.wikipedia.org/wiki/Hebrew_calendar Hebrew calendar].&lt;br /&gt;
&lt;br /&gt;
== Biblical lists ==&lt;br /&gt;
This might be useful. There are other similar lists in the same category.&lt;br /&gt;
* https://en.wikipedia.org/wiki/List_of_biblical_names&lt;br /&gt;
* https://en.wikipedia.org/wiki/List_of_biblical_places&lt;br /&gt;
* https://en.wikipedia.org/wiki/List_of_animals_in_the_Bible&lt;br /&gt;
* https://en.wikipedia.org/wiki/List_of_plants_in_the_Bible&lt;br /&gt;
* https://en.wikipedia.org/wiki/List_of_precious_stones_in_the_Bible&lt;br /&gt;
* https://en.wikipedia.org/wiki/List_of_women_in_the_Bible&lt;br /&gt;
* https://en.wikipedia.org/wiki/List_of_major_biblical_figures&lt;br /&gt;
* https://en.wikipedia.org/wiki/List_of_minor_biblical_figures,_A%E2%80%93K&lt;br /&gt;
* https://en.wikipedia.org/wiki/List_of_minor_biblical_figures,_L%E2%80%93Z&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
# The OSIS User Manual has no defined markup for animals, plants and precious stones.&amp;lt;BR&amp;gt;&lt;br /&gt;
# For names and places, the name element with type=&amp;quot;person&amp;quot; or &amp;quot;geographic&amp;quot; is already defined. &lt;br /&gt;
# The other defined name type attribute values are &amp;quot;holiday&amp;quot;,  &amp;quot;nonhuman&amp;quot;,  &amp;quot;ritual&amp;quot;.&lt;br /&gt;
# These need to be extended. See [[Talk:OSIS 211 CR#Classifying_names_in_the_Bible]].&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
* [http://www.worldcat.org/oclc/745260506 The holy Bible, containing the Old and New Testaments: Translated out of The Original Tongues: And with the Former Translations Diligently Compared and Revised : By His Majesty's Special Command. Appointed to be read in Churches.] &amp;amp;ndash; '''Benjamin Blayney 1769 Oxford Edition''' available as eBook via OCLC '''WorldCat''', can be ordered from participating libraries.&lt;br /&gt;
* [http://www.crossway.org/blog/2006/03/red-letter-origin/ Origin of Red-Letter Bibles] &amp;amp;ndash; CrossWay blog,  March 23, 2006. Somewhat more informative than the Wikipedia [http://en.wikipedia.org/wiki/Red_letter_edition page].&lt;br /&gt;
* [http://books.google.co.uk/books?vid=BL:A0017123081&amp;amp;hl=en Fenwick, George (1759), ''Thoughts on the Hebrew titles of the Psalms : and on some of those in the Septuagint, endeavouring to discover the meaning, and point out the use of them'']&lt;br /&gt;
* [http://books.google.co.uk/books/about/The_Holy_Bible_Containing_the_Old_and_Ne.html?id=MGNljgEACAAJ Benjamin Blayney, T. Wright and W. Gill; and sold by R. Baldwin, and S. Crowder, London; and by W. Jackson, in Oxford, 1769] &amp;amp;ndash; Google books digitisation (only Gen-Exod to date; accessed 2016-02-09).&lt;br /&gt;
* [http://books.google.co.uk/books?id=fINaAAAAYAAJ An 1872 edition of the KJV] &amp;amp;ndash; Google books &lt;br /&gt;
* [https://wayback.archive.org/web/20150122023721/http://www.contendingfortruth.com/wp-content/uploads/KJV-Differences-Cambridge-Oxford-Text.pdf Differences Between The Cambridge and Oxford King James Bibles] &amp;amp;ndash; now on Internet Archive only (retrieved 2017-03-13).&lt;br /&gt;
* The [https://en.wikipedia.org/wiki/New_Cambridge_Paragraph_Bible New Cambridge Paragraph Bible]&lt;br /&gt;
* [https://www.amazon.co.uk/d/Books/Textual-History-King-James-Bible-David-Norton/0521771005/ A Textual History of the King James Bible] &amp;amp;ndash; David Norton (2005)&lt;br /&gt;
* [http://www.semanticbible.com/ntn/ntn-overview.html New Testament Names: a Semantic Knowledge Base]&lt;br /&gt;
* [http://www.complete-bible-genealogy.com/ Complete Bible Genealogy - Jesus family tree - Kings of Judah and Israel]&lt;br /&gt;
* [https://blog.logos.com/2006/03/in_search_of_the_king_james_ve_1/ In search of the King James Version]&lt;br /&gt;
* [https://en.wikisource.org/wiki/Bible_(King_James) Bible (King James)] &amp;amp;ndash; on WikiSource &amp;amp;ndash; Information about this edition&amp;lt;ref&amp;gt;Benjamin Blayney, ed., Holy Bible: Standard Text, Oxford University Press, 1769. Printed by T. Wright and W. Gill, printers to the University.&amp;lt;/ref&amp;gt;&lt;br /&gt;
* [https://commons.wikimedia.org/wiki/File:KJV_1769_Oxford_Edition,_vol_1.pdf File:KJV 1769 Oxford Edition, vol 1.pdf] &amp;amp;ndash; on WikiMedia Commons. &amp;lt;ref&amp;gt;This is a scanned facsimile with 766 pages online. Vol 1 includes Genesis through Jeremiah, as well as the Preface, etc. The preview shows individual pages as JPG images, but there's a link below each such image to the complete [https://upload.wikimedia.org/wikipedia/commons/9/9b/KJV_1769_Oxford_Edition%2C_vol_1.pdf Original PDF file].&amp;lt;/ref&amp;gt;&lt;br /&gt;
'''Note:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Modules|CrossWire KJV]]&lt;br /&gt;
[[Category:English Bibles|CrossWire KJV]]&lt;br /&gt;
[[Category:OSIS|CrossWire KJV]]&lt;br /&gt;
[[Category:Copyright|CrossWire KJV]]&lt;/div&gt;</summary>
		<author><name>Dmsmith</name></author>	</entry>

	<entry>
		<id>https://wiki.crosswire.org/index.php?title=User_talk:David_Haslam/Benjamin_Blayney%27s_1769_KJV&amp;diff=15409</id>
		<title>User talk:David Haslam/Benjamin Blayney's 1769 KJV</title>
		<link rel="alternate" type="text/html" href="https://wiki.crosswire.org/index.php?title=User_talk:David_Haslam/Benjamin_Blayney%27s_1769_KJV&amp;diff=15409"/>
				<updated>2017-02-26T02:16:12Z</updated>
		
		<summary type="html">&lt;p&gt;Dmsmith: /* Comparison of Words */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Hapax legomena ==&lt;br /&gt;
&lt;br /&gt;
I plan to provide a list of all the words that appear only once in the text of the KJV. [[User:David Haslam|David Haslam]] 08:25, 18 January 2016 (MST)&lt;br /&gt;
&lt;br /&gt;
== Comparison of Words ==&lt;br /&gt;
Analysis of the words and verses from the page as found in Blaney, Old Scofield and our Module. --[[User:Dmsmith|Dmsmith]] ([[User talk:Dmsmith|talk]]) 19:16, 25 February 2017 (MST)&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
||Book Order||Verse||Blaney||Old Scofield||Module||Notes&lt;br /&gt;
|-&lt;br /&gt;
||01||Gen.04.22||instructer||instructer||instructer||&lt;br /&gt;
|-&lt;br /&gt;
||01||Gen.08.11||pluckt||pluckt||pluckt||&lt;br /&gt;
|-&lt;br /&gt;
||01||Gen.11.03||throughly||throughly||throughly||&lt;br /&gt;
|-&lt;br /&gt;
||01||Gen.13.12||dwelled||dwelled||dwelled||&lt;br /&gt;
|-&lt;br /&gt;
||01||Gen.18.07||fetcht||fetcht||fetcht||&lt;br /&gt;
|-&lt;br /&gt;
||01||Gen.18.19||houshold||household||household||||&lt;br /&gt;
|-&lt;br /&gt;
||01||Gen.21.23||falsly||falsely||falsely||&lt;br /&gt;
|-&lt;br /&gt;
||01||Gen.30.20||endued||endued||endued||&lt;br /&gt;
|-&lt;br /&gt;
||01||Gen.30.37||chesnut||chesnut||chesnut||&lt;br /&gt;
|-&lt;br /&gt;
||01||Gen.30.38||pilled||pilled||pilled||&lt;br /&gt;
|-&lt;br /&gt;
||01||Gen.31.38||ews||ewes||ewes||&lt;br /&gt;
|-&lt;br /&gt;
||01||Gen.32.15||foles||foals||foals||&lt;br /&gt;
|-&lt;br /&gt;
||01||Gen.37.23||stript||stript||stript||&lt;br /&gt;
|-&lt;br /&gt;
||01||Gen.42.33||housholds||households||households||&lt;br /&gt;
|-&lt;br /&gt;
||01||Gen.43.30||yern||yearn||yearn||&lt;br /&gt;
|-&lt;br /&gt;
||01||Gen.49.10||scepter||sceptre||sceptre||&lt;br /&gt;
|-&lt;br /&gt;
||01||Gen.49.11||fole||foal||foal||&lt;br /&gt;
|-&lt;br /&gt;
||01||Gen.49.27||ravin||ravin||ravin||&lt;br /&gt;
|-&lt;br /&gt;
||02||Exod.07.18||lothe||lothe||lothe||&lt;br /&gt;
|-&lt;br /&gt;
||02||Exod.09.32||rie||rie||rie||&lt;br /&gt;
|-&lt;br /&gt;
||02||Exod.33.22||clift||clift||clift||&lt;br /&gt;
|-&lt;br /&gt;
||03||Lev.02.04||baken||baken||baken||&lt;br /&gt;
|-&lt;br /&gt;
||03||Lev.14.42||plaister||plaister||plaister||&lt;br /&gt;
|-&lt;br /&gt;
||03||Lev.18.28||spue||spue||spue||&lt;br /&gt;
|-&lt;br /&gt;
||03||Lev.18.28||spued||spued||spued||&lt;br /&gt;
|-&lt;br /&gt;
||04||Num.07.03||waggons||wagons||wagons||&lt;br /&gt;
|-&lt;br /&gt;
||04||Num.07.03||waggon||wagon||wagon||&lt;br /&gt;
|-&lt;br /&gt;
||04||Num.11.04||mixt||mixt||mixt||&lt;br /&gt;
|-&lt;br /&gt;
||04||Num.13.33||grashoppers||grasshoppers||grasshoppers||&lt;br /&gt;
|-&lt;br /&gt;
||04||Num.20.14||travel||travail||travail||&lt;br /&gt;
|-&lt;br /&gt;
||04||Num.24.17||Scepter||Sceptre||Sceptre||&lt;br /&gt;
|-&lt;br /&gt;
||05||Deut.10.02||brakedst||brakest||brakest||&lt;br /&gt;
|-&lt;br /&gt;
||05||Deut.32.25||gray||gray||gray||&lt;br /&gt;
|-&lt;br /&gt;
||05||Deut.24.06||milstone||millstone||millstone||&lt;br /&gt;
|-&lt;br /&gt;
||05||Deut.31.17||befal||befall||befall||&lt;br /&gt;
|-&lt;br /&gt;
||07||Judg.09.53||scull||skull||skull||&lt;br /&gt;
|-&lt;br /&gt;
||07||Judg.13.19||wonderously||wondrously||wondrously||&lt;br /&gt;
|-&lt;br /&gt;
||07||Judg.16.17||rasor||razor||razor||&lt;br /&gt;
|-&lt;br /&gt;
||09||1Sam.13.06||straight||strait||strait||&lt;br /&gt;
|-&lt;br /&gt;
||10||2Sam.06.20||shamelesly||shamelessly||shamelessly||&lt;br /&gt;
|-&lt;br /&gt;
||10||2Sam.15.12||counseller||counsellor||counsellor||&lt;br /&gt;
|-&lt;br /&gt;
||10||2Sam.19.07||befel||befell||befell||&lt;br /&gt;
|-&lt;br /&gt;
||10||2Sam.19.19||perversly||perversely||perversely||&lt;br /&gt;
|-&lt;br /&gt;
||11||1Kgs.20.28||vallies||valleys||valleys||&lt;br /&gt;
|-&lt;br /&gt;
||12||2Kgs.12.12||hewed stone||hewed stone||hewed stone||&lt;br /&gt;
|-&lt;br /&gt;
||12||2Kgs.16.04||burnt||burnt||burnt||&lt;br /&gt;
|-&lt;br /&gt;
||12||2Kgs.18.06||clave||clave||clave||&lt;br /&gt;
|-&lt;br /&gt;
||14||2Chr.02.16||flotes||floats||floats||&lt;br /&gt;
|-&lt;br /&gt;
||15||Ezra.09.03||astonied||astonied||astonied||&lt;br /&gt;
|-&lt;br /&gt;
||16||Neh.03.01||builded||builded||builded||&lt;br /&gt;
|-&lt;br /&gt;
||18||Job.07.16||loath||loathe||loathe||&lt;br /&gt;
|-&lt;br /&gt;
||19||Ps.065.01||Sion||Sion||Sion||&lt;br /&gt;
|-&lt;br /&gt;
||19||Ps.109.25||shaked||shaked||shaked||&lt;br /&gt;
|-&lt;br /&gt;
||19||Ps.144.08||falshood||falsehood||falsehood||&lt;br /&gt;
|-&lt;br /&gt;
||20||Prov.15.04||wholsome||wholesome||wholesome||&lt;br /&gt;
|-&lt;br /&gt;
||20||Prov.20.29||grey||gray||gray||&lt;br /&gt;
|-&lt;br /&gt;
||21||Eccl.12.05||grashopper||grasshopper||grasshopper||&lt;br /&gt;
|-&lt;br /&gt;
||23||Isa.05.11||inflame||inflame||inflame||&lt;br /&gt;
|-&lt;br /&gt;
||23||Isa.09.10||sycomores||sycomores||sycomores||&lt;br /&gt;
|-&lt;br /&gt;
||23||Isa.41.18||founntains||fountains||fountains||&lt;br /&gt;
|-&lt;br /&gt;
||23||Isa.46.01||loaden||loaden||loaden||&lt;br /&gt;
|-&lt;br /&gt;
||23||Isa.47.02||milstones||millstones||millstones||&lt;br /&gt;
|-&lt;br /&gt;
||23||Isa.57.05||Enflaming||Enflaming||Enflaming||&lt;br /&gt;
|-&lt;br /&gt;
||25||Lam.03.05||travel||travail||travail||&lt;br /&gt;
|-&lt;br /&gt;
||25||Lam.04.05||dunghils||dunghills||dunghills||&lt;br /&gt;
|-&lt;br /&gt;
||26||Ezek.05.01||rasor||razor||razor||&lt;br /&gt;
|-&lt;br /&gt;
||26||Ezek.06.03||vallies||valleys||valleys||&lt;br /&gt;
|-&lt;br /&gt;
||26||Ezek.10.05||outer||outer||outer||&lt;br /&gt;
|-&lt;br /&gt;
||26||Ezek.23.24||waggons||wagons||wagons||&lt;br /&gt;
|-&lt;br /&gt;
||26||Ezek.35.06||sith||sith||sith||&lt;br /&gt;
|-&lt;br /&gt;
||26||Ezek.39.06||carelesly||carelessly||carelessly||&lt;br /&gt;
|-&lt;br /&gt;
||26||Ezek.40.31||utter||utter||utter||&lt;br /&gt;
|-&lt;br /&gt;
||26||Ezek.42.01||utter||utter||utter||&lt;br /&gt;
|-&lt;br /&gt;
||26||Ezek.47.02||utter||utter||utter||&lt;br /&gt;
|-&lt;br /&gt;
||26||Ezek.47.03||ancles||ankles||ankles||&lt;br /&gt;
|-&lt;br /&gt;
||26||Ezek.47.11||marishes||marishes||marishes||&lt;br /&gt;
|-&lt;br /&gt;
||27||Dan.11.22||overflown||overflown||overflown||&lt;br /&gt;
|-&lt;br /&gt;
||37||Hag.02.16||press-fat||pressfat||pressfat||hyphenated across a line&lt;br /&gt;
|-&lt;br /&gt;
||39||Mal.03.02||sope||soap||soap||&lt;br /&gt;
|-&lt;br /&gt;
||40||Matt.13.27||housholder||householder||householder||&lt;br /&gt;
|-&lt;br /&gt;
||40||Matt.15.20||unwashen||unwashen||unwashen||&lt;br /&gt;
|-&lt;br /&gt;
||42||Luke.14.35||dunghil||dunghill||dunghill||&lt;br /&gt;
|-&lt;br /&gt;
||42||Luke.19.09||forsomuch||forsomuch||forsomuch||&lt;br /&gt;
|-&lt;br /&gt;
||44||Acts.03.07||ancle||ankle||ankle||&lt;br /&gt;
|-&lt;br /&gt;
||44||Acts.27.17||strake||strake||strake||&lt;br /&gt;
|-&lt;br /&gt;
||47||2Cor.13.02||foretel||foretell||foretell||&lt;br /&gt;
|-&lt;br /&gt;
||47||2Cor.13.11||farewel||farewell||farewell||&lt;br /&gt;
|-&lt;br /&gt;
||57||Phlm.01.08||injoin||enjoin||enjoin||&lt;br /&gt;
|-&lt;br /&gt;
||58||Heb.09.20||injoined||enjoined||enjoined||&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Dmsmith</name></author>	</entry>

	<entry>
		<id>https://wiki.crosswire.org/index.php?title=User_talk:David_Haslam/Benjamin_Blayney%27s_1769_KJV&amp;diff=15408</id>
		<title>User talk:David Haslam/Benjamin Blayney's 1769 KJV</title>
		<link rel="alternate" type="text/html" href="https://wiki.crosswire.org/index.php?title=User_talk:David_Haslam/Benjamin_Blayney%27s_1769_KJV&amp;diff=15408"/>
				<updated>2017-02-26T02:14:50Z</updated>
		
		<summary type="html">&lt;p&gt;Dmsmith: Added section giving an analysis of the words from the page as found in Blaney, Old Scofield and our Module&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Hapax legomena ==&lt;br /&gt;
&lt;br /&gt;
I plan to provide a list of all the words that appear only once in the text of the KJV. [[User:David Haslam|David Haslam]] 08:25, 18 January 2016 (MST)&lt;br /&gt;
&lt;br /&gt;
== Comparison of Words ==&lt;br /&gt;
Analysis of the words and verses from the page as found in Blaney, Old Scofield and our Module.&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
||Book Order||Verse||Blaney||Old Scofield||Module||Notes&lt;br /&gt;
|-&lt;br /&gt;
||01||Gen.04.22||instructer||instructer||instructer||&lt;br /&gt;
|-&lt;br /&gt;
||01||Gen.08.11||pluckt||pluckt||pluckt||&lt;br /&gt;
|-&lt;br /&gt;
||01||Gen.11.03||throughly||throughly||throughly||&lt;br /&gt;
|-&lt;br /&gt;
||01||Gen.13.12||dwelled||dwelled||dwelled||&lt;br /&gt;
|-&lt;br /&gt;
||01||Gen.18.07||fetcht||fetcht||fetcht||&lt;br /&gt;
|-&lt;br /&gt;
||01||Gen.18.19||houshold||household||household||||&lt;br /&gt;
|-&lt;br /&gt;
||01||Gen.21.23||falsly||falsely||falsely||&lt;br /&gt;
|-&lt;br /&gt;
||01||Gen.30.20||endued||endued||endued||&lt;br /&gt;
|-&lt;br /&gt;
||01||Gen.30.37||chesnut||chesnut||chesnut||&lt;br /&gt;
|-&lt;br /&gt;
||01||Gen.30.38||pilled||pilled||pilled||&lt;br /&gt;
|-&lt;br /&gt;
||01||Gen.31.38||ews||ewes||ewes||&lt;br /&gt;
|-&lt;br /&gt;
||01||Gen.32.15||foles||foals||foals||&lt;br /&gt;
|-&lt;br /&gt;
||01||Gen.37.23||stript||stript||stript||&lt;br /&gt;
|-&lt;br /&gt;
||01||Gen.42.33||housholds||households||households||&lt;br /&gt;
|-&lt;br /&gt;
||01||Gen.43.30||yern||yearn||yearn||&lt;br /&gt;
|-&lt;br /&gt;
||01||Gen.49.10||scepter||sceptre||sceptre||&lt;br /&gt;
|-&lt;br /&gt;
||01||Gen.49.11||fole||foal||foal||&lt;br /&gt;
|-&lt;br /&gt;
||01||Gen.49.27||ravin||ravin||ravin||&lt;br /&gt;
|-&lt;br /&gt;
||02||Exod.07.18||lothe||lothe||lothe||&lt;br /&gt;
|-&lt;br /&gt;
||02||Exod.09.32||rie||rie||rie||&lt;br /&gt;
|-&lt;br /&gt;
||02||Exod.33.22||clift||clift||clift||&lt;br /&gt;
|-&lt;br /&gt;
||03||Lev.02.04||baken||baken||baken||&lt;br /&gt;
|-&lt;br /&gt;
||03||Lev.14.42||plaister||plaister||plaister||&lt;br /&gt;
|-&lt;br /&gt;
||03||Lev.18.28||spue||spue||spue||&lt;br /&gt;
|-&lt;br /&gt;
||03||Lev.18.28||spued||spued||spued||&lt;br /&gt;
|-&lt;br /&gt;
||04||Num.07.03||waggons||wagons||wagons||&lt;br /&gt;
|-&lt;br /&gt;
||04||Num.07.03||waggon||wagon||wagon||&lt;br /&gt;
|-&lt;br /&gt;
||04||Num.11.04||mixt||mixt||mixt||&lt;br /&gt;
|-&lt;br /&gt;
||04||Num.13.33||grashoppers||grasshoppers||grasshoppers||&lt;br /&gt;
|-&lt;br /&gt;
||04||Num.20.14||travel||travail||travail||&lt;br /&gt;
|-&lt;br /&gt;
||04||Num.24.17||Scepter||Sceptre||Sceptre||&lt;br /&gt;
|-&lt;br /&gt;
||05||Deut.10.02||brakedst||brakest||brakest||&lt;br /&gt;
|-&lt;br /&gt;
||05||Deut.32.25||gray||gray||gray||&lt;br /&gt;
|-&lt;br /&gt;
||05||Deut.24.06||milstone||millstone||millstone||&lt;br /&gt;
|-&lt;br /&gt;
||05||Deut.31.17||befal||befall||befall||&lt;br /&gt;
|-&lt;br /&gt;
||07||Judg.09.53||scull||skull||skull||&lt;br /&gt;
|-&lt;br /&gt;
||07||Judg.13.19||wonderously||wondrously||wondrously||&lt;br /&gt;
|-&lt;br /&gt;
||07||Judg.16.17||rasor||razor||razor||&lt;br /&gt;
|-&lt;br /&gt;
||09||1Sam.13.06||straight||strait||strait||&lt;br /&gt;
|-&lt;br /&gt;
||10||2Sam.06.20||shamelesly||shamelessly||shamelessly||&lt;br /&gt;
|-&lt;br /&gt;
||10||2Sam.15.12||counseller||counsellor||counsellor||&lt;br /&gt;
|-&lt;br /&gt;
||10||2Sam.19.07||befel||befell||befell||&lt;br /&gt;
|-&lt;br /&gt;
||10||2Sam.19.19||perversly||perversely||perversely||&lt;br /&gt;
|-&lt;br /&gt;
||11||1Kgs.20.28||vallies||valleys||valleys||&lt;br /&gt;
|-&lt;br /&gt;
||12||2Kgs.12.12||hewed stone||hewed stone||hewed stone||&lt;br /&gt;
|-&lt;br /&gt;
||12||2Kgs.16.04||burnt||burnt||burnt||&lt;br /&gt;
|-&lt;br /&gt;
||12||2Kgs.18.06||clave||clave||clave||&lt;br /&gt;
|-&lt;br /&gt;
||14||2Chr.02.16||flotes||floats||floats||&lt;br /&gt;
|-&lt;br /&gt;
||15||Ezra.09.03||astonied||astonied||astonied||&lt;br /&gt;
|-&lt;br /&gt;
||16||Neh.03.01||builded||builded||builded||&lt;br /&gt;
|-&lt;br /&gt;
||18||Job.07.16||loath||loathe||loathe||&lt;br /&gt;
|-&lt;br /&gt;
||19||Ps.065.01||Sion||Sion||Sion||&lt;br /&gt;
|-&lt;br /&gt;
||19||Ps.109.25||shaked||shaked||shaked||&lt;br /&gt;
|-&lt;br /&gt;
||19||Ps.144.08||falshood||falsehood||falsehood||&lt;br /&gt;
|-&lt;br /&gt;
||20||Prov.15.04||wholsome||wholesome||wholesome||&lt;br /&gt;
|-&lt;br /&gt;
||20||Prov.20.29||grey||gray||gray||&lt;br /&gt;
|-&lt;br /&gt;
||21||Eccl.12.05||grashopper||grasshopper||grasshopper||&lt;br /&gt;
|-&lt;br /&gt;
||23||Isa.05.11||inflame||inflame||inflame||&lt;br /&gt;
|-&lt;br /&gt;
||23||Isa.09.10||sycomores||sycomores||sycomores||&lt;br /&gt;
|-&lt;br /&gt;
||23||Isa.41.18||founntains||fountains||fountains||&lt;br /&gt;
|-&lt;br /&gt;
||23||Isa.46.01||loaden||loaden||loaden||&lt;br /&gt;
|-&lt;br /&gt;
||23||Isa.47.02||milstones||millstones||millstones||&lt;br /&gt;
|-&lt;br /&gt;
||23||Isa.57.05||Enflaming||Enflaming||Enflaming||&lt;br /&gt;
|-&lt;br /&gt;
||25||Lam.03.05||travel||travail||travail||&lt;br /&gt;
|-&lt;br /&gt;
||25||Lam.04.05||dunghils||dunghills||dunghills||&lt;br /&gt;
|-&lt;br /&gt;
||26||Ezek.05.01||rasor||razor||razor||&lt;br /&gt;
|-&lt;br /&gt;
||26||Ezek.06.03||vallies||valleys||valleys||&lt;br /&gt;
|-&lt;br /&gt;
||26||Ezek.10.05||outer||outer||outer||&lt;br /&gt;
|-&lt;br /&gt;
||26||Ezek.23.24||waggons||wagons||wagons||&lt;br /&gt;
|-&lt;br /&gt;
||26||Ezek.35.06||sith||sith||sith||&lt;br /&gt;
|-&lt;br /&gt;
||26||Ezek.39.06||carelesly||carelessly||carelessly||&lt;br /&gt;
|-&lt;br /&gt;
||26||Ezek.40.31||utter||utter||utter||&lt;br /&gt;
|-&lt;br /&gt;
||26||Ezek.42.01||utter||utter||utter||&lt;br /&gt;
|-&lt;br /&gt;
||26||Ezek.47.02||utter||utter||utter||&lt;br /&gt;
|-&lt;br /&gt;
||26||Ezek.47.03||ancles||ankles||ankles||&lt;br /&gt;
|-&lt;br /&gt;
||26||Ezek.47.11||marishes||marishes||marishes||&lt;br /&gt;
|-&lt;br /&gt;
||27||Dan.11.22||overflown||overflown||overflown||&lt;br /&gt;
|-&lt;br /&gt;
||37||Hag.02.16||press-fat||pressfat||pressfat||hyphenated across a line&lt;br /&gt;
|-&lt;br /&gt;
||39||Mal.03.02||sope||soap||soap||&lt;br /&gt;
|-&lt;br /&gt;
||40||Matt.13.27||housholder||householder||householder||&lt;br /&gt;
|-&lt;br /&gt;
||40||Matt.15.20||unwashen||unwashen||unwashen||&lt;br /&gt;
|-&lt;br /&gt;
||42||Luke.14.35||dunghil||dunghill||dunghill||&lt;br /&gt;
|-&lt;br /&gt;
||42||Luke.19.09||forsomuch||forsomuch||forsomuch||&lt;br /&gt;
|-&lt;br /&gt;
||44||Acts.03.07||ancle||ankle||ankle||&lt;br /&gt;
|-&lt;br /&gt;
||44||Acts.27.17||strake||strake||strake||&lt;br /&gt;
|-&lt;br /&gt;
||47||2Cor.13.02||foretel||foretell||foretell||&lt;br /&gt;
|-&lt;br /&gt;
||47||2Cor.13.11||farewel||farewell||farewell||&lt;br /&gt;
|-&lt;br /&gt;
||57||Phlm.01.08||injoin||enjoin||enjoin||&lt;br /&gt;
|-&lt;br /&gt;
||58||Heb.09.20||injoined||enjoined||enjoined||&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Dmsmith</name></author>	</entry>

	<entry>
		<id>https://wiki.crosswire.org/index.php?title=User:David_Haslam/Benjamin_Blayney%27s_1769_KJV&amp;diff=15407</id>
		<title>User:David Haslam/Benjamin Blayney's 1769 KJV</title>
		<link rel="alternate" type="text/html" href="https://wiki.crosswire.org/index.php?title=User:David_Haslam/Benjamin_Blayney%27s_1769_KJV&amp;diff=15407"/>
				<updated>2017-02-26T01:55:47Z</updated>
		
		<summary type="html">&lt;p&gt;Dmsmith: /* Non-uniform spellings */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This user page is for collating information about [http://en.wikipedia.org/wiki/Benjamin_Blayney Benjamin Blayney's] 1769 Oxford Edition of the King James Bible.&lt;br /&gt;
&lt;br /&gt;
== Original Bibles ==&lt;br /&gt;
A scanned copy of the 1769 KJV is available at http://www.originalbibles.com/1769-king-james-bible-benjamin-blayney/&lt;br /&gt;
&lt;br /&gt;
:''Currently this is only for the books Genesis to Jeremiah''.&lt;br /&gt;
&lt;br /&gt;
== Pilcrows ==&lt;br /&gt;
In the original 1611 edition, even the book titles had a Pilcrow!&lt;br /&gt;
&lt;br /&gt;
== Non-standard spellings ==&lt;br /&gt;
Not all the spelling variations were corrected in the 1769 Oxford KJV, and spelling was not all made uniform. &lt;br /&gt;
&lt;br /&gt;
Blayney's 1769 Oxford edition of the KJV still had these non-standard spellings&amp;lt;ref&amp;gt;http://bibleversiondiscussionboard.yuku.com/topic/5091/Nonstandard-spellings-in-Blayneys-1769-Oxford-KJV&amp;lt;/ref&amp;gt; that are not found in many present KJV editions:&lt;br /&gt;
:(''this list may be incomplete'')&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;quot;ancle&amp;quot; (Acts 3:7)&lt;br /&gt;
&amp;quot;ancles&amp;quot; (Ezek. 47:3)&lt;br /&gt;
&amp;quot;befal&amp;quot; (Deut. 31:17)&lt;br /&gt;
&amp;quot;befel&amp;quot; (2 Sam. 19:7)&lt;br /&gt;
&amp;quot;carelesly&amp;quot; (Ezek. 39:6)&lt;br /&gt;
&amp;quot;dunghil&amp;quot; (Luke 14:35)&lt;br /&gt;
&amp;quot;dunghils&amp;quot; (Lam. 4:5)&lt;br /&gt;
&amp;quot;falshood&amp;quot; (Ps. 144:8)&lt;br /&gt;
&amp;quot;falsly&amp;quot; (Gen. 21:23)&lt;br /&gt;
&amp;quot;farewel&amp;quot; (2 Cor. 13:11)&lt;br /&gt;
&amp;quot;fole&amp;quot; (Gen. 49:11)&lt;br /&gt;
&amp;quot;foles&amp;quot; (Gen. 32:15)&lt;br /&gt;
&amp;quot;foretel&amp;quot; (2 Cor. 13:2)&lt;br /&gt;
&amp;quot;grashopper&amp;quot; (Ecc. 12:5)&lt;br /&gt;
&amp;quot;grashoppers&amp;quot; (Num. 13:33)&lt;br /&gt;
&amp;quot;houshold&amp;quot; (Gen. 18:19)&lt;br /&gt;
&amp;quot;housholder&amp;quot; (Matt. 13:27)&lt;br /&gt;
&amp;quot;housholds&amp;quot; (Gen. 42:33)&lt;br /&gt;
&amp;quot;injoin&amp;quot; (Philemon 1:8)&lt;br /&gt;
&amp;quot;injoined&amp;quot; (Heb. 9:20)&lt;br /&gt;
&amp;quot;loath&amp;quot; (Job 7:16)&lt;br /&gt;
&amp;quot;milstone&amp;quot; (Deut. 24:6)&lt;br /&gt;
&amp;quot;milstones&amp;quot; (Isa. 47:2)&lt;br /&gt;
&amp;quot;shamelesly&amp;quot; (2 Sam. 6:20)&lt;br /&gt;
&amp;quot;sope&amp;quot; (Mal. 3:2)&lt;br /&gt;
&amp;quot;vallies&amp;quot; (1 Kings 20:28)&lt;br /&gt;
&amp;quot;waggon&amp;quot; (Num. 7:3)&lt;br /&gt;
&amp;quot;waggons&amp;quot; (Ezek. 23:24)&lt;br /&gt;
&amp;quot;wholsome&amp;quot; (Prov. 15:4)&lt;br /&gt;
&amp;quot;yern&amp;quot; (Gen. 43:30)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Non-uniform spellings ==&lt;br /&gt;
These spellings may not all still be in present KJV editions, but these were the spellings as found in the actual 1769 Oxford KJV:&lt;br /&gt;
:(''this list may be incomplete'')&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
astonied (Ezra 9:3)			astonished (Isa. 52:14)&lt;br /&gt;
baken (Lev. 2:4)			baked (Num. 11:8)&lt;br /&gt;
builded (Neh. 3:1)			built (Neh. 3:13)&lt;br /&gt;
burnt (2 Kings 16:4)			burned (2 Kings 15:35)&lt;br /&gt;
clave (2 Kings 18:6)			cleaved (2 Kings 3:3)&lt;br /&gt;
clift (Exod. 33:22)			clefts (Isa. 2:21)&lt;br /&gt;
dwelled (Gen. 13:12)			dwelt (Gen. 13:18)&lt;br /&gt;
endued (Gen. 30:20)			endow (Exod. 22:16)&lt;br /&gt;
enflaming (Isa. 57:5)			inflame (Isa. 5:11)&lt;br /&gt;
fetcht (Gen. 18:7)			fetched (1 Sam. 7:1)&lt;br /&gt;
flotes (2 Chron. 2:16)			floats (1 Kings 5:9)&lt;br /&gt;
fole (Gen. 49:11)			foal (Matt. 21:5)&lt;br /&gt;
forsomuch (Luke 19:9)			forasmuch (Isa. 8:6)&lt;br /&gt;
grey (Prov. 20:29)			gray (Deut. 32:25)&lt;br /&gt;
hewed stone (2 Kings 12:12)		hewn stone (2 Kings 22:6)&lt;br /&gt;
injoined (Heb. 9:20)			enjoined (Esther 9:31, Job 36:23)&lt;br /&gt;
instructer (Gen. 4:22)			instructor (Rom. 2:20)&lt;br /&gt;
loaden (Isa. 46:1)			laden (Matt. 11:28)&lt;br /&gt;
lothe (Exod. 7:18)			loathe (Job 7:16)&lt;br /&gt;
mixt (Num. 11:4)			mixed (Exod. 12:38)&lt;br /&gt;
utter (Ezek. 40:31, 42:1, 47:2)		outer (Ezek. 10:5)&lt;br /&gt;
overflown (Dan. 11:22)			overflowed (Ps. 78:20)&lt;br /&gt;
pilled (Gen. 30:38)			peeled (Isa. 18:2)&lt;br /&gt;
pluckt (Gen. 8:11)			plucked (Luke 6:1)&lt;br /&gt;
rasor (Jud. 16:17, Ezek. 5:1)		razor (Num. 6:5)&lt;br /&gt;
ravin (Gen. 49:27)			ravening (Ezek. 22:27)&lt;br /&gt;
scepter (Gen. 49:10, Num. 24:17)	sceptre (Ps. 45:6)&lt;br /&gt;
scull (Jud. 9:53)			skull (Matt. 27:33)&lt;br /&gt;
shaked (Ps. 109:25)			shook (Ps. 77:18)&lt;br /&gt;
Sion (Ps. 65:1)				Zion (Ps. 69:35)&lt;br /&gt;
sith (Ezek. 35:6)			since (Jer. 23:38)&lt;br /&gt;
spued (Lev. 18:28)			spewing (Hab. 2:16)&lt;br /&gt;
straight (1 Sam. 13:6)			strait (2 Sam. 24:14)&lt;br /&gt;
strake (Acts 27:17)			struck (2 Sam. 12:15)&lt;br /&gt;
stript (Gen. 37:23)			stripped (Exod. 33:6)&lt;br /&gt;
sycomores (Isa. 9:10)			sycamore (Ps. 78:47, Amos 7:14, Luke 19:4)&lt;br /&gt;
throughly (Gen. 11:3)			thoroughly (Exod. 21:19, 2 Kings 11:18)&lt;br /&gt;
travel (Num. 20:14, Lam. 3:5)		travail (Exod. 18:8)&lt;br /&gt;
unwashen (Matt. 15:20)			washed (Matt. 27:24)&lt;br /&gt;
vallies (Ezek. 6:3)			valleys (Num. 24:6)&lt;br /&gt;
wonderously (Jud. 13:19)		wondrously (Joel 2:26)&lt;br /&gt;
yern (Gen. 43:30)			yearned (1 Kings 3:26)&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Archaic words ==&lt;br /&gt;
Websites &amp;amp; books with potentially useful details. Inclusion here does not imply any endorsement of doctrinal position.&lt;br /&gt;
* [http://www.christiananswers.net/dictionary/kjvwords.html Archaic or obscure King James era words]&lt;br /&gt;
* [http://www.preservedwords.com/wordlist.htm King James Bible Wordlist &amp;amp; Definitions]&lt;br /&gt;
* [http://www.northsidebaptistchurch.org.au/resources/kjv-dictionary.html Dictionary of Archaic and Unfamiliar Words in the KJV]&lt;br /&gt;
* [http://www.jesus-is-savior.com/Bible/archaic_words.htm Archaic Words and Their Meaning in the ''KING JAMES BIBLE'']&lt;br /&gt;
* [http://www.bloomingdalebiblechurch.net/lists/Word_and_Definitions.html Word List and Definitions for the King James Bible]&lt;br /&gt;
* [http://www.pc-shareware.com/kjdict.htm King James Dictionary] &amp;amp;ndash; (Windows PC shareware)&lt;br /&gt;
* [http://www.tbsbibles.org/pdf_information/1-1.pdf Bible Word List and Reading Plan] &amp;amp;ndash; Trinitarian Bible Society&lt;br /&gt;
* Daniels, David W., [http://www.chick.com/catalog/books/1007.asp King James Bible Companion] &amp;amp;ndash; Chick Publications&lt;br /&gt;
* Waite, D. A. Jr., [http://www.amazon.com/gp/product/156848075X/ 4,114 Definitions from the Defined King James Bible]&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[CrossWire KJV]] &amp;amp;ndash; About the CrossWire KJV module.&lt;br /&gt;
* [[User:Dmsmith/KJV 2.6|KJV 2.6]] &amp;amp;ndash; DM's page covering recommended changes to the KJV module.&lt;br /&gt;
&lt;br /&gt;
[[Category:Modules|KJV]]&lt;br /&gt;
[[Category:English Bibles|KJV]]&lt;/div&gt;</summary>
		<author><name>Dmsmith</name></author>	</entry>

	<entry>
		<id>https://wiki.crosswire.org/index.php?title=Talk:CrossWire_KJV&amp;diff=15406</id>
		<title>Talk:CrossWire KJV</title>
		<link rel="alternate" type="text/html" href="https://wiki.crosswire.org/index.php?title=Talk:CrossWire_KJV&amp;diff=15406"/>
				<updated>2017-02-25T23:16:10Z</updated>
		
		<summary type="html">&lt;p&gt;Dmsmith: /* Eleven verses detected with a comma missing */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Spelling issues in Blayney's 1769 ==&lt;br /&gt;
&lt;br /&gt;
Though modern editions of the KJV claim to be essentially the same as the 1769 standard, Blayney's work still contained some archaic spellings and some inconsistent spellings. Most of these were unified amd corrected in works such as the Scofield Bible that was used as the Reference Text for the earlier editions of the KJV module. Though there is much to be gained by examining the Blayney's 1769, it would be a retrograde step to revert the KJV module to his spellings. &lt;br /&gt;
&lt;br /&gt;
For further details please visit my user page: [[User:David Haslam/Benjamin Blayney's 1769 KJV]].&lt;br /&gt;
&lt;br /&gt;
[[User:David Haslam|David Haslam]] 10:37, 25 January 2016 (MST)&lt;br /&gt;
&lt;br /&gt;
:I don't think it'd be a backward step. But if so, maybe we fork the KJV as what we have now is not the 1769 Blayney, but rather Old Scofield? There is considerable value in having an accurate text for the Blayney edition. --[[User:Dmsmith|Dmsmith]] 11:11, 25 January 2016 (MST)&lt;br /&gt;
::Rather than forking the module (which would lead to a lot of extra work), I would prefer to use OSIS markup to record spelling (and punctuation) variants in the various printed editions 1769 to present. [[User:David Haslam|David Haslam]] 04:26, 27 January 2016 (MST)&lt;br /&gt;
:::It's not as if we don't already have another related module which has become outdated compared to the KJV, namely the KJVA module with the Apocrypha included. The Protocanonical Books for that should ideally have been made to track the KJV module in terms of updates. [[User:David Haslam|David Haslam]] 04:29, 27 January 2016 (MST)&lt;br /&gt;
&lt;br /&gt;
== catchWord and osisRef with @s[word] ==&lt;br /&gt;
&lt;br /&gt;
Not sure why this got removed?&lt;br /&gt;
	&lt;br /&gt;
* Add '''osisRef''' to '''catchWord''' (for now at least, mainly for single keywords).&lt;br /&gt;
&lt;br /&gt;
[[User:David Haslam|David Haslam]] 13:01, 29 January 2016 (MST)&lt;br /&gt;
&lt;br /&gt;
:Reinstated for 2.10 &amp;amp;ndash; [[User:David Haslam|David Haslam]] 09:11, 30 January 2016 (MST)&lt;br /&gt;
&lt;br /&gt;
== List of ordinary words that are not found with all lowercase in the KJV main text ==&lt;br /&gt;
:''This list may not be complete''.&lt;br /&gt;
The following 41 ordinary words are not found with all lowercase letters: (i.e. these capitalised words are not names)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Accounting&lt;br /&gt;
Acquaint&lt;br /&gt;
Alleluia&lt;br /&gt;
Associate&lt;br /&gt;
Backbiters&lt;br /&gt;
Blotting&lt;br /&gt;
Choosing&lt;br /&gt;
Distributing&lt;br /&gt;
Endeavouring&lt;br /&gt;
Enflaming&lt;br /&gt;
Enviest&lt;br /&gt;
Ephphatha&lt;br /&gt;
Esteeming&lt;br /&gt;
Finally&lt;br /&gt;
God’s&lt;br /&gt;
Godhead&lt;br /&gt;
God-ward&lt;br /&gt;
Hosanna&lt;br /&gt;
I&lt;br /&gt;
Launch&lt;br /&gt;
Listen&lt;br /&gt;
Maranatha&lt;br /&gt;
MENE&lt;br /&gt;
Musician&lt;br /&gt;
O&lt;br /&gt;
Outcast&lt;br /&gt;
Owe&lt;br /&gt;
PERES&lt;br /&gt;
Produce&lt;br /&gt;
Providing&lt;br /&gt;
Rabbi&lt;br /&gt;
Raca&lt;br /&gt;
Remembering&lt;br /&gt;
Revilest&lt;br /&gt;
Submitting&lt;br /&gt;
Talitha&lt;br /&gt;
TEKEL&lt;br /&gt;
Traitors&lt;br /&gt;
UPHARSIN&lt;br /&gt;
Wherewithal&lt;br /&gt;
Yes&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This list can be used for fine tuning the filtering of a complete words list in order to tabulate names that occur in the KJV text. &amp;lt;BR&amp;gt;&lt;br /&gt;
My big list now includes words that are in the canonical Psalm titles. [[User:David Haslam|David Haslam]] ([[User talk:David Haslam|talk]]) 14:39, 5 February 2017 (MST)&lt;br /&gt;
&lt;br /&gt;
== List of ordinary words that are also names ==&lt;br /&gt;
:''This list may not be complete''.&lt;br /&gt;
The following 44 ordinary words in the KJV are also names:&amp;lt;ref&amp;gt;That is, they are found capitalised mid-sentence.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;Some of these are symbolic names for Christ.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;This list currently excludes uppercase words.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;Names in the KJV that are ordinary words outside the KJV will not be listed.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Angel&lt;br /&gt;
Apostle&lt;br /&gt;
Bishop&lt;br /&gt;
Branch&lt;br /&gt;
Creator&lt;br /&gt;
Death&lt;br /&gt;
Devil&lt;br /&gt;
Faithful&lt;br /&gt;
Father&lt;br /&gt;
Ghost&lt;br /&gt;
God&lt;br /&gt;
Governor&lt;br /&gt;
Hell&lt;br /&gt;
Holy&lt;br /&gt;
High&lt;br /&gt;
Judge&lt;br /&gt;
King&lt;br /&gt;
Lamb&lt;br /&gt;
Light&lt;br /&gt;
Lion&lt;br /&gt;
Lord&lt;br /&gt;
Lot&lt;br /&gt;
Master&lt;br /&gt;
No&lt;br /&gt;
On&lt;br /&gt;
One&lt;br /&gt;
Priest&lt;br /&gt;
Prince&lt;br /&gt;
Prophet&lt;br /&gt;
Put&lt;br /&gt;
Rock&lt;br /&gt;
Saviour&lt;br /&gt;
Sceptre&lt;br /&gt;
Seer&lt;br /&gt;
Shepherd&lt;br /&gt;
Sin&lt;br /&gt;
Son&lt;br /&gt;
Spirit&lt;br /&gt;
Star&lt;br /&gt;
Strength&lt;br /&gt;
Sun&lt;br /&gt;
True&lt;br /&gt;
Word&lt;br /&gt;
Wormwood&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
[[User:David Haslam|David Haslam]] ([[User talk:David Haslam|talk]]) 09:56, 11 February 2017 (MST)&lt;br /&gt;
&lt;br /&gt;
== List of words that contain the EN DASH (U+2013) ==&lt;br /&gt;
The following is a counted list of the 259 different words in the KJV containing the EN DASH character used as a hyphen:&amp;lt;ref&amp;gt;This list includes such words as found in the canonical Psalm titles.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;A few of these words may also appear elsewhere in the Bible without the EN DASH.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Count	Word&lt;br /&gt;
00015	Abed–nego&lt;br /&gt;
00002	Abel–beth–maachah&lt;br /&gt;
00001	Abel–maim&lt;br /&gt;
00003	Abel–meholah&lt;br /&gt;
00001	Abel–mizraim&lt;br /&gt;
00001	Abel–shittim&lt;br /&gt;
00001	Abi–albon&lt;br /&gt;
00004	Abi–ezer&lt;br /&gt;
00001	Abi–ezrite&lt;br /&gt;
00002	Abi–ezrites&lt;br /&gt;
00003	Adoni–bezek&lt;br /&gt;
00002	Adoni–zedek&lt;br /&gt;
00004	Al–taschith&lt;br /&gt;
00001	Allon–bachuth&lt;br /&gt;
00002	Almon–diblathaim&lt;br /&gt;
00001	Aram–naharaim&lt;br /&gt;
00001	Aram–zobah&lt;br /&gt;
00003	Ashdoth–pisgah&lt;br /&gt;
00001	Ataroth–adar&lt;br /&gt;
00001	Ataroth–addar&lt;br /&gt;
00001	Aznoth–tabor&lt;br /&gt;
00002	Baal–berith&lt;br /&gt;
00003	Baal–gad&lt;br /&gt;
00001	Baal–hamon&lt;br /&gt;
00005	Baal–hanan&lt;br /&gt;
00001	Baal–hazor&lt;br /&gt;
00002	Baal–hermon&lt;br /&gt;
00003	Baal–meon&lt;br /&gt;
00006	Baal–peor&lt;br /&gt;
00004	Baal–perazim&lt;br /&gt;
00001	Baal–shalisha&lt;br /&gt;
00001	Baal–tamar&lt;br /&gt;
00004	Baal–zebub&lt;br /&gt;
00003	Baal–zephon&lt;br /&gt;
00001	Baalath–beer&lt;br /&gt;
00001	Bamoth–baal&lt;br /&gt;
00001	Bar–jesus&lt;br /&gt;
00001	Bar–jona&lt;br /&gt;
00001	Bashan–havoth–jair&lt;br /&gt;
00001	Bath–rabbim&lt;br /&gt;
00011	Bath–sheba&lt;br /&gt;
00001	Bath–shua&lt;br /&gt;
00001	Beer–elim&lt;br /&gt;
00001	Beer–lahai–roi&lt;br /&gt;
00034	Beer–sheba&lt;br /&gt;
00001	Beesh–terah&lt;br /&gt;
00001	Ben–ammi&lt;br /&gt;
00027	Ben–hadad&lt;br /&gt;
00001	Ben–hail&lt;br /&gt;
00001	Ben–hanan&lt;br /&gt;
00001	Ben–oni&lt;br /&gt;
00001	Ben–zoheth&lt;br /&gt;
00001	Bene–berak&lt;br /&gt;
00002	Bene–jaakan&lt;br /&gt;
00001	Berodach–baladan&lt;br /&gt;
00003	Beth–anath&lt;br /&gt;
00001	Beth–anoth&lt;br /&gt;
00003	Beth–arabah&lt;br /&gt;
00001	Beth–aram&lt;br /&gt;
00001	Beth–arbel&lt;br /&gt;
00007	Beth–aven&lt;br /&gt;
00001	Beth–azmaveth&lt;br /&gt;
00001	Beth–baal–meon&lt;br /&gt;
00002	Beth–barah&lt;br /&gt;
00001	Beth–birei&lt;br /&gt;
00001	Beth–car&lt;br /&gt;
00002	Beth–dagon&lt;br /&gt;
00001	Beth–diblathaim&lt;br /&gt;
00066	Beth–el&lt;br /&gt;
00001	Beth–elite&lt;br /&gt;
00001	Beth–emek&lt;br /&gt;
00001	Beth–ezel&lt;br /&gt;
00001	Beth–gader&lt;br /&gt;
00001	Beth–gamul&lt;br /&gt;
00002	Beth–haccerem&lt;br /&gt;
00001	Beth–haran&lt;br /&gt;
00001	Beth–hogla&lt;br /&gt;
00002	Beth–hoglah&lt;br /&gt;
00014	Beth–horon&lt;br /&gt;
00003	Beth–jeshimoth&lt;br /&gt;
00001	Beth–jesimoth&lt;br /&gt;
00001	Beth–lebaoth&lt;br /&gt;
00031	Beth–lehem&lt;br /&gt;
00010	Beth–lehem–judah&lt;br /&gt;
00004	Beth–lehemite&lt;br /&gt;
00002	Beth–maachah&lt;br /&gt;
00002	Beth–marcaboth&lt;br /&gt;
00001	Beth–meon&lt;br /&gt;
00002	Beth–nimrah&lt;br /&gt;
00001	Beth–palet&lt;br /&gt;
00001	Beth–pazzez&lt;br /&gt;
00004	Beth–peor&lt;br /&gt;
00001	Beth–phelet&lt;br /&gt;
00001	Beth–rapha&lt;br /&gt;
00002	Beth–rehob&lt;br /&gt;
00003	Beth–shan&lt;br /&gt;
00006	Beth–shean&lt;br /&gt;
00021	Beth–shemesh&lt;br /&gt;
00002	Beth–shemite&lt;br /&gt;
00001	Beth–shittah&lt;br /&gt;
00001	Beth–tappuah&lt;br /&gt;
00004	Beth–zur&lt;br /&gt;
00001	Caleb–ephratah&lt;br /&gt;
00001	Chephar–haammonai&lt;br /&gt;
00001	Chisloth–tabor&lt;br /&gt;
00001	Chor–ashan&lt;br /&gt;
00004	Chushan–rishathaim&lt;br /&gt;
00002	Col–hozeh&lt;br /&gt;
00001	Dan–jaan&lt;br /&gt;
00002	Dibon–gad&lt;br /&gt;
00006	Ebed–melech&lt;br /&gt;
00003	Eben–ezer&lt;br /&gt;
00001	El–beth–el&lt;br /&gt;
00001	El–elohe–Israel&lt;br /&gt;
00001	El–paran&lt;br /&gt;
00001	Elon–beth–hanan&lt;br /&gt;
00001	En–eglaim&lt;br /&gt;
00003	En–gannim&lt;br /&gt;
00006	En–gedi&lt;br /&gt;
00001	En–haddah&lt;br /&gt;
00001	En–hakkore&lt;br /&gt;
00001	En–hazor&lt;br /&gt;
00001	En–mishpat&lt;br /&gt;
00001	En–rimmon&lt;br /&gt;
00004	En–rogel&lt;br /&gt;
00002	En–shemesh&lt;br /&gt;
00001	En–tappuah&lt;br /&gt;
00001	Ephes–dammim&lt;br /&gt;
00003	Esar–haddon&lt;br /&gt;
00002	Esh–baal&lt;br /&gt;
00002	Evil–merodach&lt;br /&gt;
00003	Ezion–gaber&lt;br /&gt;
00004	Ezion–geber&lt;br /&gt;
00001	Gath–hepher&lt;br /&gt;
00004	Gath–rimmon&lt;br /&gt;
00001	Gittah–hepher&lt;br /&gt;
00001	Gur–baal&lt;br /&gt;
00001	Hamath–zobah&lt;br /&gt;
00001	Hammoth–dor&lt;br /&gt;
00002	Hamon–gog&lt;br /&gt;
00002	Havoth–jair&lt;br /&gt;
00001	Hazar–addar&lt;br /&gt;
00004	Hazar–enan&lt;br /&gt;
00001	Hazar–gaddah&lt;br /&gt;
00001	Hazar–hatticon&lt;br /&gt;
00004	Hazar–shual&lt;br /&gt;
00001	Hazar–susah&lt;br /&gt;
00001	Hazar–susim&lt;br /&gt;
00001	Hazazon–tamar&lt;br /&gt;
00001	Hazezon–tamar&lt;br /&gt;
00001	Helkath–hazzurim&lt;br /&gt;
00002	Hephzi–bah&lt;br /&gt;
00002	Hor–hagidgad&lt;br /&gt;
00001	I–chabod&lt;br /&gt;
00001	I–chabod’s&lt;br /&gt;
00002	Ije–abarim&lt;br /&gt;
00001	Ir–nahash&lt;br /&gt;
00001	Ir–shemesh&lt;br /&gt;
00012	Ish–bosheth&lt;br /&gt;
00002	Ish–tob&lt;br /&gt;
00001	Ishbi–benob&lt;br /&gt;
00001	Ittah–kazin&lt;br /&gt;
00001	Jaare–oregim&lt;br /&gt;
00012	Jabesh–gilead&lt;br /&gt;
00001	Jashubi–lehem&lt;br /&gt;
00001	Jegar–sahadutha&lt;br /&gt;
00001	Jehovah–jireh&lt;br /&gt;
00001	Jehovah–nissi&lt;br /&gt;
00001	Jehovah–shalom&lt;br /&gt;
00002	Jiphthah–el&lt;br /&gt;
00001	Jonath–elem–rechokim&lt;br /&gt;
00001	Jushab–hesed&lt;br /&gt;
00010	Kadesh–barnea&lt;br /&gt;
00001	Kedesh–naphtali&lt;br /&gt;
00001	Keren–happuch&lt;br /&gt;
00005	Kibroth–hattaavah&lt;br /&gt;
00001	Kir–haraseth&lt;br /&gt;
00001	Kir–hareseth&lt;br /&gt;
00001	Kir–haresh&lt;br /&gt;
00002	Kir–heres&lt;br /&gt;
00006	Kirjath–arba&lt;br /&gt;
00001	Kirjath–arim&lt;br /&gt;
00002	Kirjath–baal&lt;br /&gt;
00001	Kirjath–huzoth&lt;br /&gt;
00018	Kirjath–jearim&lt;br /&gt;
00001	Kirjath–sannah&lt;br /&gt;
00004	Kirjath–sepher&lt;br /&gt;
00002	Lahai–roi&lt;br /&gt;
00001	Lo–ammi&lt;br /&gt;
00003	Lo–debar&lt;br /&gt;
00002	Lo–ruhamah&lt;br /&gt;
00001	Maaleh–acrabbim&lt;br /&gt;
00001	Magor–missabib&lt;br /&gt;
00001	Mahaneh–dan&lt;br /&gt;
00002	Maher–shalal–hash–baz&lt;br /&gt;
00004	Malchi–shua&lt;br /&gt;
00001	Me–jarkon&lt;br /&gt;
00001	Melchi–shua&lt;br /&gt;
00004	Merib–baal&lt;br /&gt;
00001	Meribah–Kadesh&lt;br /&gt;
00001	Merodach–baladan&lt;br /&gt;
00001	Metheg–ammah&lt;br /&gt;
00001	Migdal–el&lt;br /&gt;
00001	Migdal–gad&lt;br /&gt;
00002	Misrephoth–maim&lt;br /&gt;
00001	Moresheth–gath&lt;br /&gt;
00001	Nathan–melech&lt;br /&gt;
00015	Nebuzar–adan&lt;br /&gt;
00003	Nergal–sharezer&lt;br /&gt;
00020	Obed–edom&lt;br /&gt;
00010	Padan–aram&lt;br /&gt;
00006	Pahath–moab&lt;br /&gt;
00001	Pas–dammim&lt;br /&gt;
00001	Perez–uzza&lt;br /&gt;
00001	Perez–uzzah&lt;br /&gt;
00001	Pharaoh–hophra&lt;br /&gt;
00001	Pharaoh–necho&lt;br /&gt;
00004	Pharaoh–nechoh&lt;br /&gt;
00001	Pi–beseth&lt;br /&gt;
00004	Pi–hahiroth&lt;br /&gt;
00003	Poti–pherah&lt;br /&gt;
00002	Rab–mag&lt;br /&gt;
00002	Rab–saris&lt;br /&gt;
00008	Rab–shakeh&lt;br /&gt;
00001	Ramath–lehi&lt;br /&gt;
00001	Ramath–mizpeh&lt;br /&gt;
00001	Ramathaim–zophim&lt;br /&gt;
00019	Ramoth–gilead&lt;br /&gt;
00001	Regem–melech&lt;br /&gt;
00001	Remmon–methoar&lt;br /&gt;
00002	Rimmon–parez&lt;br /&gt;
00002	Romamti–ezer&lt;br /&gt;
00001	Ru–hamah&lt;br /&gt;
00001	Samgar–nebo&lt;br /&gt;
00001	Sela–hammahlekoth&lt;br /&gt;
00001	Shear–jashub&lt;br /&gt;
00004	Shethar–boznai&lt;br /&gt;
00001	Shihor–libnath&lt;br /&gt;
00001	Shimron–meron&lt;br /&gt;
00001	Shoshannim–eduth&lt;br /&gt;
00001	Shushan–eduth&lt;br /&gt;
00001	Succoth–benoth&lt;br /&gt;
00001	Syria–damascus&lt;br /&gt;
00001	Syria–maachah&lt;br /&gt;
00001	Taanath–shiloh&lt;br /&gt;
00001	Tahtim–hodshi&lt;br /&gt;
00001	Tel–abib&lt;br /&gt;
00001	Tel–haresha&lt;br /&gt;
00001	Tel–harsa&lt;br /&gt;
00002	Tel–melah&lt;br /&gt;
00003	Tiglath–pileser&lt;br /&gt;
00003	Tilgath–pilneser&lt;br /&gt;
00001	Timnath–heres&lt;br /&gt;
00002	Timnath–serah&lt;br /&gt;
00001	Tob–adonijah&lt;br /&gt;
00002	Tubal–cain&lt;br /&gt;
00001	Uzzen–sherah&lt;br /&gt;
00001	Zaphnath–paaneah&lt;br /&gt;
00001	Zareth–shahar&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Note:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== List of words containing a hyphen ==&lt;br /&gt;
The following is a counted list of the only 5 words in the KJV containing an ordinary hyphen: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Count	Word&lt;br /&gt;
00003	God-ward&lt;br /&gt;
00001	joint-heirs&lt;br /&gt;
00001	thee-ward&lt;br /&gt;
00003	us-ward&lt;br /&gt;
00003	you-ward&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Hitchcock's Bible Names Dictionary ==&lt;br /&gt;
&lt;br /&gt;
Of the 3609 words in the KJV that are proper names, only 2392 have entries in Hitchcock (two thirds of the total). [[User:David Haslam|David Haslam]] ([[User talk:David Haslam|talk]]) 14:35, 5 February 2017 (MST)&lt;br /&gt;
&lt;br /&gt;
== Eleven verses detected with a comma missing ==&lt;br /&gt;
&lt;br /&gt;
Detailed analysis of the pattern Name Name has detected the following 11 verses that have a comma missing between the two names:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Location		Name Name&lt;br /&gt;
II Chronicles 16:1	Asa Baasha&lt;br /&gt;
II Kings 12:1		Jehu Jehoash&lt;br /&gt;
II Kings 13:1		Judah Jehoahaz&lt;br /&gt;
II Kings 14:23		Judah Jeroboam&lt;br /&gt;
II Kings 15:27		Judah Pekah&lt;br /&gt;
II Kings 15:23		Judah Pekahiah&lt;br /&gt;
Daniel 2:1		Nebuchadnezzar Nebuchadnezzar&lt;br /&gt;
Jeremiah 52:30		Nebuchadrezzar Nebuzar–adan&lt;br /&gt;
Numbers 13:16		Nun Jehoshua&lt;br /&gt;
II Chronicles 12:2	Rehoboam Shishak&lt;br /&gt;
II Kings 16:1		Remaliah Ahaz&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
[[User:David Haslam|David Haslam]] ([[User talk:David Haslam|talk]]) 05:21, 6 February 2017 (MST)&lt;br /&gt;
&lt;br /&gt;
: These don't have a comma in Blayney. --[[User:Dmsmith|Dmsmith]] ([[User talk:Dmsmith|talk]]) 12:54, 25 February 2017 (MST)&lt;br /&gt;
: Nor in Old Scofield. --[[User:Dmsmith|Dmsmith]] ([[User talk:Dmsmith|talk]]) 16:16, 25 February 2017 (MST)&lt;br /&gt;
&lt;br /&gt;
== List of uppercase words in the KJV ==&lt;br /&gt;
&lt;br /&gt;
This is a list of 40 uppercase words found in the KJV text:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ABOMINATIONS&lt;br /&gt;
AM&lt;br /&gt;
AND&lt;br /&gt;
BABYLON&lt;br /&gt;
BRANCH&lt;br /&gt;
EARTH&lt;br /&gt;
GOD&lt;br /&gt;
GREAT&lt;br /&gt;
HARLOTS&lt;br /&gt;
HOLINESS&lt;br /&gt;
I&lt;br /&gt;
IS&lt;br /&gt;
JAH&lt;br /&gt;
JEHOVAH&lt;br /&gt;
JESUS&lt;br /&gt;
JEWS&lt;br /&gt;
KING&lt;br /&gt;
KINGS&lt;br /&gt;
LORD&lt;br /&gt;
LORD’S&lt;br /&gt;
LORDS&lt;br /&gt;
MENE&lt;br /&gt;
MOTHER&lt;br /&gt;
MYSTERY&lt;br /&gt;
NAZARETH&lt;br /&gt;
O&lt;br /&gt;
OF&lt;br /&gt;
OUR&lt;br /&gt;
PERES&lt;br /&gt;
RIGHTEOUSNESS&lt;br /&gt;
TEKEL&lt;br /&gt;
THAT&lt;br /&gt;
THE&lt;br /&gt;
THIS&lt;br /&gt;
THY&lt;br /&gt;
TO&lt;br /&gt;
UNKNOWN&lt;br /&gt;
UNTO&lt;br /&gt;
UPHARSIN&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Some of these are parts of multiword names. &lt;br /&gt;
[[User:David Haslam|David Haslam]] ([[User talk:David Haslam|talk]]) 09:59, 11 February 2017 (MST)&lt;br /&gt;
&lt;br /&gt;
== Multi-word names in the KJV ==&lt;br /&gt;
&lt;br /&gt;
There are several patterns that match multi-word names in which the two main words are capitalized:&lt;br /&gt;
* Name Name&lt;br /&gt;
* Name of Name&lt;br /&gt;
* Name the Name&lt;br /&gt;
* Name in Name&lt;br /&gt;
* Name at Name&lt;br /&gt;
There are also some three word names, such as:&lt;br /&gt;
* Lord Jesus Christ&lt;br /&gt;
Yet there are also names in which the major part of the name is not capitalized:&lt;br /&gt;
* Isaiah 35:8: And an highway shall be there, and a way, and it shall be called '''The way of holiness'''; the unclean shall not pass over it; but it shall be for those: the wayfaring men, though fools, shall not err therein.&lt;br /&gt;
*Jeremiah 16:21: Therefore, behold, I will this once cause them to know, I will cause them to know mine hand and my might; and they shall know that my name is '''The LORD'''. &lt;br /&gt;
* Jeremiah 19:6: Therefore, behold, the days come, saith the LORD, that this place shall no more be called Tophet, nor '''The valley of the son of Hinnom''', but '''The valley of slaughter'''.&lt;br /&gt;
* Lamentations 2:15: All that pass by clap their hands at thee; they hiss and wag their head at the daughter of Jerusalem, saying, Is this the city that men call '''The perfection of beauty''', '''The joy of the whole earth'''?&lt;br /&gt;
* Ezekiel 39:11: And it shall come to pass in that day, that I will give unto Gog a place there of graves in Israel, the valley of the passengers on the east of the sea: and it shall stop the noses of the passengers: and there shall they bury Gog and all his multitude: and they shall call it '''The valley of Hamon–gog'''.&lt;br /&gt;
* Amos 5:27: Therefore will I cause you to go into captivity beyond Damascus, saith the LORD, whose name is '''The God of hosts'''. &lt;br /&gt;
* Zechariah 6:12: And speak unto him, saying, Thus speaketh the LORD of hosts, saying, Behold the man whose name is '''The BRANCH'''; and he shall grow up out of his place, and he shall build the temple of the LORD:&lt;br /&gt;
* Acts 27:8: And, hardly passing it, came unto a place which is called '''The fair havens'''; nigh whereunto was the city of Lasea.&lt;br /&gt;
* Acts 28:15: And from thence, when the brethren heard of us, they came to meet us as far as '''Appii forum''', and '''The three taverns''': whom when Paul saw, he thanked God, and took courage.&lt;br /&gt;
* Revelation of John 19:13: And he was clothed with a vesture dipped in blood: and his name is called '''The Word of God'''.&lt;br /&gt;
[[User:David Haslam|David Haslam]] ([[User talk:David Haslam|talk]]) 06:56, 14 February 2017 (MST)&lt;br /&gt;
: Jer 16:21 should be &amp;lt;font style=&amp;quot;font-variant:small-caps&amp;quot;&amp;gt;Lord&amp;lt;/font&amp;gt;, not LORD. --[[User:Dmsmith|Dmsmith]] ([[User talk:Dmsmith|talk]]) 13:01, 25 February 2017 (MST)&lt;br /&gt;
&lt;br /&gt;
== Two suspect apostrophes in the apocrypha ==&lt;br /&gt;
&lt;br /&gt;
A search of the DC books for the regexp &amp;lt;tt&amp;gt;[^s]\x{2019}\s&amp;lt;/tt&amp;gt; gave two matches:&lt;br /&gt;
* '''Sirach 8:1:''' Strive not with a mighty ma'''n’''' lest thou fall into his hands.&lt;br /&gt;
* '''II Maccabees 7:39:''' Than the kin'''g’''' being in a rage, handed him worse than all the rest, and took it grievously that he was mocked.&lt;br /&gt;
Most online versions are the same. Both items look suspicious. They don't meet any grammatical rule involving possessives. Further research required. [[User:David Haslam|David Haslam]] ([[User talk:David Haslam|talk]]) 13:15, 14 February 2017 (MST)&lt;br /&gt;
:I also think the first word in 2Macc.7.39 ought to be &amp;quot;Then&amp;quot; and not &amp;quot;Than&amp;quot;. [[User:David Haslam|David Haslam]] ([[User talk:David Haslam|talk]]) 13:22, 14 February 2017 (MST)&lt;br /&gt;
Both verses would appear more correct if the right single quotation mark was replaced with a comma:&lt;br /&gt;
* '''Sirach 8:1:''' Strive not with a mighty man, lest thou fall into his hands.&lt;br /&gt;
* '''II Maccabees 7:39:''' Then the king, being in a rage, handed him worse than all the rest, and took it grievously that he was mocked.&lt;br /&gt;
cf. There are 80 matches in the DC books to the pattern &amp;quot;&amp;lt;tt&amp;gt;, being &amp;lt;/tt&amp;gt;&amp;quot;. [[User:David Haslam|David Haslam]] ([[User talk:David Haslam|talk]]) 13:28, 14 February 2017 (MST)&lt;br /&gt;
:Decided to make these changes. [[User:David Haslam|David Haslam]] ([[User talk:David Haslam|talk]]) 01:16, 15 February 2017 (MST)&lt;br /&gt;
:: confirmed against Blayney. --[[User:Dmsmith|Dmsmith]] ([[User talk:Dmsmith|talk]]) 13:02, 25 February 2017 (MST)&lt;br /&gt;
&lt;br /&gt;
== Hyphenated words in the KJV Apocrypha ==&lt;br /&gt;
&lt;br /&gt;
There are only three hyphenated words in the deuterocanonical books, all place names:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Beth-horon&lt;br /&gt;
Cades-Barne&lt;br /&gt;
En-gaddi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
But are there any other names in the DC books that ought to be hyphenated?&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Phaath Moab&lt;br /&gt;
Pahath Moab&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The spelling difference between 1Esd.5.11 and 1Esd.8.31 also needs to be checked.&amp;lt;BR&amp;gt;&lt;br /&gt;
cf. &amp;lt;tt&amp;gt;Pahath–moab&amp;lt;/tt&amp;gt; occurs six times in the KJV. This is the only hyphenated name in the KJV that occurs with a space in place of the hyphen in the DC books. Note the case difference too. [[User:David Haslam|David Haslam]] ([[User talk:David Haslam|talk]]) 09:07, 19 February 2017 (MST)&lt;br /&gt;
&lt;br /&gt;
== Spelling: ax or axe ? ==&lt;br /&gt;
&lt;br /&gt;
Another ''hapax legomenon'' to consider:&lt;br /&gt;
&lt;br /&gt;
Baruch 6:15: He hath also in his right hand a dagger and an '''ax''': but cannot deliver himself from war and thieves.&lt;br /&gt;
&lt;br /&gt;
Should this be '''axe''' as some online versions have it?  cf. The KJV has 13 instances of 'axe' and none of 'ax' other than this in the DC book. [[User:David Haslam|David Haslam]] ([[User talk:David Haslam|talk]]) 15:20, 14 February 2017 (MST)&lt;br /&gt;
:Decided to make this change. [[User:David Haslam|David Haslam]] ([[User talk:David Haslam|talk]]) 01:15, 15 February 2017 (MST)&lt;br /&gt;
: Blayney has ax. --[[User:Dmsmith|Dmsmith]] ([[User talk:Dmsmith|talk]]) 13:07, 25 February 2017 (MST)&lt;br /&gt;
&lt;br /&gt;
== Bipolar names in the DC books ==&lt;br /&gt;
&lt;br /&gt;
Here is a counted list of the '''bipolar names''' (aka ''polynym'') found in the KJV DC books:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
00002	Antiochus Epiphanes&lt;br /&gt;
00002	Antiochus Eupator&lt;br /&gt;
00001	Judas John’s&lt;br /&gt;
00007	Judas Maccabeus&lt;br /&gt;
00001	Judith Holofernes&lt;br /&gt;
00001	Jupiter Olympius&lt;br /&gt;
00001	Massias Israel&lt;br /&gt;
00001	Pahath Moab&lt;br /&gt;
00001	Phaath Moab&lt;br /&gt;
00002	Ptolemeus Philometor&lt;br /&gt;
00001	Quintus Memmius&lt;br /&gt;
00001	Simon Chosameus&lt;br /&gt;
00001	Titus Manlius&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
I have excluded the pattern &amp;quot;Persians Belemus&amp;quot; found in 1Esd.2.16 which is really two names.&amp;lt;BR&amp;gt;&lt;br /&gt;
I have also excluded three locations where a punctuation mark was missing. [[User:David Haslam|David Haslam]] ([[User talk:David Haslam|talk]]) 10:07, 19 February 2017 (MST)&lt;/div&gt;</summary>
		<author><name>Dmsmith</name></author>	</entry>

	<entry>
		<id>https://wiki.crosswire.org/index.php?title=Talk:CrossWire_KJV&amp;diff=15405</id>
		<title>Talk:CrossWire KJV</title>
		<link rel="alternate" type="text/html" href="https://wiki.crosswire.org/index.php?title=Talk:CrossWire_KJV&amp;diff=15405"/>
				<updated>2017-02-25T20:07:22Z</updated>
		
		<summary type="html">&lt;p&gt;Dmsmith: /* Spelling: ax or axe ? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Spelling issues in Blayney's 1769 ==&lt;br /&gt;
&lt;br /&gt;
Though modern editions of the KJV claim to be essentially the same as the 1769 standard, Blayney's work still contained some archaic spellings and some inconsistent spellings. Most of these were unified amd corrected in works such as the Scofield Bible that was used as the Reference Text for the earlier editions of the KJV module. Though there is much to be gained by examining the Blayney's 1769, it would be a retrograde step to revert the KJV module to his spellings. &lt;br /&gt;
&lt;br /&gt;
For further details please visit my user page: [[User:David Haslam/Benjamin Blayney's 1769 KJV]].&lt;br /&gt;
&lt;br /&gt;
[[User:David Haslam|David Haslam]] 10:37, 25 January 2016 (MST)&lt;br /&gt;
&lt;br /&gt;
:I don't think it'd be a backward step. But if so, maybe we fork the KJV as what we have now is not the 1769 Blayney, but rather Old Scofield? There is considerable value in having an accurate text for the Blayney edition. --[[User:Dmsmith|Dmsmith]] 11:11, 25 January 2016 (MST)&lt;br /&gt;
::Rather than forking the module (which would lead to a lot of extra work), I would prefer to use OSIS markup to record spelling (and punctuation) variants in the various printed editions 1769 to present. [[User:David Haslam|David Haslam]] 04:26, 27 January 2016 (MST)&lt;br /&gt;
:::It's not as if we don't already have another related module which has become outdated compared to the KJV, namely the KJVA module with the Apocrypha included. The Protocanonical Books for that should ideally have been made to track the KJV module in terms of updates. [[User:David Haslam|David Haslam]] 04:29, 27 January 2016 (MST)&lt;br /&gt;
&lt;br /&gt;
== catchWord and osisRef with @s[word] ==&lt;br /&gt;
&lt;br /&gt;
Not sure why this got removed?&lt;br /&gt;
	&lt;br /&gt;
* Add '''osisRef''' to '''catchWord''' (for now at least, mainly for single keywords).&lt;br /&gt;
&lt;br /&gt;
[[User:David Haslam|David Haslam]] 13:01, 29 January 2016 (MST)&lt;br /&gt;
&lt;br /&gt;
:Reinstated for 2.10 &amp;amp;ndash; [[User:David Haslam|David Haslam]] 09:11, 30 January 2016 (MST)&lt;br /&gt;
&lt;br /&gt;
== List of ordinary words that are not found with all lowercase in the KJV main text ==&lt;br /&gt;
:''This list may not be complete''.&lt;br /&gt;
The following 41 ordinary words are not found with all lowercase letters: (i.e. these capitalised words are not names)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Accounting&lt;br /&gt;
Acquaint&lt;br /&gt;
Alleluia&lt;br /&gt;
Associate&lt;br /&gt;
Backbiters&lt;br /&gt;
Blotting&lt;br /&gt;
Choosing&lt;br /&gt;
Distributing&lt;br /&gt;
Endeavouring&lt;br /&gt;
Enflaming&lt;br /&gt;
Enviest&lt;br /&gt;
Ephphatha&lt;br /&gt;
Esteeming&lt;br /&gt;
Finally&lt;br /&gt;
God’s&lt;br /&gt;
Godhead&lt;br /&gt;
God-ward&lt;br /&gt;
Hosanna&lt;br /&gt;
I&lt;br /&gt;
Launch&lt;br /&gt;
Listen&lt;br /&gt;
Maranatha&lt;br /&gt;
MENE&lt;br /&gt;
Musician&lt;br /&gt;
O&lt;br /&gt;
Outcast&lt;br /&gt;
Owe&lt;br /&gt;
PERES&lt;br /&gt;
Produce&lt;br /&gt;
Providing&lt;br /&gt;
Rabbi&lt;br /&gt;
Raca&lt;br /&gt;
Remembering&lt;br /&gt;
Revilest&lt;br /&gt;
Submitting&lt;br /&gt;
Talitha&lt;br /&gt;
TEKEL&lt;br /&gt;
Traitors&lt;br /&gt;
UPHARSIN&lt;br /&gt;
Wherewithal&lt;br /&gt;
Yes&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This list can be used for fine tuning the filtering of a complete words list in order to tabulate names that occur in the KJV text. &amp;lt;BR&amp;gt;&lt;br /&gt;
My big list now includes words that are in the canonical Psalm titles. [[User:David Haslam|David Haslam]] ([[User talk:David Haslam|talk]]) 14:39, 5 February 2017 (MST)&lt;br /&gt;
&lt;br /&gt;
== List of ordinary words that are also names ==&lt;br /&gt;
:''This list may not be complete''.&lt;br /&gt;
The following 44 ordinary words in the KJV are also names:&amp;lt;ref&amp;gt;That is, they are found capitalised mid-sentence.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;Some of these are symbolic names for Christ.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;This list currently excludes uppercase words.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;Names in the KJV that are ordinary words outside the KJV will not be listed.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Angel&lt;br /&gt;
Apostle&lt;br /&gt;
Bishop&lt;br /&gt;
Branch&lt;br /&gt;
Creator&lt;br /&gt;
Death&lt;br /&gt;
Devil&lt;br /&gt;
Faithful&lt;br /&gt;
Father&lt;br /&gt;
Ghost&lt;br /&gt;
God&lt;br /&gt;
Governor&lt;br /&gt;
Hell&lt;br /&gt;
Holy&lt;br /&gt;
High&lt;br /&gt;
Judge&lt;br /&gt;
King&lt;br /&gt;
Lamb&lt;br /&gt;
Light&lt;br /&gt;
Lion&lt;br /&gt;
Lord&lt;br /&gt;
Lot&lt;br /&gt;
Master&lt;br /&gt;
No&lt;br /&gt;
On&lt;br /&gt;
One&lt;br /&gt;
Priest&lt;br /&gt;
Prince&lt;br /&gt;
Prophet&lt;br /&gt;
Put&lt;br /&gt;
Rock&lt;br /&gt;
Saviour&lt;br /&gt;
Sceptre&lt;br /&gt;
Seer&lt;br /&gt;
Shepherd&lt;br /&gt;
Sin&lt;br /&gt;
Son&lt;br /&gt;
Spirit&lt;br /&gt;
Star&lt;br /&gt;
Strength&lt;br /&gt;
Sun&lt;br /&gt;
True&lt;br /&gt;
Word&lt;br /&gt;
Wormwood&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
[[User:David Haslam|David Haslam]] ([[User talk:David Haslam|talk]]) 09:56, 11 February 2017 (MST)&lt;br /&gt;
&lt;br /&gt;
== List of words that contain the EN DASH (U+2013) ==&lt;br /&gt;
The following is a counted list of the 259 different words in the KJV containing the EN DASH character used as a hyphen:&amp;lt;ref&amp;gt;This list includes such words as found in the canonical Psalm titles.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;A few of these words may also appear elsewhere in the Bible without the EN DASH.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Count	Word&lt;br /&gt;
00015	Abed–nego&lt;br /&gt;
00002	Abel–beth–maachah&lt;br /&gt;
00001	Abel–maim&lt;br /&gt;
00003	Abel–meholah&lt;br /&gt;
00001	Abel–mizraim&lt;br /&gt;
00001	Abel–shittim&lt;br /&gt;
00001	Abi–albon&lt;br /&gt;
00004	Abi–ezer&lt;br /&gt;
00001	Abi–ezrite&lt;br /&gt;
00002	Abi–ezrites&lt;br /&gt;
00003	Adoni–bezek&lt;br /&gt;
00002	Adoni–zedek&lt;br /&gt;
00004	Al–taschith&lt;br /&gt;
00001	Allon–bachuth&lt;br /&gt;
00002	Almon–diblathaim&lt;br /&gt;
00001	Aram–naharaim&lt;br /&gt;
00001	Aram–zobah&lt;br /&gt;
00003	Ashdoth–pisgah&lt;br /&gt;
00001	Ataroth–adar&lt;br /&gt;
00001	Ataroth–addar&lt;br /&gt;
00001	Aznoth–tabor&lt;br /&gt;
00002	Baal–berith&lt;br /&gt;
00003	Baal–gad&lt;br /&gt;
00001	Baal–hamon&lt;br /&gt;
00005	Baal–hanan&lt;br /&gt;
00001	Baal–hazor&lt;br /&gt;
00002	Baal–hermon&lt;br /&gt;
00003	Baal–meon&lt;br /&gt;
00006	Baal–peor&lt;br /&gt;
00004	Baal–perazim&lt;br /&gt;
00001	Baal–shalisha&lt;br /&gt;
00001	Baal–tamar&lt;br /&gt;
00004	Baal–zebub&lt;br /&gt;
00003	Baal–zephon&lt;br /&gt;
00001	Baalath–beer&lt;br /&gt;
00001	Bamoth–baal&lt;br /&gt;
00001	Bar–jesus&lt;br /&gt;
00001	Bar–jona&lt;br /&gt;
00001	Bashan–havoth–jair&lt;br /&gt;
00001	Bath–rabbim&lt;br /&gt;
00011	Bath–sheba&lt;br /&gt;
00001	Bath–shua&lt;br /&gt;
00001	Beer–elim&lt;br /&gt;
00001	Beer–lahai–roi&lt;br /&gt;
00034	Beer–sheba&lt;br /&gt;
00001	Beesh–terah&lt;br /&gt;
00001	Ben–ammi&lt;br /&gt;
00027	Ben–hadad&lt;br /&gt;
00001	Ben–hail&lt;br /&gt;
00001	Ben–hanan&lt;br /&gt;
00001	Ben–oni&lt;br /&gt;
00001	Ben–zoheth&lt;br /&gt;
00001	Bene–berak&lt;br /&gt;
00002	Bene–jaakan&lt;br /&gt;
00001	Berodach–baladan&lt;br /&gt;
00003	Beth–anath&lt;br /&gt;
00001	Beth–anoth&lt;br /&gt;
00003	Beth–arabah&lt;br /&gt;
00001	Beth–aram&lt;br /&gt;
00001	Beth–arbel&lt;br /&gt;
00007	Beth–aven&lt;br /&gt;
00001	Beth–azmaveth&lt;br /&gt;
00001	Beth–baal–meon&lt;br /&gt;
00002	Beth–barah&lt;br /&gt;
00001	Beth–birei&lt;br /&gt;
00001	Beth–car&lt;br /&gt;
00002	Beth–dagon&lt;br /&gt;
00001	Beth–diblathaim&lt;br /&gt;
00066	Beth–el&lt;br /&gt;
00001	Beth–elite&lt;br /&gt;
00001	Beth–emek&lt;br /&gt;
00001	Beth–ezel&lt;br /&gt;
00001	Beth–gader&lt;br /&gt;
00001	Beth–gamul&lt;br /&gt;
00002	Beth–haccerem&lt;br /&gt;
00001	Beth–haran&lt;br /&gt;
00001	Beth–hogla&lt;br /&gt;
00002	Beth–hoglah&lt;br /&gt;
00014	Beth–horon&lt;br /&gt;
00003	Beth–jeshimoth&lt;br /&gt;
00001	Beth–jesimoth&lt;br /&gt;
00001	Beth–lebaoth&lt;br /&gt;
00031	Beth–lehem&lt;br /&gt;
00010	Beth–lehem–judah&lt;br /&gt;
00004	Beth–lehemite&lt;br /&gt;
00002	Beth–maachah&lt;br /&gt;
00002	Beth–marcaboth&lt;br /&gt;
00001	Beth–meon&lt;br /&gt;
00002	Beth–nimrah&lt;br /&gt;
00001	Beth–palet&lt;br /&gt;
00001	Beth–pazzez&lt;br /&gt;
00004	Beth–peor&lt;br /&gt;
00001	Beth–phelet&lt;br /&gt;
00001	Beth–rapha&lt;br /&gt;
00002	Beth–rehob&lt;br /&gt;
00003	Beth–shan&lt;br /&gt;
00006	Beth–shean&lt;br /&gt;
00021	Beth–shemesh&lt;br /&gt;
00002	Beth–shemite&lt;br /&gt;
00001	Beth–shittah&lt;br /&gt;
00001	Beth–tappuah&lt;br /&gt;
00004	Beth–zur&lt;br /&gt;
00001	Caleb–ephratah&lt;br /&gt;
00001	Chephar–haammonai&lt;br /&gt;
00001	Chisloth–tabor&lt;br /&gt;
00001	Chor–ashan&lt;br /&gt;
00004	Chushan–rishathaim&lt;br /&gt;
00002	Col–hozeh&lt;br /&gt;
00001	Dan–jaan&lt;br /&gt;
00002	Dibon–gad&lt;br /&gt;
00006	Ebed–melech&lt;br /&gt;
00003	Eben–ezer&lt;br /&gt;
00001	El–beth–el&lt;br /&gt;
00001	El–elohe–Israel&lt;br /&gt;
00001	El–paran&lt;br /&gt;
00001	Elon–beth–hanan&lt;br /&gt;
00001	En–eglaim&lt;br /&gt;
00003	En–gannim&lt;br /&gt;
00006	En–gedi&lt;br /&gt;
00001	En–haddah&lt;br /&gt;
00001	En–hakkore&lt;br /&gt;
00001	En–hazor&lt;br /&gt;
00001	En–mishpat&lt;br /&gt;
00001	En–rimmon&lt;br /&gt;
00004	En–rogel&lt;br /&gt;
00002	En–shemesh&lt;br /&gt;
00001	En–tappuah&lt;br /&gt;
00001	Ephes–dammim&lt;br /&gt;
00003	Esar–haddon&lt;br /&gt;
00002	Esh–baal&lt;br /&gt;
00002	Evil–merodach&lt;br /&gt;
00003	Ezion–gaber&lt;br /&gt;
00004	Ezion–geber&lt;br /&gt;
00001	Gath–hepher&lt;br /&gt;
00004	Gath–rimmon&lt;br /&gt;
00001	Gittah–hepher&lt;br /&gt;
00001	Gur–baal&lt;br /&gt;
00001	Hamath–zobah&lt;br /&gt;
00001	Hammoth–dor&lt;br /&gt;
00002	Hamon–gog&lt;br /&gt;
00002	Havoth–jair&lt;br /&gt;
00001	Hazar–addar&lt;br /&gt;
00004	Hazar–enan&lt;br /&gt;
00001	Hazar–gaddah&lt;br /&gt;
00001	Hazar–hatticon&lt;br /&gt;
00004	Hazar–shual&lt;br /&gt;
00001	Hazar–susah&lt;br /&gt;
00001	Hazar–susim&lt;br /&gt;
00001	Hazazon–tamar&lt;br /&gt;
00001	Hazezon–tamar&lt;br /&gt;
00001	Helkath–hazzurim&lt;br /&gt;
00002	Hephzi–bah&lt;br /&gt;
00002	Hor–hagidgad&lt;br /&gt;
00001	I–chabod&lt;br /&gt;
00001	I–chabod’s&lt;br /&gt;
00002	Ije–abarim&lt;br /&gt;
00001	Ir–nahash&lt;br /&gt;
00001	Ir–shemesh&lt;br /&gt;
00012	Ish–bosheth&lt;br /&gt;
00002	Ish–tob&lt;br /&gt;
00001	Ishbi–benob&lt;br /&gt;
00001	Ittah–kazin&lt;br /&gt;
00001	Jaare–oregim&lt;br /&gt;
00012	Jabesh–gilead&lt;br /&gt;
00001	Jashubi–lehem&lt;br /&gt;
00001	Jegar–sahadutha&lt;br /&gt;
00001	Jehovah–jireh&lt;br /&gt;
00001	Jehovah–nissi&lt;br /&gt;
00001	Jehovah–shalom&lt;br /&gt;
00002	Jiphthah–el&lt;br /&gt;
00001	Jonath–elem–rechokim&lt;br /&gt;
00001	Jushab–hesed&lt;br /&gt;
00010	Kadesh–barnea&lt;br /&gt;
00001	Kedesh–naphtali&lt;br /&gt;
00001	Keren–happuch&lt;br /&gt;
00005	Kibroth–hattaavah&lt;br /&gt;
00001	Kir–haraseth&lt;br /&gt;
00001	Kir–hareseth&lt;br /&gt;
00001	Kir–haresh&lt;br /&gt;
00002	Kir–heres&lt;br /&gt;
00006	Kirjath–arba&lt;br /&gt;
00001	Kirjath–arim&lt;br /&gt;
00002	Kirjath–baal&lt;br /&gt;
00001	Kirjath–huzoth&lt;br /&gt;
00018	Kirjath–jearim&lt;br /&gt;
00001	Kirjath–sannah&lt;br /&gt;
00004	Kirjath–sepher&lt;br /&gt;
00002	Lahai–roi&lt;br /&gt;
00001	Lo–ammi&lt;br /&gt;
00003	Lo–debar&lt;br /&gt;
00002	Lo–ruhamah&lt;br /&gt;
00001	Maaleh–acrabbim&lt;br /&gt;
00001	Magor–missabib&lt;br /&gt;
00001	Mahaneh–dan&lt;br /&gt;
00002	Maher–shalal–hash–baz&lt;br /&gt;
00004	Malchi–shua&lt;br /&gt;
00001	Me–jarkon&lt;br /&gt;
00001	Melchi–shua&lt;br /&gt;
00004	Merib–baal&lt;br /&gt;
00001	Meribah–Kadesh&lt;br /&gt;
00001	Merodach–baladan&lt;br /&gt;
00001	Metheg–ammah&lt;br /&gt;
00001	Migdal–el&lt;br /&gt;
00001	Migdal–gad&lt;br /&gt;
00002	Misrephoth–maim&lt;br /&gt;
00001	Moresheth–gath&lt;br /&gt;
00001	Nathan–melech&lt;br /&gt;
00015	Nebuzar–adan&lt;br /&gt;
00003	Nergal–sharezer&lt;br /&gt;
00020	Obed–edom&lt;br /&gt;
00010	Padan–aram&lt;br /&gt;
00006	Pahath–moab&lt;br /&gt;
00001	Pas–dammim&lt;br /&gt;
00001	Perez–uzza&lt;br /&gt;
00001	Perez–uzzah&lt;br /&gt;
00001	Pharaoh–hophra&lt;br /&gt;
00001	Pharaoh–necho&lt;br /&gt;
00004	Pharaoh–nechoh&lt;br /&gt;
00001	Pi–beseth&lt;br /&gt;
00004	Pi–hahiroth&lt;br /&gt;
00003	Poti–pherah&lt;br /&gt;
00002	Rab–mag&lt;br /&gt;
00002	Rab–saris&lt;br /&gt;
00008	Rab–shakeh&lt;br /&gt;
00001	Ramath–lehi&lt;br /&gt;
00001	Ramath–mizpeh&lt;br /&gt;
00001	Ramathaim–zophim&lt;br /&gt;
00019	Ramoth–gilead&lt;br /&gt;
00001	Regem–melech&lt;br /&gt;
00001	Remmon–methoar&lt;br /&gt;
00002	Rimmon–parez&lt;br /&gt;
00002	Romamti–ezer&lt;br /&gt;
00001	Ru–hamah&lt;br /&gt;
00001	Samgar–nebo&lt;br /&gt;
00001	Sela–hammahlekoth&lt;br /&gt;
00001	Shear–jashub&lt;br /&gt;
00004	Shethar–boznai&lt;br /&gt;
00001	Shihor–libnath&lt;br /&gt;
00001	Shimron–meron&lt;br /&gt;
00001	Shoshannim–eduth&lt;br /&gt;
00001	Shushan–eduth&lt;br /&gt;
00001	Succoth–benoth&lt;br /&gt;
00001	Syria–damascus&lt;br /&gt;
00001	Syria–maachah&lt;br /&gt;
00001	Taanath–shiloh&lt;br /&gt;
00001	Tahtim–hodshi&lt;br /&gt;
00001	Tel–abib&lt;br /&gt;
00001	Tel–haresha&lt;br /&gt;
00001	Tel–harsa&lt;br /&gt;
00002	Tel–melah&lt;br /&gt;
00003	Tiglath–pileser&lt;br /&gt;
00003	Tilgath–pilneser&lt;br /&gt;
00001	Timnath–heres&lt;br /&gt;
00002	Timnath–serah&lt;br /&gt;
00001	Tob–adonijah&lt;br /&gt;
00002	Tubal–cain&lt;br /&gt;
00001	Uzzen–sherah&lt;br /&gt;
00001	Zaphnath–paaneah&lt;br /&gt;
00001	Zareth–shahar&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Note:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== List of words containing a hyphen ==&lt;br /&gt;
The following is a counted list of the only 5 words in the KJV containing an ordinary hyphen: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Count	Word&lt;br /&gt;
00003	God-ward&lt;br /&gt;
00001	joint-heirs&lt;br /&gt;
00001	thee-ward&lt;br /&gt;
00003	us-ward&lt;br /&gt;
00003	you-ward&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Hitchcock's Bible Names Dictionary ==&lt;br /&gt;
&lt;br /&gt;
Of the 3609 words in the KJV that are proper names, only 2392 have entries in Hitchcock (two thirds of the total). [[User:David Haslam|David Haslam]] ([[User talk:David Haslam|talk]]) 14:35, 5 February 2017 (MST)&lt;br /&gt;
&lt;br /&gt;
== Eleven verses detected with a comma missing ==&lt;br /&gt;
&lt;br /&gt;
Detailed analysis of the pattern Name Name has detected the following 11 verses that have a comma missing between the two names:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Location		Name Name&lt;br /&gt;
II Chronicles 16:1	Asa Baasha&lt;br /&gt;
II Kings 12:1		Jehu Jehoash&lt;br /&gt;
II Kings 13:1		Judah Jehoahaz&lt;br /&gt;
II Kings 14:23		Judah Jeroboam&lt;br /&gt;
II Kings 15:27		Judah Pekah&lt;br /&gt;
II Kings 15:23		Judah Pekahiah&lt;br /&gt;
Daniel 2:1		Nebuchadnezzar Nebuchadnezzar&lt;br /&gt;
Jeremiah 52:30		Nebuchadrezzar Nebuzar–adan&lt;br /&gt;
Numbers 13:16		Nun Jehoshua&lt;br /&gt;
II Chronicles 12:2	Rehoboam Shishak&lt;br /&gt;
II Kings 16:1		Remaliah Ahaz&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
[[User:David Haslam|David Haslam]] ([[User talk:David Haslam|talk]]) 05:21, 6 February 2017 (MST)&lt;br /&gt;
&lt;br /&gt;
: These don't have a comma in Blayney. --[[User:Dmsmith|Dmsmith]] ([[User talk:Dmsmith|talk]]) 12:54, 25 February 2017 (MST)&lt;br /&gt;
&lt;br /&gt;
== List of uppercase words in the KJV ==&lt;br /&gt;
&lt;br /&gt;
This is a list of 40 uppercase words found in the KJV text:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ABOMINATIONS&lt;br /&gt;
AM&lt;br /&gt;
AND&lt;br /&gt;
BABYLON&lt;br /&gt;
BRANCH&lt;br /&gt;
EARTH&lt;br /&gt;
GOD&lt;br /&gt;
GREAT&lt;br /&gt;
HARLOTS&lt;br /&gt;
HOLINESS&lt;br /&gt;
I&lt;br /&gt;
IS&lt;br /&gt;
JAH&lt;br /&gt;
JEHOVAH&lt;br /&gt;
JESUS&lt;br /&gt;
JEWS&lt;br /&gt;
KING&lt;br /&gt;
KINGS&lt;br /&gt;
LORD&lt;br /&gt;
LORD’S&lt;br /&gt;
LORDS&lt;br /&gt;
MENE&lt;br /&gt;
MOTHER&lt;br /&gt;
MYSTERY&lt;br /&gt;
NAZARETH&lt;br /&gt;
O&lt;br /&gt;
OF&lt;br /&gt;
OUR&lt;br /&gt;
PERES&lt;br /&gt;
RIGHTEOUSNESS&lt;br /&gt;
TEKEL&lt;br /&gt;
THAT&lt;br /&gt;
THE&lt;br /&gt;
THIS&lt;br /&gt;
THY&lt;br /&gt;
TO&lt;br /&gt;
UNKNOWN&lt;br /&gt;
UNTO&lt;br /&gt;
UPHARSIN&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Some of these are parts of multiword names. &lt;br /&gt;
[[User:David Haslam|David Haslam]] ([[User talk:David Haslam|talk]]) 09:59, 11 February 2017 (MST)&lt;br /&gt;
&lt;br /&gt;
== Multi-word names in the KJV ==&lt;br /&gt;
&lt;br /&gt;
There are several patterns that match multi-word names in which the two main words are capitalized:&lt;br /&gt;
* Name Name&lt;br /&gt;
* Name of Name&lt;br /&gt;
* Name the Name&lt;br /&gt;
* Name in Name&lt;br /&gt;
* Name at Name&lt;br /&gt;
There are also some three word names, such as:&lt;br /&gt;
* Lord Jesus Christ&lt;br /&gt;
Yet there are also names in which the major part of the name is not capitalized:&lt;br /&gt;
* Isaiah 35:8: And an highway shall be there, and a way, and it shall be called '''The way of holiness'''; the unclean shall not pass over it; but it shall be for those: the wayfaring men, though fools, shall not err therein.&lt;br /&gt;
*Jeremiah 16:21: Therefore, behold, I will this once cause them to know, I will cause them to know mine hand and my might; and they shall know that my name is '''The LORD'''. &lt;br /&gt;
* Jeremiah 19:6: Therefore, behold, the days come, saith the LORD, that this place shall no more be called Tophet, nor '''The valley of the son of Hinnom''', but '''The valley of slaughter'''.&lt;br /&gt;
* Lamentations 2:15: All that pass by clap their hands at thee; they hiss and wag their head at the daughter of Jerusalem, saying, Is this the city that men call '''The perfection of beauty''', '''The joy of the whole earth'''?&lt;br /&gt;
* Ezekiel 39:11: And it shall come to pass in that day, that I will give unto Gog a place there of graves in Israel, the valley of the passengers on the east of the sea: and it shall stop the noses of the passengers: and there shall they bury Gog and all his multitude: and they shall call it '''The valley of Hamon–gog'''.&lt;br /&gt;
* Amos 5:27: Therefore will I cause you to go into captivity beyond Damascus, saith the LORD, whose name is '''The God of hosts'''. &lt;br /&gt;
* Zechariah 6:12: And speak unto him, saying, Thus speaketh the LORD of hosts, saying, Behold the man whose name is '''The BRANCH'''; and he shall grow up out of his place, and he shall build the temple of the LORD:&lt;br /&gt;
* Acts 27:8: And, hardly passing it, came unto a place which is called '''The fair havens'''; nigh whereunto was the city of Lasea.&lt;br /&gt;
* Acts 28:15: And from thence, when the brethren heard of us, they came to meet us as far as '''Appii forum''', and '''The three taverns''': whom when Paul saw, he thanked God, and took courage.&lt;br /&gt;
* Revelation of John 19:13: And he was clothed with a vesture dipped in blood: and his name is called '''The Word of God'''.&lt;br /&gt;
[[User:David Haslam|David Haslam]] ([[User talk:David Haslam|talk]]) 06:56, 14 February 2017 (MST)&lt;br /&gt;
: Jer 16:21 should be &amp;lt;font style=&amp;quot;font-variant:small-caps&amp;quot;&amp;gt;Lord&amp;lt;/font&amp;gt;, not LORD. --[[User:Dmsmith|Dmsmith]] ([[User talk:Dmsmith|talk]]) 13:01, 25 February 2017 (MST)&lt;br /&gt;
&lt;br /&gt;
== Two suspect apostrophes in the apocrypha ==&lt;br /&gt;
&lt;br /&gt;
A search of the DC books for the regexp &amp;lt;tt&amp;gt;[^s]\x{2019}\s&amp;lt;/tt&amp;gt; gave two matches:&lt;br /&gt;
* '''Sirach 8:1:''' Strive not with a mighty ma'''n’''' lest thou fall into his hands.&lt;br /&gt;
* '''II Maccabees 7:39:''' Than the kin'''g’''' being in a rage, handed him worse than all the rest, and took it grievously that he was mocked.&lt;br /&gt;
Most online versions are the same. Both items look suspicious. They don't meet any grammatical rule involving possessives. Further research required. [[User:David Haslam|David Haslam]] ([[User talk:David Haslam|talk]]) 13:15, 14 February 2017 (MST)&lt;br /&gt;
:I also think the first word in 2Macc.7.39 ought to be &amp;quot;Then&amp;quot; and not &amp;quot;Than&amp;quot;. [[User:David Haslam|David Haslam]] ([[User talk:David Haslam|talk]]) 13:22, 14 February 2017 (MST)&lt;br /&gt;
Both verses would appear more correct if the right single quotation mark was replaced with a comma:&lt;br /&gt;
* '''Sirach 8:1:''' Strive not with a mighty man, lest thou fall into his hands.&lt;br /&gt;
* '''II Maccabees 7:39:''' Then the king, being in a rage, handed him worse than all the rest, and took it grievously that he was mocked.&lt;br /&gt;
cf. There are 80 matches in the DC books to the pattern &amp;quot;&amp;lt;tt&amp;gt;, being &amp;lt;/tt&amp;gt;&amp;quot;. [[User:David Haslam|David Haslam]] ([[User talk:David Haslam|talk]]) 13:28, 14 February 2017 (MST)&lt;br /&gt;
:Decided to make these changes. [[User:David Haslam|David Haslam]] ([[User talk:David Haslam|talk]]) 01:16, 15 February 2017 (MST)&lt;br /&gt;
:: confirmed against Blayney. --[[User:Dmsmith|Dmsmith]] ([[User talk:Dmsmith|talk]]) 13:02, 25 February 2017 (MST)&lt;br /&gt;
&lt;br /&gt;
== Hyphenated words in the KJV Apocrypha ==&lt;br /&gt;
&lt;br /&gt;
There are only three hyphenated words in the deuterocanonical books, all place names:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Beth-horon&lt;br /&gt;
Cades-Barne&lt;br /&gt;
En-gaddi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
But are there any other names in the DC books that ought to be hyphenated?&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Phaath Moab&lt;br /&gt;
Pahath Moab&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The spelling difference between 1Esd.5.11 and 1Esd.8.31 also needs to be checked.&amp;lt;BR&amp;gt;&lt;br /&gt;
cf. &amp;lt;tt&amp;gt;Pahath–moab&amp;lt;/tt&amp;gt; occurs six times in the KJV. This is the only hyphenated name in the KJV that occurs with a space in place of the hyphen in the DC books. Note the case difference too. [[User:David Haslam|David Haslam]] ([[User talk:David Haslam|talk]]) 09:07, 19 February 2017 (MST)&lt;br /&gt;
&lt;br /&gt;
== Spelling: ax or axe ? ==&lt;br /&gt;
&lt;br /&gt;
Another ''hapax legomenon'' to consider:&lt;br /&gt;
&lt;br /&gt;
Baruch 6:15: He hath also in his right hand a dagger and an '''ax''': but cannot deliver himself from war and thieves.&lt;br /&gt;
&lt;br /&gt;
Should this be '''axe''' as some online versions have it?  cf. The KJV has 13 instances of 'axe' and none of 'ax' other than this in the DC book. [[User:David Haslam|David Haslam]] ([[User talk:David Haslam|talk]]) 15:20, 14 February 2017 (MST)&lt;br /&gt;
:Decided to make this change. [[User:David Haslam|David Haslam]] ([[User talk:David Haslam|talk]]) 01:15, 15 February 2017 (MST)&lt;br /&gt;
: Blayney has ax. --[[User:Dmsmith|Dmsmith]] ([[User talk:Dmsmith|talk]]) 13:07, 25 February 2017 (MST)&lt;br /&gt;
&lt;br /&gt;
== Bipolar names in the DC books ==&lt;br /&gt;
&lt;br /&gt;
Here is a counted list of the '''bipolar names''' (aka ''polynym'') found in the KJV DC books:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
00002	Antiochus Epiphanes&lt;br /&gt;
00002	Antiochus Eupator&lt;br /&gt;
00001	Judas John’s&lt;br /&gt;
00007	Judas Maccabeus&lt;br /&gt;
00001	Judith Holofernes&lt;br /&gt;
00001	Jupiter Olympius&lt;br /&gt;
00001	Massias Israel&lt;br /&gt;
00001	Pahath Moab&lt;br /&gt;
00001	Phaath Moab&lt;br /&gt;
00002	Ptolemeus Philometor&lt;br /&gt;
00001	Quintus Memmius&lt;br /&gt;
00001	Simon Chosameus&lt;br /&gt;
00001	Titus Manlius&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
I have excluded the pattern &amp;quot;Persians Belemus&amp;quot; found in 1Esd.2.16 which is really two names.&amp;lt;BR&amp;gt;&lt;br /&gt;
I have also excluded three locations where a punctuation mark was missing. [[User:David Haslam|David Haslam]] ([[User talk:David Haslam|talk]]) 10:07, 19 February 2017 (MST)&lt;/div&gt;</summary>
		<author><name>Dmsmith</name></author>	</entry>

	<entry>
		<id>https://wiki.crosswire.org/index.php?title=Talk:CrossWire_KJV&amp;diff=15404</id>
		<title>Talk:CrossWire KJV</title>
		<link rel="alternate" type="text/html" href="https://wiki.crosswire.org/index.php?title=Talk:CrossWire_KJV&amp;diff=15404"/>
				<updated>2017-02-25T20:02:24Z</updated>
		
		<summary type="html">&lt;p&gt;Dmsmith: /* Two suspect apostrophes in the apocrypha */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Spelling issues in Blayney's 1769 ==&lt;br /&gt;
&lt;br /&gt;
Though modern editions of the KJV claim to be essentially the same as the 1769 standard, Blayney's work still contained some archaic spellings and some inconsistent spellings. Most of these were unified amd corrected in works such as the Scofield Bible that was used as the Reference Text for the earlier editions of the KJV module. Though there is much to be gained by examining the Blayney's 1769, it would be a retrograde step to revert the KJV module to his spellings. &lt;br /&gt;
&lt;br /&gt;
For further details please visit my user page: [[User:David Haslam/Benjamin Blayney's 1769 KJV]].&lt;br /&gt;
&lt;br /&gt;
[[User:David Haslam|David Haslam]] 10:37, 25 January 2016 (MST)&lt;br /&gt;
&lt;br /&gt;
:I don't think it'd be a backward step. But if so, maybe we fork the KJV as what we have now is not the 1769 Blayney, but rather Old Scofield? There is considerable value in having an accurate text for the Blayney edition. --[[User:Dmsmith|Dmsmith]] 11:11, 25 January 2016 (MST)&lt;br /&gt;
::Rather than forking the module (which would lead to a lot of extra work), I would prefer to use OSIS markup to record spelling (and punctuation) variants in the various printed editions 1769 to present. [[User:David Haslam|David Haslam]] 04:26, 27 January 2016 (MST)&lt;br /&gt;
:::It's not as if we don't already have another related module which has become outdated compared to the KJV, namely the KJVA module with the Apocrypha included. The Protocanonical Books for that should ideally have been made to track the KJV module in terms of updates. [[User:David Haslam|David Haslam]] 04:29, 27 January 2016 (MST)&lt;br /&gt;
&lt;br /&gt;
== catchWord and osisRef with @s[word] ==&lt;br /&gt;
&lt;br /&gt;
Not sure why this got removed?&lt;br /&gt;
	&lt;br /&gt;
* Add '''osisRef''' to '''catchWord''' (for now at least, mainly for single keywords).&lt;br /&gt;
&lt;br /&gt;
[[User:David Haslam|David Haslam]] 13:01, 29 January 2016 (MST)&lt;br /&gt;
&lt;br /&gt;
:Reinstated for 2.10 &amp;amp;ndash; [[User:David Haslam|David Haslam]] 09:11, 30 January 2016 (MST)&lt;br /&gt;
&lt;br /&gt;
== List of ordinary words that are not found with all lowercase in the KJV main text ==&lt;br /&gt;
:''This list may not be complete''.&lt;br /&gt;
The following 41 ordinary words are not found with all lowercase letters: (i.e. these capitalised words are not names)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Accounting&lt;br /&gt;
Acquaint&lt;br /&gt;
Alleluia&lt;br /&gt;
Associate&lt;br /&gt;
Backbiters&lt;br /&gt;
Blotting&lt;br /&gt;
Choosing&lt;br /&gt;
Distributing&lt;br /&gt;
Endeavouring&lt;br /&gt;
Enflaming&lt;br /&gt;
Enviest&lt;br /&gt;
Ephphatha&lt;br /&gt;
Esteeming&lt;br /&gt;
Finally&lt;br /&gt;
God’s&lt;br /&gt;
Godhead&lt;br /&gt;
God-ward&lt;br /&gt;
Hosanna&lt;br /&gt;
I&lt;br /&gt;
Launch&lt;br /&gt;
Listen&lt;br /&gt;
Maranatha&lt;br /&gt;
MENE&lt;br /&gt;
Musician&lt;br /&gt;
O&lt;br /&gt;
Outcast&lt;br /&gt;
Owe&lt;br /&gt;
PERES&lt;br /&gt;
Produce&lt;br /&gt;
Providing&lt;br /&gt;
Rabbi&lt;br /&gt;
Raca&lt;br /&gt;
Remembering&lt;br /&gt;
Revilest&lt;br /&gt;
Submitting&lt;br /&gt;
Talitha&lt;br /&gt;
TEKEL&lt;br /&gt;
Traitors&lt;br /&gt;
UPHARSIN&lt;br /&gt;
Wherewithal&lt;br /&gt;
Yes&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This list can be used for fine tuning the filtering of a complete words list in order to tabulate names that occur in the KJV text. &amp;lt;BR&amp;gt;&lt;br /&gt;
My big list now includes words that are in the canonical Psalm titles. [[User:David Haslam|David Haslam]] ([[User talk:David Haslam|talk]]) 14:39, 5 February 2017 (MST)&lt;br /&gt;
&lt;br /&gt;
== List of ordinary words that are also names ==&lt;br /&gt;
:''This list may not be complete''.&lt;br /&gt;
The following 44 ordinary words in the KJV are also names:&amp;lt;ref&amp;gt;That is, they are found capitalised mid-sentence.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;Some of these are symbolic names for Christ.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;This list currently excludes uppercase words.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;Names in the KJV that are ordinary words outside the KJV will not be listed.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Angel&lt;br /&gt;
Apostle&lt;br /&gt;
Bishop&lt;br /&gt;
Branch&lt;br /&gt;
Creator&lt;br /&gt;
Death&lt;br /&gt;
Devil&lt;br /&gt;
Faithful&lt;br /&gt;
Father&lt;br /&gt;
Ghost&lt;br /&gt;
God&lt;br /&gt;
Governor&lt;br /&gt;
Hell&lt;br /&gt;
Holy&lt;br /&gt;
High&lt;br /&gt;
Judge&lt;br /&gt;
King&lt;br /&gt;
Lamb&lt;br /&gt;
Light&lt;br /&gt;
Lion&lt;br /&gt;
Lord&lt;br /&gt;
Lot&lt;br /&gt;
Master&lt;br /&gt;
No&lt;br /&gt;
On&lt;br /&gt;
One&lt;br /&gt;
Priest&lt;br /&gt;
Prince&lt;br /&gt;
Prophet&lt;br /&gt;
Put&lt;br /&gt;
Rock&lt;br /&gt;
Saviour&lt;br /&gt;
Sceptre&lt;br /&gt;
Seer&lt;br /&gt;
Shepherd&lt;br /&gt;
Sin&lt;br /&gt;
Son&lt;br /&gt;
Spirit&lt;br /&gt;
Star&lt;br /&gt;
Strength&lt;br /&gt;
Sun&lt;br /&gt;
True&lt;br /&gt;
Word&lt;br /&gt;
Wormwood&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
[[User:David Haslam|David Haslam]] ([[User talk:David Haslam|talk]]) 09:56, 11 February 2017 (MST)&lt;br /&gt;
&lt;br /&gt;
== List of words that contain the EN DASH (U+2013) ==&lt;br /&gt;
The following is a counted list of the 259 different words in the KJV containing the EN DASH character used as a hyphen:&amp;lt;ref&amp;gt;This list includes such words as found in the canonical Psalm titles.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;A few of these words may also appear elsewhere in the Bible without the EN DASH.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Count	Word&lt;br /&gt;
00015	Abed–nego&lt;br /&gt;
00002	Abel–beth–maachah&lt;br /&gt;
00001	Abel–maim&lt;br /&gt;
00003	Abel–meholah&lt;br /&gt;
00001	Abel–mizraim&lt;br /&gt;
00001	Abel–shittim&lt;br /&gt;
00001	Abi–albon&lt;br /&gt;
00004	Abi–ezer&lt;br /&gt;
00001	Abi–ezrite&lt;br /&gt;
00002	Abi–ezrites&lt;br /&gt;
00003	Adoni–bezek&lt;br /&gt;
00002	Adoni–zedek&lt;br /&gt;
00004	Al–taschith&lt;br /&gt;
00001	Allon–bachuth&lt;br /&gt;
00002	Almon–diblathaim&lt;br /&gt;
00001	Aram–naharaim&lt;br /&gt;
00001	Aram–zobah&lt;br /&gt;
00003	Ashdoth–pisgah&lt;br /&gt;
00001	Ataroth–adar&lt;br /&gt;
00001	Ataroth–addar&lt;br /&gt;
00001	Aznoth–tabor&lt;br /&gt;
00002	Baal–berith&lt;br /&gt;
00003	Baal–gad&lt;br /&gt;
00001	Baal–hamon&lt;br /&gt;
00005	Baal–hanan&lt;br /&gt;
00001	Baal–hazor&lt;br /&gt;
00002	Baal–hermon&lt;br /&gt;
00003	Baal–meon&lt;br /&gt;
00006	Baal–peor&lt;br /&gt;
00004	Baal–perazim&lt;br /&gt;
00001	Baal–shalisha&lt;br /&gt;
00001	Baal–tamar&lt;br /&gt;
00004	Baal–zebub&lt;br /&gt;
00003	Baal–zephon&lt;br /&gt;
00001	Baalath–beer&lt;br /&gt;
00001	Bamoth–baal&lt;br /&gt;
00001	Bar–jesus&lt;br /&gt;
00001	Bar–jona&lt;br /&gt;
00001	Bashan–havoth–jair&lt;br /&gt;
00001	Bath–rabbim&lt;br /&gt;
00011	Bath–sheba&lt;br /&gt;
00001	Bath–shua&lt;br /&gt;
00001	Beer–elim&lt;br /&gt;
00001	Beer–lahai–roi&lt;br /&gt;
00034	Beer–sheba&lt;br /&gt;
00001	Beesh–terah&lt;br /&gt;
00001	Ben–ammi&lt;br /&gt;
00027	Ben–hadad&lt;br /&gt;
00001	Ben–hail&lt;br /&gt;
00001	Ben–hanan&lt;br /&gt;
00001	Ben–oni&lt;br /&gt;
00001	Ben–zoheth&lt;br /&gt;
00001	Bene–berak&lt;br /&gt;
00002	Bene–jaakan&lt;br /&gt;
00001	Berodach–baladan&lt;br /&gt;
00003	Beth–anath&lt;br /&gt;
00001	Beth–anoth&lt;br /&gt;
00003	Beth–arabah&lt;br /&gt;
00001	Beth–aram&lt;br /&gt;
00001	Beth–arbel&lt;br /&gt;
00007	Beth–aven&lt;br /&gt;
00001	Beth–azmaveth&lt;br /&gt;
00001	Beth–baal–meon&lt;br /&gt;
00002	Beth–barah&lt;br /&gt;
00001	Beth–birei&lt;br /&gt;
00001	Beth–car&lt;br /&gt;
00002	Beth–dagon&lt;br /&gt;
00001	Beth–diblathaim&lt;br /&gt;
00066	Beth–el&lt;br /&gt;
00001	Beth–elite&lt;br /&gt;
00001	Beth–emek&lt;br /&gt;
00001	Beth–ezel&lt;br /&gt;
00001	Beth–gader&lt;br /&gt;
00001	Beth–gamul&lt;br /&gt;
00002	Beth–haccerem&lt;br /&gt;
00001	Beth–haran&lt;br /&gt;
00001	Beth–hogla&lt;br /&gt;
00002	Beth–hoglah&lt;br /&gt;
00014	Beth–horon&lt;br /&gt;
00003	Beth–jeshimoth&lt;br /&gt;
00001	Beth–jesimoth&lt;br /&gt;
00001	Beth–lebaoth&lt;br /&gt;
00031	Beth–lehem&lt;br /&gt;
00010	Beth–lehem–judah&lt;br /&gt;
00004	Beth–lehemite&lt;br /&gt;
00002	Beth–maachah&lt;br /&gt;
00002	Beth–marcaboth&lt;br /&gt;
00001	Beth–meon&lt;br /&gt;
00002	Beth–nimrah&lt;br /&gt;
00001	Beth–palet&lt;br /&gt;
00001	Beth–pazzez&lt;br /&gt;
00004	Beth–peor&lt;br /&gt;
00001	Beth–phelet&lt;br /&gt;
00001	Beth–rapha&lt;br /&gt;
00002	Beth–rehob&lt;br /&gt;
00003	Beth–shan&lt;br /&gt;
00006	Beth–shean&lt;br /&gt;
00021	Beth–shemesh&lt;br /&gt;
00002	Beth–shemite&lt;br /&gt;
00001	Beth–shittah&lt;br /&gt;
00001	Beth–tappuah&lt;br /&gt;
00004	Beth–zur&lt;br /&gt;
00001	Caleb–ephratah&lt;br /&gt;
00001	Chephar–haammonai&lt;br /&gt;
00001	Chisloth–tabor&lt;br /&gt;
00001	Chor–ashan&lt;br /&gt;
00004	Chushan–rishathaim&lt;br /&gt;
00002	Col–hozeh&lt;br /&gt;
00001	Dan–jaan&lt;br /&gt;
00002	Dibon–gad&lt;br /&gt;
00006	Ebed–melech&lt;br /&gt;
00003	Eben–ezer&lt;br /&gt;
00001	El–beth–el&lt;br /&gt;
00001	El–elohe–Israel&lt;br /&gt;
00001	El–paran&lt;br /&gt;
00001	Elon–beth–hanan&lt;br /&gt;
00001	En–eglaim&lt;br /&gt;
00003	En–gannim&lt;br /&gt;
00006	En–gedi&lt;br /&gt;
00001	En–haddah&lt;br /&gt;
00001	En–hakkore&lt;br /&gt;
00001	En–hazor&lt;br /&gt;
00001	En–mishpat&lt;br /&gt;
00001	En–rimmon&lt;br /&gt;
00004	En–rogel&lt;br /&gt;
00002	En–shemesh&lt;br /&gt;
00001	En–tappuah&lt;br /&gt;
00001	Ephes–dammim&lt;br /&gt;
00003	Esar–haddon&lt;br /&gt;
00002	Esh–baal&lt;br /&gt;
00002	Evil–merodach&lt;br /&gt;
00003	Ezion–gaber&lt;br /&gt;
00004	Ezion–geber&lt;br /&gt;
00001	Gath–hepher&lt;br /&gt;
00004	Gath–rimmon&lt;br /&gt;
00001	Gittah–hepher&lt;br /&gt;
00001	Gur–baal&lt;br /&gt;
00001	Hamath–zobah&lt;br /&gt;
00001	Hammoth–dor&lt;br /&gt;
00002	Hamon–gog&lt;br /&gt;
00002	Havoth–jair&lt;br /&gt;
00001	Hazar–addar&lt;br /&gt;
00004	Hazar–enan&lt;br /&gt;
00001	Hazar–gaddah&lt;br /&gt;
00001	Hazar–hatticon&lt;br /&gt;
00004	Hazar–shual&lt;br /&gt;
00001	Hazar–susah&lt;br /&gt;
00001	Hazar–susim&lt;br /&gt;
00001	Hazazon–tamar&lt;br /&gt;
00001	Hazezon–tamar&lt;br /&gt;
00001	Helkath–hazzurim&lt;br /&gt;
00002	Hephzi–bah&lt;br /&gt;
00002	Hor–hagidgad&lt;br /&gt;
00001	I–chabod&lt;br /&gt;
00001	I–chabod’s&lt;br /&gt;
00002	Ije–abarim&lt;br /&gt;
00001	Ir–nahash&lt;br /&gt;
00001	Ir–shemesh&lt;br /&gt;
00012	Ish–bosheth&lt;br /&gt;
00002	Ish–tob&lt;br /&gt;
00001	Ishbi–benob&lt;br /&gt;
00001	Ittah–kazin&lt;br /&gt;
00001	Jaare–oregim&lt;br /&gt;
00012	Jabesh–gilead&lt;br /&gt;
00001	Jashubi–lehem&lt;br /&gt;
00001	Jegar–sahadutha&lt;br /&gt;
00001	Jehovah–jireh&lt;br /&gt;
00001	Jehovah–nissi&lt;br /&gt;
00001	Jehovah–shalom&lt;br /&gt;
00002	Jiphthah–el&lt;br /&gt;
00001	Jonath–elem–rechokim&lt;br /&gt;
00001	Jushab–hesed&lt;br /&gt;
00010	Kadesh–barnea&lt;br /&gt;
00001	Kedesh–naphtali&lt;br /&gt;
00001	Keren–happuch&lt;br /&gt;
00005	Kibroth–hattaavah&lt;br /&gt;
00001	Kir–haraseth&lt;br /&gt;
00001	Kir–hareseth&lt;br /&gt;
00001	Kir–haresh&lt;br /&gt;
00002	Kir–heres&lt;br /&gt;
00006	Kirjath–arba&lt;br /&gt;
00001	Kirjath–arim&lt;br /&gt;
00002	Kirjath–baal&lt;br /&gt;
00001	Kirjath–huzoth&lt;br /&gt;
00018	Kirjath–jearim&lt;br /&gt;
00001	Kirjath–sannah&lt;br /&gt;
00004	Kirjath–sepher&lt;br /&gt;
00002	Lahai–roi&lt;br /&gt;
00001	Lo–ammi&lt;br /&gt;
00003	Lo–debar&lt;br /&gt;
00002	Lo–ruhamah&lt;br /&gt;
00001	Maaleh–acrabbim&lt;br /&gt;
00001	Magor–missabib&lt;br /&gt;
00001	Mahaneh–dan&lt;br /&gt;
00002	Maher–shalal–hash–baz&lt;br /&gt;
00004	Malchi–shua&lt;br /&gt;
00001	Me–jarkon&lt;br /&gt;
00001	Melchi–shua&lt;br /&gt;
00004	Merib–baal&lt;br /&gt;
00001	Meribah–Kadesh&lt;br /&gt;
00001	Merodach–baladan&lt;br /&gt;
00001	Metheg–ammah&lt;br /&gt;
00001	Migdal–el&lt;br /&gt;
00001	Migdal–gad&lt;br /&gt;
00002	Misrephoth–maim&lt;br /&gt;
00001	Moresheth–gath&lt;br /&gt;
00001	Nathan–melech&lt;br /&gt;
00015	Nebuzar–adan&lt;br /&gt;
00003	Nergal–sharezer&lt;br /&gt;
00020	Obed–edom&lt;br /&gt;
00010	Padan–aram&lt;br /&gt;
00006	Pahath–moab&lt;br /&gt;
00001	Pas–dammim&lt;br /&gt;
00001	Perez–uzza&lt;br /&gt;
00001	Perez–uzzah&lt;br /&gt;
00001	Pharaoh–hophra&lt;br /&gt;
00001	Pharaoh–necho&lt;br /&gt;
00004	Pharaoh–nechoh&lt;br /&gt;
00001	Pi–beseth&lt;br /&gt;
00004	Pi–hahiroth&lt;br /&gt;
00003	Poti–pherah&lt;br /&gt;
00002	Rab–mag&lt;br /&gt;
00002	Rab–saris&lt;br /&gt;
00008	Rab–shakeh&lt;br /&gt;
00001	Ramath–lehi&lt;br /&gt;
00001	Ramath–mizpeh&lt;br /&gt;
00001	Ramathaim–zophim&lt;br /&gt;
00019	Ramoth–gilead&lt;br /&gt;
00001	Regem–melech&lt;br /&gt;
00001	Remmon–methoar&lt;br /&gt;
00002	Rimmon–parez&lt;br /&gt;
00002	Romamti–ezer&lt;br /&gt;
00001	Ru–hamah&lt;br /&gt;
00001	Samgar–nebo&lt;br /&gt;
00001	Sela–hammahlekoth&lt;br /&gt;
00001	Shear–jashub&lt;br /&gt;
00004	Shethar–boznai&lt;br /&gt;
00001	Shihor–libnath&lt;br /&gt;
00001	Shimron–meron&lt;br /&gt;
00001	Shoshannim–eduth&lt;br /&gt;
00001	Shushan–eduth&lt;br /&gt;
00001	Succoth–benoth&lt;br /&gt;
00001	Syria–damascus&lt;br /&gt;
00001	Syria–maachah&lt;br /&gt;
00001	Taanath–shiloh&lt;br /&gt;
00001	Tahtim–hodshi&lt;br /&gt;
00001	Tel–abib&lt;br /&gt;
00001	Tel–haresha&lt;br /&gt;
00001	Tel–harsa&lt;br /&gt;
00002	Tel–melah&lt;br /&gt;
00003	Tiglath–pileser&lt;br /&gt;
00003	Tilgath–pilneser&lt;br /&gt;
00001	Timnath–heres&lt;br /&gt;
00002	Timnath–serah&lt;br /&gt;
00001	Tob–adonijah&lt;br /&gt;
00002	Tubal–cain&lt;br /&gt;
00001	Uzzen–sherah&lt;br /&gt;
00001	Zaphnath–paaneah&lt;br /&gt;
00001	Zareth–shahar&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Note:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== List of words containing a hyphen ==&lt;br /&gt;
The following is a counted list of the only 5 words in the KJV containing an ordinary hyphen: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Count	Word&lt;br /&gt;
00003	God-ward&lt;br /&gt;
00001	joint-heirs&lt;br /&gt;
00001	thee-ward&lt;br /&gt;
00003	us-ward&lt;br /&gt;
00003	you-ward&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Hitchcock's Bible Names Dictionary ==&lt;br /&gt;
&lt;br /&gt;
Of the 3609 words in the KJV that are proper names, only 2392 have entries in Hitchcock (two thirds of the total). [[User:David Haslam|David Haslam]] ([[User talk:David Haslam|talk]]) 14:35, 5 February 2017 (MST)&lt;br /&gt;
&lt;br /&gt;
== Eleven verses detected with a comma missing ==&lt;br /&gt;
&lt;br /&gt;
Detailed analysis of the pattern Name Name has detected the following 11 verses that have a comma missing between the two names:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Location		Name Name&lt;br /&gt;
II Chronicles 16:1	Asa Baasha&lt;br /&gt;
II Kings 12:1		Jehu Jehoash&lt;br /&gt;
II Kings 13:1		Judah Jehoahaz&lt;br /&gt;
II Kings 14:23		Judah Jeroboam&lt;br /&gt;
II Kings 15:27		Judah Pekah&lt;br /&gt;
II Kings 15:23		Judah Pekahiah&lt;br /&gt;
Daniel 2:1		Nebuchadnezzar Nebuchadnezzar&lt;br /&gt;
Jeremiah 52:30		Nebuchadrezzar Nebuzar–adan&lt;br /&gt;
Numbers 13:16		Nun Jehoshua&lt;br /&gt;
II Chronicles 12:2	Rehoboam Shishak&lt;br /&gt;
II Kings 16:1		Remaliah Ahaz&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
[[User:David Haslam|David Haslam]] ([[User talk:David Haslam|talk]]) 05:21, 6 February 2017 (MST)&lt;br /&gt;
&lt;br /&gt;
: These don't have a comma in Blayney. --[[User:Dmsmith|Dmsmith]] ([[User talk:Dmsmith|talk]]) 12:54, 25 February 2017 (MST)&lt;br /&gt;
&lt;br /&gt;
== List of uppercase words in the KJV ==&lt;br /&gt;
&lt;br /&gt;
This is a list of 40 uppercase words found in the KJV text:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ABOMINATIONS&lt;br /&gt;
AM&lt;br /&gt;
AND&lt;br /&gt;
BABYLON&lt;br /&gt;
BRANCH&lt;br /&gt;
EARTH&lt;br /&gt;
GOD&lt;br /&gt;
GREAT&lt;br /&gt;
HARLOTS&lt;br /&gt;
HOLINESS&lt;br /&gt;
I&lt;br /&gt;
IS&lt;br /&gt;
JAH&lt;br /&gt;
JEHOVAH&lt;br /&gt;
JESUS&lt;br /&gt;
JEWS&lt;br /&gt;
KING&lt;br /&gt;
KINGS&lt;br /&gt;
LORD&lt;br /&gt;
LORD’S&lt;br /&gt;
LORDS&lt;br /&gt;
MENE&lt;br /&gt;
MOTHER&lt;br /&gt;
MYSTERY&lt;br /&gt;
NAZARETH&lt;br /&gt;
O&lt;br /&gt;
OF&lt;br /&gt;
OUR&lt;br /&gt;
PERES&lt;br /&gt;
RIGHTEOUSNESS&lt;br /&gt;
TEKEL&lt;br /&gt;
THAT&lt;br /&gt;
THE&lt;br /&gt;
THIS&lt;br /&gt;
THY&lt;br /&gt;
TO&lt;br /&gt;
UNKNOWN&lt;br /&gt;
UNTO&lt;br /&gt;
UPHARSIN&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Some of these are parts of multiword names. &lt;br /&gt;
[[User:David Haslam|David Haslam]] ([[User talk:David Haslam|talk]]) 09:59, 11 February 2017 (MST)&lt;br /&gt;
&lt;br /&gt;
== Multi-word names in the KJV ==&lt;br /&gt;
&lt;br /&gt;
There are several patterns that match multi-word names in which the two main words are capitalized:&lt;br /&gt;
* Name Name&lt;br /&gt;
* Name of Name&lt;br /&gt;
* Name the Name&lt;br /&gt;
* Name in Name&lt;br /&gt;
* Name at Name&lt;br /&gt;
There are also some three word names, such as:&lt;br /&gt;
* Lord Jesus Christ&lt;br /&gt;
Yet there are also names in which the major part of the name is not capitalized:&lt;br /&gt;
* Isaiah 35:8: And an highway shall be there, and a way, and it shall be called '''The way of holiness'''; the unclean shall not pass over it; but it shall be for those: the wayfaring men, though fools, shall not err therein.&lt;br /&gt;
*Jeremiah 16:21: Therefore, behold, I will this once cause them to know, I will cause them to know mine hand and my might; and they shall know that my name is '''The LORD'''. &lt;br /&gt;
* Jeremiah 19:6: Therefore, behold, the days come, saith the LORD, that this place shall no more be called Tophet, nor '''The valley of the son of Hinnom''', but '''The valley of slaughter'''.&lt;br /&gt;
* Lamentations 2:15: All that pass by clap their hands at thee; they hiss and wag their head at the daughter of Jerusalem, saying, Is this the city that men call '''The perfection of beauty''', '''The joy of the whole earth'''?&lt;br /&gt;
* Ezekiel 39:11: And it shall come to pass in that day, that I will give unto Gog a place there of graves in Israel, the valley of the passengers on the east of the sea: and it shall stop the noses of the passengers: and there shall they bury Gog and all his multitude: and they shall call it '''The valley of Hamon–gog'''.&lt;br /&gt;
* Amos 5:27: Therefore will I cause you to go into captivity beyond Damascus, saith the LORD, whose name is '''The God of hosts'''. &lt;br /&gt;
* Zechariah 6:12: And speak unto him, saying, Thus speaketh the LORD of hosts, saying, Behold the man whose name is '''The BRANCH'''; and he shall grow up out of his place, and he shall build the temple of the LORD:&lt;br /&gt;
* Acts 27:8: And, hardly passing it, came unto a place which is called '''The fair havens'''; nigh whereunto was the city of Lasea.&lt;br /&gt;
* Acts 28:15: And from thence, when the brethren heard of us, they came to meet us as far as '''Appii forum''', and '''The three taverns''': whom when Paul saw, he thanked God, and took courage.&lt;br /&gt;
* Revelation of John 19:13: And he was clothed with a vesture dipped in blood: and his name is called '''The Word of God'''.&lt;br /&gt;
[[User:David Haslam|David Haslam]] ([[User talk:David Haslam|talk]]) 06:56, 14 February 2017 (MST)&lt;br /&gt;
: Jer 16:21 should be &amp;lt;font style=&amp;quot;font-variant:small-caps&amp;quot;&amp;gt;Lord&amp;lt;/font&amp;gt;, not LORD. --[[User:Dmsmith|Dmsmith]] ([[User talk:Dmsmith|talk]]) 13:01, 25 February 2017 (MST)&lt;br /&gt;
&lt;br /&gt;
== Two suspect apostrophes in the apocrypha ==&lt;br /&gt;
&lt;br /&gt;
A search of the DC books for the regexp &amp;lt;tt&amp;gt;[^s]\x{2019}\s&amp;lt;/tt&amp;gt; gave two matches:&lt;br /&gt;
* '''Sirach 8:1:''' Strive not with a mighty ma'''n’''' lest thou fall into his hands.&lt;br /&gt;
* '''II Maccabees 7:39:''' Than the kin'''g’''' being in a rage, handed him worse than all the rest, and took it grievously that he was mocked.&lt;br /&gt;
Most online versions are the same. Both items look suspicious. They don't meet any grammatical rule involving possessives. Further research required. [[User:David Haslam|David Haslam]] ([[User talk:David Haslam|talk]]) 13:15, 14 February 2017 (MST)&lt;br /&gt;
:I also think the first word in 2Macc.7.39 ought to be &amp;quot;Then&amp;quot; and not &amp;quot;Than&amp;quot;. [[User:David Haslam|David Haslam]] ([[User talk:David Haslam|talk]]) 13:22, 14 February 2017 (MST)&lt;br /&gt;
Both verses would appear more correct if the right single quotation mark was replaced with a comma:&lt;br /&gt;
* '''Sirach 8:1:''' Strive not with a mighty man, lest thou fall into his hands.&lt;br /&gt;
* '''II Maccabees 7:39:''' Then the king, being in a rage, handed him worse than all the rest, and took it grievously that he was mocked.&lt;br /&gt;
cf. There are 80 matches in the DC books to the pattern &amp;quot;&amp;lt;tt&amp;gt;, being &amp;lt;/tt&amp;gt;&amp;quot;. [[User:David Haslam|David Haslam]] ([[User talk:David Haslam|talk]]) 13:28, 14 February 2017 (MST)&lt;br /&gt;
:Decided to make these changes. [[User:David Haslam|David Haslam]] ([[User talk:David Haslam|talk]]) 01:16, 15 February 2017 (MST)&lt;br /&gt;
:: confirmed against Blayney. --[[User:Dmsmith|Dmsmith]] ([[User talk:Dmsmith|talk]]) 13:02, 25 February 2017 (MST)&lt;br /&gt;
&lt;br /&gt;
== Hyphenated words in the KJV Apocrypha ==&lt;br /&gt;
&lt;br /&gt;
There are only three hyphenated words in the deuterocanonical books, all place names:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Beth-horon&lt;br /&gt;
Cades-Barne&lt;br /&gt;
En-gaddi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
But are there any other names in the DC books that ought to be hyphenated?&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Phaath Moab&lt;br /&gt;
Pahath Moab&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The spelling difference between 1Esd.5.11 and 1Esd.8.31 also needs to be checked.&amp;lt;BR&amp;gt;&lt;br /&gt;
cf. &amp;lt;tt&amp;gt;Pahath–moab&amp;lt;/tt&amp;gt; occurs six times in the KJV. This is the only hyphenated name in the KJV that occurs with a space in place of the hyphen in the DC books. Note the case difference too. [[User:David Haslam|David Haslam]] ([[User talk:David Haslam|talk]]) 09:07, 19 February 2017 (MST)&lt;br /&gt;
&lt;br /&gt;
== Spelling: ax or axe ? ==&lt;br /&gt;
&lt;br /&gt;
Another ''hapax legomenon'' to consider:&lt;br /&gt;
&lt;br /&gt;
Baruch 6:15: He hath also in his right hand a dagger and an '''ax''': but cannot deliver himself from war and thieves.&lt;br /&gt;
&lt;br /&gt;
Should this be '''axe''' as some online versions have it?  cf. The KJV has 13 instances of 'axe' and none of 'ax' other than this in the DC book. [[User:David Haslam|David Haslam]] ([[User talk:David Haslam|talk]]) 15:20, 14 February 2017 (MST)&lt;br /&gt;
:Decided to make this change. [[User:David Haslam|David Haslam]] ([[User talk:David Haslam|talk]]) 01:15, 15 February 2017 (MST)&lt;br /&gt;
&lt;br /&gt;
== Bipolar names in the DC books ==&lt;br /&gt;
&lt;br /&gt;
Here is a counted list of the '''bipolar names''' (aka ''polynym'') found in the KJV DC books:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
00002	Antiochus Epiphanes&lt;br /&gt;
00002	Antiochus Eupator&lt;br /&gt;
00001	Judas John’s&lt;br /&gt;
00007	Judas Maccabeus&lt;br /&gt;
00001	Judith Holofernes&lt;br /&gt;
00001	Jupiter Olympius&lt;br /&gt;
00001	Massias Israel&lt;br /&gt;
00001	Pahath Moab&lt;br /&gt;
00001	Phaath Moab&lt;br /&gt;
00002	Ptolemeus Philometor&lt;br /&gt;
00001	Quintus Memmius&lt;br /&gt;
00001	Simon Chosameus&lt;br /&gt;
00001	Titus Manlius&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
I have excluded the pattern &amp;quot;Persians Belemus&amp;quot; found in 1Esd.2.16 which is really two names.&amp;lt;BR&amp;gt;&lt;br /&gt;
I have also excluded three locations where a punctuation mark was missing. [[User:David Haslam|David Haslam]] ([[User talk:David Haslam|talk]]) 10:07, 19 February 2017 (MST)&lt;/div&gt;</summary>
		<author><name>Dmsmith</name></author>	</entry>

	<entry>
		<id>https://wiki.crosswire.org/index.php?title=Talk:CrossWire_KJV&amp;diff=15403</id>
		<title>Talk:CrossWire KJV</title>
		<link rel="alternate" type="text/html" href="https://wiki.crosswire.org/index.php?title=Talk:CrossWire_KJV&amp;diff=15403"/>
				<updated>2017-02-25T20:01:35Z</updated>
		
		<summary type="html">&lt;p&gt;Dmsmith: /* Multi-word names in the KJV */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Spelling issues in Blayney's 1769 ==&lt;br /&gt;
&lt;br /&gt;
Though modern editions of the KJV claim to be essentially the same as the 1769 standard, Blayney's work still contained some archaic spellings and some inconsistent spellings. Most of these were unified amd corrected in works such as the Scofield Bible that was used as the Reference Text for the earlier editions of the KJV module. Though there is much to be gained by examining the Blayney's 1769, it would be a retrograde step to revert the KJV module to his spellings. &lt;br /&gt;
&lt;br /&gt;
For further details please visit my user page: [[User:David Haslam/Benjamin Blayney's 1769 KJV]].&lt;br /&gt;
&lt;br /&gt;
[[User:David Haslam|David Haslam]] 10:37, 25 January 2016 (MST)&lt;br /&gt;
&lt;br /&gt;
:I don't think it'd be a backward step. But if so, maybe we fork the KJV as what we have now is not the 1769 Blayney, but rather Old Scofield? There is considerable value in having an accurate text for the Blayney edition. --[[User:Dmsmith|Dmsmith]] 11:11, 25 January 2016 (MST)&lt;br /&gt;
::Rather than forking the module (which would lead to a lot of extra work), I would prefer to use OSIS markup to record spelling (and punctuation) variants in the various printed editions 1769 to present. [[User:David Haslam|David Haslam]] 04:26, 27 January 2016 (MST)&lt;br /&gt;
:::It's not as if we don't already have another related module which has become outdated compared to the KJV, namely the KJVA module with the Apocrypha included. The Protocanonical Books for that should ideally have been made to track the KJV module in terms of updates. [[User:David Haslam|David Haslam]] 04:29, 27 January 2016 (MST)&lt;br /&gt;
&lt;br /&gt;
== catchWord and osisRef with @s[word] ==&lt;br /&gt;
&lt;br /&gt;
Not sure why this got removed?&lt;br /&gt;
	&lt;br /&gt;
* Add '''osisRef''' to '''catchWord''' (for now at least, mainly for single keywords).&lt;br /&gt;
&lt;br /&gt;
[[User:David Haslam|David Haslam]] 13:01, 29 January 2016 (MST)&lt;br /&gt;
&lt;br /&gt;
:Reinstated for 2.10 &amp;amp;ndash; [[User:David Haslam|David Haslam]] 09:11, 30 January 2016 (MST)&lt;br /&gt;
&lt;br /&gt;
== List of ordinary words that are not found with all lowercase in the KJV main text ==&lt;br /&gt;
:''This list may not be complete''.&lt;br /&gt;
The following 41 ordinary words are not found with all lowercase letters: (i.e. these capitalised words are not names)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Accounting&lt;br /&gt;
Acquaint&lt;br /&gt;
Alleluia&lt;br /&gt;
Associate&lt;br /&gt;
Backbiters&lt;br /&gt;
Blotting&lt;br /&gt;
Choosing&lt;br /&gt;
Distributing&lt;br /&gt;
Endeavouring&lt;br /&gt;
Enflaming&lt;br /&gt;
Enviest&lt;br /&gt;
Ephphatha&lt;br /&gt;
Esteeming&lt;br /&gt;
Finally&lt;br /&gt;
God’s&lt;br /&gt;
Godhead&lt;br /&gt;
God-ward&lt;br /&gt;
Hosanna&lt;br /&gt;
I&lt;br /&gt;
Launch&lt;br /&gt;
Listen&lt;br /&gt;
Maranatha&lt;br /&gt;
MENE&lt;br /&gt;
Musician&lt;br /&gt;
O&lt;br /&gt;
Outcast&lt;br /&gt;
Owe&lt;br /&gt;
PERES&lt;br /&gt;
Produce&lt;br /&gt;
Providing&lt;br /&gt;
Rabbi&lt;br /&gt;
Raca&lt;br /&gt;
Remembering&lt;br /&gt;
Revilest&lt;br /&gt;
Submitting&lt;br /&gt;
Talitha&lt;br /&gt;
TEKEL&lt;br /&gt;
Traitors&lt;br /&gt;
UPHARSIN&lt;br /&gt;
Wherewithal&lt;br /&gt;
Yes&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This list can be used for fine tuning the filtering of a complete words list in order to tabulate names that occur in the KJV text. &amp;lt;BR&amp;gt;&lt;br /&gt;
My big list now includes words that are in the canonical Psalm titles. [[User:David Haslam|David Haslam]] ([[User talk:David Haslam|talk]]) 14:39, 5 February 2017 (MST)&lt;br /&gt;
&lt;br /&gt;
== List of ordinary words that are also names ==&lt;br /&gt;
:''This list may not be complete''.&lt;br /&gt;
The following 44 ordinary words in the KJV are also names:&amp;lt;ref&amp;gt;That is, they are found capitalised mid-sentence.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;Some of these are symbolic names for Christ.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;This list currently excludes uppercase words.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;Names in the KJV that are ordinary words outside the KJV will not be listed.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Angel&lt;br /&gt;
Apostle&lt;br /&gt;
Bishop&lt;br /&gt;
Branch&lt;br /&gt;
Creator&lt;br /&gt;
Death&lt;br /&gt;
Devil&lt;br /&gt;
Faithful&lt;br /&gt;
Father&lt;br /&gt;
Ghost&lt;br /&gt;
God&lt;br /&gt;
Governor&lt;br /&gt;
Hell&lt;br /&gt;
Holy&lt;br /&gt;
High&lt;br /&gt;
Judge&lt;br /&gt;
King&lt;br /&gt;
Lamb&lt;br /&gt;
Light&lt;br /&gt;
Lion&lt;br /&gt;
Lord&lt;br /&gt;
Lot&lt;br /&gt;
Master&lt;br /&gt;
No&lt;br /&gt;
On&lt;br /&gt;
One&lt;br /&gt;
Priest&lt;br /&gt;
Prince&lt;br /&gt;
Prophet&lt;br /&gt;
Put&lt;br /&gt;
Rock&lt;br /&gt;
Saviour&lt;br /&gt;
Sceptre&lt;br /&gt;
Seer&lt;br /&gt;
Shepherd&lt;br /&gt;
Sin&lt;br /&gt;
Son&lt;br /&gt;
Spirit&lt;br /&gt;
Star&lt;br /&gt;
Strength&lt;br /&gt;
Sun&lt;br /&gt;
True&lt;br /&gt;
Word&lt;br /&gt;
Wormwood&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
[[User:David Haslam|David Haslam]] ([[User talk:David Haslam|talk]]) 09:56, 11 February 2017 (MST)&lt;br /&gt;
&lt;br /&gt;
== List of words that contain the EN DASH (U+2013) ==&lt;br /&gt;
The following is a counted list of the 259 different words in the KJV containing the EN DASH character used as a hyphen:&amp;lt;ref&amp;gt;This list includes such words as found in the canonical Psalm titles.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;A few of these words may also appear elsewhere in the Bible without the EN DASH.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Count	Word&lt;br /&gt;
00015	Abed–nego&lt;br /&gt;
00002	Abel–beth–maachah&lt;br /&gt;
00001	Abel–maim&lt;br /&gt;
00003	Abel–meholah&lt;br /&gt;
00001	Abel–mizraim&lt;br /&gt;
00001	Abel–shittim&lt;br /&gt;
00001	Abi–albon&lt;br /&gt;
00004	Abi–ezer&lt;br /&gt;
00001	Abi–ezrite&lt;br /&gt;
00002	Abi–ezrites&lt;br /&gt;
00003	Adoni–bezek&lt;br /&gt;
00002	Adoni–zedek&lt;br /&gt;
00004	Al–taschith&lt;br /&gt;
00001	Allon–bachuth&lt;br /&gt;
00002	Almon–diblathaim&lt;br /&gt;
00001	Aram–naharaim&lt;br /&gt;
00001	Aram–zobah&lt;br /&gt;
00003	Ashdoth–pisgah&lt;br /&gt;
00001	Ataroth–adar&lt;br /&gt;
00001	Ataroth–addar&lt;br /&gt;
00001	Aznoth–tabor&lt;br /&gt;
00002	Baal–berith&lt;br /&gt;
00003	Baal–gad&lt;br /&gt;
00001	Baal–hamon&lt;br /&gt;
00005	Baal–hanan&lt;br /&gt;
00001	Baal–hazor&lt;br /&gt;
00002	Baal–hermon&lt;br /&gt;
00003	Baal–meon&lt;br /&gt;
00006	Baal–peor&lt;br /&gt;
00004	Baal–perazim&lt;br /&gt;
00001	Baal–shalisha&lt;br /&gt;
00001	Baal–tamar&lt;br /&gt;
00004	Baal–zebub&lt;br /&gt;
00003	Baal–zephon&lt;br /&gt;
00001	Baalath–beer&lt;br /&gt;
00001	Bamoth–baal&lt;br /&gt;
00001	Bar–jesus&lt;br /&gt;
00001	Bar–jona&lt;br /&gt;
00001	Bashan–havoth–jair&lt;br /&gt;
00001	Bath–rabbim&lt;br /&gt;
00011	Bath–sheba&lt;br /&gt;
00001	Bath–shua&lt;br /&gt;
00001	Beer–elim&lt;br /&gt;
00001	Beer–lahai–roi&lt;br /&gt;
00034	Beer–sheba&lt;br /&gt;
00001	Beesh–terah&lt;br /&gt;
00001	Ben–ammi&lt;br /&gt;
00027	Ben–hadad&lt;br /&gt;
00001	Ben–hail&lt;br /&gt;
00001	Ben–hanan&lt;br /&gt;
00001	Ben–oni&lt;br /&gt;
00001	Ben–zoheth&lt;br /&gt;
00001	Bene–berak&lt;br /&gt;
00002	Bene–jaakan&lt;br /&gt;
00001	Berodach–baladan&lt;br /&gt;
00003	Beth–anath&lt;br /&gt;
00001	Beth–anoth&lt;br /&gt;
00003	Beth–arabah&lt;br /&gt;
00001	Beth–aram&lt;br /&gt;
00001	Beth–arbel&lt;br /&gt;
00007	Beth–aven&lt;br /&gt;
00001	Beth–azmaveth&lt;br /&gt;
00001	Beth–baal–meon&lt;br /&gt;
00002	Beth–barah&lt;br /&gt;
00001	Beth–birei&lt;br /&gt;
00001	Beth–car&lt;br /&gt;
00002	Beth–dagon&lt;br /&gt;
00001	Beth–diblathaim&lt;br /&gt;
00066	Beth–el&lt;br /&gt;
00001	Beth–elite&lt;br /&gt;
00001	Beth–emek&lt;br /&gt;
00001	Beth–ezel&lt;br /&gt;
00001	Beth–gader&lt;br /&gt;
00001	Beth–gamul&lt;br /&gt;
00002	Beth–haccerem&lt;br /&gt;
00001	Beth–haran&lt;br /&gt;
00001	Beth–hogla&lt;br /&gt;
00002	Beth–hoglah&lt;br /&gt;
00014	Beth–horon&lt;br /&gt;
00003	Beth–jeshimoth&lt;br /&gt;
00001	Beth–jesimoth&lt;br /&gt;
00001	Beth–lebaoth&lt;br /&gt;
00031	Beth–lehem&lt;br /&gt;
00010	Beth–lehem–judah&lt;br /&gt;
00004	Beth–lehemite&lt;br /&gt;
00002	Beth–maachah&lt;br /&gt;
00002	Beth–marcaboth&lt;br /&gt;
00001	Beth–meon&lt;br /&gt;
00002	Beth–nimrah&lt;br /&gt;
00001	Beth–palet&lt;br /&gt;
00001	Beth–pazzez&lt;br /&gt;
00004	Beth–peor&lt;br /&gt;
00001	Beth–phelet&lt;br /&gt;
00001	Beth–rapha&lt;br /&gt;
00002	Beth–rehob&lt;br /&gt;
00003	Beth–shan&lt;br /&gt;
00006	Beth–shean&lt;br /&gt;
00021	Beth–shemesh&lt;br /&gt;
00002	Beth–shemite&lt;br /&gt;
00001	Beth–shittah&lt;br /&gt;
00001	Beth–tappuah&lt;br /&gt;
00004	Beth–zur&lt;br /&gt;
00001	Caleb–ephratah&lt;br /&gt;
00001	Chephar–haammonai&lt;br /&gt;
00001	Chisloth–tabor&lt;br /&gt;
00001	Chor–ashan&lt;br /&gt;
00004	Chushan–rishathaim&lt;br /&gt;
00002	Col–hozeh&lt;br /&gt;
00001	Dan–jaan&lt;br /&gt;
00002	Dibon–gad&lt;br /&gt;
00006	Ebed–melech&lt;br /&gt;
00003	Eben–ezer&lt;br /&gt;
00001	El–beth–el&lt;br /&gt;
00001	El–elohe–Israel&lt;br /&gt;
00001	El–paran&lt;br /&gt;
00001	Elon–beth–hanan&lt;br /&gt;
00001	En–eglaim&lt;br /&gt;
00003	En–gannim&lt;br /&gt;
00006	En–gedi&lt;br /&gt;
00001	En–haddah&lt;br /&gt;
00001	En–hakkore&lt;br /&gt;
00001	En–hazor&lt;br /&gt;
00001	En–mishpat&lt;br /&gt;
00001	En–rimmon&lt;br /&gt;
00004	En–rogel&lt;br /&gt;
00002	En–shemesh&lt;br /&gt;
00001	En–tappuah&lt;br /&gt;
00001	Ephes–dammim&lt;br /&gt;
00003	Esar–haddon&lt;br /&gt;
00002	Esh–baal&lt;br /&gt;
00002	Evil–merodach&lt;br /&gt;
00003	Ezion–gaber&lt;br /&gt;
00004	Ezion–geber&lt;br /&gt;
00001	Gath–hepher&lt;br /&gt;
00004	Gath–rimmon&lt;br /&gt;
00001	Gittah–hepher&lt;br /&gt;
00001	Gur–baal&lt;br /&gt;
00001	Hamath–zobah&lt;br /&gt;
00001	Hammoth–dor&lt;br /&gt;
00002	Hamon–gog&lt;br /&gt;
00002	Havoth–jair&lt;br /&gt;
00001	Hazar–addar&lt;br /&gt;
00004	Hazar–enan&lt;br /&gt;
00001	Hazar–gaddah&lt;br /&gt;
00001	Hazar–hatticon&lt;br /&gt;
00004	Hazar–shual&lt;br /&gt;
00001	Hazar–susah&lt;br /&gt;
00001	Hazar–susim&lt;br /&gt;
00001	Hazazon–tamar&lt;br /&gt;
00001	Hazezon–tamar&lt;br /&gt;
00001	Helkath–hazzurim&lt;br /&gt;
00002	Hephzi–bah&lt;br /&gt;
00002	Hor–hagidgad&lt;br /&gt;
00001	I–chabod&lt;br /&gt;
00001	I–chabod’s&lt;br /&gt;
00002	Ije–abarim&lt;br /&gt;
00001	Ir–nahash&lt;br /&gt;
00001	Ir–shemesh&lt;br /&gt;
00012	Ish–bosheth&lt;br /&gt;
00002	Ish–tob&lt;br /&gt;
00001	Ishbi–benob&lt;br /&gt;
00001	Ittah–kazin&lt;br /&gt;
00001	Jaare–oregim&lt;br /&gt;
00012	Jabesh–gilead&lt;br /&gt;
00001	Jashubi–lehem&lt;br /&gt;
00001	Jegar–sahadutha&lt;br /&gt;
00001	Jehovah–jireh&lt;br /&gt;
00001	Jehovah–nissi&lt;br /&gt;
00001	Jehovah–shalom&lt;br /&gt;
00002	Jiphthah–el&lt;br /&gt;
00001	Jonath–elem–rechokim&lt;br /&gt;
00001	Jushab–hesed&lt;br /&gt;
00010	Kadesh–barnea&lt;br /&gt;
00001	Kedesh–naphtali&lt;br /&gt;
00001	Keren–happuch&lt;br /&gt;
00005	Kibroth–hattaavah&lt;br /&gt;
00001	Kir–haraseth&lt;br /&gt;
00001	Kir–hareseth&lt;br /&gt;
00001	Kir–haresh&lt;br /&gt;
00002	Kir–heres&lt;br /&gt;
00006	Kirjath–arba&lt;br /&gt;
00001	Kirjath–arim&lt;br /&gt;
00002	Kirjath–baal&lt;br /&gt;
00001	Kirjath–huzoth&lt;br /&gt;
00018	Kirjath–jearim&lt;br /&gt;
00001	Kirjath–sannah&lt;br /&gt;
00004	Kirjath–sepher&lt;br /&gt;
00002	Lahai–roi&lt;br /&gt;
00001	Lo–ammi&lt;br /&gt;
00003	Lo–debar&lt;br /&gt;
00002	Lo–ruhamah&lt;br /&gt;
00001	Maaleh–acrabbim&lt;br /&gt;
00001	Magor–missabib&lt;br /&gt;
00001	Mahaneh–dan&lt;br /&gt;
00002	Maher–shalal–hash–baz&lt;br /&gt;
00004	Malchi–shua&lt;br /&gt;
00001	Me–jarkon&lt;br /&gt;
00001	Melchi–shua&lt;br /&gt;
00004	Merib–baal&lt;br /&gt;
00001	Meribah–Kadesh&lt;br /&gt;
00001	Merodach–baladan&lt;br /&gt;
00001	Metheg–ammah&lt;br /&gt;
00001	Migdal–el&lt;br /&gt;
00001	Migdal–gad&lt;br /&gt;
00002	Misrephoth–maim&lt;br /&gt;
00001	Moresheth–gath&lt;br /&gt;
00001	Nathan–melech&lt;br /&gt;
00015	Nebuzar–adan&lt;br /&gt;
00003	Nergal–sharezer&lt;br /&gt;
00020	Obed–edom&lt;br /&gt;
00010	Padan–aram&lt;br /&gt;
00006	Pahath–moab&lt;br /&gt;
00001	Pas–dammim&lt;br /&gt;
00001	Perez–uzza&lt;br /&gt;
00001	Perez–uzzah&lt;br /&gt;
00001	Pharaoh–hophra&lt;br /&gt;
00001	Pharaoh–necho&lt;br /&gt;
00004	Pharaoh–nechoh&lt;br /&gt;
00001	Pi–beseth&lt;br /&gt;
00004	Pi–hahiroth&lt;br /&gt;
00003	Poti–pherah&lt;br /&gt;
00002	Rab–mag&lt;br /&gt;
00002	Rab–saris&lt;br /&gt;
00008	Rab–shakeh&lt;br /&gt;
00001	Ramath–lehi&lt;br /&gt;
00001	Ramath–mizpeh&lt;br /&gt;
00001	Ramathaim–zophim&lt;br /&gt;
00019	Ramoth–gilead&lt;br /&gt;
00001	Regem–melech&lt;br /&gt;
00001	Remmon–methoar&lt;br /&gt;
00002	Rimmon–parez&lt;br /&gt;
00002	Romamti–ezer&lt;br /&gt;
00001	Ru–hamah&lt;br /&gt;
00001	Samgar–nebo&lt;br /&gt;
00001	Sela–hammahlekoth&lt;br /&gt;
00001	Shear–jashub&lt;br /&gt;
00004	Shethar–boznai&lt;br /&gt;
00001	Shihor–libnath&lt;br /&gt;
00001	Shimron–meron&lt;br /&gt;
00001	Shoshannim–eduth&lt;br /&gt;
00001	Shushan–eduth&lt;br /&gt;
00001	Succoth–benoth&lt;br /&gt;
00001	Syria–damascus&lt;br /&gt;
00001	Syria–maachah&lt;br /&gt;
00001	Taanath–shiloh&lt;br /&gt;
00001	Tahtim–hodshi&lt;br /&gt;
00001	Tel–abib&lt;br /&gt;
00001	Tel–haresha&lt;br /&gt;
00001	Tel–harsa&lt;br /&gt;
00002	Tel–melah&lt;br /&gt;
00003	Tiglath–pileser&lt;br /&gt;
00003	Tilgath–pilneser&lt;br /&gt;
00001	Timnath–heres&lt;br /&gt;
00002	Timnath–serah&lt;br /&gt;
00001	Tob–adonijah&lt;br /&gt;
00002	Tubal–cain&lt;br /&gt;
00001	Uzzen–sherah&lt;br /&gt;
00001	Zaphnath–paaneah&lt;br /&gt;
00001	Zareth–shahar&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Note:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== List of words containing a hyphen ==&lt;br /&gt;
The following is a counted list of the only 5 words in the KJV containing an ordinary hyphen: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Count	Word&lt;br /&gt;
00003	God-ward&lt;br /&gt;
00001	joint-heirs&lt;br /&gt;
00001	thee-ward&lt;br /&gt;
00003	us-ward&lt;br /&gt;
00003	you-ward&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Hitchcock's Bible Names Dictionary ==&lt;br /&gt;
&lt;br /&gt;
Of the 3609 words in the KJV that are proper names, only 2392 have entries in Hitchcock (two thirds of the total). [[User:David Haslam|David Haslam]] ([[User talk:David Haslam|talk]]) 14:35, 5 February 2017 (MST)&lt;br /&gt;
&lt;br /&gt;
== Eleven verses detected with a comma missing ==&lt;br /&gt;
&lt;br /&gt;
Detailed analysis of the pattern Name Name has detected the following 11 verses that have a comma missing between the two names:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Location		Name Name&lt;br /&gt;
II Chronicles 16:1	Asa Baasha&lt;br /&gt;
II Kings 12:1		Jehu Jehoash&lt;br /&gt;
II Kings 13:1		Judah Jehoahaz&lt;br /&gt;
II Kings 14:23		Judah Jeroboam&lt;br /&gt;
II Kings 15:27		Judah Pekah&lt;br /&gt;
II Kings 15:23		Judah Pekahiah&lt;br /&gt;
Daniel 2:1		Nebuchadnezzar Nebuchadnezzar&lt;br /&gt;
Jeremiah 52:30		Nebuchadrezzar Nebuzar–adan&lt;br /&gt;
Numbers 13:16		Nun Jehoshua&lt;br /&gt;
II Chronicles 12:2	Rehoboam Shishak&lt;br /&gt;
II Kings 16:1		Remaliah Ahaz&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
[[User:David Haslam|David Haslam]] ([[User talk:David Haslam|talk]]) 05:21, 6 February 2017 (MST)&lt;br /&gt;
&lt;br /&gt;
: These don't have a comma in Blayney. --[[User:Dmsmith|Dmsmith]] ([[User talk:Dmsmith|talk]]) 12:54, 25 February 2017 (MST)&lt;br /&gt;
&lt;br /&gt;
== List of uppercase words in the KJV ==&lt;br /&gt;
&lt;br /&gt;
This is a list of 40 uppercase words found in the KJV text:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ABOMINATIONS&lt;br /&gt;
AM&lt;br /&gt;
AND&lt;br /&gt;
BABYLON&lt;br /&gt;
BRANCH&lt;br /&gt;
EARTH&lt;br /&gt;
GOD&lt;br /&gt;
GREAT&lt;br /&gt;
HARLOTS&lt;br /&gt;
HOLINESS&lt;br /&gt;
I&lt;br /&gt;
IS&lt;br /&gt;
JAH&lt;br /&gt;
JEHOVAH&lt;br /&gt;
JESUS&lt;br /&gt;
JEWS&lt;br /&gt;
KING&lt;br /&gt;
KINGS&lt;br /&gt;
LORD&lt;br /&gt;
LORD’S&lt;br /&gt;
LORDS&lt;br /&gt;
MENE&lt;br /&gt;
MOTHER&lt;br /&gt;
MYSTERY&lt;br /&gt;
NAZARETH&lt;br /&gt;
O&lt;br /&gt;
OF&lt;br /&gt;
OUR&lt;br /&gt;
PERES&lt;br /&gt;
RIGHTEOUSNESS&lt;br /&gt;
TEKEL&lt;br /&gt;
THAT&lt;br /&gt;
THE&lt;br /&gt;
THIS&lt;br /&gt;
THY&lt;br /&gt;
TO&lt;br /&gt;
UNKNOWN&lt;br /&gt;
UNTO&lt;br /&gt;
UPHARSIN&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Some of these are parts of multiword names. &lt;br /&gt;
[[User:David Haslam|David Haslam]] ([[User talk:David Haslam|talk]]) 09:59, 11 February 2017 (MST)&lt;br /&gt;
&lt;br /&gt;
== Multi-word names in the KJV ==&lt;br /&gt;
&lt;br /&gt;
There are several patterns that match multi-word names in which the two main words are capitalized:&lt;br /&gt;
* Name Name&lt;br /&gt;
* Name of Name&lt;br /&gt;
* Name the Name&lt;br /&gt;
* Name in Name&lt;br /&gt;
* Name at Name&lt;br /&gt;
There are also some three word names, such as:&lt;br /&gt;
* Lord Jesus Christ&lt;br /&gt;
Yet there are also names in which the major part of the name is not capitalized:&lt;br /&gt;
* Isaiah 35:8: And an highway shall be there, and a way, and it shall be called '''The way of holiness'''; the unclean shall not pass over it; but it shall be for those: the wayfaring men, though fools, shall not err therein.&lt;br /&gt;
*Jeremiah 16:21: Therefore, behold, I will this once cause them to know, I will cause them to know mine hand and my might; and they shall know that my name is '''The LORD'''. &lt;br /&gt;
* Jeremiah 19:6: Therefore, behold, the days come, saith the LORD, that this place shall no more be called Tophet, nor '''The valley of the son of Hinnom''', but '''The valley of slaughter'''.&lt;br /&gt;
* Lamentations 2:15: All that pass by clap their hands at thee; they hiss and wag their head at the daughter of Jerusalem, saying, Is this the city that men call '''The perfection of beauty''', '''The joy of the whole earth'''?&lt;br /&gt;
* Ezekiel 39:11: And it shall come to pass in that day, that I will give unto Gog a place there of graves in Israel, the valley of the passengers on the east of the sea: and it shall stop the noses of the passengers: and there shall they bury Gog and all his multitude: and they shall call it '''The valley of Hamon–gog'''.&lt;br /&gt;
* Amos 5:27: Therefore will I cause you to go into captivity beyond Damascus, saith the LORD, whose name is '''The God of hosts'''. &lt;br /&gt;
* Zechariah 6:12: And speak unto him, saying, Thus speaketh the LORD of hosts, saying, Behold the man whose name is '''The BRANCH'''; and he shall grow up out of his place, and he shall build the temple of the LORD:&lt;br /&gt;
* Acts 27:8: And, hardly passing it, came unto a place which is called '''The fair havens'''; nigh whereunto was the city of Lasea.&lt;br /&gt;
* Acts 28:15: And from thence, when the brethren heard of us, they came to meet us as far as '''Appii forum''', and '''The three taverns''': whom when Paul saw, he thanked God, and took courage.&lt;br /&gt;
* Revelation of John 19:13: And he was clothed with a vesture dipped in blood: and his name is called '''The Word of God'''.&lt;br /&gt;
[[User:David Haslam|David Haslam]] ([[User talk:David Haslam|talk]]) 06:56, 14 February 2017 (MST)&lt;br /&gt;
: Jer 16:21 should be &amp;lt;font style=&amp;quot;font-variant:small-caps&amp;quot;&amp;gt;Lord&amp;lt;/font&amp;gt;, not LORD. --[[User:Dmsmith|Dmsmith]] ([[User talk:Dmsmith|talk]]) 13:01, 25 February 2017 (MST)&lt;br /&gt;
&lt;br /&gt;
== Two suspect apostrophes in the apocrypha ==&lt;br /&gt;
&lt;br /&gt;
A search of the DC books for the regexp &amp;lt;tt&amp;gt;[^s]\x{2019}\s&amp;lt;/tt&amp;gt; gave two matches:&lt;br /&gt;
* '''Sirach 8:1:''' Strive not with a mighty ma'''n’''' lest thou fall into his hands.&lt;br /&gt;
* '''II Maccabees 7:39:''' Than the kin'''g’''' being in a rage, handed him worse than all the rest, and took it grievously that he was mocked.&lt;br /&gt;
Most online versions are the same. Both items look suspicious. They don't meet any grammatical rule involving possessives. Further research required. [[User:David Haslam|David Haslam]] ([[User talk:David Haslam|talk]]) 13:15, 14 February 2017 (MST)&lt;br /&gt;
:I also think the first word in 2Macc.7.39 ought to be &amp;quot;Then&amp;quot; and not &amp;quot;Than&amp;quot;. [[User:David Haslam|David Haslam]] ([[User talk:David Haslam|talk]]) 13:22, 14 February 2017 (MST)&lt;br /&gt;
Both verses would appear more correct if the right single quotation mark was replaced with a comma:&lt;br /&gt;
* '''Sirach 8:1:''' Strive not with a mighty man, lest thou fall into his hands.&lt;br /&gt;
* '''II Maccabees 7:39:''' Then the king, being in a rage, handed him worse than all the rest, and took it grievously that he was mocked.&lt;br /&gt;
cf. There are 80 matches in the DC books to the pattern &amp;quot;&amp;lt;tt&amp;gt;, being &amp;lt;/tt&amp;gt;&amp;quot;. [[User:David Haslam|David Haslam]] ([[User talk:David Haslam|talk]]) 13:28, 14 February 2017 (MST)&lt;br /&gt;
:Decided to make these changes. [[User:David Haslam|David Haslam]] ([[User talk:David Haslam|talk]]) 01:16, 15 February 2017 (MST)&lt;br /&gt;
&lt;br /&gt;
== Hyphenated words in the KJV Apocrypha ==&lt;br /&gt;
&lt;br /&gt;
There are only three hyphenated words in the deuterocanonical books, all place names:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Beth-horon&lt;br /&gt;
Cades-Barne&lt;br /&gt;
En-gaddi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
But are there any other names in the DC books that ought to be hyphenated?&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Phaath Moab&lt;br /&gt;
Pahath Moab&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The spelling difference between 1Esd.5.11 and 1Esd.8.31 also needs to be checked.&amp;lt;BR&amp;gt;&lt;br /&gt;
cf. &amp;lt;tt&amp;gt;Pahath–moab&amp;lt;/tt&amp;gt; occurs six times in the KJV. This is the only hyphenated name in the KJV that occurs with a space in place of the hyphen in the DC books. Note the case difference too. [[User:David Haslam|David Haslam]] ([[User talk:David Haslam|talk]]) 09:07, 19 February 2017 (MST)&lt;br /&gt;
&lt;br /&gt;
== Spelling: ax or axe ? ==&lt;br /&gt;
&lt;br /&gt;
Another ''hapax legomenon'' to consider:&lt;br /&gt;
&lt;br /&gt;
Baruch 6:15: He hath also in his right hand a dagger and an '''ax''': but cannot deliver himself from war and thieves.&lt;br /&gt;
&lt;br /&gt;
Should this be '''axe''' as some online versions have it?  cf. The KJV has 13 instances of 'axe' and none of 'ax' other than this in the DC book. [[User:David Haslam|David Haslam]] ([[User talk:David Haslam|talk]]) 15:20, 14 February 2017 (MST)&lt;br /&gt;
:Decided to make this change. [[User:David Haslam|David Haslam]] ([[User talk:David Haslam|talk]]) 01:15, 15 February 2017 (MST)&lt;br /&gt;
&lt;br /&gt;
== Bipolar names in the DC books ==&lt;br /&gt;
&lt;br /&gt;
Here is a counted list of the '''bipolar names''' (aka ''polynym'') found in the KJV DC books:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
00002	Antiochus Epiphanes&lt;br /&gt;
00002	Antiochus Eupator&lt;br /&gt;
00001	Judas John’s&lt;br /&gt;
00007	Judas Maccabeus&lt;br /&gt;
00001	Judith Holofernes&lt;br /&gt;
00001	Jupiter Olympius&lt;br /&gt;
00001	Massias Israel&lt;br /&gt;
00001	Pahath Moab&lt;br /&gt;
00001	Phaath Moab&lt;br /&gt;
00002	Ptolemeus Philometor&lt;br /&gt;
00001	Quintus Memmius&lt;br /&gt;
00001	Simon Chosameus&lt;br /&gt;
00001	Titus Manlius&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
I have excluded the pattern &amp;quot;Persians Belemus&amp;quot; found in 1Esd.2.16 which is really two names.&amp;lt;BR&amp;gt;&lt;br /&gt;
I have also excluded three locations where a punctuation mark was missing. [[User:David Haslam|David Haslam]] ([[User talk:David Haslam|talk]]) 10:07, 19 February 2017 (MST)&lt;/div&gt;</summary>
		<author><name>Dmsmith</name></author>	</entry>

	<entry>
		<id>https://wiki.crosswire.org/index.php?title=Talk:CrossWire_KJV&amp;diff=15402</id>
		<title>Talk:CrossWire KJV</title>
		<link rel="alternate" type="text/html" href="https://wiki.crosswire.org/index.php?title=Talk:CrossWire_KJV&amp;diff=15402"/>
				<updated>2017-02-25T19:54:45Z</updated>
		
		<summary type="html">&lt;p&gt;Dmsmith: /* Eleven verses detected with a comma missing */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Spelling issues in Blayney's 1769 ==&lt;br /&gt;
&lt;br /&gt;
Though modern editions of the KJV claim to be essentially the same as the 1769 standard, Blayney's work still contained some archaic spellings and some inconsistent spellings. Most of these were unified amd corrected in works such as the Scofield Bible that was used as the Reference Text for the earlier editions of the KJV module. Though there is much to be gained by examining the Blayney's 1769, it would be a retrograde step to revert the KJV module to his spellings. &lt;br /&gt;
&lt;br /&gt;
For further details please visit my user page: [[User:David Haslam/Benjamin Blayney's 1769 KJV]].&lt;br /&gt;
&lt;br /&gt;
[[User:David Haslam|David Haslam]] 10:37, 25 January 2016 (MST)&lt;br /&gt;
&lt;br /&gt;
:I don't think it'd be a backward step. But if so, maybe we fork the KJV as what we have now is not the 1769 Blayney, but rather Old Scofield? There is considerable value in having an accurate text for the Blayney edition. --[[User:Dmsmith|Dmsmith]] 11:11, 25 January 2016 (MST)&lt;br /&gt;
::Rather than forking the module (which would lead to a lot of extra work), I would prefer to use OSIS markup to record spelling (and punctuation) variants in the various printed editions 1769 to present. [[User:David Haslam|David Haslam]] 04:26, 27 January 2016 (MST)&lt;br /&gt;
:::It's not as if we don't already have another related module which has become outdated compared to the KJV, namely the KJVA module with the Apocrypha included. The Protocanonical Books for that should ideally have been made to track the KJV module in terms of updates. [[User:David Haslam|David Haslam]] 04:29, 27 January 2016 (MST)&lt;br /&gt;
&lt;br /&gt;
== catchWord and osisRef with @s[word] ==&lt;br /&gt;
&lt;br /&gt;
Not sure why this got removed?&lt;br /&gt;
	&lt;br /&gt;
* Add '''osisRef''' to '''catchWord''' (for now at least, mainly for single keywords).&lt;br /&gt;
&lt;br /&gt;
[[User:David Haslam|David Haslam]] 13:01, 29 January 2016 (MST)&lt;br /&gt;
&lt;br /&gt;
:Reinstated for 2.10 &amp;amp;ndash; [[User:David Haslam|David Haslam]] 09:11, 30 January 2016 (MST)&lt;br /&gt;
&lt;br /&gt;
== List of ordinary words that are not found with all lowercase in the KJV main text ==&lt;br /&gt;
:''This list may not be complete''.&lt;br /&gt;
The following 41 ordinary words are not found with all lowercase letters: (i.e. these capitalised words are not names)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Accounting&lt;br /&gt;
Acquaint&lt;br /&gt;
Alleluia&lt;br /&gt;
Associate&lt;br /&gt;
Backbiters&lt;br /&gt;
Blotting&lt;br /&gt;
Choosing&lt;br /&gt;
Distributing&lt;br /&gt;
Endeavouring&lt;br /&gt;
Enflaming&lt;br /&gt;
Enviest&lt;br /&gt;
Ephphatha&lt;br /&gt;
Esteeming&lt;br /&gt;
Finally&lt;br /&gt;
God’s&lt;br /&gt;
Godhead&lt;br /&gt;
God-ward&lt;br /&gt;
Hosanna&lt;br /&gt;
I&lt;br /&gt;
Launch&lt;br /&gt;
Listen&lt;br /&gt;
Maranatha&lt;br /&gt;
MENE&lt;br /&gt;
Musician&lt;br /&gt;
O&lt;br /&gt;
Outcast&lt;br /&gt;
Owe&lt;br /&gt;
PERES&lt;br /&gt;
Produce&lt;br /&gt;
Providing&lt;br /&gt;
Rabbi&lt;br /&gt;
Raca&lt;br /&gt;
Remembering&lt;br /&gt;
Revilest&lt;br /&gt;
Submitting&lt;br /&gt;
Talitha&lt;br /&gt;
TEKEL&lt;br /&gt;
Traitors&lt;br /&gt;
UPHARSIN&lt;br /&gt;
Wherewithal&lt;br /&gt;
Yes&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This list can be used for fine tuning the filtering of a complete words list in order to tabulate names that occur in the KJV text. &amp;lt;BR&amp;gt;&lt;br /&gt;
My big list now includes words that are in the canonical Psalm titles. [[User:David Haslam|David Haslam]] ([[User talk:David Haslam|talk]]) 14:39, 5 February 2017 (MST)&lt;br /&gt;
&lt;br /&gt;
== List of ordinary words that are also names ==&lt;br /&gt;
:''This list may not be complete''.&lt;br /&gt;
The following 44 ordinary words in the KJV are also names:&amp;lt;ref&amp;gt;That is, they are found capitalised mid-sentence.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;Some of these are symbolic names for Christ.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;This list currently excludes uppercase words.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;Names in the KJV that are ordinary words outside the KJV will not be listed.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Angel&lt;br /&gt;
Apostle&lt;br /&gt;
Bishop&lt;br /&gt;
Branch&lt;br /&gt;
Creator&lt;br /&gt;
Death&lt;br /&gt;
Devil&lt;br /&gt;
Faithful&lt;br /&gt;
Father&lt;br /&gt;
Ghost&lt;br /&gt;
God&lt;br /&gt;
Governor&lt;br /&gt;
Hell&lt;br /&gt;
Holy&lt;br /&gt;
High&lt;br /&gt;
Judge&lt;br /&gt;
King&lt;br /&gt;
Lamb&lt;br /&gt;
Light&lt;br /&gt;
Lion&lt;br /&gt;
Lord&lt;br /&gt;
Lot&lt;br /&gt;
Master&lt;br /&gt;
No&lt;br /&gt;
On&lt;br /&gt;
One&lt;br /&gt;
Priest&lt;br /&gt;
Prince&lt;br /&gt;
Prophet&lt;br /&gt;
Put&lt;br /&gt;
Rock&lt;br /&gt;
Saviour&lt;br /&gt;
Sceptre&lt;br /&gt;
Seer&lt;br /&gt;
Shepherd&lt;br /&gt;
Sin&lt;br /&gt;
Son&lt;br /&gt;
Spirit&lt;br /&gt;
Star&lt;br /&gt;
Strength&lt;br /&gt;
Sun&lt;br /&gt;
True&lt;br /&gt;
Word&lt;br /&gt;
Wormwood&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
[[User:David Haslam|David Haslam]] ([[User talk:David Haslam|talk]]) 09:56, 11 February 2017 (MST)&lt;br /&gt;
&lt;br /&gt;
== List of words that contain the EN DASH (U+2013) ==&lt;br /&gt;
The following is a counted list of the 259 different words in the KJV containing the EN DASH character used as a hyphen:&amp;lt;ref&amp;gt;This list includes such words as found in the canonical Psalm titles.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;A few of these words may also appear elsewhere in the Bible without the EN DASH.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Count	Word&lt;br /&gt;
00015	Abed–nego&lt;br /&gt;
00002	Abel–beth–maachah&lt;br /&gt;
00001	Abel–maim&lt;br /&gt;
00003	Abel–meholah&lt;br /&gt;
00001	Abel–mizraim&lt;br /&gt;
00001	Abel–shittim&lt;br /&gt;
00001	Abi–albon&lt;br /&gt;
00004	Abi–ezer&lt;br /&gt;
00001	Abi–ezrite&lt;br /&gt;
00002	Abi–ezrites&lt;br /&gt;
00003	Adoni–bezek&lt;br /&gt;
00002	Adoni–zedek&lt;br /&gt;
00004	Al–taschith&lt;br /&gt;
00001	Allon–bachuth&lt;br /&gt;
00002	Almon–diblathaim&lt;br /&gt;
00001	Aram–naharaim&lt;br /&gt;
00001	Aram–zobah&lt;br /&gt;
00003	Ashdoth–pisgah&lt;br /&gt;
00001	Ataroth–adar&lt;br /&gt;
00001	Ataroth–addar&lt;br /&gt;
00001	Aznoth–tabor&lt;br /&gt;
00002	Baal–berith&lt;br /&gt;
00003	Baal–gad&lt;br /&gt;
00001	Baal–hamon&lt;br /&gt;
00005	Baal–hanan&lt;br /&gt;
00001	Baal–hazor&lt;br /&gt;
00002	Baal–hermon&lt;br /&gt;
00003	Baal–meon&lt;br /&gt;
00006	Baal–peor&lt;br /&gt;
00004	Baal–perazim&lt;br /&gt;
00001	Baal–shalisha&lt;br /&gt;
00001	Baal–tamar&lt;br /&gt;
00004	Baal–zebub&lt;br /&gt;
00003	Baal–zephon&lt;br /&gt;
00001	Baalath–beer&lt;br /&gt;
00001	Bamoth–baal&lt;br /&gt;
00001	Bar–jesus&lt;br /&gt;
00001	Bar–jona&lt;br /&gt;
00001	Bashan–havoth–jair&lt;br /&gt;
00001	Bath–rabbim&lt;br /&gt;
00011	Bath–sheba&lt;br /&gt;
00001	Bath–shua&lt;br /&gt;
00001	Beer–elim&lt;br /&gt;
00001	Beer–lahai–roi&lt;br /&gt;
00034	Beer–sheba&lt;br /&gt;
00001	Beesh–terah&lt;br /&gt;
00001	Ben–ammi&lt;br /&gt;
00027	Ben–hadad&lt;br /&gt;
00001	Ben–hail&lt;br /&gt;
00001	Ben–hanan&lt;br /&gt;
00001	Ben–oni&lt;br /&gt;
00001	Ben–zoheth&lt;br /&gt;
00001	Bene–berak&lt;br /&gt;
00002	Bene–jaakan&lt;br /&gt;
00001	Berodach–baladan&lt;br /&gt;
00003	Beth–anath&lt;br /&gt;
00001	Beth–anoth&lt;br /&gt;
00003	Beth–arabah&lt;br /&gt;
00001	Beth–aram&lt;br /&gt;
00001	Beth–arbel&lt;br /&gt;
00007	Beth–aven&lt;br /&gt;
00001	Beth–azmaveth&lt;br /&gt;
00001	Beth–baal–meon&lt;br /&gt;
00002	Beth–barah&lt;br /&gt;
00001	Beth–birei&lt;br /&gt;
00001	Beth–car&lt;br /&gt;
00002	Beth–dagon&lt;br /&gt;
00001	Beth–diblathaim&lt;br /&gt;
00066	Beth–el&lt;br /&gt;
00001	Beth–elite&lt;br /&gt;
00001	Beth–emek&lt;br /&gt;
00001	Beth–ezel&lt;br /&gt;
00001	Beth–gader&lt;br /&gt;
00001	Beth–gamul&lt;br /&gt;
00002	Beth–haccerem&lt;br /&gt;
00001	Beth–haran&lt;br /&gt;
00001	Beth–hogla&lt;br /&gt;
00002	Beth–hoglah&lt;br /&gt;
00014	Beth–horon&lt;br /&gt;
00003	Beth–jeshimoth&lt;br /&gt;
00001	Beth–jesimoth&lt;br /&gt;
00001	Beth–lebaoth&lt;br /&gt;
00031	Beth–lehem&lt;br /&gt;
00010	Beth–lehem–judah&lt;br /&gt;
00004	Beth–lehemite&lt;br /&gt;
00002	Beth–maachah&lt;br /&gt;
00002	Beth–marcaboth&lt;br /&gt;
00001	Beth–meon&lt;br /&gt;
00002	Beth–nimrah&lt;br /&gt;
00001	Beth–palet&lt;br /&gt;
00001	Beth–pazzez&lt;br /&gt;
00004	Beth–peor&lt;br /&gt;
00001	Beth–phelet&lt;br /&gt;
00001	Beth–rapha&lt;br /&gt;
00002	Beth–rehob&lt;br /&gt;
00003	Beth–shan&lt;br /&gt;
00006	Beth–shean&lt;br /&gt;
00021	Beth–shemesh&lt;br /&gt;
00002	Beth–shemite&lt;br /&gt;
00001	Beth–shittah&lt;br /&gt;
00001	Beth–tappuah&lt;br /&gt;
00004	Beth–zur&lt;br /&gt;
00001	Caleb–ephratah&lt;br /&gt;
00001	Chephar–haammonai&lt;br /&gt;
00001	Chisloth–tabor&lt;br /&gt;
00001	Chor–ashan&lt;br /&gt;
00004	Chushan–rishathaim&lt;br /&gt;
00002	Col–hozeh&lt;br /&gt;
00001	Dan–jaan&lt;br /&gt;
00002	Dibon–gad&lt;br /&gt;
00006	Ebed–melech&lt;br /&gt;
00003	Eben–ezer&lt;br /&gt;
00001	El–beth–el&lt;br /&gt;
00001	El–elohe–Israel&lt;br /&gt;
00001	El–paran&lt;br /&gt;
00001	Elon–beth–hanan&lt;br /&gt;
00001	En–eglaim&lt;br /&gt;
00003	En–gannim&lt;br /&gt;
00006	En–gedi&lt;br /&gt;
00001	En–haddah&lt;br /&gt;
00001	En–hakkore&lt;br /&gt;
00001	En–hazor&lt;br /&gt;
00001	En–mishpat&lt;br /&gt;
00001	En–rimmon&lt;br /&gt;
00004	En–rogel&lt;br /&gt;
00002	En–shemesh&lt;br /&gt;
00001	En–tappuah&lt;br /&gt;
00001	Ephes–dammim&lt;br /&gt;
00003	Esar–haddon&lt;br /&gt;
00002	Esh–baal&lt;br /&gt;
00002	Evil–merodach&lt;br /&gt;
00003	Ezion–gaber&lt;br /&gt;
00004	Ezion–geber&lt;br /&gt;
00001	Gath–hepher&lt;br /&gt;
00004	Gath–rimmon&lt;br /&gt;
00001	Gittah–hepher&lt;br /&gt;
00001	Gur–baal&lt;br /&gt;
00001	Hamath–zobah&lt;br /&gt;
00001	Hammoth–dor&lt;br /&gt;
00002	Hamon–gog&lt;br /&gt;
00002	Havoth–jair&lt;br /&gt;
00001	Hazar–addar&lt;br /&gt;
00004	Hazar–enan&lt;br /&gt;
00001	Hazar–gaddah&lt;br /&gt;
00001	Hazar–hatticon&lt;br /&gt;
00004	Hazar–shual&lt;br /&gt;
00001	Hazar–susah&lt;br /&gt;
00001	Hazar–susim&lt;br /&gt;
00001	Hazazon–tamar&lt;br /&gt;
00001	Hazezon–tamar&lt;br /&gt;
00001	Helkath–hazzurim&lt;br /&gt;
00002	Hephzi–bah&lt;br /&gt;
00002	Hor–hagidgad&lt;br /&gt;
00001	I–chabod&lt;br /&gt;
00001	I–chabod’s&lt;br /&gt;
00002	Ije–abarim&lt;br /&gt;
00001	Ir–nahash&lt;br /&gt;
00001	Ir–shemesh&lt;br /&gt;
00012	Ish–bosheth&lt;br /&gt;
00002	Ish–tob&lt;br /&gt;
00001	Ishbi–benob&lt;br /&gt;
00001	Ittah–kazin&lt;br /&gt;
00001	Jaare–oregim&lt;br /&gt;
00012	Jabesh–gilead&lt;br /&gt;
00001	Jashubi–lehem&lt;br /&gt;
00001	Jegar–sahadutha&lt;br /&gt;
00001	Jehovah–jireh&lt;br /&gt;
00001	Jehovah–nissi&lt;br /&gt;
00001	Jehovah–shalom&lt;br /&gt;
00002	Jiphthah–el&lt;br /&gt;
00001	Jonath–elem–rechokim&lt;br /&gt;
00001	Jushab–hesed&lt;br /&gt;
00010	Kadesh–barnea&lt;br /&gt;
00001	Kedesh–naphtali&lt;br /&gt;
00001	Keren–happuch&lt;br /&gt;
00005	Kibroth–hattaavah&lt;br /&gt;
00001	Kir–haraseth&lt;br /&gt;
00001	Kir–hareseth&lt;br /&gt;
00001	Kir–haresh&lt;br /&gt;
00002	Kir–heres&lt;br /&gt;
00006	Kirjath–arba&lt;br /&gt;
00001	Kirjath–arim&lt;br /&gt;
00002	Kirjath–baal&lt;br /&gt;
00001	Kirjath–huzoth&lt;br /&gt;
00018	Kirjath–jearim&lt;br /&gt;
00001	Kirjath–sannah&lt;br /&gt;
00004	Kirjath–sepher&lt;br /&gt;
00002	Lahai–roi&lt;br /&gt;
00001	Lo–ammi&lt;br /&gt;
00003	Lo–debar&lt;br /&gt;
00002	Lo–ruhamah&lt;br /&gt;
00001	Maaleh–acrabbim&lt;br /&gt;
00001	Magor–missabib&lt;br /&gt;
00001	Mahaneh–dan&lt;br /&gt;
00002	Maher–shalal–hash–baz&lt;br /&gt;
00004	Malchi–shua&lt;br /&gt;
00001	Me–jarkon&lt;br /&gt;
00001	Melchi–shua&lt;br /&gt;
00004	Merib–baal&lt;br /&gt;
00001	Meribah–Kadesh&lt;br /&gt;
00001	Merodach–baladan&lt;br /&gt;
00001	Metheg–ammah&lt;br /&gt;
00001	Migdal–el&lt;br /&gt;
00001	Migdal–gad&lt;br /&gt;
00002	Misrephoth–maim&lt;br /&gt;
00001	Moresheth–gath&lt;br /&gt;
00001	Nathan–melech&lt;br /&gt;
00015	Nebuzar–adan&lt;br /&gt;
00003	Nergal–sharezer&lt;br /&gt;
00020	Obed–edom&lt;br /&gt;
00010	Padan–aram&lt;br /&gt;
00006	Pahath–moab&lt;br /&gt;
00001	Pas–dammim&lt;br /&gt;
00001	Perez–uzza&lt;br /&gt;
00001	Perez–uzzah&lt;br /&gt;
00001	Pharaoh–hophra&lt;br /&gt;
00001	Pharaoh–necho&lt;br /&gt;
00004	Pharaoh–nechoh&lt;br /&gt;
00001	Pi–beseth&lt;br /&gt;
00004	Pi–hahiroth&lt;br /&gt;
00003	Poti–pherah&lt;br /&gt;
00002	Rab–mag&lt;br /&gt;
00002	Rab–saris&lt;br /&gt;
00008	Rab–shakeh&lt;br /&gt;
00001	Ramath–lehi&lt;br /&gt;
00001	Ramath–mizpeh&lt;br /&gt;
00001	Ramathaim–zophim&lt;br /&gt;
00019	Ramoth–gilead&lt;br /&gt;
00001	Regem–melech&lt;br /&gt;
00001	Remmon–methoar&lt;br /&gt;
00002	Rimmon–parez&lt;br /&gt;
00002	Romamti–ezer&lt;br /&gt;
00001	Ru–hamah&lt;br /&gt;
00001	Samgar–nebo&lt;br /&gt;
00001	Sela–hammahlekoth&lt;br /&gt;
00001	Shear–jashub&lt;br /&gt;
00004	Shethar–boznai&lt;br /&gt;
00001	Shihor–libnath&lt;br /&gt;
00001	Shimron–meron&lt;br /&gt;
00001	Shoshannim–eduth&lt;br /&gt;
00001	Shushan–eduth&lt;br /&gt;
00001	Succoth–benoth&lt;br /&gt;
00001	Syria–damascus&lt;br /&gt;
00001	Syria–maachah&lt;br /&gt;
00001	Taanath–shiloh&lt;br /&gt;
00001	Tahtim–hodshi&lt;br /&gt;
00001	Tel–abib&lt;br /&gt;
00001	Tel–haresha&lt;br /&gt;
00001	Tel–harsa&lt;br /&gt;
00002	Tel–melah&lt;br /&gt;
00003	Tiglath–pileser&lt;br /&gt;
00003	Tilgath–pilneser&lt;br /&gt;
00001	Timnath–heres&lt;br /&gt;
00002	Timnath–serah&lt;br /&gt;
00001	Tob–adonijah&lt;br /&gt;
00002	Tubal–cain&lt;br /&gt;
00001	Uzzen–sherah&lt;br /&gt;
00001	Zaphnath–paaneah&lt;br /&gt;
00001	Zareth–shahar&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Note:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== List of words containing a hyphen ==&lt;br /&gt;
The following is a counted list of the only 5 words in the KJV containing an ordinary hyphen: &lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Count	Word&lt;br /&gt;
00003	God-ward&lt;br /&gt;
00001	joint-heirs&lt;br /&gt;
00001	thee-ward&lt;br /&gt;
00003	us-ward&lt;br /&gt;
00003	you-ward&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Hitchcock's Bible Names Dictionary ==&lt;br /&gt;
&lt;br /&gt;
Of the 3609 words in the KJV that are proper names, only 2392 have entries in Hitchcock (two thirds of the total). [[User:David Haslam|David Haslam]] ([[User talk:David Haslam|talk]]) 14:35, 5 February 2017 (MST)&lt;br /&gt;
&lt;br /&gt;
== Eleven verses detected with a comma missing ==&lt;br /&gt;
&lt;br /&gt;
Detailed analysis of the pattern Name Name has detected the following 11 verses that have a comma missing between the two names:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Location		Name Name&lt;br /&gt;
II Chronicles 16:1	Asa Baasha&lt;br /&gt;
II Kings 12:1		Jehu Jehoash&lt;br /&gt;
II Kings 13:1		Judah Jehoahaz&lt;br /&gt;
II Kings 14:23		Judah Jeroboam&lt;br /&gt;
II Kings 15:27		Judah Pekah&lt;br /&gt;
II Kings 15:23		Judah Pekahiah&lt;br /&gt;
Daniel 2:1		Nebuchadnezzar Nebuchadnezzar&lt;br /&gt;
Jeremiah 52:30		Nebuchadrezzar Nebuzar–adan&lt;br /&gt;
Numbers 13:16		Nun Jehoshua&lt;br /&gt;
II Chronicles 12:2	Rehoboam Shishak&lt;br /&gt;
II Kings 16:1		Remaliah Ahaz&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
[[User:David Haslam|David Haslam]] ([[User talk:David Haslam|talk]]) 05:21, 6 February 2017 (MST)&lt;br /&gt;
&lt;br /&gt;
: These don't have a comma in Blayney. --[[User:Dmsmith|Dmsmith]] ([[User talk:Dmsmith|talk]]) 12:54, 25 February 2017 (MST)&lt;br /&gt;
&lt;br /&gt;
== List of uppercase words in the KJV ==&lt;br /&gt;
&lt;br /&gt;
This is a list of 40 uppercase words found in the KJV text:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ABOMINATIONS&lt;br /&gt;
AM&lt;br /&gt;
AND&lt;br /&gt;
BABYLON&lt;br /&gt;
BRANCH&lt;br /&gt;
EARTH&lt;br /&gt;
GOD&lt;br /&gt;
GREAT&lt;br /&gt;
HARLOTS&lt;br /&gt;
HOLINESS&lt;br /&gt;
I&lt;br /&gt;
IS&lt;br /&gt;
JAH&lt;br /&gt;
JEHOVAH&lt;br /&gt;
JESUS&lt;br /&gt;
JEWS&lt;br /&gt;
KING&lt;br /&gt;
KINGS&lt;br /&gt;
LORD&lt;br /&gt;
LORD’S&lt;br /&gt;
LORDS&lt;br /&gt;
MENE&lt;br /&gt;
MOTHER&lt;br /&gt;
MYSTERY&lt;br /&gt;
NAZARETH&lt;br /&gt;
O&lt;br /&gt;
OF&lt;br /&gt;
OUR&lt;br /&gt;
PERES&lt;br /&gt;
RIGHTEOUSNESS&lt;br /&gt;
TEKEL&lt;br /&gt;
THAT&lt;br /&gt;
THE&lt;br /&gt;
THIS&lt;br /&gt;
THY&lt;br /&gt;
TO&lt;br /&gt;
UNKNOWN&lt;br /&gt;
UNTO&lt;br /&gt;
UPHARSIN&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Some of these are parts of multiword names. &lt;br /&gt;
[[User:David Haslam|David Haslam]] ([[User talk:David Haslam|talk]]) 09:59, 11 February 2017 (MST)&lt;br /&gt;
&lt;br /&gt;
== Multi-word names in the KJV ==&lt;br /&gt;
&lt;br /&gt;
There are several patterns that match multi-word names in which the two main words are capitalized:&lt;br /&gt;
* Name Name&lt;br /&gt;
* Name of Name&lt;br /&gt;
* Name the Name&lt;br /&gt;
* Name in Name&lt;br /&gt;
* Name at Name&lt;br /&gt;
There are also some three word names, such as:&lt;br /&gt;
* Lord Jesus Christ&lt;br /&gt;
Yet there are also names in which the major part of the name is not capitalized:&lt;br /&gt;
* Isaiah 35:8: And an highway shall be there, and a way, and it shall be called '''The way of holiness'''; the unclean shall not pass over it; but it shall be for those: the wayfaring men, though fools, shall not err therein.&lt;br /&gt;
*Jeremiah 16:21: Therefore, behold, I will this once cause them to know, I will cause them to know mine hand and my might; and they shall know that my name is '''The LORD'''. &lt;br /&gt;
* Jeremiah 19:6: Therefore, behold, the days come, saith the LORD, that this place shall no more be called Tophet, nor '''The valley of the son of Hinnom''', but '''The valley of slaughter'''.&lt;br /&gt;
* Lamentations 2:15: All that pass by clap their hands at thee; they hiss and wag their head at the daughter of Jerusalem, saying, Is this the city that men call '''The perfection of beauty''', '''The joy of the whole earth'''?&lt;br /&gt;
* Ezekiel 39:11: And it shall come to pass in that day, that I will give unto Gog a place there of graves in Israel, the valley of the passengers on the east of the sea: and it shall stop the noses of the passengers: and there shall they bury Gog and all his multitude: and they shall call it '''The valley of Hamon–gog'''.&lt;br /&gt;
* Amos 5:27: Therefore will I cause you to go into captivity beyond Damascus, saith the LORD, whose name is '''The God of hosts'''. &lt;br /&gt;
* Zechariah 6:12: And speak unto him, saying, Thus speaketh the LORD of hosts, saying, Behold the man whose name is '''The BRANCH'''; and he shall grow up out of his place, and he shall build the temple of the LORD:&lt;br /&gt;
* Acts 27:8: And, hardly passing it, came unto a place which is called '''The fair havens'''; nigh whereunto was the city of Lasea.&lt;br /&gt;
* Acts 28:15: And from thence, when the brethren heard of us, they came to meet us as far as '''Appii forum''', and '''The three taverns''': whom when Paul saw, he thanked God, and took courage.&lt;br /&gt;
* Revelation of John 19:13: And he was clothed with a vesture dipped in blood: and his name is called '''The Word of God'''.&lt;br /&gt;
[[User:David Haslam|David Haslam]] ([[User talk:David Haslam|talk]]) 06:56, 14 February 2017 (MST)&lt;br /&gt;
&lt;br /&gt;
== Two suspect apostrophes in the apocrypha ==&lt;br /&gt;
&lt;br /&gt;
A search of the DC books for the regexp &amp;lt;tt&amp;gt;[^s]\x{2019}\s&amp;lt;/tt&amp;gt; gave two matches:&lt;br /&gt;
* '''Sirach 8:1:''' Strive not with a mighty ma'''n’''' lest thou fall into his hands.&lt;br /&gt;
* '''II Maccabees 7:39:''' Than the kin'''g’''' being in a rage, handed him worse than all the rest, and took it grievously that he was mocked.&lt;br /&gt;
Most online versions are the same. Both items look suspicious. They don't meet any grammatical rule involving possessives. Further research required. [[User:David Haslam|David Haslam]] ([[User talk:David Haslam|talk]]) 13:15, 14 February 2017 (MST)&lt;br /&gt;
:I also think the first word in 2Macc.7.39 ought to be &amp;quot;Then&amp;quot; and not &amp;quot;Than&amp;quot;. [[User:David Haslam|David Haslam]] ([[User talk:David Haslam|talk]]) 13:22, 14 February 2017 (MST)&lt;br /&gt;
Both verses would appear more correct if the right single quotation mark was replaced with a comma:&lt;br /&gt;
* '''Sirach 8:1:''' Strive not with a mighty man, lest thou fall into his hands.&lt;br /&gt;
* '''II Maccabees 7:39:''' Then the king, being in a rage, handed him worse than all the rest, and took it grievously that he was mocked.&lt;br /&gt;
cf. There are 80 matches in the DC books to the pattern &amp;quot;&amp;lt;tt&amp;gt;, being &amp;lt;/tt&amp;gt;&amp;quot;. [[User:David Haslam|David Haslam]] ([[User talk:David Haslam|talk]]) 13:28, 14 February 2017 (MST)&lt;br /&gt;
:Decided to make these changes. [[User:David Haslam|David Haslam]] ([[User talk:David Haslam|talk]]) 01:16, 15 February 2017 (MST)&lt;br /&gt;
&lt;br /&gt;
== Hyphenated words in the KJV Apocrypha ==&lt;br /&gt;
&lt;br /&gt;
There are only three hyphenated words in the deuterocanonical books, all place names:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Beth-horon&lt;br /&gt;
Cades-Barne&lt;br /&gt;
En-gaddi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
But are there any other names in the DC books that ought to be hyphenated?&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Phaath Moab&lt;br /&gt;
Pahath Moab&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The spelling difference between 1Esd.5.11 and 1Esd.8.31 also needs to be checked.&amp;lt;BR&amp;gt;&lt;br /&gt;
cf. &amp;lt;tt&amp;gt;Pahath–moab&amp;lt;/tt&amp;gt; occurs six times in the KJV. This is the only hyphenated name in the KJV that occurs with a space in place of the hyphen in the DC books. Note the case difference too. [[User:David Haslam|David Haslam]] ([[User talk:David Haslam|talk]]) 09:07, 19 February 2017 (MST)&lt;br /&gt;
&lt;br /&gt;
== Spelling: ax or axe ? ==&lt;br /&gt;
&lt;br /&gt;
Another ''hapax legomenon'' to consider:&lt;br /&gt;
&lt;br /&gt;
Baruch 6:15: He hath also in his right hand a dagger and an '''ax''': but cannot deliver himself from war and thieves.&lt;br /&gt;
&lt;br /&gt;
Should this be '''axe''' as some online versions have it?  cf. The KJV has 13 instances of 'axe' and none of 'ax' other than this in the DC book. [[User:David Haslam|David Haslam]] ([[User talk:David Haslam|talk]]) 15:20, 14 February 2017 (MST)&lt;br /&gt;
:Decided to make this change. [[User:David Haslam|David Haslam]] ([[User talk:David Haslam|talk]]) 01:15, 15 February 2017 (MST)&lt;br /&gt;
&lt;br /&gt;
== Bipolar names in the DC books ==&lt;br /&gt;
&lt;br /&gt;
Here is a counted list of the '''bipolar names''' (aka ''polynym'') found in the KJV DC books:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
00002	Antiochus Epiphanes&lt;br /&gt;
00002	Antiochus Eupator&lt;br /&gt;
00001	Judas John’s&lt;br /&gt;
00007	Judas Maccabeus&lt;br /&gt;
00001	Judith Holofernes&lt;br /&gt;
00001	Jupiter Olympius&lt;br /&gt;
00001	Massias Israel&lt;br /&gt;
00001	Pahath Moab&lt;br /&gt;
00001	Phaath Moab&lt;br /&gt;
00002	Ptolemeus Philometor&lt;br /&gt;
00001	Quintus Memmius&lt;br /&gt;
00001	Simon Chosameus&lt;br /&gt;
00001	Titus Manlius&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
I have excluded the pattern &amp;quot;Persians Belemus&amp;quot; found in 1Esd.2.16 which is really two names.&amp;lt;BR&amp;gt;&lt;br /&gt;
I have also excluded three locations where a punctuation mark was missing. [[User:David Haslam|David Haslam]] ([[User talk:David Haslam|talk]]) 10:07, 19 February 2017 (MST)&lt;/div&gt;</summary>
		<author><name>Dmsmith</name></author>	</entry>

	<entry>
		<id>https://wiki.crosswire.org/index.php?title=DevTools:conf_Files&amp;diff=15225</id>
		<title>DevTools:conf Files</title>
		<link rel="alternate" type="text/html" href="https://wiki.crosswire.org/index.php?title=DevTools:conf_Files&amp;diff=15225"/>
				<updated>2017-02-01T17:41:52Z</updated>
		
		<summary type="html">&lt;p&gt;Dmsmith: /* Key elements of a SWORD module.conf */ Not 32K but 64K.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Creating a .conf File=&lt;br /&gt;
== module.conf File Layout==&lt;br /&gt;
SWORD uses a Windows INI file for configuration information. Each module's configuration is held in a module.conf file. This file is used by the SWORD engine to process modules, by installers to help user's install modules and by front-ends to render the module appropriately.&lt;br /&gt;
&lt;br /&gt;
Different [http://en.wikipedia.org/wiki/Newline End-of-Line] styles should be not be mixed in the same file.&lt;br /&gt;
&lt;br /&gt;
== Overview by Example ==&lt;br /&gt;
The module.conf file starts with an INI section, giving the ModName.&lt;br /&gt;
:[KJV]&lt;br /&gt;
&lt;br /&gt;
This is then followed by key=value pairs. While a Windows INI file allows : in addition to =, SWORD does not.&lt;br /&gt;
: # A line that starts with a # is a comment&lt;br /&gt;
: ; A line that begins with a ; is also a comment&lt;br /&gt;
: &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;# whitespace at the beginning of the line or end of the line is trimmed. This also is a comment.&lt;br /&gt;
: &amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;DataPath=./modules/texts/ztext/kjv/&lt;br /&gt;
: # whitespace can be around the = as well.&lt;br /&gt;
: ModDrv&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;=&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;&amp;amp;nbsp;zText&lt;br /&gt;
: Encoding=UTF-8&lt;br /&gt;
: BlockType=BOOK&lt;br /&gt;
: CompressType=ZIP&lt;br /&gt;
: SourceType=OSIS&lt;br /&gt;
: Lang=en&lt;br /&gt;
&lt;br /&gt;
Some keys can be repeated with different values:&lt;br /&gt;
:GlobalOptionFilter=OSISStrongs&lt;br /&gt;
:GlobalOptionFilter=OSISMorph&lt;br /&gt;
:GlobalOptionFilter=OSISFootnotes&lt;br /&gt;
:GlobalOptionFilter=OSISHeadings&lt;br /&gt;
:GlobalOptionFilter=OSISRedLetterWords&lt;br /&gt;
&lt;br /&gt;
Some keys support [[DevTools:conf Files#Localization|localization]]:&lt;br /&gt;
Abbreviation=和合本&lt;br /&gt;
Abbreviation_en=ChiUn&lt;br /&gt;
Description=和合本 (繁體字)&lt;br /&gt;
Description_en=Chinese Union Version (Traditional)&lt;br /&gt;
&lt;br /&gt;
Some fields can have [[DevTools:conf Files#RTF|RTF]] in a single line:&lt;br /&gt;
:About=This is the King James Version of the Holy Bible (also known as the Authorized Version) with embedded Strong's Numbers.  The rights to the base text are held by the Crown of England.  The Strong's numbers in the OT were obtained from The Bible Foundation: http://www.bf.org. The NT Strong's data was obtained from The KJV2003 Project at CrossWire: http://www.crosswire.org.  These mechanisms provide a useful means for looking up the exact original language word in a lexicon that is keyed to Strong's numbers.\par\par Special thanks to the volunteers at Bible Foundation for keying the Hebrew/English data and of Project KJV2003 for working toward the completion of synchronizing the English phrases to the Stephanas Textus Receptus, and to Dr. Maurice Robinson for providing the base Greek text with Strong's and Morphology.  We are also appreciative of formatting markup that was provided by Michael Paul Johnson at http://www.ebible.org.  Their time and generosity to contribute such for the free use of the Body of Christ is a great blessing and this derivative work could not have been possible without these efforts of so many individuals.  It is in this spirit that we in turn offer the KJV2003 Project text freely for any purpose.  Any copyright that might be obtained for this effort is held by CrossWire Bible Society (c) 2003 and CrossWire Bible Society hereby grants a general public license to use this text for any purpose.\par Inquiries and comments may be directed to:\par\par         CrossWire Bible Society\par        kjv2003&amp;amp;#64;crosswire.org\par        http://www.crosswire.org&lt;br /&gt;
Some fields allow multiple lines using \ to escape the newline:&lt;br /&gt;
:About=This is the King James Version of the Holy Bible (also known as the Authorized Version) with embedded Strong's Numbers.  The rights to the base text are held by the Crown of England.  The Strong's numbers in the OT were obtained from The Bible Foundation: http://www.bf.org. The NT Strong's data was obtained from The KJV2003 Project at CrossWire: http://www.crosswire.org.  These mechanisms provide a useful means for looking up the exact original language word in a lexicon that is keyed to Strong's numbers. \&lt;br /&gt;
: \&lt;br /&gt;
:Special thanks to the volunteers at Bible Foundation for keying the Hebrew/English data and of Project KJV2003 for working toward the completion of synchronizing the English phrases to the Stephanas Textus Receptus, and to Dr. Maurice Robinson for providing the base Greek text with Strong's and Morphology.  We are also appreciative of formatting markup that was provided by Michael Paul Johnson at http://www.ebible.org.  Their time and generosity to contribute such for the free use of the Body of Christ is a great blessing and this derivative work could not have been possible without these efforts of so many individuals.  It is in this spirit that we in turn offer the KJV2003 Project text freely for any purpose.  Any copyright that might be obtained for this effort is held by CrossWire Bible Society (c) 2003 and CrossWire Bible Society hereby grants a general public license to use this text for any purpose. \&lt;br /&gt;
: Inquiries and comments may be directed to: \&lt;br /&gt;
: \&lt;br /&gt;
:CrossWire Bible Society \&lt;br /&gt;
:kjv2003&amp;amp;#64;crosswire.org \&lt;br /&gt;
:http://www.crosswire.org&lt;br /&gt;
&lt;br /&gt;
=== Common mistakes ===&lt;br /&gt;
Using Latin-1 or CP1252 when:&lt;br /&gt;
: Encoding=UTF-8&lt;br /&gt;
&lt;br /&gt;
Having a [http://en.wikipedia.org/wiki/Byte_order_mark Byte Order Mark (BOM)] at the beginning of the file&amp;lt;ref&amp;gt;Windows Notepad and Wordpad may silently add these to the file&amp;lt;/ref&amp;gt;&lt;br /&gt;
: U+FEFF&lt;br /&gt;
: [KJV]&lt;br /&gt;
&lt;br /&gt;
Repeating the same element with the same value:&lt;br /&gt;
: Lang=en&lt;br /&gt;
: ...&lt;br /&gt;
: Lang=en&lt;br /&gt;
&lt;br /&gt;
Repeating the same element with different values, when the element doesn't allow repeats:&lt;br /&gt;
: Lang=en&lt;br /&gt;
: Lang=de&lt;br /&gt;
&lt;br /&gt;
Not supplying a value:&lt;br /&gt;
: About=&lt;br /&gt;
Only the field CipherKey allows this.&lt;br /&gt;
&lt;br /&gt;
Having a continuation marker on the last line, causing the next key=value to be appended to the prior field.:&lt;br /&gt;
: this is text that continues from the prior line \&lt;br /&gt;
: Lang=en&lt;br /&gt;
&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Continuation ===&lt;br /&gt;
A value can span multiple lines by escaping the return with '\'. This is not a mechanism to make long lines more readable in the module.conf file. It is a means to introducing a break in the rendered output of that field when viewed by a front-end or installer. It is akin to a xHTML &amp;amp;lt;br/&amp;amp;gt;. That is, continuation is a formatting feature.&lt;br /&gt;
&lt;br /&gt;
Most elements in a SWORD conf are expected to have short, one-line values. Elements that are expected to have multiple lines are noted.&lt;br /&gt;
&lt;br /&gt;
=== RTF ===&lt;br /&gt;
A module.conf supports a very small, restricted subset of RTF markup. Only the following are allowed:&lt;br /&gt;
* \qc - for centering&lt;br /&gt;
* \par - for paragraph breaks&lt;br /&gt;
* \pard - for resetting paragraph attributes, i.e. turning off centering.&lt;br /&gt;
* \u{num}? - for unicode characters, where {num} is a signed, 16-bit representation of the code point and where ? is the  ASCII character used in case unicode is not supported. If the {num} is less than 0 then add 65536 to it. This should only be used in modules that have an Encoding=UTF-8, but using the actual UTF-8 character is preferred.&lt;br /&gt;
&lt;br /&gt;
The only uniqueness that RTF provides is centering. If centering is not needed, then use continuation lines instead of RTF.&lt;br /&gt;
&lt;br /&gt;
=== Localization ===&lt;br /&gt;
Those .conf fields that are essentially text intended for presentation to the end-user may be localized by appending _''locale'' to the field name, where ''locale'' is replaced by an appropriate locale code, according to [http://www.rfc-editor.org/rfc/bcp/bcp47.txt BCP 47]. See Lang below for details.&lt;br /&gt;
&lt;br /&gt;
For example, to give a French description, you can have a field:&lt;br /&gt;
:Description_fr=....&lt;br /&gt;
&lt;br /&gt;
In order to distinguish a regional form from the primary form of a language, e.g. Brazilian Portuguese vs. the Portuguese of Portugal, append the country code as in: &lt;br /&gt;
:Description_pt-BR=....&lt;br /&gt;
&lt;br /&gt;
Script variants can be given as in:&lt;br /&gt;
:Description_zh-Hans=.... simplified Chinese ....&lt;br /&gt;
:Description_zh-Hant=.... traditional Chinese ....&lt;br /&gt;
&lt;br /&gt;
In order for a .conf entry to appear in a localized form, a non-localized form of the same field must also occur within the .conf. For example, in order for a ''Description_en'' field to appear, a file  must also possess a ''Description'' field. The locale of .conf entries without the locale modifier is the default and must reflect the locale/language of the module itself (as specified in Lang=) or English (if there are no localized versions of the field). In general, fields should be provided in the language of the module itself with English translations provided in parallel fields localized with _''en''. There is no explicit upper bound on the quantity of localized fields, but all localized and localizable fields should be unique.&lt;br /&gt;
&lt;br /&gt;
'''Notes''':&lt;br /&gt;
# At the present, this is only a planned feature. Module .confs can &amp;amp; should make use of this facility, but at the moment, there is no front-end support for it.&lt;br /&gt;
# See also [[Localized Language Names]].&lt;br /&gt;
&lt;br /&gt;
== Key elements of a SWORD module.conf ==&lt;br /&gt;
Below is a listing of the possible directives in that file.&lt;br /&gt;
&lt;br /&gt;
Some keys can be repeated. Don't repeat ones that can't. One or more of them will be ignored.&lt;br /&gt;
&lt;br /&gt;
Some can have values that span more than 1 line with '\' at the end of a line indicating that the text on the next line continues the value. Don't use continuation unless allowed. It will produce different results in different front ends.&lt;br /&gt;
&lt;br /&gt;
RTF is allowed in some values. Don't use it otherwise. It will produce different results in different front ends.&lt;br /&gt;
&lt;br /&gt;
Some allow HTML &amp;amp;lt;a href=&amp;quot;xxx&amp;quot;&amp;amp;gt;label&amp;amp;lt;/a&amp;amp;gt;hypertext links. HTML is not allowed otherwise.&lt;br /&gt;
&lt;br /&gt;
Values specifications are shown as '''&amp;amp;lt;content spec&amp;amp;gt;'''. The &amp;amp;lt; and &amp;amp;gt; are not to be included.&lt;br /&gt;
&lt;br /&gt;
Enumerated values are shown in '''bold'''. These should be used exactly as given and no other values should be used.&lt;br /&gt;
&lt;br /&gt;
The order of elements specified in a conf file is immaterial, except where specified otherwise.&lt;br /&gt;
&lt;br /&gt;
Configuration elements not defined in this page are assumed to be ignored by most front-end applications.&lt;br /&gt;
&lt;br /&gt;
===Required Elements===&lt;br /&gt;
&lt;br /&gt;
{|  width=&amp;quot;100%&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;sortable&amp;quot;&lt;br /&gt;
! width=&amp;quot;10%&amp;quot;|Element&lt;br /&gt;
! width=&amp;quot;70%&amp;quot;|Values (type or enumerated)&lt;br /&gt;
! width=&amp;quot;10%&amp;quot;|Default Value&lt;br /&gt;
! width=&amp;quot;10%&amp;quot;|Allows&lt;br /&gt;
|- &lt;br /&gt;
| [ModName]&lt;br /&gt;
| Each conf file begins with [ModName], replacing &amp;quot;ModName&amp;quot; with a short well known abbreviation for the module (e.g., [KJV]). This must be first in the file. Valid characters for this abbreviation are limited to A-Z, a-z, 0-9 and _.&amp;lt;br/&amp;gt;&lt;br /&gt;
The Abbreviation element is meant to allow for localization of this field.&amp;lt;br/&amp;gt;&lt;br /&gt;
The .conf file should be named the lowercase of this abbreviation followed by .conf. For example, [MyModule] would be mymodule.conf.&lt;br /&gt;
| &amp;amp;nbsp;&lt;br /&gt;
| &amp;amp;nbsp;&lt;br /&gt;
|- &lt;br /&gt;
| Abbreviation&amp;lt;ref&amp;gt;We strongly advise to avoid using an Abbreviation that's identical to the ModName or Abbreviation of any other module. It only leads to confusion, and may have unexpected consequences for some front-ends.&amp;lt;/ref&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
'''&amp;amp;lt;string&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This field allows for the localization of the ModName. It is meant to be short just like the ModName.&lt;br /&gt;
&lt;br /&gt;
''Actually, this element is not required, but it makes the most sense to have it here.''&lt;br /&gt;
| [ModName]&lt;br /&gt;
| [[DevTools:conf Files#Localization|Localization]]&lt;br /&gt;
|- &lt;br /&gt;
| Description&lt;br /&gt;
|&lt;br /&gt;
'''&amp;amp;lt;string&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This is a short (1 line) title of the module.&lt;br /&gt;
| &amp;amp;nbsp;&lt;br /&gt;
| [[DevTools:conf Files#Localization|Localization]]&lt;br /&gt;
|- &lt;br /&gt;
| DataPath&lt;br /&gt;
| &amp;amp;lt;relative system path pointing to the data files&amp;amp;gt;&lt;br /&gt;
DataPath is the path to the module data files relative to the SWORD module library root directory. This path should start with &amp;quot;./modules&amp;quot;. If the DataPath indicates a directory it should end with a '/'. Otherwise the module name is both the directory and the prefix for each file in that directory.  Although DataPath can point to any folder or files under the root of the SWORD module library, the following conventions are recommended and must be used for modules wishing to be included in a CrossWire repository:&lt;br /&gt;
&lt;br /&gt;
Paths used for a module named [MyModule], depending on&amp;lt;BR&amp;gt;(a) the type of module (Bible text, commentary, lexicon or dictionary&amp;lt;ref&amp;gt;Daily devotionals &amp;amp; glossaries go in subdirectories under lexdict. A glossary is between two languages.&amp;lt;/ref&amp;gt;, general book) and&amp;lt;BR&amp;gt;(b) the data driver (ModDrv parameter) are:&lt;br /&gt;
&lt;br /&gt;
:./modules/texts/rawtext/mymodule/&lt;br /&gt;
:./modules/texts/rawtext4/mymodule/&lt;br /&gt;
:./modules/texts/ztext/mymodule/&lt;br /&gt;
:./modules/texts/ztext4/mymodule/&lt;br /&gt;
:./modules/comments/zcom/mymodule/&lt;br /&gt;
:./modules/comments/zcom4/mymodule/&lt;br /&gt;
:./modules/comments/hrefcom/mymodule/&lt;br /&gt;
:./modules/comments/rawcom/mymodule/&lt;br /&gt;
:./modules/comments/rawcom4/mymodule/&lt;br /&gt;
:./modules/comments/rawfiles/mymodule/&lt;br /&gt;
:./modules/lexdict/zld/mymodule/mymodule&lt;br /&gt;
:./modules/lexdict/rawld/mymodule/mymodule&lt;br /&gt;
:./modules/lexdict/rawld/devotionals/mymodule/mymodule&lt;br /&gt;
:./modules/lexdict/rawld/glossaries/mymodule/mymodule&lt;br /&gt;
:./modules/lexdict/rawld4/mymodule/mymodule&lt;br /&gt;
:./modules/genbook/rawgenbook/mymodule/mymodule&lt;br /&gt;
&lt;br /&gt;
| &amp;amp;nbsp;&lt;br /&gt;
| &amp;amp;nbsp;&lt;br /&gt;
|- &lt;br /&gt;
| ModDrv&lt;br /&gt;
|&lt;br /&gt;
'''RawText''' (for uncompressed Bibles)&amp;lt;br/&amp;gt;&lt;br /&gt;
'''RawText4''' (for uncompressed Bibles having entries greater than 64K bytes)&amp;lt;ref name=&amp;quot;text4&amp;quot;&amp;gt;e.g. If the Bible contains large introduction sections&amp;lt;/ref&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
'''zText''' (for compressed Bibles)&amp;lt;br/&amp;gt;&lt;br /&gt;
'''zText4''' (for compressed Bibles having entries greater than 64K bytes)&amp;lt;ref name=&amp;quot;text4&amp;quot;&amp;gt;e.g. If the Bible contains large introduction sections&amp;lt;/ref&amp;gt;&amp;lt;ref name=&amp;quot;sv&amp;quot;&amp;gt;zText4 &amp;amp; zCom4 modules require MinimumVersion=1.8 or later.&amp;lt;/ref&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
'''RawCom''' (for uncompressed Commentaries)&amp;lt;br/&amp;gt;&lt;br /&gt;
'''RawCom4''' (for uncompressed Commentaries having entries greater than 64K bytes)&amp;lt;br/&amp;gt;&lt;br /&gt;
'''zCom''' (for compressed Commentaries)&amp;lt;br/&amp;gt;&lt;br /&gt;
'''zCom4''' (for compressed Commentaries having entries greater than 64K bytes)&amp;lt;ref name=&amp;quot;sv&amp;quot;&amp;gt;zText4 &amp;amp; zCom4 modules require SwordVersion=1.8 or later.&amp;lt;/ref&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
'''HREFCom''' (each module entry must be only a URL to the body for the entry; experimental)&amp;lt;br/&amp;gt;&lt;br /&gt;
'''RawFiles''' (stores each entry in a simple text file in the datapath; recommended for Personal Commentary)&amp;lt;br/&amp;gt;&lt;br /&gt;
'''RawLD''' (for uncompressed Dictionaries)&amp;lt;br/&amp;gt;&lt;br /&gt;
'''RawLD4''' (for uncompressed Dictionaries having entries greater than 64K bytes)&amp;lt;br/&amp;gt;&lt;br /&gt;
'''zLD''' (for compressed Dictionaries)&amp;lt;br/&amp;gt;&lt;br /&gt;
'''RawGenBook''' (for uncompressed tree keyed modules)&lt;br /&gt;
| &amp;amp;nbsp;&lt;br /&gt;
| &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Required Elements with defaults ===&lt;br /&gt;
&lt;br /&gt;
{|  width=&amp;quot;100%&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;sortable&amp;quot;&lt;br /&gt;
! width=&amp;quot;10%&amp;quot;|Element&lt;br /&gt;
! width=&amp;quot;70%&amp;quot;|Values (type or enumerated)&lt;br /&gt;
! width=&amp;quot;10%&amp;quot;|Default Value&lt;br /&gt;
! width=&amp;quot;10%&amp;quot;|Allows&lt;br /&gt;
|- &lt;br /&gt;
| SourceType&lt;br /&gt;
|&lt;br /&gt;
'''Plaintext'''&amp;lt;br/&amp;gt;&lt;br /&gt;
'''GBF''' ([http://www.ebible.org/bible/gbf.htm General Bible Format])&amp;lt;br/&amp;gt;&lt;br /&gt;
'''ThML''' ([http://www.ccel.org/ThML Theological Markup Language])&amp;lt;br/&amp;gt;&lt;br /&gt;
'''OSIS''' ([http://www.bibletechnologies.net Open Scriptural Information Standard])&amp;lt;br/&amp;gt;&lt;br /&gt;
'''TEI''' ([http://www.tei-c.org Text Encoding Initiative])&amp;lt;br/&amp;gt;&lt;br /&gt;
Specifies the '''markup''' used in the module. The preferred markup is OSIS. TEI is preferred for dictionaries until OSIS supports dictionaries. While SourceType has a default, it is a best practice to specify it.&amp;lt;br/&amp;gt;&lt;br /&gt;
In SWORD, for modules encoded with ThML, OSIS or TEI, each verse, dictionary entry, and book division needs to be well-formed XML or it will result in display problems in some front-ends.&lt;br /&gt;
| Plaintext&lt;br /&gt;
| &amp;amp;nbsp;&lt;br /&gt;
|- &lt;br /&gt;
| Encoding&lt;br /&gt;
|&lt;br /&gt;
'''Latin-1'''&amp;amp;dagger; ([http://en.wikipedia.org/wiki/Windows-1252 Windows Codepage 1252 (cp1252)])&amp;lt;br/&amp;gt;&lt;br /&gt;
'''UTF-8'''&amp;lt;br/&amp;gt;&lt;br /&gt;
'''UTF-16'''&amp;lt;br/&amp;gt;&lt;br /&gt;
'''SCSU''' ([http://en.wikipedia.org/wiki/Standard_Compression_Scheme_for_Unicode Standard Compression Scheme for Unicode])&amp;lt;br/&amp;gt;&lt;br /&gt;
Indicates how the text in the conf and in the module are encoded.&lt;br /&gt;
&lt;br /&gt;
The preferred encoding of texts is UTF-8. Other than Hebrew, UTF-8 modules must be encoded with [http://unicode.org/reports/tr15/ Normalization Form C (NFC)]. Biblical Hebrew requires special handling.&amp;lt;ref&amp;gt;Unicode normalization can easily break Biblical Hebrew text. See on page 9 in the [http://www.sbl-site.org/Fonts/SBLHebrewUserManual1.5x.pdf SBL Hebrew Font User Manual].&amp;lt;/ref&amp;gt; A few other languages may require special handling.&amp;lt;ref&amp;gt;e.g. If they are mentioned in Table 10 in the [http://unicode.org/reports/tr15/#Corrigendum_5_Sequences Corrigendum 5 Sequences].&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;The improper normalization of exceptional codepoints can be prevented by inserting a [https://en.wikipedia.org/wiki/Combining_Grapheme_Joiner Combining Grapheme Joiner].&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To date, no modules use UTF-16 or SCSU.&lt;br /&gt;
&lt;br /&gt;
&amp;amp;dagger;'''Warning: ''' ''&amp;quot;Latin-1&amp;quot; is an ambiguously used term. Latin-1 is regularly used as a synonym for [http://en.wikipedia.org/wiki/ISO_8859-1 ISO-8859-1]. Here it means Windows Codepage 1252, a superset of ISO-8859-1. Front-end implementors should use &amp;quot;cp1252&amp;quot; or &amp;quot;windows1252&amp;quot; explicitly, not &amp;quot;Latin-1&amp;quot; provided by some programming language libraries.''&lt;br /&gt;
| Latin-1&lt;br /&gt;
| &amp;amp;nbsp;&lt;br /&gt;
|- &lt;br /&gt;
| CompressType&lt;br /&gt;
|&lt;br /&gt;
'''ZIP'''&amp;lt;br/&amp;gt;&lt;br /&gt;
'''LZSS''' ([http://en.wikipedia.org/wiki/Lempel%E2%80%93Ziv%E2%80%93Storer%E2%80%93Szymanski Lempel Ziv Storer Szymanski])&amp;lt;br/&amp;gt;&lt;br /&gt;
'''BZIP2'''&amp;lt;br/&amp;gt;&lt;br /&gt;
'''XZ'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Used for modules having a ModDrv of zText, zCom or zLD to indicate the compression algorithm.&lt;br /&gt;
While CompressType has a default, it is best practice to specify it.&lt;br /&gt;
ZIP is the preferred format.&lt;br /&gt;
| LZSS&lt;br /&gt;
| &amp;amp;nbsp;&lt;br /&gt;
|- &lt;br /&gt;
| BlockType&lt;br /&gt;
|&lt;br /&gt;
'''BOOK'''&amp;lt;br/&amp;gt;&lt;br /&gt;
'''CHAPTER'''&amp;lt;br/&amp;gt;&lt;br /&gt;
'''VERSE'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Used for modules having a ModDrv of zText (Bibles) and zCom (Commentaries) to indicate how much of the work is compressed into a block. The trade off is size for speed, with BOOK taking the least overall space and the longest time and VERSE taking the greatest overall space and the least time. While BlockType has a default, it is a best practice to specify it. Most Bibles use BOOK and larger Commentaries use CHAPTER. To date, no module uses VERSE.&lt;br /&gt;
| CHAPTER&lt;br /&gt;
| &amp;amp;nbsp;&lt;br /&gt;
|- &lt;br /&gt;
| BlockCount&lt;br /&gt;
|&lt;br /&gt;
'''&amp;amp;lt;integer&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Used for modules having a ModDrv of zLD to indicate the number of entries in a compressed block. Higher values will make the module slower, but smaller. It is best practice to take the default and not specify it.&lt;br /&gt;
| 200&lt;br /&gt;
| &amp;amp;nbsp;&lt;br /&gt;
|- &lt;br /&gt;
| Versification&lt;br /&gt;
|&lt;br /&gt;
'''Catholic'''&amp;lt;br/&amp;gt;&lt;br /&gt;
'''Catholic2'''&amp;lt;br/&amp;gt;&lt;br /&gt;
'''German'''&amp;lt;br/&amp;gt;&lt;br /&gt;
'''KJV'''&amp;lt;br/&amp;gt;&lt;br /&gt;
'''KJVA'''&amp;lt;br/&amp;gt;&lt;br /&gt;
'''LXX'''&amp;lt;br/&amp;gt;&lt;br /&gt;
'''Leningrad'''&amp;lt;br/&amp;gt;&lt;br /&gt;
'''Luther'''&amp;lt;br/&amp;gt;&lt;br /&gt;
'''MT'''&amp;lt;br/&amp;gt;&lt;br /&gt;
'''NRSV'''&amp;lt;br/&amp;gt;&lt;br /&gt;
'''NRSVA'''&amp;lt;br/&amp;gt;&lt;br /&gt;
'''Orthodox'''&amp;lt;br/&amp;gt;&lt;br /&gt;
'''Synodal'''&amp;lt;br/&amp;gt;&lt;br /&gt;
'''SynodalProt'''&amp;lt;br/&amp;gt;&lt;br /&gt;
'''Vulg'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Used to specify the versification employed by a Bible module. Refer to [[Alternate Versification]].&lt;br /&gt;
| KJV&lt;br /&gt;
| &amp;amp;nbsp;&lt;br /&gt;
|- &lt;br /&gt;
| CipherKey&lt;br /&gt;
|&lt;br /&gt;
'''&amp;amp;lt;string&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Indicates that a module is enciphered and that the module is (un)locked. When the key has no value (&amp;quot;CipherKey=&amp;quot;) the module is locked. When it has a value, the module is unlocked.&lt;br /&gt;
&lt;br /&gt;
A good key is something that is hard to guess. Typically in a format matching the pattern: /[0-9]{4}[A-Za-z]{4}[0-9]{4}[A-Za-z]{4}/. Internally the key can be any byte sequence from 1 to 255 bytes in length. But it needs to be readable, plain text, without leading or trailing spaces.&lt;br /&gt;
| &amp;amp;nbsp;&lt;br /&gt;
| &amp;amp;nbsp;&lt;br /&gt;
|- &lt;br /&gt;
| KeyType&lt;br /&gt;
|&lt;br /&gt;
'''TreeKey'''&amp;lt;br/&amp;gt;&lt;br /&gt;
'''VerseKey'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Used for RawGenBook to indicate whether the module contains a book or a Bible. At this time VerseKey is not yet supported and is being developed as a solution for Bibles which do not conform to any supported versification system in SWORD. It is best practice to take the default and not specify it.&lt;br /&gt;
| TreeKey&lt;br /&gt;
| &amp;amp;nbsp;&lt;br /&gt;
|- &lt;br /&gt;
| CaseSensitiveKeys&lt;br /&gt;
|&lt;br /&gt;
Used for Dictionaries whose keys are case sensitive. This key is used to suppress normalization to UPPER CASE before comparison.&amp;lt;br/&amp;gt;&lt;br /&gt;
Only allowable value: '''true'''&lt;br /&gt;
| false&lt;br /&gt;
| &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Elements required for proper rendering ===&lt;br /&gt;
&lt;br /&gt;
{|  width=&amp;quot;100%&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;sortable&amp;quot;&lt;br /&gt;
! width=&amp;quot;10%&amp;quot;|Element&lt;br /&gt;
! width=&amp;quot;70%&amp;quot;|Values (type or enumerated)&lt;br /&gt;
! width=&amp;quot;10%&amp;quot;|Default Value&lt;br /&gt;
! width=&amp;quot;10%&amp;quot;|Allows&lt;br /&gt;
|- &lt;br /&gt;
| GlobalOptionFilter&lt;br /&gt;
|&lt;br /&gt;
'''GBFStrongs''' (For GBF texts having Strong's Numbers)&amp;lt;br/&amp;gt;&lt;br /&gt;
'''GBFFootnotes''' (For GBF texts having footnotes)&amp;lt;br/&amp;gt;&lt;br /&gt;
'''GBFMorph''' (For GBF texts having morphology information)&amp;lt;br/&amp;gt;&lt;br /&gt;
'''GBFHeadings''' (For GBF texts having headings)&amp;lt;br/&amp;gt;&lt;br /&gt;
'''GBFRedLetterWords''' (For GBF texts marking the Words of Christ)&amp;lt;br/&amp;gt;&lt;br /&gt;
'''ThMLStrongs''' (For THML texts having Strong's Numbers)&amp;lt;br/&amp;gt;&lt;br /&gt;
'''ThMLFootnotes''' (For THML texts having footnotes)&amp;lt;br/&amp;gt;&lt;br /&gt;
'''ThMLScripref''' (For THML texts having cross references)&amp;lt;br/&amp;gt;&lt;br /&gt;
'''ThMLMorph''' (For THML texts having morphology information)&amp;lt;br/&amp;gt;&lt;br /&gt;
'''ThMLHeadings''' (For THML texts having headings)&amp;lt;br/&amp;gt;&lt;br /&gt;
'''ThMLVariants''' (For THML texts having variant readings)&amp;lt;br/&amp;gt;&lt;br /&gt;
'''ThMLLemma''' (For THML texts having lemmas)&amp;lt;br/&amp;gt;&lt;br /&gt;
'''UTF8Cantillation''' (For Hebrew texts having cantillation marks)&amp;lt;ref&amp;gt;See https://en.wikipedia.org/wiki/Cantillation&amp;lt;/ref&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
'''UTF8GreekAccents''' (For Greek texts having accents)&amp;lt;br/&amp;gt;&lt;br /&gt;
'''UTF8HebrewPoints''' (For Hebrew texts having vowel points)&amp;lt;br/&amp;gt;&lt;br /&gt;
'''UTF8ArabicPoints''' (For Arabic texts having vowel points)&amp;lt;ref&amp;gt;See https://en.wikipedia.org/wiki/Arabic_diacritics&amp;lt;/ref&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
'''OSISLemma''' (For OSIS texts having lemmas)&amp;lt;ref&amp;gt;Must precede OSISStrongs.&amp;lt;/ref&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
'''OSISMorphSegmentation''' (For OSIS texts having morphological segmentation elements)&amp;lt;br/&amp;gt;&lt;br /&gt;
'''OSISStrongs''' (For OSIS texts having Strong's Numbers)&amp;lt;br/&amp;gt;&lt;br /&gt;
'''OSISFootnotes''' (For OSIS texts having informational notes)&amp;lt;br/&amp;gt;&lt;br /&gt;
'''OSISScripref''' (For OSIS texts having [[OSIS Bibles#Marking_cross-references_note|cross reference]] type notes)&amp;lt;br/&amp;gt;&lt;br /&gt;
'''OSISMorph''' (For OSIS texts having morphology information)&amp;lt;br/&amp;gt;&lt;br /&gt;
'''OSISHeadings''' (For OSIS texts having non-canonical headings)&amp;lt;br/&amp;gt;&lt;br /&gt;
'''OSISVariants''' (For OSIS texts having variant readings)&amp;lt;br/&amp;gt;&lt;br /&gt;
'''OSISRedLetterWords''' (For OSIS texts marking the Words of Christ)&amp;lt;br/&amp;gt;&lt;br /&gt;
'''OSISGlosses''' (For OSIS texts with glosses)&amp;lt;ref&amp;gt;Minimum SWORD version of 1.7.0 in the module .conf is required for OSISGlosses.&amp;lt;/ref&amp;gt;&amp;lt;br/&amp;gt;&amp;lt;s&amp;gt;'''OSISRuby''' (For OSIS texts with glosses)&amp;lt;/s&amp;gt;&amp;lt;ref&amp;gt;Deprecated in 1.7.0. Use OSISGlosses instead.&amp;lt;/ref&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
'''OSISXlit''' (For OSIS texts that include transliterated forms)&amp;lt;ref&amp;gt;The Samaritan Pentateuch module SP is an example of using xlit.&amp;lt;/ref&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
'''OSISEnum''' (For OSIS texts with enumerated words)&amp;lt;ref&amp;gt;The Samaritan Pentateuch module SP is an example of using enum.&amp;lt;/ref&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
'''OSISReferenceLinks''' (For OSIS texts with glossary links)&amp;lt;ref&amp;gt;New in SWORD 1.7.0 - This filter requires six vertical bar-delimited fields, of which the following is an example.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
GlobalOptionFilter=OSISReferenceLinks|Reference Material Links|Hide or show links to study helps in the Biblical text.|x-glossary||On&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Here are the different field meanings:&lt;br /&gt;
# &amp;quot;OSISReferenceLinks&amp;quot; = option filter class name (option class name internal to the engine). Always the same for this kind of filter.&lt;br /&gt;
# &amp;quot;Reference Material Links&amp;quot; = Visible name of this OSISReferenceLinks filter. This is what the user will see in the Global Options toggle lists.&lt;br /&gt;
# &amp;quot;Hide or show...&amp;quot; = A readable user tip explaining what the filter does.&lt;br /&gt;
# &amp;quot;x-glossary&amp;quot; = Tells this OSISReferenceLinks filter to filter all references with type=&amp;quot;x-glossary&amp;quot;.&lt;br /&gt;
# (empty) = Tells this OSISReferenceLinks filter to also require that subType=&amp;quot;something&amp;quot; in order to filter. Empty means ALL type=&amp;quot;x-glossary&amp;quot; references will be filtered regardless of subType.&lt;br /&gt;
# &amp;quot;On&amp;quot; = Default filter toggle value (&amp;quot;On&amp;quot; or &amp;quot;Off&amp;quot;)&lt;br /&gt;
&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;It is allowed to have multiple OSISReferenceLinks entries in a single conf file.&amp;lt;/ref&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
Each of these filters removes/hides the text's feature, when activated by the application.&amp;lt;ref&amp;gt;It's not implied that every front-end supports all of the listed option filters.&amp;lt;/ref&amp;gt;&lt;br /&gt;
These filters are applied in the order that they are listed in the conf. Some filters are dependent on each other for certain features - e.g. crossreferences in notes require both the OSISFootnotes and the OSISScriprefs filters enabled. &lt;br /&gt;
| &amp;amp;nbsp;&lt;br /&gt;
| Repeats&lt;br /&gt;
|- &lt;br /&gt;
| Direction&lt;br /&gt;
|&lt;br /&gt;
'''LtoR''' (&amp;lt;u&amp;gt;L&amp;lt;/u&amp;gt;eft to &amp;lt;u&amp;gt;R&amp;lt;/u&amp;gt;ight)&amp;lt;br/&amp;gt;&lt;br /&gt;
'''RtoL''' (&amp;lt;u&amp;gt;R&amp;lt;/u&amp;gt;ight to &amp;lt;u&amp;gt;L&amp;lt;/u&amp;gt;eft)&amp;lt;br/&amp;gt;&lt;br /&gt;
'''BiDi''' (&amp;lt;u&amp;gt;Bidi&amp;lt;/u&amp;gt;rectional)&amp;lt;br/&amp;gt;&lt;br /&gt;
Indicate whether the language's script is a left to right script or a right to left script.&amp;lt;ref&amp;gt;JSword validates the direction property against the Lang of the module.&amp;lt;/ref&amp;gt; Languages such as Hebrew, Arabic, Urdu, and Farsi have a right to left script. If the RtoL script is transliterated into a LtoR script, set the value to LtoR. If a module has both RtoL and LtoR text, then it is BiDi.&lt;br /&gt;
| LtoR&lt;br /&gt;
| &amp;amp;nbsp;&lt;br /&gt;
|- &lt;br /&gt;
| DisplayLevel&lt;br /&gt;
| '''&amp;amp;lt;integer&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Used for General Book module types (these are keyed with a TreeKey table of contents).  Indicates the preferred level from a leaf in the tree to display for context. e.g., 1 will only show the requested entry; 2 will show the entry, surrounded by all siblings, etc.&lt;br /&gt;
| 1&lt;br /&gt;
| &amp;amp;nbsp;&lt;br /&gt;
|- &lt;br /&gt;
| Font&lt;br /&gt;
| '''&amp;amp;lt;string&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Specify the [[Fonts|font]] to be used for display of the module if it is available.&amp;lt;ref&amp;gt;Specifying a font may not be sufficient for some modules. The required font features may depend on a particular smart font engine, which may not be compiled into the front-end application.&amp;lt;/ref&amp;gt; Omit this line to use the default font. Do not make use of font-specific encodings in your documents, but use Unicode instead and the Private Use Area if necessary for codepoints that are not handled by Unicode.&lt;br /&gt;
| &amp;amp;nbsp;&lt;br /&gt;
| &amp;amp;nbsp;&lt;br /&gt;
|- &lt;br /&gt;
| &amp;lt;del&amp;gt;OSISqToTick&amp;lt;/del&amp;gt; (deprecated)&amp;lt;ref&amp;gt;For further details, refer to [http://www.crosswire.org/bugs/browse/MOD-188 MOD-188] in CrossWire bugs.&amp;lt;/ref&amp;gt;&lt;br /&gt;
| This attribute is deprecated in favor of the marker attribute on the q element. E.g.: &amp;lt;pre&amp;gt;&amp;lt;q who=&amp;quot;Jesus&amp;quot; marker=&amp;quot;&amp;quot;&amp;gt;....&amp;lt;/q&amp;gt;&amp;lt;/pre&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;del&amp;gt;true/false&amp;lt;/del&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;del&amp;gt;When set to false indicates that OSIS quote elements without a marker attribute are not to produce a quotation mark. This is useful for languages (e.g. Thai) and texts (e.g. KJV) that do not have quotation marks. It is also useful for modules that mark the &amp;quot;Words of Christ&amp;quot; on a verse by verse basis, when the quote spans more than one verse.&amp;lt;/del&amp;gt; &lt;br /&gt;
| true&lt;br /&gt;
| &amp;amp;nbsp;&lt;br /&gt;
|-&lt;br /&gt;
| Feature&lt;br /&gt;
|&lt;br /&gt;
'''StrongsNumbers''' (for modules that include Strong's numbers)&amp;lt;br/&amp;gt;&lt;br /&gt;
'''GreekDef''' (for dictionary modules with Strong's number encoded Greek definitions)&amp;lt;br/&amp;gt;&lt;br /&gt;
'''HebrewDef''' (for dictionary modules with Strong's number encoded Hebrew definitions)&amp;lt;br/&amp;gt;&lt;br /&gt;
'''GreekParse''' (for modules with Greek morphology expansions)&amp;lt;br/&amp;gt;&lt;br /&gt;
'''HebrewParse''' (for modules with Hebrew morphology expansions)&amp;lt;br/&amp;gt;&lt;br /&gt;
'''DailyDevotion''' (for daily devotionals using one of the LD drivers and keyed with MM.DD)&amp;lt;br/&amp;gt;&lt;br /&gt;
'''Glossary''' (for collections of glosses using one of the LD drivers)&amp;lt;br/&amp;gt;&lt;br /&gt;
'''Images''' (for modules that contain images of any type)&amp;lt;br/&amp;gt;&lt;br /&gt;
'''NoParagraphs''' (for modules without any paragraphing information, which are typically typeset with a verse per line&amp;lt;ref&amp;gt;This feature is intended to be informational to front-end developers. Ideally, front-ends will render these modules with a verse per line rather than as a single big chapter-length paragraph block.&amp;lt;/ref&amp;gt;)&lt;br /&gt;
| &amp;amp;nbsp;&lt;br /&gt;
| Repeats&lt;br /&gt;
|- &lt;br /&gt;
| GlossaryFrom&lt;br /&gt;
| '''&amp;amp;lt;lang identifier&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Glossaries map one language to another. This value indicates the language being translated from.&lt;br /&gt;
See Lang below for a discussion of valid values.&lt;br /&gt;
| &amp;amp;nbsp;&lt;br /&gt;
| &amp;amp;nbsp;&lt;br /&gt;
|- &lt;br /&gt;
| GlossaryTo&lt;br /&gt;
| '''&amp;amp;lt;lang identifier&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Glossaries map one language to another. This value indicates the language being translated to.&lt;br /&gt;
See Lang below for a discussion of valid values.&lt;br /&gt;
| &amp;amp;nbsp;&lt;br /&gt;
| &amp;amp;nbsp;&lt;br /&gt;
|- &lt;br /&gt;
| PreferredCSSXHTML&lt;br /&gt;
| '''&amp;amp;lt;filename&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Names a file in the module's DataPath that should be referenced for the renderer as CSS display controls.&lt;br /&gt;
Generality is advised: Use controls that are not specific to any particular rendering engine, e.g. WebKit.&lt;br /&gt;
| &amp;amp;nbsp;&lt;br /&gt;
| &amp;amp;nbsp;&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Optional elements to support particular features ===&lt;br /&gt;
==== CaseInsensitiveKeys ====&lt;br /&gt;
Intended for use with Lexicon/Dictionary &amp;amp; Glossary modules. This field will make the order of the keys based upon the mixed case keys, but the index is still sorted by byte order of those keys. There are some scripts that don’t have upper/lower case (e.g. Arabic) and some languages where a naïve toUpper() will result in the wrong character (e.g. Turkish/Azeri lowercase dotted i and capital dotted İ).&lt;br /&gt;
&lt;br /&gt;
 CaseInsensitiveKeys=true|false&lt;br /&gt;
&lt;br /&gt;
It is fine to use toUpper() for internal normalization, but having keys in all caps when showing to a user is annoying. The problem is that the display order needs to follow something that makes sense to a user when the dictionary is presented as a list.&lt;br /&gt;
&lt;br /&gt;
[https://github.com/JohnAustinDev/xulsword xulsword] has a different solution involving a configuration item not yet used by SWORD master.&lt;br /&gt;
&lt;br /&gt;
 LangSortOrder=AaBbCcDdEe... &lt;br /&gt;
&lt;br /&gt;
This is used by xulsword to sort the keys of a dictionary/glossary in original alphabetical order. Here's an actual example for module TKLDICT which has Lang=tk-Latn (i.e. Türkmençe):&lt;br /&gt;
&lt;br /&gt;
 LangSortOrder=AaBbCcÇçDdEeÄäŻżFfGgHhIiJjKkLlMmNnŇňOoÖöPpQqRrSsŞşTtUuÜüVvWwXxYyÝýZzŽž&lt;br /&gt;
&lt;br /&gt;
This method would need to be modified in order to support alphabets (such as [http://en.wikipedia.org/wiki/Welsh_orthography Welsh]) that include any [http://en.wikipedia.org/wiki/Digraph_%28orthography%29 digraphs].&lt;br /&gt;
&lt;br /&gt;
==== StrongsPadding ====&lt;br /&gt;
At the heart of our lexicon/dictionary drivers, we have some old logic which tries to detect if a key value is a Strong's number, and if so, then pad it with leading zeros accordingly. To support this logic, the recognition has recently been added for an optional new .conf entry for lexicon/dictionary modules:&lt;br /&gt;
&lt;br /&gt;
 StrongsPadding=true|false&lt;br /&gt;
&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
# So as not to break everything, this currently defaults to true if it is not present in the lexdict module's .conf file&lt;br /&gt;
# It can be set to false if you are building a lexdict module which has entries which may be misconstrued as Strong's numbers.&lt;br /&gt;
# In a couple years, we'll probably switch the default to false, so it would be nice to add this line and set the value to true on modules which really do require the logic.&lt;br /&gt;
# This is only available in SWORD version 1.7 or later. JSword never had this problem.&lt;br /&gt;
&lt;br /&gt;
==== Strip Filters ====&lt;br /&gt;
SWORD has the concept of &amp;quot;filtering&amp;quot; a module's text at different processing points for purposes other than rendering.&amp;lt;br&amp;gt;One of these filter-points is for searching and we call these filters '''Strip Filters'''.&lt;br /&gt;
&lt;br /&gt;
Strip Filters are typically named something like '''OSISPlain''' or '''GBFPlain''', etc.  These typically take all the markup out of an entry and prepare the text to be searched, but anything can be done to the text to prepare it further for searching.  We typically remove accents and vowel points from Greek and Hebrew respectively.&lt;br /&gt;
&lt;br /&gt;
Any Strip Filter can be added to a module by the module author with a line in the .conf file, such as:&lt;br /&gt;
&lt;br /&gt;
 LocalStripFilter=GBFPlain&lt;br /&gt;
&lt;br /&gt;
If diacritics need to be removed from Arabic, then we can certainly add a filter for this as well. The conf line would be:&lt;br /&gt;
&lt;br /&gt;
 LocalStripFilter=UTF8ArabicPoints&lt;br /&gt;
&lt;br /&gt;
Our current list of filters can be found by browsing the source folder here:&lt;br /&gt;
&lt;br /&gt;
http://crosswire.org/svn/sword/trunk/src/modules/filters/&lt;br /&gt;
&lt;br /&gt;
They're pretty concise and don't involve much knowledge from the rest of the engine, making them easy to write if we need a new one.&lt;br /&gt;
&lt;br /&gt;
This processing can replace or be complimentary to any processing done by clucene. Here's an example of what's used with the [http://papyri.info/docs/ddbdp Duke Databank of Papyri] with specialist software that's based on SWORD.&lt;br /&gt;
&lt;br /&gt;
 LocalStripFilter=PapyriPlain&lt;br /&gt;
&lt;br /&gt;
Since we need to strip markup, and other things clucene will likely never support (see '''PapyriPlain''' &amp;amp;ndash; annotations like [,],?{,}, underdot) we need this preprocessing mechanism to prepare the text before searching.  We also maintain searching functionality apart from &amp;quot;fast indexed searching&amp;quot;.&amp;lt;ref&amp;gt;Currently supplied by clucene, but could be implemented by any other fast search framework that we might want to integrate in future.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Note:'''&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== General informatic and installer elements ===&lt;br /&gt;
&lt;br /&gt;
{|  width=&amp;quot;100%&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;sortable&amp;quot;&lt;br /&gt;
! width=&amp;quot;10%&amp;quot;|Element&lt;br /&gt;
! width=&amp;quot;70%&amp;quot;|Values (type or enumerated)&lt;br /&gt;
! width=&amp;quot;10%&amp;quot;|Default Value&lt;br /&gt;
! width=&amp;quot;10%&amp;quot;|Allows&lt;br /&gt;
|- &lt;br /&gt;
| About&lt;br /&gt;
|&lt;br /&gt;
'''&amp;amp;lt;string&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
A lengthier description and may include copyright, source, etc. information, possibly duplicating information in other elements.&lt;br /&gt;
| &amp;amp;nbsp;&lt;br /&gt;
| [[DevTools:conf Files#Continuation|Continuation]]&amp;lt;br/&amp;gt;[[DevTools:conf Files#RTF|RTF]]&amp;lt;br/&amp;gt;[[DevTools:conf Files#Localization|Localization]]&lt;br /&gt;
|- &lt;br /&gt;
| SwordVersionDate&lt;br /&gt;
|&lt;br /&gt;
'''&amp;amp;lt;yyyy-mm-dd&amp;amp;gt;''' ([http://en.wikipedia.org/wiki/ISO_8601#Calendar_dates ISO 8601 Date])&amp;lt;br/&amp;gt;&lt;br /&gt;
Indicates the date that the module was changed.&lt;br /&gt;
| &amp;amp;nbsp;&lt;br /&gt;
| &amp;amp;nbsp;&lt;br /&gt;
|- &lt;br /&gt;
| Version&lt;br /&gt;
|&lt;br /&gt;
'''&amp;amp;lt;version string&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Gives the module's revision number. Incrementing it when changes are made alerts users of the SWORD Installers to the presence of updated modules. Please start with version 1.0 and increment by 0.1 for minor updates and by larger values for more major updates such as a new text source. Changes to this conf file should also increment the version number. Do not use non-numbers, such as 1.4a.&lt;br /&gt;
&lt;br /&gt;
CrossWire's standard practice is to indicate updates that only require a .conf-file update/download by incrementing the third most significant number (the revision number). For example, if module version 1.2 requires a .conf-file update. A new .conf file with version number 1.2.1 could be released.&lt;br /&gt;
| 1.0&lt;br /&gt;
| &amp;amp;nbsp;&lt;br /&gt;
|- &lt;br /&gt;
| History_x.x&lt;br /&gt;
| '''&amp;amp;lt;string&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
x.x is taken from the Version value.&lt;br /&gt;
&lt;br /&gt;
Indicates what has changed between different versions. Each time a version is incremented a history line with that version number should explain the change.&lt;br /&gt;
&lt;br /&gt;
It is recommended that each explanation be suffixed by the corresponding SwordVersionDate value.&lt;br /&gt;
| &amp;amp;nbsp;&lt;br /&gt;
| Repeats&amp;lt;br/&amp;gt;[[DevTools:conf Files#Localization|Localization]]&lt;br /&gt;
|- &lt;br /&gt;
| MinimumVersion&lt;br /&gt;
|&lt;br /&gt;
'''&amp;amp;lt;version string&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Identifies the [[Sword library versions | minimum version]] of the SWORD library required for this module.&lt;br /&gt;
| 1.5.1a&lt;br /&gt;
| &amp;amp;nbsp;&lt;br /&gt;
|- &lt;br /&gt;
| Category&lt;br /&gt;
|valign=&amp;quot;top&amp;quot;|&lt;br /&gt;
This is used by installers to further categorize the modules beyond what can be figured out by the ModDrv and Feature.&amp;lt;br/&amp;gt;&lt;br /&gt;
'''Biblical Texts''' (for Bibles)&amp;lt;br/&amp;gt;&lt;br /&gt;
'''Commentaries'''&amp;lt;br/&amp;gt;&lt;br /&gt;
'''Lexicons / Dictionaries'''&amp;lt;br/&amp;gt;&lt;br /&gt;
'''Glossaries''' (for modules with Feature=Glossary)&amp;lt;br/&amp;gt;&lt;br /&gt;
'''Daily Devotional''' (for modules with Feature=DailyDevotion)&amp;lt;br/&amp;gt;&lt;br /&gt;
'''Generic Books''' (for anything else....)&amp;lt;br/&amp;gt;&lt;br /&gt;
'''Maps''' (for modules that primarily consist of maps)&amp;lt;br/&amp;gt;&lt;br /&gt;
'''Images''' (for modules that primarily consist of images)&amp;lt;br/&amp;gt;&lt;br /&gt;
'''Cults / Unorthodox / Questionable Material'''&amp;lt;br/&amp;gt;&lt;br /&gt;
'''Essays''' (for essays)&amp;lt;ref&amp;gt;'''Essays''' is handled as a subset of '''Generic Books'''.&amp;lt;/ref&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
Biblical Texts&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;''ModDrv=RawText'' or&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;''ModDrv=RawText4'' or&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;''ModDrv=zText'' or&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;''ModDrv=zText4''&amp;lt;br/&amp;gt;&lt;br /&gt;
Commentaries&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;''ModDrv=HRefCom'' or&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;''ModDrv=RawCom'' or&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;''ModDrv=RawCom4'' or&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;''ModDrv=RawFiles'' or&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;''ModDrv=zCom'' or&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;''ModDrv=zCom4''&amp;lt;br/&amp;gt;&lt;br /&gt;
Lexicons / Dictionaries&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;''ModDrv=RawLD'' or&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;''ModDrv=RawLD4'' or&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;''ModDrv=zLD''&amp;lt;br/&amp;gt;&lt;br /&gt;
Glossaries&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;''Feature=Glossary'' and&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;''ModDrv=RawLD'' or&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;''ModDrv=RawLD4'' or&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;''ModDrv=zLD''&amp;lt;br/&amp;gt;&lt;br /&gt;
Daily Devotional&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;''Feature=DailyDevotion'' and&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;''ModDrv=RawLD'' or&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;''ModDrv=RawLD4'' or&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;''ModDrv=zLD''&amp;lt;br/&amp;gt;&lt;br /&gt;
Generic Books&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;amp;nbsp;&amp;amp;nbsp;''ModDrv=RawGenBook''&amp;lt;br/&amp;gt;&lt;br /&gt;
| &amp;amp;nbsp;&lt;br /&gt;
|- &lt;br /&gt;
| LCSH&lt;br /&gt;
| '''&amp;amp;lt;tree/string&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Library of Congress Subject Heading. You may search the [http://catalog.loc.gov Library of Congress catalog] or use it as a guide for determining an appropriate LCSH for books that are not in the Library of Congress.&lt;br /&gt;
| &amp;amp;nbsp;&lt;br /&gt;
| &amp;amp;nbsp;&lt;br /&gt;
|- &lt;br /&gt;
| Lang&lt;br /&gt;
|&lt;br /&gt;
'''&amp;amp;lt;Language[-Script]?[-Region]?&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
The language identifier is a combination of sub-tags for '''Language''' and optionally '''Script''', and/or '''Region''', according to [http://www.rfc-editor.org/rfc/bcp/bcp47.txt BCP 47] and [http://tools.ietf.org/html/rfc4647 RFC 4647]. Private use extensions defined by BCP 47 (e.g. x-, qaa, and Qaaa) should be avoided wherever possible.&lt;br /&gt;
&lt;br /&gt;
'''Language sub-tag''' ''(Regex: /[a-z]{2,3}/)'':&amp;lt;br/&amp;gt;&lt;br /&gt;
This is the primary language code of the module according to [http://en.wikipedia.org/wiki/ISO_639 ISO 639 parts 1, 2, 3 and 5]. Some languages have several codes. Use the following to determine the best choice:&amp;lt;br/&amp;gt;&lt;br /&gt;
:When available use a 2-letter [http://en.wikipedia.org/wiki/ISO_639-1 ISO 639-1] code ([http://www.loc.gov/standards/iso639-2/php/code_list.php registrar]), (e.g. ''en'' for English).&lt;br /&gt;
:If there is none for the given language, use an [http://en.wikipedia.org/wiki/ISO_639-2 ISO 639-2/T] code ([http://www.loc.gov/standards/iso639-2/php/code_list.php registrar])  (e.g. ceb for Cebuano).&lt;br /&gt;
:Failing that, use a [http://en.wikipedia.org/wiki/ISO_639-3 ISO 639-3] code ([http://www-01.sil.org/iso639-3/codes.asp registrar]), which covers over 7000 languages.&lt;br /&gt;
:Finally, use a [http://en.wikipedia.org/wiki/ISO_639-5 ISO 639-5] code ([http://www.loc.gov/standards/iso639-5/id.php registrar]) for macro languages.&lt;br /&gt;
The [http://www-01.sil.org/iso639-3/codes.asp ISO639-3 registrar] page gives up-to-date table on all of the above.&lt;br /&gt;
&lt;br /&gt;
'''Script sub-tag''' ''(Regex:  /[A-Z][a-z]{3}/)'':&amp;lt;br/&amp;gt;&lt;br /&gt;
If a text is script-specific, such as a Latin vs. Cyrillic Serbian Bible or a Bible transliterated into other than its native script, include the [http://en.wikipedia.org/wiki/ISO_15924 ISO 15924 script code] ([http://unicode.org/iso15924/iso15924-codes.html registrar]) after the language code (e.g. sr-Latn for Latin script Serbian, sr-Cyrl for Cyrillic script Serbian).&lt;br /&gt;
&lt;br /&gt;
'''Region sub-tag''': ''(Regex: /[A-Z]{2}/)''&amp;lt;br/&amp;gt;&lt;br /&gt;
If a text is region (country)-specific, such as the Anglicized NIV, include the [http://en.wikipedia.org/wiki/ISO_3166-1 ISO 3166-1 region code] ([http://www.iso.org/iso/en/prods-services/iso3166ma/02iso-3166-code-lists/list-en1.html registrar]) after the script code (or language code if no country code is present) (e.g. en-GB for UK English).&lt;br /&gt;
&lt;br /&gt;
'''Combinations'''''(Regex: /[a-z]{2,3}(-[A-Z][a-z]{3})?(-[A-Z]{2})?/)'':&amp;lt;br/&amp;gt;&lt;br /&gt;
Individual sub-tags (language, script, and region) are always separated by a hyphen. Identifiers should be as basic and succinct as possible. A script should not be specified for a language written in its expected script, unless the language has multiple common scripts (as in the case of Serbian above). A region should not be specified unless a text should be categorized separately from others texts in that language that do not specify a region.&lt;br /&gt;
| en&lt;br /&gt;
| &amp;amp;nbsp;&lt;br /&gt;
|- &lt;br /&gt;
| InstallSize&lt;br /&gt;
|&lt;br /&gt;
'''&amp;amp;lt;integer&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Indicates the total byte size of the module on disk, excluding the the size of any Lucene index files.&lt;br /&gt;
&lt;br /&gt;
For modules in the CrossWire repositories, this is automatically generated and overwritten if needed.&lt;br /&gt;
| &amp;amp;nbsp;&lt;br /&gt;
| &amp;amp;nbsp;&lt;br /&gt;
|- &lt;br /&gt;
| Obsoletes&lt;br /&gt;
|&lt;br /&gt;
'''&amp;amp;lt;ModName&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Each instance of this element gives a former ModName that is made obsolete by this module.&lt;br /&gt;
| &amp;amp;nbsp;&lt;br /&gt;
| Repeats&lt;br /&gt;
|- &lt;br /&gt;
| OSISVersion&lt;br /&gt;
|&lt;br /&gt;
'''&amp;amp;lt;version string&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Identifies the OSIS schema version employed in the OSIS source document. The current version is 2.1.1&lt;br /&gt;
&lt;br /&gt;
It is recommended that this be present for every OSIS module.&lt;br /&gt;
| &amp;amp;nbsp;&lt;br /&gt;
| &lt;br /&gt;
|- &lt;br /&gt;
| Companion&amp;lt;ref&amp;gt;Many (xulsword compatible) modules in the [[Module Repositories#Institute_for_Bible_Translation|IBT Repository]] make use of this field. See also https://github.com/johnaustindev/osis-converters&amp;lt;/ref&amp;gt;&lt;br /&gt;
|&lt;br /&gt;
'''&amp;amp;lt;ModName[, ModName]*&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Specifies companion module(s) that should be opened together&amp;lt;br/&amp;gt;&lt;br /&gt;
e.g. When Bible and Commentary and/or Glossary modules are distributed together.&lt;br /&gt;
| &amp;amp;nbsp;&lt;br /&gt;
| &lt;br /&gt;
|}&lt;br /&gt;
'''Note:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Copyright &amp;amp;amp; Licensing related elements ===&lt;br /&gt;
&lt;br /&gt;
{|  width=&amp;quot;100%&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;sortable&amp;quot;&lt;br /&gt;
! width=&amp;quot;10%&amp;quot;|Element&lt;br /&gt;
! width=&amp;quot;70%&amp;quot;|Values (type or enumerated)&lt;br /&gt;
! width=&amp;quot;10%&amp;quot;|Default Value&lt;br /&gt;
! width=&amp;quot;10%&amp;quot;|Allows&lt;br /&gt;
|- &lt;br /&gt;
| Copyright&lt;br /&gt;
|&lt;br /&gt;
'''&amp;amp;lt;string&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Contains the copyright notice for the work, including the year of copyright and the owner of the copyright.&lt;br /&gt;
| &amp;amp;nbsp;&lt;br /&gt;
| [[DevTools:conf Files#Continuation|Continuation]]&amp;lt;br/&amp;gt;[[DevTools:conf Files#Localization|Localization]]&lt;br /&gt;
|- &lt;br /&gt;
| CopyrightHolder&lt;br /&gt;
|&lt;br /&gt;
'''&amp;amp;lt;string&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Contains the name of the copyright holder.&lt;br /&gt;
| &amp;amp;nbsp;&lt;br /&gt;
| [[DevTools:conf Files#Localization|Localization]]&lt;br /&gt;
|- &lt;br /&gt;
| CopyrightDate&lt;br /&gt;
|&lt;br /&gt;
'''&amp;amp;lt;yyyy&amp;amp;gt;''' ([http://en.wikipedia.org/wiki/ISO_8601#Years ISO 8601 Year])&lt;br /&gt;
| &amp;amp;nbsp;&lt;br /&gt;
| [[DevTools:conf Files#Localization|Localization]]&lt;br /&gt;
|- &lt;br /&gt;
| CopyrightNotes&lt;br /&gt;
|&lt;br /&gt;
'''&amp;amp;lt;string&amp;amp;gt;'''&lt;br /&gt;
| &amp;amp;nbsp;&lt;br /&gt;
| [[DevTools:conf Files#Continuation|Continuation]]&amp;lt;br/&amp;gt;[[DevTools:conf Files#Localization|Localization]]&lt;br /&gt;
|- &lt;br /&gt;
| CopyrightContactName&lt;br /&gt;
|&lt;br /&gt;
'''&amp;amp;lt;string&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Contains the name of the copyright holder.&lt;br /&gt;
| &amp;amp;nbsp;&lt;br /&gt;
| [[DevTools:conf Files#Continuation|Continuation]]&amp;lt;br/&amp;gt;[[DevTools:conf Files#Localization|Localization]]&lt;br /&gt;
|- &lt;br /&gt;
| CopyrightContactNotes&lt;br /&gt;
|&lt;br /&gt;
'''&amp;amp;lt;string&amp;amp;gt;'''&lt;br /&gt;
| &amp;amp;nbsp;&lt;br /&gt;
| [[DevTools:conf Files#Continuation|Continuation]]&amp;lt;br/&amp;gt;[[DevTools:conf Files#Localization|Localization]]&lt;br /&gt;
|- &lt;br /&gt;
| CopyrightContactAddress&lt;br /&gt;
|&lt;br /&gt;
'''&amp;amp;lt;string&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Contains the mailing address of the copyright holder.&lt;br /&gt;
| &amp;amp;nbsp;&lt;br /&gt;
| [[DevTools:conf Files#Continuation|Continuation]]&amp;lt;br/&amp;gt;[[DevTools:conf Files#Localization|Localization]]&lt;br /&gt;
|- &lt;br /&gt;
| CopyrightContactEmail&lt;br /&gt;
|&lt;br /&gt;
'''&amp;amp;lt;string&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Contains the email address of the copyright holder, preferably in the form:&amp;lt;br/&amp;gt; name at xyz dot com&lt;br /&gt;
| &amp;amp;nbsp;&lt;br /&gt;
| [[DevTools:conf Files#Localization|Localization]]&lt;br /&gt;
|- &lt;br /&gt;
| ShortPromo&lt;br /&gt;
|&lt;br /&gt;
'''&amp;amp;lt;string&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
A link to the home page for the module, perhaps with an encouragement to visit the site.&lt;br /&gt;
| &amp;amp;nbsp;&lt;br /&gt;
| HTML Link&amp;lt;br/&amp;gt;[[DevTools:conf Files#Localization|Localization]]&lt;br /&gt;
|- &lt;br /&gt;
| ShortCopyright&lt;br /&gt;
|&lt;br /&gt;
'''&amp;amp;lt;string&amp;amp;gt;'''&lt;br /&gt;
| &amp;amp;nbsp;&lt;br /&gt;
| [[DevTools:conf Files#Localization|Localization]]&lt;br /&gt;
|- &lt;br /&gt;
| DistributionLicense&lt;br /&gt;
|&lt;br /&gt;
'''Public Domain'''&amp;lt;br/&amp;gt;&lt;br /&gt;
'''Copyrighted'''&amp;lt;br/&amp;gt;&lt;br /&gt;
'''Copyrighted; Permission to distribute granted to CrossWire'''&amp;lt;ref&amp;gt;Modules in other repositories may have a different organization name instead of CrossWire.&amp;lt;/ref&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
'''Copyrighted; Free non-commercial distribution'''&amp;lt;br/&amp;gt;&lt;br /&gt;
'''Copyrighted; Freely distributable'''&amp;lt;br/&amp;gt;&lt;br /&gt;
'''Copyrighted; Permission granted to distribute non-commercially in SWORD format'''&amp;lt;br/&amp;gt;&lt;br /&gt;
'''[http://www.gnu.org/copyleft/fdl.html GFDL]'''&amp;lt;br/&amp;gt;&lt;br /&gt;
'''[http://www.gnu.org/copyleft/gpl.html GPL]'''&amp;lt;br/&amp;gt;&lt;br /&gt;
'''Creative Commons: [http://creativecommons.org/licenses/by-nc-nd by-nc-nd]'''&amp;lt;br/&amp;gt;&lt;br /&gt;
'''Creative Commons: [http://creativecommons.org/licenses/by-nc-sa by-nc-sa]'''&amp;lt;br/&amp;gt;&lt;br /&gt;
'''Creative Commons: [http://creativecommons.org/licenses/by-nc by-nc]'''&amp;lt;br/&amp;gt;&lt;br /&gt;
'''Creative Commons: [http://creativecommons.org/licenses/by-nd by-nd]'''&amp;lt;br/&amp;gt;&lt;br /&gt;
'''Creative Commons: [http://creativecommons.org/licenses/by-sa by-sa]'''&amp;lt;br/&amp;gt;&lt;br /&gt;
'''Creative Commons: [http://creativecommons.org/licenses/by by]'''&amp;lt;br/&amp;gt;&lt;br /&gt;
'''Creative Commons: [http://creativecommons.org/publicdomain/zero/1.0/ CC0]'''&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Use one of these strings '''verbatim'''. The actual copyright and/or license information is held in other elements. The last six licenses are [http://creativecommons.org/ Creative Commons] licenses.&lt;br /&gt;
| &amp;amp;nbsp;&lt;br /&gt;
| &amp;amp;nbsp;&lt;br /&gt;
|- &lt;br /&gt;
| DistributionNotes&lt;br /&gt;
|&lt;br /&gt;
'''&amp;amp;lt;string&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Indicates any additional notes about distribution of the module.&lt;br /&gt;
| &amp;amp;nbsp;&lt;br /&gt;
| [[DevTools:conf Files#Continuation|Continuation]]&amp;lt;br/&amp;gt;[[DevTools:conf Files#Localization|Localization]]&lt;br /&gt;
|- &lt;br /&gt;
| TextSource&lt;br /&gt;
|&lt;br /&gt;
'''&amp;amp;lt;string&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Indicates, either in prose (such as &amp;quot;CCEL&amp;quot;) or as a URL of the source of the text&lt;br /&gt;
| &amp;amp;nbsp;&lt;br /&gt;
| [[DevTools:conf Files#Continuation|Continuation]]&lt;br /&gt;
|- &lt;br /&gt;
| UnlockURL&lt;br /&gt;
|&lt;br /&gt;
'''&amp;amp;lt;string&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Contains the URL (a bare URL, not a HTML &amp;amp;lt;a&amp;amp;gt; link) of a web page for unlocking instructions/payment&lt;br /&gt;
| &amp;amp;nbsp;&lt;br /&gt;
| URL&lt;br /&gt;
|}&lt;br /&gt;
'''Note:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Uniqueness ==&lt;br /&gt;
For comparing two versions of a module during module development, the module names and locations must be unique. For JSword based front-ends such as Bible Desktop, there is a further requirement, the Description items must be different.&lt;br /&gt;
&lt;br /&gt;
== Analysis Tools ==&lt;br /&gt;
* [[User:Dmsmith|DMSmith]] has created a script to analyse conf files and report anomalies.&lt;br /&gt;
* [[User:David Haslam|David Haslam]] has created a '''User Defined Language''' called '''CONF''' as a Syntax Highlighter for '''Notepad++''' (Windows).&lt;br /&gt;
&lt;br /&gt;
== Automated generation ==&lt;br /&gt;
* For new module submissions to CrossWire, [[User:Refdoc|Refdoc]] now maintains a script that includes the ''automated generation'' of module conf files, given the minimum ''non-automatable'' requirements by the module submitter.&lt;br /&gt;
&lt;br /&gt;
[[Category:Development tools|Conf files]]&lt;br /&gt;
[[Category:Localization|Conf files]]&lt;br /&gt;
[[Category:Versification|Conf files]]&lt;br /&gt;
[[Category:Copyright|Conf files]]&lt;/div&gt;</summary>
		<author><name>Dmsmith</name></author>	</entry>

	<entry>
		<id>https://wiki.crosswire.org/index.php?title=Osis2mod&amp;diff=15219</id>
		<title>Osis2mod</title>
		<link rel="alternate" type="text/html" href="https://wiki.crosswire.org/index.php?title=Osis2mod&amp;diff=15219"/>
				<updated>2017-01-30T11:45:14Z</updated>
		
		<summary type="html">&lt;p&gt;Dmsmith: /* History of Changes */ I had entirely missed that Chris added support for zText4 and that this page was not updated to reflect his changes.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
osis2mod transforms an OSIS encoded [[OSIS Bibles|Bible]] or [[OSIS_Commentaries|commentary]] into a SWORD module.&lt;br /&gt;
&lt;br /&gt;
==Where to get it==&lt;br /&gt;
* See [[DevTools:Modules#Collect_and_Install_Software_Tools|Collect and Install Software Tools]]&lt;br /&gt;
&lt;br /&gt;
== Current status ==&lt;br /&gt;
&lt;br /&gt;
Software bugs relating to osis2mod should be reported in http://www.crosswire.org/bugs/browse/API&lt;br /&gt;
&lt;br /&gt;
:''Please describe current status of osis2mod, including a list of any outstanding issues or unsolved difficulties''.&lt;br /&gt;
&lt;br /&gt;
==History of Changes==&lt;br /&gt;
The following outlines in reverse chronological order the major changes to osis2mod. When several changes were made over the span of a few days, they are lumped into the most recent date. Bug fixes are not mentioned.&lt;br /&gt;
&lt;br /&gt;
{|width=&amp;quot;100%&amp;quot; border=&amp;quot;0&amp;quot; class=&amp;quot;sortable&amp;quot;&lt;br /&gt;
!width=&amp;quot;10%&amp;quot;|Date&lt;br /&gt;
!Revision&lt;br /&gt;
!Feature&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2016-02-06'''&lt;br /&gt;
|&lt;br /&gt;
r3401&lt;br /&gt;
|&lt;br /&gt;
* Changed the handling of &amp;amp;lt;div type=&amp;quot;colophon&amp;quot;&amp;amp;gt; to not convert it to milestones.&lt;br /&gt;
* Added reporting of unhandled entities. (An OSIS document should not have entities other than the canonical 4 entities.)&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2014-03-17'''&lt;br /&gt;
|&lt;br /&gt;
r3139&lt;br /&gt;
|&lt;br /&gt;
* Added support for large entries (&amp;amp;gt; 64K) in compressed modules (aka zText4).&lt;br /&gt;
* Added support for UTF-16 and SCSU using the -e flag. SCSU is experimental.&lt;br /&gt;
* Added support for BZip2 and XZ compression, changing -z and -Z to -z &amp;amp;lt;l|z|b|x&amp;amp;gt;&lt;br /&gt;
* Added support for compression levels of 1 to 9 using the -l [1-9] flag.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2014-01-21'''&lt;br /&gt;
|&lt;br /&gt;
r3011&lt;br /&gt;
|&lt;br /&gt;
* Changed the transformation of &amp;amp;lt;p&amp;amp;gt; from &amp;amp;lt;div type=&amp;quot;paragraph&amp;quot; sID=&amp;quot;xxx&amp;quot;/&amp;amp;gt; to &amp;amp;lt;div type=&amp;quot;x-p&amp;quot; sID=&amp;quot;xxx&amp;quot;/&amp;amp;gt; This is a semantic change that brings osis2mod into alignment with the OSIS specification.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2012-03-24'''&lt;br /&gt;
|&lt;br /&gt;
r2693&lt;br /&gt;
|&lt;br /&gt;
* Allow for XML comments to be in the document, but stripped from the module. This allows for large parts of a document to be commented out, which is especially important during development.&lt;br /&gt;
* Allow for &amp;amp;lt;p&amp;amp;gt; elements to be in the &amp;amp;lt;header&amp;amp;gt; element but ignored. Previously, the p in a header, having been transformed to a div, was taken to be the start of the module's content.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2011-11-12'''&lt;br /&gt;
|&lt;br /&gt;
r2671&lt;br /&gt;
|&lt;br /&gt;
* Restored pre-verse handling. Titles no longer need to be specially specified in OSIS.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2010-06-04'''&lt;br /&gt;
|&lt;br /&gt;
r2519&lt;br /&gt;
|&lt;br /&gt;
* Removed pre-verse handling. Titles now have to be specially specified in OSIS. In OSIS there should also be no tags between verse elements except title and those marking book and chapter.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-06-06'''&lt;br /&gt;
|&lt;br /&gt;
r2435&lt;br /&gt;
|&lt;br /&gt;
* Improved handling of chapter introductions.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-05-30'''&lt;br /&gt;
|&lt;br /&gt;
r2421&lt;br /&gt;
|&lt;br /&gt;
* '''-d flags''' now always available.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-05-14'''&lt;br /&gt;
|&lt;br /&gt;
r2413&lt;br /&gt;
|&lt;br /&gt;
*Added '''-d flags''' as a compile time option.&lt;br /&gt;
*Improved exit codes and documented them here.&lt;br /&gt;
*Labeled all diagnostic and debug output.&lt;br /&gt;
*Can now read from standard input.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-04-28'''&lt;br /&gt;
|&lt;br /&gt;
r2358&lt;br /&gt;
|&lt;br /&gt;
*Predictable handling of inter-verse material.&lt;br /&gt;
*All tags, except verse, included in the module.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-04-26'''&lt;br /&gt;
|&lt;br /&gt;
r2345&lt;br /&gt;
|&lt;br /&gt;
*'''-v v11n''' added to support [[Alternate Versification]].&lt;br /&gt;
*'''-s &amp;lt;2|4&amp;gt;''' added to support uncompressed commentaries with large entries (exceeding 64K bytes).&lt;br /&gt;
*Replace paragraph hack with milestoned paragraphs: &amp;amp;lt;div type=&amp;quot;paragraph&amp;quot; sID=&amp;quot;xxx&amp;quot;/&amp;gt; ... &amp;amp;lt;div type=&amp;quot;paragraph&amp;quot; eID=&amp;quot;xxx&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2008-09-11'''&lt;br /&gt;
|&lt;br /&gt;
r2196&lt;br /&gt;
|&lt;br /&gt;
*Words of Christ (WoC) can be marked up naturally. osis2mod does the right thing.&lt;br /&gt;
*Container elements converted to their milestoned form.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2008-02-29'''&lt;br /&gt;
|&lt;br /&gt;
r2141&lt;br /&gt;
|&lt;br /&gt;
*Now supports commentaries in addition to Bibles.&lt;br /&gt;
*Added utf-8 detection and automatic conversion from cp1252 and iso8859-1 to utf-8, making that the default behavior&lt;br /&gt;
*Added NFC [[Encoding#Normalization|normalization]], making it the default&lt;br /&gt;
*Now handles the full definition of an osisID and an osisRef, including workID and grain.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2007-09-27'''&lt;br /&gt;
|&lt;br /&gt;
r2090&lt;br /&gt;
|&lt;br /&gt;
*Changed command-line parsing from positional parameters to flags.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2007-05-13'''&lt;br /&gt;
|&lt;br /&gt;
r2050&lt;br /&gt;
|&lt;br /&gt;
*All whitespace tokens are converted into blanks and adjacent spaces are merged into one. Leading whitespace on each verse is still removed.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2007-05-01'''&lt;br /&gt;
|&lt;br /&gt;
r2044&lt;br /&gt;
|&lt;br /&gt;
*Added version identification to the running of osis2mod.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2007-04-24'''&lt;br /&gt;
|&lt;br /&gt;
r2038&lt;br /&gt;
|&lt;br /&gt;
*Added ignoring of unknown books&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2006-07-15'''&lt;br /&gt;
|&lt;br /&gt;
r1948&lt;br /&gt;
|&lt;br /&gt;
*Optimized writing to module.&lt;br /&gt;
*Added simple transformations of &amp;amp;lt;q&amp;gt; and &amp;amp;lt;p&amp;gt; into milestones.&lt;br /&gt;
*Now allow empty attributes, such as marker=&amp;quot;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2006-07-04'''&lt;br /&gt;
|&lt;br /&gt;
r1914&lt;br /&gt;
|&lt;br /&gt;
*Updated to support OSIS 2.1&lt;br /&gt;
*Added validation that verses in isolation are well formed&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2005-12-22'''&lt;br /&gt;
|&lt;br /&gt;
r1876&lt;br /&gt;
|&lt;br /&gt;
*Added command-line options for compress and encipher.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2005-05-02'''&lt;br /&gt;
|&lt;br /&gt;
r1790&lt;br /&gt;
|&lt;br /&gt;
*Removed &amp;amp;lt;verse&amp;gt; and &amp;amp;lt;/verse&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2005-02-03'''&lt;br /&gt;
|&lt;br /&gt;
r1707&lt;br /&gt;
|&lt;br /&gt;
*Reverted pre-verse title handling&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2004-06-12'''&lt;br /&gt;
|&lt;br /&gt;
r1620&lt;br /&gt;
|&lt;br /&gt;
*Removed pre-verse title handling&lt;br /&gt;
*Added &amp;amp;lt;verse&amp;gt; and &amp;amp;lt;/verse&amp;gt;&lt;br /&gt;
*Added support for milestoned version of some OSIS elements&lt;br /&gt;
*Added support for verses that are not in the KJV versification by appending them to the closest prior verse.&lt;br /&gt;
*Added support for osisIDs with sub-verse references (i.e. osisID grains)&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2004-05-19'''&lt;br /&gt;
|&lt;br /&gt;
r1597&lt;br /&gt;
|&lt;br /&gt;
*Added support for linked verses&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2003-11-21'''&lt;br /&gt;
|&lt;br /&gt;
r1407&lt;br /&gt;
|&lt;br /&gt;
*Added recognition for &amp;lt;chapter&amp;gt; element&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2003-05-26'''&lt;br /&gt;
|&lt;br /&gt;
r1183&lt;br /&gt;
|&lt;br /&gt;
*Initial version&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Transformations==&lt;br /&gt;
Osis2mod performs the following transformations&amp;lt;ref&amp;gt;These transformations are all performed &amp;quot;under the hood&amp;quot; as it were. Tweaking OSIS XML files to fix problems with pre-verse titles, etc., was never intended to be done by module developers as part of the preprocessing before using osis2mod.&amp;lt;/ref&amp;gt;:&lt;br /&gt;
* '''Whitespace''' -- Allows for human-readable OSIS files.&lt;br /&gt;
**Leading whitespace on books, chapters and verses is removed&lt;br /&gt;
**Whitespace is normalized into blanks&lt;br /&gt;
**Multiple adjacent whitespace is reduced to a single space&lt;br /&gt;
* '''Unicode handling''' - All modules should be UTF-8, NFC (with the possible exception of Biblical Hebrew).&lt;br /&gt;
**Latin-1 (cp1252 and iso8859-1) are converted into UTF-8&lt;br /&gt;
**UTF-8 is normalized into NFC, unless specified otherwise (i.e. by using the -N option).&lt;br /&gt;
* '''Milestone conversion''' - necessary for frontends to show a verse at a time.&amp;lt;br/&amp;gt;(note: genX is unique for an sID/eID pair, where X is a number.)&lt;br /&gt;
** &amp;amp;lt;q ...&amp;gt;...&amp;amp;lt;/q&amp;gt; is converted into &amp;amp;lt;q sID=&amp;quot;genX&amp;quot; .../&amp;gt;...&amp;amp;lt;q eID=&amp;quot;genX&amp;quot; .../&amp;gt;. Note: Quotes with who=&amp;quot;Jesus&amp;quot; are not transformed at this time.&lt;br /&gt;
** &amp;amp;lt;p ...&amp;gt;...&amp;amp;lt;/p&amp;gt; becomes &amp;amp;lt;div type=&amp;quot;paragraph&amp;quot; sID=&amp;quot;genX&amp;quot; .../&amp;gt;... &amp;amp;lt;div type=&amp;quot;paragraph&amp;quot; eID=&amp;quot;genX&amp;quot; ...&amp;gt;.&lt;br /&gt;
** &amp;amp;lt;chapter ...&amp;gt;...&amp;amp;lt;/chapter&amp;gt; becomes &amp;amp;lt;chapter sID=&amp;quot;genX&amp;quot; .../&amp;gt;...&amp;amp;lt;chapter eID=&amp;quot;genX&amp;quot; .../&amp;gt;&lt;br /&gt;
** &amp;amp;lt;closer ...&amp;gt;...&amp;amp;lt;/closer&amp;gt; becomes &amp;amp;lt;closer sID=&amp;quot;genX&amp;quot; .../&amp;gt;...&amp;amp;lt;closer eID=&amp;quot;genX&amp;quot; .../&amp;gt;&lt;br /&gt;
** &amp;amp;lt;div ...&amp;gt;...&amp;amp;lt;/div&amp;gt; becomes &amp;amp;lt;div sID=&amp;quot;genX&amp;quot; .../&amp;gt;...&amp;amp;lt;div eID=&amp;quot;genX&amp;quot; .../&amp;gt; (as of r3401, &amp;amp;lt;div type=&amp;quot;colophon&amp;quot;...&amp;gt; is unchanged)&lt;br /&gt;
** &amp;amp;lt;l ...&amp;gt;...&amp;amp;lt;/l&amp;gt; becomes &amp;amp;lt;l sID=&amp;quot;genX&amp;quot; .../&amp;gt;...&amp;amp;lt;l eID=&amp;quot;genX&amp;quot; .../&amp;gt;&lt;br /&gt;
** &amp;amp;lt;lg ...&amp;gt;...&amp;amp;lt;/lg&amp;gt; becomes &amp;amp;lt;lg sID=&amp;quot;genX&amp;quot; .../&amp;gt;...&amp;amp;lt;lg eID=&amp;quot;genX&amp;quot; .../&amp;gt;&lt;br /&gt;
** &amp;amp;lt;salute ...&amp;gt;...&amp;amp;lt;/salute&amp;gt; becomes &amp;amp;lt;salute sID=&amp;quot;genX&amp;quot; .../&amp;gt;...&amp;amp;lt;salute eID=&amp;quot;genX&amp;quot; .../&amp;gt;&lt;br /&gt;
** &amp;amp;lt;signed ...&amp;gt;...&amp;amp;lt;/signed&amp;gt; becomes &amp;amp;lt;signed sID=&amp;quot;genX&amp;quot; .../&amp;gt;...&amp;amp;lt;signed eID=&amp;quot;genX&amp;quot; .../&amp;gt;&lt;br /&gt;
** &amp;amp;lt;speech ...&amp;gt;...&amp;amp;lt;/speech&amp;gt; becomes &amp;amp;lt;speech sID=&amp;quot;genX&amp;quot; .../&amp;gt;...&amp;amp;lt;speech eID=&amp;quot;genX&amp;quot; .../&amp;gt;&lt;br /&gt;
** &amp;amp;lt;verse ...&amp;gt;...&amp;amp;lt;/verse&amp;gt; becomes (when using -d 2 for debugging.) &amp;amp;lt;milestone resp=&amp;quot;v&amp;quot; sID=&amp;quot;genX&amp;quot; ... /&amp;gt;...&amp;amp;lt;milestone resp=&amp;quot;v&amp;quot; eID=&amp;quot;genX&amp;quot; ... /&amp;gt;&lt;br /&gt;
* '''Words of Christ''' - necessary for front-ends to appropriately highlight the WOC, a verse at a time.&lt;br /&gt;
** &amp;amp;lt;q sID=&amp;quot;XXX&amp;quot; who=&amp;quot;Jesus&amp;quot; .../&amp;gt;...&amp;amp;lt;eID=&amp;quot;XXX&amp;quot; who=&amp;quot;Jesus&amp;quot; .../&amp;gt; becomes &amp;amp;lt;q who=&amp;quot;Jesus&amp;quot; marker=&amp;quot;&amp;quot;&amp;gt;&amp;amp;lt;q sID=&amp;quot;XXX&amp;quot; .../&amp;gt;...&amp;amp;lt;q eID=&amp;quot;XXX&amp;quot; .../&amp;gt;&amp;amp;lt;/q&amp;gt;&lt;br /&gt;
** &amp;amp;lt;q who=&amp;quot;Jesus&amp;quot; ...&amp;gt;...&amp;amp;lt;/q&amp;gt; becomes &amp;amp;lt;q who=&amp;quot;Jesus&amp;quot; marker=&amp;quot;&amp;quot;&amp;gt;&amp;amp;lt;q sID=&amp;quot;genX&amp;quot; .../&amp;gt;...&amp;amp;lt;q eID=&amp;quot;genX&amp;quot; .../&amp;gt;&amp;amp;lt;/q&amp;gt;&lt;br /&gt;
** Within the following construct, &amp;amp;lt;q who=&amp;quot;Jesus&amp;quot; marker=&amp;quot;&amp;quot;&amp;gt;...&amp;lt;/q&amp;gt; will surround verse text.&lt;br /&gt;
* '''Pre-Verse Titles''' (obsolete with SVN revision 2358 for the SWORD 1.6.0 release and replaced with '''InterVerse Content''')&lt;br /&gt;
** Titles immediately preceeding a verse are converted into &amp;amp;lt;title type=&amp;quot;section&amp;quot; subType=&amp;quot;x-preverse&amp;gt;...&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
** Interverse tags not in titles are appended to prior verse.&lt;br /&gt;
* '''InterVerse Content''' (introduced with SVN revision 2358 for the SWORD 1.6.0 release)&lt;br /&gt;
** InterVerse Content refers to all content not contained by the verse element.&amp;lt;ref&amp;gt;For OSIS files derived from USFM files, the implication of this requirement is the following rule:&amp;lt;BR&amp;gt;Do not place a title (or similar element) between a matching pair of verse milestones&lt;br /&gt;
except where the translation places the title somewhere within the verse text in the USFM file.&amp;lt;/ref&amp;gt;&lt;br /&gt;
** Such content is divided between the prior and the current verse.&lt;br /&gt;
** Content appended to the prior verse is not marked in any special way.&lt;br /&gt;
** Content prepended to the current verse is marked with &amp;amp;lt;div sID=&amp;quot;pvX&amp;quot; type=&amp;quot;x-milestone&amp;quot; subType=&amp;quot;x-preverse&amp;quot;/&amp;gt;...&amp;amp;lt;div eID=&amp;quot;pvX&amp;quot; type=&amp;quot;x-milestone&amp;quot; subType=&amp;quot;x-preverse&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Handling of Introductions, Titles and Inter-Verse Material==&lt;br /&gt;
SWORD looks for module, testament, book and chapter introductory material. Those introductions can have appropriate titles as well. &lt;br /&gt;
In SWORD 1.6.0 the handling of this material has changed.&lt;br /&gt;
&lt;br /&gt;
'''Note:'''&lt;br /&gt;
# In the following, the effects of the above transformations are not shown. The tagging of the pre-verse material is also not shown.&lt;br /&gt;
&lt;br /&gt;
===Module and Testament Introductions===&lt;br /&gt;
&lt;br /&gt;
At this time, osis2mod does not fully support module and testament introductions. A module introduction should be place into testament 0, book 0, chapter 0, verse 0. A testament introduction should be placed into testament 1 or 2, book 0, chapter 0, verse 0. Currently, these are placed into Genesis 0:0 or Matthew 0:0.&lt;br /&gt;
&lt;br /&gt;
===Book Introductions and Titles===&lt;br /&gt;
Book introductions and titles are straight forward. It includes the start of the book and everything following it up to, but not including the start of the chapter. See [[OSIS Bibles]] for best practices in marking up titles and introductions.&lt;br /&gt;
&lt;br /&gt;
For example:&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;book&amp;quot; ...&amp;gt;&lt;br /&gt;
 ... introductory material ...&lt;br /&gt;
 &amp;amp;lt;chapter&amp;quot;...&amp;gt;&lt;br /&gt;
will put the following into the book introduction:&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;book&amp;quot; ...&amp;gt;&lt;br /&gt;
 ... introductory material ...&lt;br /&gt;
&lt;br /&gt;
===Chapter Introductions===&lt;br /&gt;
Chapter introductions and titles are a bit problematic. Between the start of a chapter and its first verse, we could have a chapter title, a chapter introduction and/or a start of a section of verses or a titled verse. Osis2mod now handles this in a predictable fashion. From the start of the chapter up to and not including a section div or a title that has a type that is not ''main'', ''chapter'' or ''sub'', the content is chapter introduction. After that, it is part of the verse.&lt;br /&gt;
&lt;br /&gt;
Specifically, the following list gives the possible first elements following the chapter introduction.:&lt;br /&gt;
*&amp;amp;lt;div type=&amp;quot;section&amp;quot; ...&amp;gt;&lt;br /&gt;
*&amp;amp;lt;title type=&amp;quot;yyy&amp;quot; ...&amp;gt; where yyy is not ''main'', ''chapter'' or ''sub''.&lt;br /&gt;
&lt;br /&gt;
For example,&lt;br /&gt;
 &amp;amp;lt;chapter ...&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;Chapter Title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title type=&amp;quot;sub&amp;quot;&amp;gt;Chapter Subtitle&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;introduction&amp;quot;&amp;gt;... intro ...&amp;amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;section&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;A section title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;verse ...&amp;gt;...verse content...&amp;amp;lt;/verse&amp;gt;&lt;br /&gt;
will put the following into the chapter introduction:&lt;br /&gt;
 &amp;amp;lt;chapter ...&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;Chapter Title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title type=&amp;quot;sub&amp;quot;&amp;gt;Chapter Subtitle&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;introduction&amp;quot;&amp;gt;... intro ...&amp;amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
will put the following into verse 1 of that chapter&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;section&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;A section title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;verse ...&amp;gt;...verse content...&amp;amp;lt;/verse&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Between Verses===&lt;br /&gt;
Between verses we may have closing tags to finish off what was started earlier, structural opening tags (e.g. line groups, divisions, paragraphs, ...), titles and/or introductory material.&lt;br /&gt;
&lt;br /&gt;
Upon finding the close of a verse, osis2mod will append all adjacent closing tags to it. Once it finds a start tag, it will attach that to the following verse.&lt;br /&gt;
&lt;br /&gt;
For example, suppose the following is between &amp;amp;lt;/verse&amp;gt; and &amp;amp;lt;verse ...&amp;gt;:&lt;br /&gt;
 &amp;amp;lt;/lg&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;section&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;Section title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;lg&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
then it will append the following to the prior verse:&lt;br /&gt;
 &amp;amp;lt;/lg&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and will prepend the following to the current verse:&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;section&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;Section title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;lg&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Last Verse===&lt;br /&gt;
The material following the last verse of a chapter is appended to that verse. You might find:&lt;br /&gt;
 ... verse content ...&lt;br /&gt;
 &amp;amp;lt;/chapter&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;colophon&amp;quot;&amp;gt;... colophon text ...&amp;amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Exclusions==&lt;br /&gt;
Only content starting the first &amp;amp;lt;div&amp;gt; to the last &amp;amp;lt;/div&amp;gt; is retained. All other is excluded. From a practical perspective, this excludes the OSIS header information.&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
It is always preferable to use the most recent version of osis2mod and compiling it from SVN is best. &lt;br /&gt;
&lt;br /&gt;
'''Note:'''&lt;br /&gt;
# After the SWORD 1.5.9 release, osis2mod was changed to take flags rather than positional arguments.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
You are running osis2mod: $Rev: 3431 $&lt;br /&gt;
OSIS Bible/commentary module creation tool for The SWORD Project&lt;br /&gt;
&lt;br /&gt;
usage: ./osis2mod &amp;lt;output/path&amp;gt; &amp;lt;osisDoc&amp;gt; [OPTIONS]&lt;br /&gt;
  &amp;lt;output/path&amp;gt;		 an existing folder that the module will be written&lt;br /&gt;
  &amp;lt;osisDoc&amp;gt;		 path to the validated OSIS document, or '-' to&lt;br /&gt;
				 read from standard input&lt;br /&gt;
  -a			 augment module if exists (default is to create new)&lt;br /&gt;
  -z &amp;lt;l|z|b|x&amp;gt;		 compression type (default: none)&lt;br /&gt;
				 l - LZSS; z - ZIP; b - bzip2; x - xz&lt;br /&gt;
  -b &amp;lt;2|3|4&amp;gt;		 compression block size (default: 4)&lt;br /&gt;
				 2 - verse; 3 - chapter; 4 - book&lt;br /&gt;
  -l &amp;lt;1-9&amp;gt;		 compression level (default varies by compression type)&lt;br /&gt;
  -c &amp;lt;cipher_key&amp;gt;	 encipher module using supplied key&lt;br /&gt;
				 (default no enciphering)&lt;br /&gt;
  -e &amp;lt;1|2|s&amp;gt;		 convert Unicode encoding (default: 1)&lt;br /&gt;
				 1 - UTF-8 ; 2 - UTF-16 ; s - SCSU&lt;br /&gt;
  -N			 do not normalize to NFC&lt;br /&gt;
  -s &amp;lt;2|4&amp;gt;		 bytes used to store entry size (default is 2).&lt;br /&gt;
  -v &amp;lt;v11n&amp;gt;		 specify a versification scheme to use (default is KJV)&lt;br /&gt;
				 Note: The following are valid values for v11n:&lt;br /&gt;
				   Calvin      	Catholic    	Catholic2   &lt;br /&gt;
				   DarbyFr     	German      	KJV         &lt;br /&gt;
				   KJVA        	LXX         	Leningrad   &lt;br /&gt;
				   Luther      	MT          	NRSV        &lt;br /&gt;
				   NRSVA       	Orthodox    	Segond      &lt;br /&gt;
				   Synodal     	SynodalProt 	Vulg        &lt;br /&gt;
  -h 			 print verbose usage text&lt;br /&gt;
&lt;br /&gt;
See http://www.crosswire.org/wiki/osis2mod for more details.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Earlier builds (e.g. $Rev: 2893 $) also included the debug option help: See [[Osis2mod#Debug_Messages|Debug Messages]].&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  -d &amp;lt;flags&amp;gt;		 turn on debugging (default is 0)&lt;br /&gt;
				 Note: This flag may change in the future.&lt;br /&gt;
				 Flags: The following are valid values:&lt;br /&gt;
					0   - no debugging&lt;br /&gt;
					1   - writes to module, very verbose&lt;br /&gt;
					2   - verse start and end&lt;br /&gt;
					4   - quotes, esp. Words of Christ&lt;br /&gt;
					8   - titles&lt;br /&gt;
					16  - inter-verse material&lt;br /&gt;
					32  - BSP to BCV transformations&lt;br /&gt;
					64  - v11n exceptions&lt;br /&gt;
					128 - parsing of osisID and osisRef&lt;br /&gt;
					256 - internal stack&lt;br /&gt;
					512 - miscellaneous&lt;br /&gt;
				 This argument can be used more than once. (Or&lt;br /&gt;
				 the flags may be added together.)&lt;br /&gt;
&lt;br /&gt;
See http://www.crosswire.org/wiki/osis2mod for more details.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== Parameters and Options ===&lt;br /&gt;
'''&amp;amp;lt;output/path&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This a path to any existing directory. It is best for it to be empty.&lt;br /&gt;
&lt;br /&gt;
'''&amp;amp;lt;osisDoc&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This is a single, well-formed, valid OSIS document.&lt;br /&gt;
&lt;br /&gt;
If '''-''' is used instead of a file name, the document will be read from standard input. This allows for two constructs:&lt;br /&gt;
* Redirection&lt;br /&gt;
 osis2mod ./modules/texts/ztext/KJV - &amp;lt; kjv.xml&lt;br /&gt;
* Piping&lt;br /&gt;
 cat kjv.xml | osis2mod ./modules/texts/ztext/KJV -&lt;br /&gt;
&lt;br /&gt;
'''-a'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Osis2mod can create a Bible all at once or incrementally, depending on the presence of the -a flag. This&lt;br /&gt;
provides for two abilities,&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Assembling a Bible from book files:&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir /tmp/mymodule&lt;br /&gt;
osis2mod /tmp/mymodule  matt.xml&lt;br /&gt;
osis2mod /tmp/mymodule -a mark.xml&lt;br /&gt;
...&lt;br /&gt;
osis2mod /tmp/mymodule -a rev.xml&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
'''Note:''' The book files can be in any order. SWORD will order them correctly in the index.&lt;br /&gt;
&amp;lt;li&amp;gt;Adding corrections to a Bible:&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
osis2mod /tmp/mymodule -a fixes.xml&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
'''Note:''' When fixes are put into the module they are appended to the data file and do not actually replace the verses. The index file is adjusted to point to the new place in the data file.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''-z &amp;amp;lt;l|z|b|x&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
A SWORD Bible can be compressed with Zip (-z z), LZSS (-z l), BZip2 (-z b) '''or''' XZ (-lx). All of CrossWire's compressed Bible and commentary modules are compressed with Zip. This saves significant space over an uncompressed module. Uncompressed modules are useful for debugging.&lt;br /&gt;
&lt;br /&gt;
'''-b &amp;amp;lt;2|3|4&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This setting is only useful for a compressed module. The choice as to whether to use Verse (2), Chapter (3) or Book (4, the default) level compression depends upon the amount of data in the block. A typical Bible is best compressed book by book. A commentary, chapter by chapter. If the commentary is very robust and the amount of text per verse is really huge, then verse compression might make sense.&lt;br /&gt;
&lt;br /&gt;
All of SWORD's compressed Bible modules are compressed by book. Basically, all of the verses in a block are compressed and appended to the data file. For this reason, the datafile cannot be uncompressed by anything other than the SWORD and JSword libraries.&lt;br /&gt;
&lt;br /&gt;
When creating the module by appending it is important to do so by whole compression block. That is, if blockType is Chapter, then the osisDoc needs to contain one or more whole chapters.&lt;br /&gt;
&lt;br /&gt;
'''-l [1-9]'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This setting is useful for a compressed module and provides the level of compression to be used. The default varies depending on the compressor used. The default is typically used.&lt;br /&gt;
&lt;br /&gt;
'''-c cipherKey'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This is typically 16 characters in length, having no leading or trailing spaces, consisting of alternating sets of 4 alpha and 4 numeric characters, such as Aduf0274PjNq0328. The key is case-sensitive.&lt;br /&gt;
&lt;br /&gt;
'''-e &amp;amp;lt;1|2|s&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This flag gives whether the input is to be converted to UTF-8, UTF-16, or SCSU. By default the encoding is UTF-8. Using UTF-16 is reasonable for non-latin texts with little markup. SCSU will compress the Unicode, but it has not been sufficiently tested, requires [[DevTools:ICU|ICU]] support when compiling osis2mod and when running (not all frontends do).&lt;br /&gt;
&lt;br /&gt;
'''-N'''&amp;lt;br/&amp;gt;&lt;br /&gt;
All OSIS modules should be UTF-8 and all that are UTF-8 are also to be NFC. The default is to automatically detect the presense of Latin-1 (either cp1252 or iso8859-1) and convert it to UTF-8 and to normalize UTF-8 to NFC. This flag will turn off this behavior and is useful for creating Latin-1 modules or for modules for which the source text is already UTF-8 and NFC. It is also advised for Biblical Hebrew modules for which the source text (with accents and cantillation points) is intentionally not normalized, as &amp;quot;Unicode normalization can easily break Biblical Hebrew&amp;quot;. Quoted from page 9 of the SBL Hebrew Font Manual.&amp;lt;ref&amp;gt;See https://www.sbl-site.org/Fonts/SBLHebrewUserManual1.5x.pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: this was added late Feb 2008 and requires [[DevTools:ICU|ICU]] support when compiling.&lt;br /&gt;
&lt;br /&gt;
'''-s &amp;amp;lt;2|4&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
A value of 2, the default, restricts modules to 64K bytes per entry. A value of 4, breaks this barrier. This is needed for Bibles, having large introductory materials, and for commentaries with large entries.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' 4 was added late Apr 2009 for raw, uncompressed modules and will be part of the SWORD 1.6.0 release (formerly known as 1.5.11). A later release extended support to compressed modules.&lt;br /&gt;
&lt;br /&gt;
'''-v v11n'''&amp;lt;br/&amp;gt;&lt;br /&gt;
By default, osis2mod uses the KJV versification. The practical implication of this is that only books in the KJV canon are allowed and any text in an allowed book are retained. However, if the verse reference of a supported book falls outside of the versification it is appended to the prior verse in the canon. This flag allows for an [[Alternate Versification|alternate versification]].&lt;br /&gt;
&lt;br /&gt;
'''Note:''' This option was added in April 2009 as part of the SWORD 1.6.0 release.&lt;br /&gt;
&lt;br /&gt;
'''-d flags'''&amp;lt;br/&amp;gt;&lt;br /&gt;
The flag can be used more than once or the flags can be added together. For example,&lt;br /&gt;
 -d 2 -d 4&lt;br /&gt;
is the same as&lt;br /&gt;
 -d 6&lt;br /&gt;
&lt;br /&gt;
To do verbose debugging use:&lt;br /&gt;
 -d -1&lt;br /&gt;
&lt;br /&gt;
For the most part these flags are not intended for debugging modules, but rather for debugging problems in osis2mod.&lt;br /&gt;
&lt;br /&gt;
The -d 2 flag produces no output but puts milestones into the module where verses start and end. The form of the milestone is:&lt;br /&gt;
 &amp;amp;lt;milestone resp=&amp;quot;v&amp;quot; [attributes from verse] /&amp;gt;&lt;br /&gt;
The milestone will contain the osisID from the verse and also a valid sID or eID. The sID/eID indicates the start of end of the verse.&lt;br /&gt;
&lt;br /&gt;
Note: the -d 2 flag might change at any time, or may even be removed.&lt;br /&gt;
&lt;br /&gt;
==Messages==&lt;br /&gt;
Osis2mod has robust, mind-boggling messages. These are provided here in hopes that it will help problem diagnosis.&lt;br /&gt;
&lt;br /&gt;
===Exit Status===&lt;br /&gt;
When an error occurs that causes osis2mod to exit without processing the entire input file, a non-zero exit status is supplied to the caller. Here are the codes that osis2mod uses:&lt;br /&gt;
 const int EXIT_BAD_ARG     =   1; // Bad parameter given for program&lt;br /&gt;
 const int EXIT_NO_WRITE    =   2; // Could not open the module for writing&lt;br /&gt;
 const int EXIT_NO_CREATE   =   3; // Could not create the module&lt;br /&gt;
 const int EXIT_NO_READ     =   4; // Could not open the input file for reading.&lt;br /&gt;
 const int EXIT_BAD_NESTING =   5; // BSP or BCV nesting is bad or improper XML comment&lt;br /&gt;
&lt;br /&gt;
===Diagnostic Messages===&lt;br /&gt;
In the following, example values are given in '''[...]'''. The brackets do not actually appear in the message. Also, the messages are a bit prettier here than in reality.&lt;br /&gt;
 WARNING(UTF8):     '''[ osisID ]''': Should be converted to UTF-8 ('''[ text ]''')&lt;br /&gt;
The program will always check for text that is not UTF-8.&lt;br /&gt;
&lt;br /&gt;
 INFO(UTF8):        '''[ osisID ]''': Converting to UTF-8 ('''[ text before conversion ]''')&lt;br /&gt;
Text that is converted to UTF-8 is noted.&lt;br /&gt;
&lt;br /&gt;
 ERROR(UTF8):       '''[ osisID ]''': Converting to UTF-8 ('''[ text after first conversion ]''')&lt;br /&gt;
It is an error if after a conversion it still is not UTF-8.&lt;br /&gt;
&lt;br /&gt;
 WARNING(UTF8):     osis2mod is not compiled with support for ICU. Ignoring -n flag.&lt;br /&gt;
Normalization was requested, but since osis2mod was not compiled for it, it cannot honor the default request.&lt;br /&gt;
&lt;br /&gt;
 INFO(V11N):        '''[ osisID ]''' is not in the '''[ v11n ]''' versification.&lt;br /&gt;
Indicates that a verse is not in the versification.&lt;br /&gt;
&lt;br /&gt;
 INFO(V11N):        '''[ osisID ]''' is not in the '''[ v11n ]''' versification. Appending content to '''[ osisID ]'''&lt;br /&gt;
This like the other indicates a versification problem, but shows where the text will be found. Osis2mod preserves all module content for supported books.&lt;br /&gt;
&lt;br /&gt;
 WARNING(V11N): New book is '''[ name ]'''  and is not in '''[ v11n ]''' versification, ignoring&lt;br /&gt;
The name of the book was not recognized as belonging to the chosen versification, it and all of it's content is ignored.&lt;br /&gt;
&lt;br /&gt;
 INFO(WRITE):       Appending entry: '''[ osisID ]''': '''[ text so far ]'''&lt;br /&gt;
If osis2mod encounters text that needs to be appended to a verse that is already in the module. This could indicate that&lt;br /&gt;
* the reference is in the input twice. This typically indicates a problem.&lt;br /&gt;
* more text was found that needs to be added to the prior verse.&lt;br /&gt;
* osis2mod is being run in append mode to fix a verse in the module.&lt;br /&gt;
&lt;br /&gt;
 INFO(LINK):        Linking '''[ osisID ]''' to '''[ osisID ]'''&lt;br /&gt;
An osisID such as &amp;quot;Gen.1.1 Gen.1.2 Gen.1.3&amp;quot; was used and the latter are linked to the first.&lt;br /&gt;
&lt;br /&gt;
 ERROR(REF):        Invalid osisID/annotateRef: '''[ invalid attribute value ]'''&lt;br /&gt;
This indicates that the SWORD library was unable to parse the osisID or annotateRef.&lt;br /&gt;
&lt;br /&gt;
 FATAL(NESTING):    '''[ currentOsisID ]''': tag expected&lt;br /&gt;
This indicates that the specified verse is not balanced with regard to its tags. Building a raw text module, looking in the module for the verse and pairing begin/end tags will help find the problem. Typically, this indicates an end tag that did not have a matching begin tag and all tags before it were properly paired.&lt;br /&gt;
&lt;br /&gt;
 FATAL(NESTING):    '''[ currentOsisID ]''': Expected '''[ topToken.getName() ]''' found '''[ tokenName ]'''&lt;br /&gt;
This also indicates that the specified verse is not balanced with regard to its tags. Building a raw text module, looking in the module for the verse and pairing begin/end tags will help find the problem. It could be either a begin or an end tag problem.&lt;br /&gt;
&lt;br /&gt;
 WARNING(NESTING):  verse '''[ currentOsisID ]''' is not well formed:('''[ verseDepth ]''','''[ tagDepth ]''')&lt;br /&gt;
This indicates that the verse probably will not show properly in some front-ends in some circumstances. Typically, it shows the problem if the verse is shown in isolation.&lt;br /&gt;
&lt;br /&gt;
 ERROR(NESTING):    improper nesting '''[ currentOsisID ]''': matching (sID,eID) not found. Looking at ('''[ sID ]''','''[ eID ]''')&lt;br /&gt;
OSIS specifies that every sID has a matching eID. Osis2mod is checking that BSP elements are properly nested.&lt;br /&gt;
&lt;br /&gt;
 FATAL(COMMENTS): unknown commentstate on comment start: [ comment state ]&lt;br /&gt;
This indicates that the comment is not of the form &amp;amp;lt;!-- ... --&amp;amp;gt;.&lt;br /&gt;
&lt;br /&gt;
 FATAL(COMMENTS): unknown commentstate on comment end:  [ comment state ]&lt;br /&gt;
This indicates that the comment is not of the form &amp;amp;lt;!-- ... --&amp;amp;gt;.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE): malformed entity, replacing &amp;amp;amp;'''[ malformed entity ]''' with &amp;amp;amp;amp;'''[ malformed entity ]'''&lt;br /&gt;
This means it found a &amp;amp;amp; that starts an entity but it wasn't terminated by a ; and changed it to something that probably isn't appropriate.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE): HEX entity must begin with &amp;amp;amp;x, found '''[ entity ]'''&lt;br /&gt;
This indicates &amp;amp;X, which is not valid for xml. It is not changed.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE): SWORD does not search HEX entities, found '''[ entity ]'''&lt;br /&gt;
 WARNING(PARSE): SWORD does not search numeric entities, found '''[ entity ]'''&lt;br /&gt;
Since we don't transform HEX or numeric entities to their equivalent UTF-8 value, this will be literal text that cannot be searched.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE): XML only supports 5 Character entities &amp;amp;amp;amp;, &amp;amp;amp;lt;, &amp;amp;amp;gt;, &amp;amp;amp;quot; and &amp;amp;amp;apos;, found '''[ entity ]'''&lt;br /&gt;
XML does not allow character entities. These are passed unchanged to SWORD module. This frustrates search and may only display properly in a front-end using HTML rendering.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE): &amp;amp;amp;quot; is unnecessary outside of attribute values. Replace with &amp;quot;.&lt;br /&gt;
 WARNING(PARSE): &amp;amp;amp;quot; is unnecessary inside single quoted attribute values. Replace with &amp;quot;.&lt;br /&gt;
 WARNING(PARSE): &amp;amp;amp;quot; is only needed within double quoted attribute values. Considering using single quoted attribute and replacing with &amp;quot;.&lt;br /&gt;
 WARNING(PARSE): &amp;amp;amp;apos; is only needed within single quoted attribute values. Considering using double quoted attribute and replacing with '.&lt;br /&gt;
 WARNING(PARSE): &amp;amp;amp;apos; is unnecessary inside double quoted attribute values. Replacing with '.&lt;br /&gt;
 WARNING(PARSE): &amp;amp;amp;apos; is unnecessary outside of attribute values. Replacing with '.&lt;br /&gt;
The &amp;amp;amp;apos; or &amp;amp;amp;quot; was found outside of an attribute value and is being substituted with a straight single apostrophe, ', or double quote, &amp;quot;, respectively.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE): While valid for XML, &amp;amp;amp;quot; is only needed within double quoted attribute values.&lt;br /&gt;
This warning indicates that the entity is present where it does not need to be.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE): While valid for XML, XHTML does not support &amp;amp;amp;apos;.&lt;br /&gt;
This warning indicates that the &amp;amp;amp;apos; may not display properly in all front-ends. It was found in an attribute value.&lt;br /&gt;
&lt;br /&gt;
===Debug Messages===&lt;br /&gt;
The following are shown in the same form as the diagnostic messages above. They are given without comment.&lt;br /&gt;
&lt;br /&gt;
'''-d 1'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Output of what is being written to the module. The two osisIDs should always be the same.&lt;br /&gt;
 DEBUG(WRITE):      '''[ osisID ]''':'''[ osisID ]''': '''[ text so far ]'''&lt;br /&gt;
&lt;br /&gt;
'''-d 4'''&amp;lt;br/&amp;gt;&lt;br /&gt;
A stack is maintained to represent the Words of Christ on a per verse basis. This is internal diagnostic of that stack&lt;br /&gt;
 DEBUG(QUOTE):      '''[ currentOsisID ]''': quote top('''[ quote stack size ]''') '''[ token ]'''&lt;br /&gt;
 DEBUG(QUOTE):      '''[ currentOsisID ]''': quote pop('''[ quote stack size ]''') '''[ topToken ]''' -- '''[ token ]'''&lt;br /&gt;
 DEBUG(QUOTE):      '''[ currentOsisID ]''': ('''[ quote stack size ]''') '''[ topToken ]''' -- '''[ token ]'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''-d 8'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Identifies when book and chapter introductions are being determined.&lt;br /&gt;
 DEBUG(TITLE):      '''[ currentOsisID ]''': OOPS INTRO&lt;br /&gt;
         inChapterIntro = '''[ inChapterIntro ]'''&lt;br /&gt;
         inBookIntro    = '''[ inBookIntro ]'''&lt;br /&gt;
 DEBUG(TITLE):      '''[ currentOsisID ]''': Looking for book introduction&lt;br /&gt;
 DEBUG(TITLE):      '''[ currentOsisID ]''': Done looking for book introduction&lt;br /&gt;
 DEBUG(TITLE):      '''[ currentOsisID ]''': BOOK INTRO '''[ beading ]'''&lt;br /&gt;
 DEBUG(TITLE):      '''[ currentOsisID ]''': Looking for chapter introduction&lt;br /&gt;
 DEBUG(TITLE):      '''[ currentOsisID ]''': Done looking for chapter introduction&lt;br /&gt;
 DEBUG(TITLE):      '''[ currentOsisID ]''': CHAPTER INTRO '''[ heading ]'''&lt;br /&gt;
&lt;br /&gt;
'''-d 16'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Inter-verse material either goes with the prior &amp;quot;verse&amp;quot; or the next. This help diagnose problems related to that split.&lt;br /&gt;
 DEBUG(INTERVERSE): '''[ currentOsisID ]''': interverse start token '''[ token ]''':'''[ text ]'''&lt;br /&gt;
 DEBUG(INTERVERSE): '''[ currentOsisID ]''': interverse end tag: '''[ tokenName ]'''('''[ tagDepth ]''','''[ chapterDepth ]''','''[ bookDepth ]''')&lt;br /&gt;
 DEBUG(INTERVERSE): '''[ currentOsisID ]''': appending interverse end tag: '''[tokenName ]'''('''[ tagDepth ]''','''[ chapterDepth ]''','''[ bookDepth ]''')&lt;br /&gt;
&lt;br /&gt;
'''-d 32'''&amp;lt;br/&amp;gt;&lt;br /&gt;
The following messages relate to the transformations of containers to milestones.&lt;br /&gt;
 DEBUG(XFORM):      '''[ currentOsisID ]''': xform empty '''[ token ]'''&lt;br /&gt;
 DEBUG(XFORM):      '''[ currentOsisID ]''': xform push ('''[ bspTagStack.size() ]''') '''[ token ]''' (tagname='''[ tagName ]''')&lt;br /&gt;
 DEBUG(XFORM):      '''[ currentOsisID ]''': xform top('''[ bsp stack size ]''') '''[ topToken ]'''&lt;br /&gt;
 DEBUG(XFORM):      '''[ currentOsisID ]''': xform pop('''[ bsp stack size ]''') '''[ topToken ]'''&lt;br /&gt;
&lt;br /&gt;
'''-d 64'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Occasionally a verse reference is outside of the chosen versification. These messages help to understand difficulties that osis2mod has in storing extra-canonical material in the module.&lt;br /&gt;
 DEBUG(V11N):       '''[ currentOsisID ]''' normalizes to '''[ after ]'''&lt;br /&gt;
 DEBUG(V11N):       Chapter max:'''[ chapterMax ]''', Verse Max:'''[ verseMax ]'''&lt;br /&gt;
&lt;br /&gt;
'''-d 128'''&amp;lt;br/&amp;gt;&lt;br /&gt;
OSIS ids and references can be of a form that SWORD cannot parse. Osis2mod contains a routine that munges these into a form that SWORD can understand.&lt;br /&gt;
 DEBUG(REF):        Copy range marker: '''[ marker ]'''&lt;br /&gt;
 DEBUG(REF):        Found a work prefix '''[ workPrefix ]'''&lt;br /&gt;
 DEBUG(REF):        Copy osisID:'''[ osisID ]'''&lt;br /&gt;
 DEBUG(REF):        Found a grain suffix '''[ grain ]'''&lt;br /&gt;
 DEBUG(REF):        Found a range&lt;br /&gt;
 DEBUG(REF):        replacing space with ;. Remaining: '''[ text ]'''&lt;br /&gt;
 DEBUG(REF):        shortended keyVal to`'''[ text ]'''`&lt;br /&gt;
&lt;br /&gt;
'''-d 256'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Osis2mod contains two stacks to validate proper nesting of BSP and BCV, respectively. This is an internal representation of the BCV stacks. It provides additional information to understand the diagnostic nesting messages.&lt;br /&gt;
 DEBUG(STACK):      '''[ currentOsisID ]''': push ('''[ stack size]''') '''[ tokenName ]'''&lt;br /&gt;
 DEBUG(STACK):      '''[ currentOsisID ]''': pop('''[ tagDepth ]''') '''[ topToken.getName() ]'''&lt;br /&gt;
&lt;br /&gt;
'''-d 512'''&amp;lt;br/&amp;gt;&lt;br /&gt;
These are general debug messages.&lt;br /&gt;
 DEBUG(FOUND):        Found first div and pitching prior material: '''[ text ]'''&lt;br /&gt;
 DEBUG(FOUND):        New book is '''[ currentOsisID ]'''&lt;br /&gt;
 DEBUG(FOUND):        Current chapter is '''[ currentOsisID ]''' ('''[ osisID attribute value ]''')&lt;br /&gt;
 DEBUG(FOUND):        Entering verse&lt;br /&gt;
 DEBUG(FOUND):        New current verse is '''[ currentOsisID ]'''&lt;br /&gt;
 DEBUG(FOUND):        osisID/annotateRef is adjusted to: '''[ simpler osisID or osisRef ]'''&lt;br /&gt;
 DEBUG(COMMENTS): in comment&lt;br /&gt;
 DEBUG(COMMENTS): out of comment&lt;br /&gt;
&lt;br /&gt;
'''-d 512'''&amp;lt;br/&amp;gt;&lt;br /&gt;
The following gives the input arguments.&lt;br /&gt;
 DEBUG(ARGS):&lt;br /&gt;
         path:         '''[ path ]'''&lt;br /&gt;
         osisDoc:      '''[ osisDoc ]'''&lt;br /&gt;
         create:       '''[ append ]'''&lt;br /&gt;
         compressType: '''[ compType ]'''&lt;br /&gt;
         blockType:    '''[ iType ]'''&lt;br /&gt;
         cipherKey:    '''[ cipherKey ]'''&lt;br /&gt;
         normalize:    '''[ normalize ]'''&lt;br /&gt;
&lt;br /&gt;
== Future Roadmap ==&lt;br /&gt;
:''List here suggestions for useful enhancements to or improvements for osis2mod''.&lt;br /&gt;
&lt;br /&gt;
* Add a command line flag '''-x''' to ''exclude'' all OSIS elements with the global attribute '''editions'''.&amp;lt;ref&amp;gt;The '''editions''' attribute is used to specify edition specific content, such as material omitted in Protestant versions of the Bible.&amp;lt;/ref&amp;gt;&amp;lt;BR&amp;gt;osis2mod would exclude those elements that match the specified attribute value.&lt;br /&gt;
&lt;br /&gt;
'''Note:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Reporting issues ==&lt;br /&gt;
* [http://www.crosswire.org/tracker/browse/MODTOOLS/component/10290/ Module Tools &amp;amp;ndash; osis2mod]&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Osis2mod testcases]]&lt;br /&gt;
* [[OSIS]] &amp;amp;ndash; a partial list of other OSIS related pages and external links.&lt;br /&gt;
* [[Mod2osis]] ''&amp;amp;ndash; deprecated''&lt;br /&gt;
* [[Mod2zmod]]&lt;br /&gt;
&lt;br /&gt;
[[Category:OSIS]]&lt;br /&gt;
[[Category:Utilities]]&lt;br /&gt;
[[Category:Versification]]&lt;/div&gt;</summary>
		<author><name>Dmsmith</name></author>	</entry>

	<entry>
		<id>https://wiki.crosswire.org/index.php?title=Osis2mod&amp;diff=15218</id>
		<title>Osis2mod</title>
		<link rel="alternate" type="text/html" href="https://wiki.crosswire.org/index.php?title=Osis2mod&amp;diff=15218"/>
				<updated>2017-01-30T11:22:30Z</updated>
		
		<summary type="html">&lt;p&gt;Dmsmith: /* Future Roadmap */ changed from e to x as e is currently being used for encoding.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
osis2mod transforms an OSIS encoded [[OSIS Bibles|Bible]] or [[OSIS_Commentaries|commentary]] into a SWORD module.&lt;br /&gt;
&lt;br /&gt;
==Where to get it==&lt;br /&gt;
* See [[DevTools:Modules#Collect_and_Install_Software_Tools|Collect and Install Software Tools]]&lt;br /&gt;
&lt;br /&gt;
== Current status ==&lt;br /&gt;
&lt;br /&gt;
Software bugs relating to osis2mod should be reported in http://www.crosswire.org/bugs/browse/API&lt;br /&gt;
&lt;br /&gt;
:''Please describe current status of osis2mod, including a list of any outstanding issues or unsolved difficulties''.&lt;br /&gt;
&lt;br /&gt;
==History of Changes==&lt;br /&gt;
The following outlines in reverse chronological order the major changes to osis2mod. When several changes were made over the span of a few days, they are lumped into the most recent date. Bug fixes are not mentioned.&lt;br /&gt;
&lt;br /&gt;
{|width=&amp;quot;100%&amp;quot; border=&amp;quot;0&amp;quot; class=&amp;quot;sortable&amp;quot;&lt;br /&gt;
!width=&amp;quot;10%&amp;quot;|Date&lt;br /&gt;
!Revision&lt;br /&gt;
!Feature&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2016-02-06'''&lt;br /&gt;
|&lt;br /&gt;
r3401&lt;br /&gt;
|&lt;br /&gt;
* Changed the handling of &amp;amp;lt;div type=&amp;quot;colophon&amp;quot;&amp;amp;gt; to not convert it to milestones.&lt;br /&gt;
* Added reporting of unhandled entities. (An OSIS document should not have entities other than the canonical 4 entities.)&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2014-01-21'''&lt;br /&gt;
|&lt;br /&gt;
r3011&lt;br /&gt;
|&lt;br /&gt;
* Changed the transformation of &amp;amp;lt;p&amp;amp;gt; from &amp;amp;lt;div type=&amp;quot;paragraph&amp;quot; sID=&amp;quot;xxx&amp;quot;/&amp;amp;gt; to &amp;amp;lt;div type=&amp;quot;x-p&amp;quot; sID=&amp;quot;xxx&amp;quot;/&amp;amp;gt; This is a semantic change that brings osis2mod into alignment with the OSIS specification.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2012-03-24'''&lt;br /&gt;
|&lt;br /&gt;
r2693&lt;br /&gt;
|&lt;br /&gt;
* Allow for XML comments to be in the document, but stripped from the module. This allows for large parts of a document to be commented out, which is especially important during development.&lt;br /&gt;
* Allow for &amp;amp;lt;p&amp;amp;gt; elements to be in the &amp;amp;lt;header&amp;amp;gt; element but ignored. Previously, the p in a header, having been transformed to a div, was taken to be the start of the module's content.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2011-11-12'''&lt;br /&gt;
|&lt;br /&gt;
r2671&lt;br /&gt;
|&lt;br /&gt;
* Restored pre-verse handling. Titles no longer need to be specially specified in OSIS.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2010-06-04'''&lt;br /&gt;
|&lt;br /&gt;
r2519&lt;br /&gt;
|&lt;br /&gt;
* Removed pre-verse handling. Titles now have to be specially specified in OSIS. In OSIS there should also be no tags between verse elements except title and those marking book and chapter.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-06-06'''&lt;br /&gt;
|&lt;br /&gt;
r2435&lt;br /&gt;
|&lt;br /&gt;
* Improved handling of chapter introductions.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-05-30'''&lt;br /&gt;
|&lt;br /&gt;
r2421&lt;br /&gt;
|&lt;br /&gt;
* '''-d flags''' now always available.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-05-14'''&lt;br /&gt;
|&lt;br /&gt;
r2413&lt;br /&gt;
|&lt;br /&gt;
*Added '''-d flags''' as a compile time option.&lt;br /&gt;
*Improved exit codes and documented them here.&lt;br /&gt;
*Labeled all diagnostic and debug output.&lt;br /&gt;
*Can now read from standard input.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-04-28'''&lt;br /&gt;
|&lt;br /&gt;
r2358&lt;br /&gt;
|&lt;br /&gt;
*Predictable handling of inter-verse material.&lt;br /&gt;
*All tags, except verse, included in the module.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-04-26'''&lt;br /&gt;
|&lt;br /&gt;
r2345&lt;br /&gt;
|&lt;br /&gt;
*'''-v v11n''' added to support [[Alternate Versification]].&lt;br /&gt;
*'''-s &amp;lt;2|4&amp;gt;''' added to support uncompressed commentaries with large entries (exceeding 64K bytes).&lt;br /&gt;
*Replace paragraph hack with milestoned paragraphs: &amp;amp;lt;div type=&amp;quot;paragraph&amp;quot; sID=&amp;quot;xxx&amp;quot;/&amp;gt; ... &amp;amp;lt;div type=&amp;quot;paragraph&amp;quot; eID=&amp;quot;xxx&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2008-09-11'''&lt;br /&gt;
|&lt;br /&gt;
r2196&lt;br /&gt;
|&lt;br /&gt;
*Words of Christ (WoC) can be marked up naturally. osis2mod does the right thing.&lt;br /&gt;
*Container elements converted to their milestoned form.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2008-02-29'''&lt;br /&gt;
|&lt;br /&gt;
r2141&lt;br /&gt;
|&lt;br /&gt;
*Now supports commentaries in addition to Bibles.&lt;br /&gt;
*Added utf-8 detection and automatic conversion from cp1252 and iso8859-1 to utf-8, making that the default behavior&lt;br /&gt;
*Added NFC [[Encoding#Normalization|normalization]], making it the default&lt;br /&gt;
*Now handles the full definition of an osisID and an osisRef, including workID and grain.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2007-09-27'''&lt;br /&gt;
|&lt;br /&gt;
r2090&lt;br /&gt;
|&lt;br /&gt;
*Changed command-line parsing from positional parameters to flags.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2007-05-13'''&lt;br /&gt;
|&lt;br /&gt;
r2050&lt;br /&gt;
|&lt;br /&gt;
*All whitespace tokens are converted into blanks and adjacent spaces are merged into one. Leading whitespace on each verse is still removed.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2007-05-01'''&lt;br /&gt;
|&lt;br /&gt;
r2044&lt;br /&gt;
|&lt;br /&gt;
*Added version identification to the running of osis2mod.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2007-04-24'''&lt;br /&gt;
|&lt;br /&gt;
r2038&lt;br /&gt;
|&lt;br /&gt;
*Added ignoring of unknown books&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2006-07-15'''&lt;br /&gt;
|&lt;br /&gt;
r1948&lt;br /&gt;
|&lt;br /&gt;
*Optimized writing to module.&lt;br /&gt;
*Added simple transformations of &amp;amp;lt;q&amp;gt; and &amp;amp;lt;p&amp;gt; into milestones.&lt;br /&gt;
*Now allow empty attributes, such as marker=&amp;quot;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2006-07-04'''&lt;br /&gt;
|&lt;br /&gt;
r1914&lt;br /&gt;
|&lt;br /&gt;
*Updated to support OSIS 2.1&lt;br /&gt;
*Added validation that verses in isolation are well formed&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2005-12-22'''&lt;br /&gt;
|&lt;br /&gt;
r1876&lt;br /&gt;
|&lt;br /&gt;
*Added command-line options for compress and encipher.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2005-05-02'''&lt;br /&gt;
|&lt;br /&gt;
r1790&lt;br /&gt;
|&lt;br /&gt;
*Removed &amp;amp;lt;verse&amp;gt; and &amp;amp;lt;/verse&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2005-02-03'''&lt;br /&gt;
|&lt;br /&gt;
r1707&lt;br /&gt;
|&lt;br /&gt;
*Reverted pre-verse title handling&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2004-06-12'''&lt;br /&gt;
|&lt;br /&gt;
r1620&lt;br /&gt;
|&lt;br /&gt;
*Removed pre-verse title handling&lt;br /&gt;
*Added &amp;amp;lt;verse&amp;gt; and &amp;amp;lt;/verse&amp;gt;&lt;br /&gt;
*Added support for milestoned version of some OSIS elements&lt;br /&gt;
*Added support for verses that are not in the KJV versification by appending them to the closest prior verse.&lt;br /&gt;
*Added support for osisIDs with sub-verse references (i.e. osisID grains)&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2004-05-19'''&lt;br /&gt;
|&lt;br /&gt;
r1597&lt;br /&gt;
|&lt;br /&gt;
*Added support for linked verses&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2003-11-21'''&lt;br /&gt;
|&lt;br /&gt;
r1407&lt;br /&gt;
|&lt;br /&gt;
*Added recognition for &amp;lt;chapter&amp;gt; element&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2003-05-26'''&lt;br /&gt;
|&lt;br /&gt;
r1183&lt;br /&gt;
|&lt;br /&gt;
*Initial version&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Transformations==&lt;br /&gt;
Osis2mod performs the following transformations&amp;lt;ref&amp;gt;These transformations are all performed &amp;quot;under the hood&amp;quot; as it were. Tweaking OSIS XML files to fix problems with pre-verse titles, etc., was never intended to be done by module developers as part of the preprocessing before using osis2mod.&amp;lt;/ref&amp;gt;:&lt;br /&gt;
* '''Whitespace''' -- Allows for human-readable OSIS files.&lt;br /&gt;
**Leading whitespace on books, chapters and verses is removed&lt;br /&gt;
**Whitespace is normalized into blanks&lt;br /&gt;
**Multiple adjacent whitespace is reduced to a single space&lt;br /&gt;
* '''Unicode handling''' - All modules should be UTF-8, NFC (with the possible exception of Biblical Hebrew).&lt;br /&gt;
**Latin-1 (cp1252 and iso8859-1) are converted into UTF-8&lt;br /&gt;
**UTF-8 is normalized into NFC, unless specified otherwise (i.e. by using the -N option).&lt;br /&gt;
* '''Milestone conversion''' - necessary for frontends to show a verse at a time.&amp;lt;br/&amp;gt;(note: genX is unique for an sID/eID pair, where X is a number.)&lt;br /&gt;
** &amp;amp;lt;q ...&amp;gt;...&amp;amp;lt;/q&amp;gt; is converted into &amp;amp;lt;q sID=&amp;quot;genX&amp;quot; .../&amp;gt;...&amp;amp;lt;q eID=&amp;quot;genX&amp;quot; .../&amp;gt;. Note: Quotes with who=&amp;quot;Jesus&amp;quot; are not transformed at this time.&lt;br /&gt;
** &amp;amp;lt;p ...&amp;gt;...&amp;amp;lt;/p&amp;gt; becomes &amp;amp;lt;div type=&amp;quot;paragraph&amp;quot; sID=&amp;quot;genX&amp;quot; .../&amp;gt;... &amp;amp;lt;div type=&amp;quot;paragraph&amp;quot; eID=&amp;quot;genX&amp;quot; ...&amp;gt;.&lt;br /&gt;
** &amp;amp;lt;chapter ...&amp;gt;...&amp;amp;lt;/chapter&amp;gt; becomes &amp;amp;lt;chapter sID=&amp;quot;genX&amp;quot; .../&amp;gt;...&amp;amp;lt;chapter eID=&amp;quot;genX&amp;quot; .../&amp;gt;&lt;br /&gt;
** &amp;amp;lt;closer ...&amp;gt;...&amp;amp;lt;/closer&amp;gt; becomes &amp;amp;lt;closer sID=&amp;quot;genX&amp;quot; .../&amp;gt;...&amp;amp;lt;closer eID=&amp;quot;genX&amp;quot; .../&amp;gt;&lt;br /&gt;
** &amp;amp;lt;div ...&amp;gt;...&amp;amp;lt;/div&amp;gt; becomes &amp;amp;lt;div sID=&amp;quot;genX&amp;quot; .../&amp;gt;...&amp;amp;lt;div eID=&amp;quot;genX&amp;quot; .../&amp;gt; (as of r3401, &amp;amp;lt;div type=&amp;quot;colophon&amp;quot;...&amp;gt; is unchanged)&lt;br /&gt;
** &amp;amp;lt;l ...&amp;gt;...&amp;amp;lt;/l&amp;gt; becomes &amp;amp;lt;l sID=&amp;quot;genX&amp;quot; .../&amp;gt;...&amp;amp;lt;l eID=&amp;quot;genX&amp;quot; .../&amp;gt;&lt;br /&gt;
** &amp;amp;lt;lg ...&amp;gt;...&amp;amp;lt;/lg&amp;gt; becomes &amp;amp;lt;lg sID=&amp;quot;genX&amp;quot; .../&amp;gt;...&amp;amp;lt;lg eID=&amp;quot;genX&amp;quot; .../&amp;gt;&lt;br /&gt;
** &amp;amp;lt;salute ...&amp;gt;...&amp;amp;lt;/salute&amp;gt; becomes &amp;amp;lt;salute sID=&amp;quot;genX&amp;quot; .../&amp;gt;...&amp;amp;lt;salute eID=&amp;quot;genX&amp;quot; .../&amp;gt;&lt;br /&gt;
** &amp;amp;lt;signed ...&amp;gt;...&amp;amp;lt;/signed&amp;gt; becomes &amp;amp;lt;signed sID=&amp;quot;genX&amp;quot; .../&amp;gt;...&amp;amp;lt;signed eID=&amp;quot;genX&amp;quot; .../&amp;gt;&lt;br /&gt;
** &amp;amp;lt;speech ...&amp;gt;...&amp;amp;lt;/speech&amp;gt; becomes &amp;amp;lt;speech sID=&amp;quot;genX&amp;quot; .../&amp;gt;...&amp;amp;lt;speech eID=&amp;quot;genX&amp;quot; .../&amp;gt;&lt;br /&gt;
** &amp;amp;lt;verse ...&amp;gt;...&amp;amp;lt;/verse&amp;gt; becomes (when using -d 2 for debugging.) &amp;amp;lt;milestone resp=&amp;quot;v&amp;quot; sID=&amp;quot;genX&amp;quot; ... /&amp;gt;...&amp;amp;lt;milestone resp=&amp;quot;v&amp;quot; eID=&amp;quot;genX&amp;quot; ... /&amp;gt;&lt;br /&gt;
* '''Words of Christ''' - necessary for front-ends to appropriately highlight the WOC, a verse at a time.&lt;br /&gt;
** &amp;amp;lt;q sID=&amp;quot;XXX&amp;quot; who=&amp;quot;Jesus&amp;quot; .../&amp;gt;...&amp;amp;lt;eID=&amp;quot;XXX&amp;quot; who=&amp;quot;Jesus&amp;quot; .../&amp;gt; becomes &amp;amp;lt;q who=&amp;quot;Jesus&amp;quot; marker=&amp;quot;&amp;quot;&amp;gt;&amp;amp;lt;q sID=&amp;quot;XXX&amp;quot; .../&amp;gt;...&amp;amp;lt;q eID=&amp;quot;XXX&amp;quot; .../&amp;gt;&amp;amp;lt;/q&amp;gt;&lt;br /&gt;
** &amp;amp;lt;q who=&amp;quot;Jesus&amp;quot; ...&amp;gt;...&amp;amp;lt;/q&amp;gt; becomes &amp;amp;lt;q who=&amp;quot;Jesus&amp;quot; marker=&amp;quot;&amp;quot;&amp;gt;&amp;amp;lt;q sID=&amp;quot;genX&amp;quot; .../&amp;gt;...&amp;amp;lt;q eID=&amp;quot;genX&amp;quot; .../&amp;gt;&amp;amp;lt;/q&amp;gt;&lt;br /&gt;
** Within the following construct, &amp;amp;lt;q who=&amp;quot;Jesus&amp;quot; marker=&amp;quot;&amp;quot;&amp;gt;...&amp;lt;/q&amp;gt; will surround verse text.&lt;br /&gt;
* '''Pre-Verse Titles''' (obsolete with SVN revision 2358 for the SWORD 1.6.0 release and replaced with '''InterVerse Content''')&lt;br /&gt;
** Titles immediately preceeding a verse are converted into &amp;amp;lt;title type=&amp;quot;section&amp;quot; subType=&amp;quot;x-preverse&amp;gt;...&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
** Interverse tags not in titles are appended to prior verse.&lt;br /&gt;
* '''InterVerse Content''' (introduced with SVN revision 2358 for the SWORD 1.6.0 release)&lt;br /&gt;
** InterVerse Content refers to all content not contained by the verse element.&amp;lt;ref&amp;gt;For OSIS files derived from USFM files, the implication of this requirement is the following rule:&amp;lt;BR&amp;gt;Do not place a title (or similar element) between a matching pair of verse milestones&lt;br /&gt;
except where the translation places the title somewhere within the verse text in the USFM file.&amp;lt;/ref&amp;gt;&lt;br /&gt;
** Such content is divided between the prior and the current verse.&lt;br /&gt;
** Content appended to the prior verse is not marked in any special way.&lt;br /&gt;
** Content prepended to the current verse is marked with &amp;amp;lt;div sID=&amp;quot;pvX&amp;quot; type=&amp;quot;x-milestone&amp;quot; subType=&amp;quot;x-preverse&amp;quot;/&amp;gt;...&amp;amp;lt;div eID=&amp;quot;pvX&amp;quot; type=&amp;quot;x-milestone&amp;quot; subType=&amp;quot;x-preverse&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Handling of Introductions, Titles and Inter-Verse Material==&lt;br /&gt;
SWORD looks for module, testament, book and chapter introductory material. Those introductions can have appropriate titles as well. &lt;br /&gt;
In SWORD 1.6.0 the handling of this material has changed.&lt;br /&gt;
&lt;br /&gt;
'''Note:'''&lt;br /&gt;
# In the following, the effects of the above transformations are not shown. The tagging of the pre-verse material is also not shown.&lt;br /&gt;
&lt;br /&gt;
===Module and Testament Introductions===&lt;br /&gt;
&lt;br /&gt;
At this time, osis2mod does not fully support module and testament introductions. A module introduction should be place into testament 0, book 0, chapter 0, verse 0. A testament introduction should be placed into testament 1 or 2, book 0, chapter 0, verse 0. Currently, these are placed into Genesis 0:0 or Matthew 0:0.&lt;br /&gt;
&lt;br /&gt;
===Book Introductions and Titles===&lt;br /&gt;
Book introductions and titles are straight forward. It includes the start of the book and everything following it up to, but not including the start of the chapter. See [[OSIS Bibles]] for best practices in marking up titles and introductions.&lt;br /&gt;
&lt;br /&gt;
For example:&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;book&amp;quot; ...&amp;gt;&lt;br /&gt;
 ... introductory material ...&lt;br /&gt;
 &amp;amp;lt;chapter&amp;quot;...&amp;gt;&lt;br /&gt;
will put the following into the book introduction:&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;book&amp;quot; ...&amp;gt;&lt;br /&gt;
 ... introductory material ...&lt;br /&gt;
&lt;br /&gt;
===Chapter Introductions===&lt;br /&gt;
Chapter introductions and titles are a bit problematic. Between the start of a chapter and its first verse, we could have a chapter title, a chapter introduction and/or a start of a section of verses or a titled verse. Osis2mod now handles this in a predictable fashion. From the start of the chapter up to and not including a section div or a title that has a type that is not ''main'', ''chapter'' or ''sub'', the content is chapter introduction. After that, it is part of the verse.&lt;br /&gt;
&lt;br /&gt;
Specifically, the following list gives the possible first elements following the chapter introduction.:&lt;br /&gt;
*&amp;amp;lt;div type=&amp;quot;section&amp;quot; ...&amp;gt;&lt;br /&gt;
*&amp;amp;lt;title type=&amp;quot;yyy&amp;quot; ...&amp;gt; where yyy is not ''main'', ''chapter'' or ''sub''.&lt;br /&gt;
&lt;br /&gt;
For example,&lt;br /&gt;
 &amp;amp;lt;chapter ...&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;Chapter Title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title type=&amp;quot;sub&amp;quot;&amp;gt;Chapter Subtitle&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;introduction&amp;quot;&amp;gt;... intro ...&amp;amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;section&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;A section title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;verse ...&amp;gt;...verse content...&amp;amp;lt;/verse&amp;gt;&lt;br /&gt;
will put the following into the chapter introduction:&lt;br /&gt;
 &amp;amp;lt;chapter ...&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;Chapter Title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title type=&amp;quot;sub&amp;quot;&amp;gt;Chapter Subtitle&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;introduction&amp;quot;&amp;gt;... intro ...&amp;amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
will put the following into verse 1 of that chapter&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;section&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;A section title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;verse ...&amp;gt;...verse content...&amp;amp;lt;/verse&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Between Verses===&lt;br /&gt;
Between verses we may have closing tags to finish off what was started earlier, structural opening tags (e.g. line groups, divisions, paragraphs, ...), titles and/or introductory material.&lt;br /&gt;
&lt;br /&gt;
Upon finding the close of a verse, osis2mod will append all adjacent closing tags to it. Once it finds a start tag, it will attach that to the following verse.&lt;br /&gt;
&lt;br /&gt;
For example, suppose the following is between &amp;amp;lt;/verse&amp;gt; and &amp;amp;lt;verse ...&amp;gt;:&lt;br /&gt;
 &amp;amp;lt;/lg&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;section&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;Section title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;lg&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
then it will append the following to the prior verse:&lt;br /&gt;
 &amp;amp;lt;/lg&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and will prepend the following to the current verse:&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;section&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;Section title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;lg&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Last Verse===&lt;br /&gt;
The material following the last verse of a chapter is appended to that verse. You might find:&lt;br /&gt;
 ... verse content ...&lt;br /&gt;
 &amp;amp;lt;/chapter&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;colophon&amp;quot;&amp;gt;... colophon text ...&amp;amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Exclusions==&lt;br /&gt;
Only content starting the first &amp;amp;lt;div&amp;gt; to the last &amp;amp;lt;/div&amp;gt; is retained. All other is excluded. From a practical perspective, this excludes the OSIS header information.&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
It is always preferable to use the most recent version of osis2mod and compiling it from SVN is best. &lt;br /&gt;
&lt;br /&gt;
'''Note:'''&lt;br /&gt;
# After the SWORD 1.5.9 release, osis2mod was changed to take flags rather than positional arguments.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
You are running osis2mod: $Rev: 3431 $&lt;br /&gt;
OSIS Bible/commentary module creation tool for The SWORD Project&lt;br /&gt;
&lt;br /&gt;
usage: ./osis2mod &amp;lt;output/path&amp;gt; &amp;lt;osisDoc&amp;gt; [OPTIONS]&lt;br /&gt;
  &amp;lt;output/path&amp;gt;		 an existing folder that the module will be written&lt;br /&gt;
  &amp;lt;osisDoc&amp;gt;		 path to the validated OSIS document, or '-' to&lt;br /&gt;
				 read from standard input&lt;br /&gt;
  -a			 augment module if exists (default is to create new)&lt;br /&gt;
  -z &amp;lt;l|z|b|x&amp;gt;		 compression type (default: none)&lt;br /&gt;
				 l - LZSS; z - ZIP; b - bzip2; x - xz&lt;br /&gt;
  -b &amp;lt;2|3|4&amp;gt;		 compression block size (default: 4)&lt;br /&gt;
				 2 - verse; 3 - chapter; 4 - book&lt;br /&gt;
  -l &amp;lt;1-9&amp;gt;		 compression level (default varies by compression type)&lt;br /&gt;
  -c &amp;lt;cipher_key&amp;gt;	 encipher module using supplied key&lt;br /&gt;
				 (default no enciphering)&lt;br /&gt;
  -e &amp;lt;1|2|s&amp;gt;		 convert Unicode encoding (default: 1)&lt;br /&gt;
				 1 - UTF-8 ; 2 - UTF-16 ; s - SCSU&lt;br /&gt;
  -N			 do not normalize to NFC&lt;br /&gt;
  -s &amp;lt;2|4&amp;gt;		 bytes used to store entry size (default is 2).&lt;br /&gt;
  -v &amp;lt;v11n&amp;gt;		 specify a versification scheme to use (default is KJV)&lt;br /&gt;
				 Note: The following are valid values for v11n:&lt;br /&gt;
				   Calvin      	Catholic    	Catholic2   &lt;br /&gt;
				   DarbyFr     	German      	KJV         &lt;br /&gt;
				   KJVA        	LXX         	Leningrad   &lt;br /&gt;
				   Luther      	MT          	NRSV        &lt;br /&gt;
				   NRSVA       	Orthodox    	Segond      &lt;br /&gt;
				   Synodal     	SynodalProt 	Vulg        &lt;br /&gt;
  -h 			 print verbose usage text&lt;br /&gt;
&lt;br /&gt;
See http://www.crosswire.org/wiki/osis2mod for more details.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Earlier builds (e.g. $Rev: 2893 $) also included the debug option help: See [[Osis2mod#Debug_Messages|Debug Messages]].&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  -d &amp;lt;flags&amp;gt;		 turn on debugging (default is 0)&lt;br /&gt;
				 Note: This flag may change in the future.&lt;br /&gt;
				 Flags: The following are valid values:&lt;br /&gt;
					0   - no debugging&lt;br /&gt;
					1   - writes to module, very verbose&lt;br /&gt;
					2   - verse start and end&lt;br /&gt;
					4   - quotes, esp. Words of Christ&lt;br /&gt;
					8   - titles&lt;br /&gt;
					16  - inter-verse material&lt;br /&gt;
					32  - BSP to BCV transformations&lt;br /&gt;
					64  - v11n exceptions&lt;br /&gt;
					128 - parsing of osisID and osisRef&lt;br /&gt;
					256 - internal stack&lt;br /&gt;
					512 - miscellaneous&lt;br /&gt;
				 This argument can be used more than once. (Or&lt;br /&gt;
				 the flags may be added together.)&lt;br /&gt;
&lt;br /&gt;
See http://www.crosswire.org/wiki/osis2mod for more details.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== Parameters and Options ===&lt;br /&gt;
'''&amp;amp;lt;output/path&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This a path to any existing directory. It is best for it to be empty.&lt;br /&gt;
&lt;br /&gt;
'''&amp;amp;lt;osisDoc&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This is a single, well-formed, valid OSIS document.&lt;br /&gt;
&lt;br /&gt;
If '''-''' is used instead of a file name, the document will be read from standard input. This allows for two constructs:&lt;br /&gt;
* Redirection&lt;br /&gt;
 osis2mod ./modules/texts/ztext/KJV - &amp;lt; kjv.xml&lt;br /&gt;
* Piping&lt;br /&gt;
 cat kjv.xml | osis2mod ./modules/texts/ztext/KJV -&lt;br /&gt;
&lt;br /&gt;
'''-a'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Osis2mod can create a Bible all at once or incrementally, depending on the presence of the -a flag. This&lt;br /&gt;
provides for two abilities,&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Assembling a Bible from book files:&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir /tmp/mymodule&lt;br /&gt;
osis2mod /tmp/mymodule  matt.xml&lt;br /&gt;
osis2mod /tmp/mymodule -a mark.xml&lt;br /&gt;
...&lt;br /&gt;
osis2mod /tmp/mymodule -a rev.xml&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
'''Note:''' The book files can be in any order. SWORD will order them correctly in the index.&lt;br /&gt;
&amp;lt;li&amp;gt;Adding corrections to a Bible:&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
osis2mod /tmp/mymodule -a fixes.xml&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
'''Note:''' When fixes are put into the module they are appended to the data file and do not actually replace the verses. The index file is adjusted to point to the new place in the data file.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''-z &amp;amp;lt;l|z|b|x&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
A SWORD Bible can be compressed with Zip (-z z), LZSS (-z l), BZip2 (-z b) '''or''' XZ (-lx). All of CrossWire's compressed Bible and commentary modules are compressed with Zip. This saves significant space over an uncompressed module. Uncompressed modules are useful for debugging.&lt;br /&gt;
&lt;br /&gt;
'''-b &amp;amp;lt;2|3|4&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This setting is only useful for a compressed module. The choice as to whether to use Verse (2), Chapter (3) or Book (4, the default) level compression depends upon the amount of data in the block. A typical Bible is best compressed book by book. A commentary, chapter by chapter. If the commentary is very robust and the amount of text per verse is really huge, then verse compression might make sense.&lt;br /&gt;
&lt;br /&gt;
All of SWORD's compressed Bible modules are compressed by book. Basically, all of the verses in a block are compressed and appended to the data file. For this reason, the datafile cannot be uncompressed by anything other than the SWORD and JSword libraries.&lt;br /&gt;
&lt;br /&gt;
When creating the module by appending it is important to do so by whole compression block. That is, if blockType is Chapter, then the osisDoc needs to contain one or more whole chapters.&lt;br /&gt;
&lt;br /&gt;
'''-l [1-9]'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This setting is useful for a compressed module and provides the level of compression to be used. The default varies depending on the compressor used. The default is typically used.&lt;br /&gt;
&lt;br /&gt;
'''-c cipherKey'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This is typically 16 characters in length, having no leading or trailing spaces, consisting of alternating sets of 4 alpha and 4 numeric characters, such as Aduf0274PjNq0328. The key is case-sensitive.&lt;br /&gt;
&lt;br /&gt;
'''-e &amp;amp;lt;1|2|s&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This flag gives whether the input is to be converted to UTF-8, UTF-16, or SCSU. By default the encoding is UTF-8. Using UTF-16 is reasonable for non-latin texts with little markup. SCSU will compress the Unicode, but it has not been sufficiently tested, requires [[DevTools:ICU|ICU]] support when compiling osis2mod and when running (not all frontends do).&lt;br /&gt;
&lt;br /&gt;
'''-N'''&amp;lt;br/&amp;gt;&lt;br /&gt;
All OSIS modules should be UTF-8 and all that are UTF-8 are also to be NFC. The default is to automatically detect the presense of Latin-1 (either cp1252 or iso8859-1) and convert it to UTF-8 and to normalize UTF-8 to NFC. This flag will turn off this behavior and is useful for creating Latin-1 modules or for modules for which the source text is already UTF-8 and NFC. It is also advised for Biblical Hebrew modules for which the source text (with accents and cantillation points) is intentionally not normalized, as &amp;quot;Unicode normalization can easily break Biblical Hebrew&amp;quot;. Quoted from page 9 of the SBL Hebrew Font Manual.&amp;lt;ref&amp;gt;See https://www.sbl-site.org/Fonts/SBLHebrewUserManual1.5x.pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: this was added late Feb 2008 and requires [[DevTools:ICU|ICU]] support when compiling.&lt;br /&gt;
&lt;br /&gt;
'''-s &amp;amp;lt;2|4&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
A value of 2, the default, restricts modules to 64K bytes per entry. A value of 4, breaks this barrier. This is needed for Bibles, having large introductory materials, and for commentaries with large entries.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' 4 was added late Apr 2009 for raw, uncompressed modules and will be part of the SWORD 1.6.0 release (formerly known as 1.5.11). A later release extended support to compressed modules.&lt;br /&gt;
&lt;br /&gt;
'''-v v11n'''&amp;lt;br/&amp;gt;&lt;br /&gt;
By default, osis2mod uses the KJV versification. The practical implication of this is that only books in the KJV canon are allowed and any text in an allowed book are retained. However, if the verse reference of a supported book falls outside of the versification it is appended to the prior verse in the canon. This flag allows for an [[Alternate Versification|alternate versification]].&lt;br /&gt;
&lt;br /&gt;
'''Note:''' This option was added in April 2009 as part of the SWORD 1.6.0 release.&lt;br /&gt;
&lt;br /&gt;
'''-d flags'''&amp;lt;br/&amp;gt;&lt;br /&gt;
The flag can be used more than once or the flags can be added together. For example,&lt;br /&gt;
 -d 2 -d 4&lt;br /&gt;
is the same as&lt;br /&gt;
 -d 6&lt;br /&gt;
&lt;br /&gt;
To do verbose debugging use:&lt;br /&gt;
 -d -1&lt;br /&gt;
&lt;br /&gt;
For the most part these flags are not intended for debugging modules, but rather for debugging problems in osis2mod.&lt;br /&gt;
&lt;br /&gt;
The -d 2 flag produces no output but puts milestones into the module where verses start and end. The form of the milestone is:&lt;br /&gt;
 &amp;amp;lt;milestone resp=&amp;quot;v&amp;quot; [attributes from verse] /&amp;gt;&lt;br /&gt;
The milestone will contain the osisID from the verse and also a valid sID or eID. The sID/eID indicates the start of end of the verse.&lt;br /&gt;
&lt;br /&gt;
Note: the -d 2 flag might change at any time, or may even be removed.&lt;br /&gt;
&lt;br /&gt;
==Messages==&lt;br /&gt;
Osis2mod has robust, mind-boggling messages. These are provided here in hopes that it will help problem diagnosis.&lt;br /&gt;
&lt;br /&gt;
===Exit Status===&lt;br /&gt;
When an error occurs that causes osis2mod to exit without processing the entire input file, a non-zero exit status is supplied to the caller. Here are the codes that osis2mod uses:&lt;br /&gt;
 const int EXIT_BAD_ARG     =   1; // Bad parameter given for program&lt;br /&gt;
 const int EXIT_NO_WRITE    =   2; // Could not open the module for writing&lt;br /&gt;
 const int EXIT_NO_CREATE   =   3; // Could not create the module&lt;br /&gt;
 const int EXIT_NO_READ     =   4; // Could not open the input file for reading.&lt;br /&gt;
 const int EXIT_BAD_NESTING =   5; // BSP or BCV nesting is bad or improper XML comment&lt;br /&gt;
&lt;br /&gt;
===Diagnostic Messages===&lt;br /&gt;
In the following, example values are given in '''[...]'''. The brackets do not actually appear in the message. Also, the messages are a bit prettier here than in reality.&lt;br /&gt;
 WARNING(UTF8):     '''[ osisID ]''': Should be converted to UTF-8 ('''[ text ]''')&lt;br /&gt;
The program will always check for text that is not UTF-8.&lt;br /&gt;
&lt;br /&gt;
 INFO(UTF8):        '''[ osisID ]''': Converting to UTF-8 ('''[ text before conversion ]''')&lt;br /&gt;
Text that is converted to UTF-8 is noted.&lt;br /&gt;
&lt;br /&gt;
 ERROR(UTF8):       '''[ osisID ]''': Converting to UTF-8 ('''[ text after first conversion ]''')&lt;br /&gt;
It is an error if after a conversion it still is not UTF-8.&lt;br /&gt;
&lt;br /&gt;
 WARNING(UTF8):     osis2mod is not compiled with support for ICU. Ignoring -n flag.&lt;br /&gt;
Normalization was requested, but since osis2mod was not compiled for it, it cannot honor the default request.&lt;br /&gt;
&lt;br /&gt;
 INFO(V11N):        '''[ osisID ]''' is not in the '''[ v11n ]''' versification.&lt;br /&gt;
Indicates that a verse is not in the versification.&lt;br /&gt;
&lt;br /&gt;
 INFO(V11N):        '''[ osisID ]''' is not in the '''[ v11n ]''' versification. Appending content to '''[ osisID ]'''&lt;br /&gt;
This like the other indicates a versification problem, but shows where the text will be found. Osis2mod preserves all module content for supported books.&lt;br /&gt;
&lt;br /&gt;
 WARNING(V11N): New book is '''[ name ]'''  and is not in '''[ v11n ]''' versification, ignoring&lt;br /&gt;
The name of the book was not recognized as belonging to the chosen versification, it and all of it's content is ignored.&lt;br /&gt;
&lt;br /&gt;
 INFO(WRITE):       Appending entry: '''[ osisID ]''': '''[ text so far ]'''&lt;br /&gt;
If osis2mod encounters text that needs to be appended to a verse that is already in the module. This could indicate that&lt;br /&gt;
* the reference is in the input twice. This typically indicates a problem.&lt;br /&gt;
* more text was found that needs to be added to the prior verse.&lt;br /&gt;
* osis2mod is being run in append mode to fix a verse in the module.&lt;br /&gt;
&lt;br /&gt;
 INFO(LINK):        Linking '''[ osisID ]''' to '''[ osisID ]'''&lt;br /&gt;
An osisID such as &amp;quot;Gen.1.1 Gen.1.2 Gen.1.3&amp;quot; was used and the latter are linked to the first.&lt;br /&gt;
&lt;br /&gt;
 ERROR(REF):        Invalid osisID/annotateRef: '''[ invalid attribute value ]'''&lt;br /&gt;
This indicates that the SWORD library was unable to parse the osisID or annotateRef.&lt;br /&gt;
&lt;br /&gt;
 FATAL(NESTING):    '''[ currentOsisID ]''': tag expected&lt;br /&gt;
This indicates that the specified verse is not balanced with regard to its tags. Building a raw text module, looking in the module for the verse and pairing begin/end tags will help find the problem. Typically, this indicates an end tag that did not have a matching begin tag and all tags before it were properly paired.&lt;br /&gt;
&lt;br /&gt;
 FATAL(NESTING):    '''[ currentOsisID ]''': Expected '''[ topToken.getName() ]''' found '''[ tokenName ]'''&lt;br /&gt;
This also indicates that the specified verse is not balanced with regard to its tags. Building a raw text module, looking in the module for the verse and pairing begin/end tags will help find the problem. It could be either a begin or an end tag problem.&lt;br /&gt;
&lt;br /&gt;
 WARNING(NESTING):  verse '''[ currentOsisID ]''' is not well formed:('''[ verseDepth ]''','''[ tagDepth ]''')&lt;br /&gt;
This indicates that the verse probably will not show properly in some front-ends in some circumstances. Typically, it shows the problem if the verse is shown in isolation.&lt;br /&gt;
&lt;br /&gt;
 ERROR(NESTING):    improper nesting '''[ currentOsisID ]''': matching (sID,eID) not found. Looking at ('''[ sID ]''','''[ eID ]''')&lt;br /&gt;
OSIS specifies that every sID has a matching eID. Osis2mod is checking that BSP elements are properly nested.&lt;br /&gt;
&lt;br /&gt;
 FATAL(COMMENTS): unknown commentstate on comment start: [ comment state ]&lt;br /&gt;
This indicates that the comment is not of the form &amp;amp;lt;!-- ... --&amp;amp;gt;.&lt;br /&gt;
&lt;br /&gt;
 FATAL(COMMENTS): unknown commentstate on comment end:  [ comment state ]&lt;br /&gt;
This indicates that the comment is not of the form &amp;amp;lt;!-- ... --&amp;amp;gt;.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE): malformed entity, replacing &amp;amp;amp;'''[ malformed entity ]''' with &amp;amp;amp;amp;'''[ malformed entity ]'''&lt;br /&gt;
This means it found a &amp;amp;amp; that starts an entity but it wasn't terminated by a ; and changed it to something that probably isn't appropriate.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE): HEX entity must begin with &amp;amp;amp;x, found '''[ entity ]'''&lt;br /&gt;
This indicates &amp;amp;X, which is not valid for xml. It is not changed.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE): SWORD does not search HEX entities, found '''[ entity ]'''&lt;br /&gt;
 WARNING(PARSE): SWORD does not search numeric entities, found '''[ entity ]'''&lt;br /&gt;
Since we don't transform HEX or numeric entities to their equivalent UTF-8 value, this will be literal text that cannot be searched.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE): XML only supports 5 Character entities &amp;amp;amp;amp;, &amp;amp;amp;lt;, &amp;amp;amp;gt;, &amp;amp;amp;quot; and &amp;amp;amp;apos;, found '''[ entity ]'''&lt;br /&gt;
XML does not allow character entities. These are passed unchanged to SWORD module. This frustrates search and may only display properly in a front-end using HTML rendering.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE): &amp;amp;amp;quot; is unnecessary outside of attribute values. Replace with &amp;quot;.&lt;br /&gt;
 WARNING(PARSE): &amp;amp;amp;quot; is unnecessary inside single quoted attribute values. Replace with &amp;quot;.&lt;br /&gt;
 WARNING(PARSE): &amp;amp;amp;quot; is only needed within double quoted attribute values. Considering using single quoted attribute and replacing with &amp;quot;.&lt;br /&gt;
 WARNING(PARSE): &amp;amp;amp;apos; is only needed within single quoted attribute values. Considering using double quoted attribute and replacing with '.&lt;br /&gt;
 WARNING(PARSE): &amp;amp;amp;apos; is unnecessary inside double quoted attribute values. Replacing with '.&lt;br /&gt;
 WARNING(PARSE): &amp;amp;amp;apos; is unnecessary outside of attribute values. Replacing with '.&lt;br /&gt;
The &amp;amp;amp;apos; or &amp;amp;amp;quot; was found outside of an attribute value and is being substituted with a straight single apostrophe, ', or double quote, &amp;quot;, respectively.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE): While valid for XML, &amp;amp;amp;quot; is only needed within double quoted attribute values.&lt;br /&gt;
This warning indicates that the entity is present where it does not need to be.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE): While valid for XML, XHTML does not support &amp;amp;amp;apos;.&lt;br /&gt;
This warning indicates that the &amp;amp;amp;apos; may not display properly in all front-ends. It was found in an attribute value.&lt;br /&gt;
&lt;br /&gt;
===Debug Messages===&lt;br /&gt;
The following are shown in the same form as the diagnostic messages above. They are given without comment.&lt;br /&gt;
&lt;br /&gt;
'''-d 1'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Output of what is being written to the module. The two osisIDs should always be the same.&lt;br /&gt;
 DEBUG(WRITE):      '''[ osisID ]''':'''[ osisID ]''': '''[ text so far ]'''&lt;br /&gt;
&lt;br /&gt;
'''-d 4'''&amp;lt;br/&amp;gt;&lt;br /&gt;
A stack is maintained to represent the Words of Christ on a per verse basis. This is internal diagnostic of that stack&lt;br /&gt;
 DEBUG(QUOTE):      '''[ currentOsisID ]''': quote top('''[ quote stack size ]''') '''[ token ]'''&lt;br /&gt;
 DEBUG(QUOTE):      '''[ currentOsisID ]''': quote pop('''[ quote stack size ]''') '''[ topToken ]''' -- '''[ token ]'''&lt;br /&gt;
 DEBUG(QUOTE):      '''[ currentOsisID ]''': ('''[ quote stack size ]''') '''[ topToken ]''' -- '''[ token ]'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''-d 8'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Identifies when book and chapter introductions are being determined.&lt;br /&gt;
 DEBUG(TITLE):      '''[ currentOsisID ]''': OOPS INTRO&lt;br /&gt;
         inChapterIntro = '''[ inChapterIntro ]'''&lt;br /&gt;
         inBookIntro    = '''[ inBookIntro ]'''&lt;br /&gt;
 DEBUG(TITLE):      '''[ currentOsisID ]''': Looking for book introduction&lt;br /&gt;
 DEBUG(TITLE):      '''[ currentOsisID ]''': Done looking for book introduction&lt;br /&gt;
 DEBUG(TITLE):      '''[ currentOsisID ]''': BOOK INTRO '''[ beading ]'''&lt;br /&gt;
 DEBUG(TITLE):      '''[ currentOsisID ]''': Looking for chapter introduction&lt;br /&gt;
 DEBUG(TITLE):      '''[ currentOsisID ]''': Done looking for chapter introduction&lt;br /&gt;
 DEBUG(TITLE):      '''[ currentOsisID ]''': CHAPTER INTRO '''[ heading ]'''&lt;br /&gt;
&lt;br /&gt;
'''-d 16'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Inter-verse material either goes with the prior &amp;quot;verse&amp;quot; or the next. This help diagnose problems related to that split.&lt;br /&gt;
 DEBUG(INTERVERSE): '''[ currentOsisID ]''': interverse start token '''[ token ]''':'''[ text ]'''&lt;br /&gt;
 DEBUG(INTERVERSE): '''[ currentOsisID ]''': interverse end tag: '''[ tokenName ]'''('''[ tagDepth ]''','''[ chapterDepth ]''','''[ bookDepth ]''')&lt;br /&gt;
 DEBUG(INTERVERSE): '''[ currentOsisID ]''': appending interverse end tag: '''[tokenName ]'''('''[ tagDepth ]''','''[ chapterDepth ]''','''[ bookDepth ]''')&lt;br /&gt;
&lt;br /&gt;
'''-d 32'''&amp;lt;br/&amp;gt;&lt;br /&gt;
The following messages relate to the transformations of containers to milestones.&lt;br /&gt;
 DEBUG(XFORM):      '''[ currentOsisID ]''': xform empty '''[ token ]'''&lt;br /&gt;
 DEBUG(XFORM):      '''[ currentOsisID ]''': xform push ('''[ bspTagStack.size() ]''') '''[ token ]''' (tagname='''[ tagName ]''')&lt;br /&gt;
 DEBUG(XFORM):      '''[ currentOsisID ]''': xform top('''[ bsp stack size ]''') '''[ topToken ]'''&lt;br /&gt;
 DEBUG(XFORM):      '''[ currentOsisID ]''': xform pop('''[ bsp stack size ]''') '''[ topToken ]'''&lt;br /&gt;
&lt;br /&gt;
'''-d 64'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Occasionally a verse reference is outside of the chosen versification. These messages help to understand difficulties that osis2mod has in storing extra-canonical material in the module.&lt;br /&gt;
 DEBUG(V11N):       '''[ currentOsisID ]''' normalizes to '''[ after ]'''&lt;br /&gt;
 DEBUG(V11N):       Chapter max:'''[ chapterMax ]''', Verse Max:'''[ verseMax ]'''&lt;br /&gt;
&lt;br /&gt;
'''-d 128'''&amp;lt;br/&amp;gt;&lt;br /&gt;
OSIS ids and references can be of a form that SWORD cannot parse. Osis2mod contains a routine that munges these into a form that SWORD can understand.&lt;br /&gt;
 DEBUG(REF):        Copy range marker: '''[ marker ]'''&lt;br /&gt;
 DEBUG(REF):        Found a work prefix '''[ workPrefix ]'''&lt;br /&gt;
 DEBUG(REF):        Copy osisID:'''[ osisID ]'''&lt;br /&gt;
 DEBUG(REF):        Found a grain suffix '''[ grain ]'''&lt;br /&gt;
 DEBUG(REF):        Found a range&lt;br /&gt;
 DEBUG(REF):        replacing space with ;. Remaining: '''[ text ]'''&lt;br /&gt;
 DEBUG(REF):        shortended keyVal to`'''[ text ]'''`&lt;br /&gt;
&lt;br /&gt;
'''-d 256'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Osis2mod contains two stacks to validate proper nesting of BSP and BCV, respectively. This is an internal representation of the BCV stacks. It provides additional information to understand the diagnostic nesting messages.&lt;br /&gt;
 DEBUG(STACK):      '''[ currentOsisID ]''': push ('''[ stack size]''') '''[ tokenName ]'''&lt;br /&gt;
 DEBUG(STACK):      '''[ currentOsisID ]''': pop('''[ tagDepth ]''') '''[ topToken.getName() ]'''&lt;br /&gt;
&lt;br /&gt;
'''-d 512'''&amp;lt;br/&amp;gt;&lt;br /&gt;
These are general debug messages.&lt;br /&gt;
 DEBUG(FOUND):        Found first div and pitching prior material: '''[ text ]'''&lt;br /&gt;
 DEBUG(FOUND):        New book is '''[ currentOsisID ]'''&lt;br /&gt;
 DEBUG(FOUND):        Current chapter is '''[ currentOsisID ]''' ('''[ osisID attribute value ]''')&lt;br /&gt;
 DEBUG(FOUND):        Entering verse&lt;br /&gt;
 DEBUG(FOUND):        New current verse is '''[ currentOsisID ]'''&lt;br /&gt;
 DEBUG(FOUND):        osisID/annotateRef is adjusted to: '''[ simpler osisID or osisRef ]'''&lt;br /&gt;
 DEBUG(COMMENTS): in comment&lt;br /&gt;
 DEBUG(COMMENTS): out of comment&lt;br /&gt;
&lt;br /&gt;
'''-d 512'''&amp;lt;br/&amp;gt;&lt;br /&gt;
The following gives the input arguments.&lt;br /&gt;
 DEBUG(ARGS):&lt;br /&gt;
         path:         '''[ path ]'''&lt;br /&gt;
         osisDoc:      '''[ osisDoc ]'''&lt;br /&gt;
         create:       '''[ append ]'''&lt;br /&gt;
         compressType: '''[ compType ]'''&lt;br /&gt;
         blockType:    '''[ iType ]'''&lt;br /&gt;
         cipherKey:    '''[ cipherKey ]'''&lt;br /&gt;
         normalize:    '''[ normalize ]'''&lt;br /&gt;
&lt;br /&gt;
== Future Roadmap ==&lt;br /&gt;
:''List here suggestions for useful enhancements to or improvements for osis2mod''.&lt;br /&gt;
&lt;br /&gt;
* Add a command line flag '''-x''' to ''exclude'' all OSIS elements with the global attribute '''editions'''.&amp;lt;ref&amp;gt;The '''editions''' attribute is used to specify edition specific content, such as material omitted in Protestant versions of the Bible.&amp;lt;/ref&amp;gt;&amp;lt;BR&amp;gt;osis2mod would exclude those elements that match the specified attribute value.&lt;br /&gt;
&lt;br /&gt;
'''Note:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Reporting issues ==&lt;br /&gt;
* [http://www.crosswire.org/tracker/browse/MODTOOLS/component/10290/ Module Tools &amp;amp;ndash; osis2mod]&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Osis2mod testcases]]&lt;br /&gt;
* [[OSIS]] &amp;amp;ndash; a partial list of other OSIS related pages and external links.&lt;br /&gt;
* [[Mod2osis]] ''&amp;amp;ndash; deprecated''&lt;br /&gt;
* [[Mod2zmod]]&lt;br /&gt;
&lt;br /&gt;
[[Category:OSIS]]&lt;br /&gt;
[[Category:Utilities]]&lt;br /&gt;
[[Category:Versification]]&lt;/div&gt;</summary>
		<author><name>Dmsmith</name></author>	</entry>

	<entry>
		<id>https://wiki.crosswire.org/index.php?title=Osis2mod&amp;diff=15217</id>
		<title>Osis2mod</title>
		<link rel="alternate" type="text/html" href="https://wiki.crosswire.org/index.php?title=Osis2mod&amp;diff=15217"/>
				<updated>2017-01-30T11:19:49Z</updated>
		
		<summary type="html">&lt;p&gt;Dmsmith: /* Usage */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
osis2mod transforms an OSIS encoded [[OSIS Bibles|Bible]] or [[OSIS_Commentaries|commentary]] into a SWORD module.&lt;br /&gt;
&lt;br /&gt;
==Where to get it==&lt;br /&gt;
* See [[DevTools:Modules#Collect_and_Install_Software_Tools|Collect and Install Software Tools]]&lt;br /&gt;
&lt;br /&gt;
== Current status ==&lt;br /&gt;
&lt;br /&gt;
Software bugs relating to osis2mod should be reported in http://www.crosswire.org/bugs/browse/API&lt;br /&gt;
&lt;br /&gt;
:''Please describe current status of osis2mod, including a list of any outstanding issues or unsolved difficulties''.&lt;br /&gt;
&lt;br /&gt;
==History of Changes==&lt;br /&gt;
The following outlines in reverse chronological order the major changes to osis2mod. When several changes were made over the span of a few days, they are lumped into the most recent date. Bug fixes are not mentioned.&lt;br /&gt;
&lt;br /&gt;
{|width=&amp;quot;100%&amp;quot; border=&amp;quot;0&amp;quot; class=&amp;quot;sortable&amp;quot;&lt;br /&gt;
!width=&amp;quot;10%&amp;quot;|Date&lt;br /&gt;
!Revision&lt;br /&gt;
!Feature&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2016-02-06'''&lt;br /&gt;
|&lt;br /&gt;
r3401&lt;br /&gt;
|&lt;br /&gt;
* Changed the handling of &amp;amp;lt;div type=&amp;quot;colophon&amp;quot;&amp;amp;gt; to not convert it to milestones.&lt;br /&gt;
* Added reporting of unhandled entities. (An OSIS document should not have entities other than the canonical 4 entities.)&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2014-01-21'''&lt;br /&gt;
|&lt;br /&gt;
r3011&lt;br /&gt;
|&lt;br /&gt;
* Changed the transformation of &amp;amp;lt;p&amp;amp;gt; from &amp;amp;lt;div type=&amp;quot;paragraph&amp;quot; sID=&amp;quot;xxx&amp;quot;/&amp;amp;gt; to &amp;amp;lt;div type=&amp;quot;x-p&amp;quot; sID=&amp;quot;xxx&amp;quot;/&amp;amp;gt; This is a semantic change that brings osis2mod into alignment with the OSIS specification.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2012-03-24'''&lt;br /&gt;
|&lt;br /&gt;
r2693&lt;br /&gt;
|&lt;br /&gt;
* Allow for XML comments to be in the document, but stripped from the module. This allows for large parts of a document to be commented out, which is especially important during development.&lt;br /&gt;
* Allow for &amp;amp;lt;p&amp;amp;gt; elements to be in the &amp;amp;lt;header&amp;amp;gt; element but ignored. Previously, the p in a header, having been transformed to a div, was taken to be the start of the module's content.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2011-11-12'''&lt;br /&gt;
|&lt;br /&gt;
r2671&lt;br /&gt;
|&lt;br /&gt;
* Restored pre-verse handling. Titles no longer need to be specially specified in OSIS.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2010-06-04'''&lt;br /&gt;
|&lt;br /&gt;
r2519&lt;br /&gt;
|&lt;br /&gt;
* Removed pre-verse handling. Titles now have to be specially specified in OSIS. In OSIS there should also be no tags between verse elements except title and those marking book and chapter.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-06-06'''&lt;br /&gt;
|&lt;br /&gt;
r2435&lt;br /&gt;
|&lt;br /&gt;
* Improved handling of chapter introductions.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-05-30'''&lt;br /&gt;
|&lt;br /&gt;
r2421&lt;br /&gt;
|&lt;br /&gt;
* '''-d flags''' now always available.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-05-14'''&lt;br /&gt;
|&lt;br /&gt;
r2413&lt;br /&gt;
|&lt;br /&gt;
*Added '''-d flags''' as a compile time option.&lt;br /&gt;
*Improved exit codes and documented them here.&lt;br /&gt;
*Labeled all diagnostic and debug output.&lt;br /&gt;
*Can now read from standard input.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-04-28'''&lt;br /&gt;
|&lt;br /&gt;
r2358&lt;br /&gt;
|&lt;br /&gt;
*Predictable handling of inter-verse material.&lt;br /&gt;
*All tags, except verse, included in the module.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-04-26'''&lt;br /&gt;
|&lt;br /&gt;
r2345&lt;br /&gt;
|&lt;br /&gt;
*'''-v v11n''' added to support [[Alternate Versification]].&lt;br /&gt;
*'''-s &amp;lt;2|4&amp;gt;''' added to support uncompressed commentaries with large entries (exceeding 64K bytes).&lt;br /&gt;
*Replace paragraph hack with milestoned paragraphs: &amp;amp;lt;div type=&amp;quot;paragraph&amp;quot; sID=&amp;quot;xxx&amp;quot;/&amp;gt; ... &amp;amp;lt;div type=&amp;quot;paragraph&amp;quot; eID=&amp;quot;xxx&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2008-09-11'''&lt;br /&gt;
|&lt;br /&gt;
r2196&lt;br /&gt;
|&lt;br /&gt;
*Words of Christ (WoC) can be marked up naturally. osis2mod does the right thing.&lt;br /&gt;
*Container elements converted to their milestoned form.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2008-02-29'''&lt;br /&gt;
|&lt;br /&gt;
r2141&lt;br /&gt;
|&lt;br /&gt;
*Now supports commentaries in addition to Bibles.&lt;br /&gt;
*Added utf-8 detection and automatic conversion from cp1252 and iso8859-1 to utf-8, making that the default behavior&lt;br /&gt;
*Added NFC [[Encoding#Normalization|normalization]], making it the default&lt;br /&gt;
*Now handles the full definition of an osisID and an osisRef, including workID and grain.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2007-09-27'''&lt;br /&gt;
|&lt;br /&gt;
r2090&lt;br /&gt;
|&lt;br /&gt;
*Changed command-line parsing from positional parameters to flags.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2007-05-13'''&lt;br /&gt;
|&lt;br /&gt;
r2050&lt;br /&gt;
|&lt;br /&gt;
*All whitespace tokens are converted into blanks and adjacent spaces are merged into one. Leading whitespace on each verse is still removed.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2007-05-01'''&lt;br /&gt;
|&lt;br /&gt;
r2044&lt;br /&gt;
|&lt;br /&gt;
*Added version identification to the running of osis2mod.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2007-04-24'''&lt;br /&gt;
|&lt;br /&gt;
r2038&lt;br /&gt;
|&lt;br /&gt;
*Added ignoring of unknown books&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2006-07-15'''&lt;br /&gt;
|&lt;br /&gt;
r1948&lt;br /&gt;
|&lt;br /&gt;
*Optimized writing to module.&lt;br /&gt;
*Added simple transformations of &amp;amp;lt;q&amp;gt; and &amp;amp;lt;p&amp;gt; into milestones.&lt;br /&gt;
*Now allow empty attributes, such as marker=&amp;quot;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2006-07-04'''&lt;br /&gt;
|&lt;br /&gt;
r1914&lt;br /&gt;
|&lt;br /&gt;
*Updated to support OSIS 2.1&lt;br /&gt;
*Added validation that verses in isolation are well formed&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2005-12-22'''&lt;br /&gt;
|&lt;br /&gt;
r1876&lt;br /&gt;
|&lt;br /&gt;
*Added command-line options for compress and encipher.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2005-05-02'''&lt;br /&gt;
|&lt;br /&gt;
r1790&lt;br /&gt;
|&lt;br /&gt;
*Removed &amp;amp;lt;verse&amp;gt; and &amp;amp;lt;/verse&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2005-02-03'''&lt;br /&gt;
|&lt;br /&gt;
r1707&lt;br /&gt;
|&lt;br /&gt;
*Reverted pre-verse title handling&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2004-06-12'''&lt;br /&gt;
|&lt;br /&gt;
r1620&lt;br /&gt;
|&lt;br /&gt;
*Removed pre-verse title handling&lt;br /&gt;
*Added &amp;amp;lt;verse&amp;gt; and &amp;amp;lt;/verse&amp;gt;&lt;br /&gt;
*Added support for milestoned version of some OSIS elements&lt;br /&gt;
*Added support for verses that are not in the KJV versification by appending them to the closest prior verse.&lt;br /&gt;
*Added support for osisIDs with sub-verse references (i.e. osisID grains)&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2004-05-19'''&lt;br /&gt;
|&lt;br /&gt;
r1597&lt;br /&gt;
|&lt;br /&gt;
*Added support for linked verses&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2003-11-21'''&lt;br /&gt;
|&lt;br /&gt;
r1407&lt;br /&gt;
|&lt;br /&gt;
*Added recognition for &amp;lt;chapter&amp;gt; element&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2003-05-26'''&lt;br /&gt;
|&lt;br /&gt;
r1183&lt;br /&gt;
|&lt;br /&gt;
*Initial version&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Transformations==&lt;br /&gt;
Osis2mod performs the following transformations&amp;lt;ref&amp;gt;These transformations are all performed &amp;quot;under the hood&amp;quot; as it were. Tweaking OSIS XML files to fix problems with pre-verse titles, etc., was never intended to be done by module developers as part of the preprocessing before using osis2mod.&amp;lt;/ref&amp;gt;:&lt;br /&gt;
* '''Whitespace''' -- Allows for human-readable OSIS files.&lt;br /&gt;
**Leading whitespace on books, chapters and verses is removed&lt;br /&gt;
**Whitespace is normalized into blanks&lt;br /&gt;
**Multiple adjacent whitespace is reduced to a single space&lt;br /&gt;
* '''Unicode handling''' - All modules should be UTF-8, NFC (with the possible exception of Biblical Hebrew).&lt;br /&gt;
**Latin-1 (cp1252 and iso8859-1) are converted into UTF-8&lt;br /&gt;
**UTF-8 is normalized into NFC, unless specified otherwise (i.e. by using the -N option).&lt;br /&gt;
* '''Milestone conversion''' - necessary for frontends to show a verse at a time.&amp;lt;br/&amp;gt;(note: genX is unique for an sID/eID pair, where X is a number.)&lt;br /&gt;
** &amp;amp;lt;q ...&amp;gt;...&amp;amp;lt;/q&amp;gt; is converted into &amp;amp;lt;q sID=&amp;quot;genX&amp;quot; .../&amp;gt;...&amp;amp;lt;q eID=&amp;quot;genX&amp;quot; .../&amp;gt;. Note: Quotes with who=&amp;quot;Jesus&amp;quot; are not transformed at this time.&lt;br /&gt;
** &amp;amp;lt;p ...&amp;gt;...&amp;amp;lt;/p&amp;gt; becomes &amp;amp;lt;div type=&amp;quot;paragraph&amp;quot; sID=&amp;quot;genX&amp;quot; .../&amp;gt;... &amp;amp;lt;div type=&amp;quot;paragraph&amp;quot; eID=&amp;quot;genX&amp;quot; ...&amp;gt;.&lt;br /&gt;
** &amp;amp;lt;chapter ...&amp;gt;...&amp;amp;lt;/chapter&amp;gt; becomes &amp;amp;lt;chapter sID=&amp;quot;genX&amp;quot; .../&amp;gt;...&amp;amp;lt;chapter eID=&amp;quot;genX&amp;quot; .../&amp;gt;&lt;br /&gt;
** &amp;amp;lt;closer ...&amp;gt;...&amp;amp;lt;/closer&amp;gt; becomes &amp;amp;lt;closer sID=&amp;quot;genX&amp;quot; .../&amp;gt;...&amp;amp;lt;closer eID=&amp;quot;genX&amp;quot; .../&amp;gt;&lt;br /&gt;
** &amp;amp;lt;div ...&amp;gt;...&amp;amp;lt;/div&amp;gt; becomes &amp;amp;lt;div sID=&amp;quot;genX&amp;quot; .../&amp;gt;...&amp;amp;lt;div eID=&amp;quot;genX&amp;quot; .../&amp;gt; (as of r3401, &amp;amp;lt;div type=&amp;quot;colophon&amp;quot;...&amp;gt; is unchanged)&lt;br /&gt;
** &amp;amp;lt;l ...&amp;gt;...&amp;amp;lt;/l&amp;gt; becomes &amp;amp;lt;l sID=&amp;quot;genX&amp;quot; .../&amp;gt;...&amp;amp;lt;l eID=&amp;quot;genX&amp;quot; .../&amp;gt;&lt;br /&gt;
** &amp;amp;lt;lg ...&amp;gt;...&amp;amp;lt;/lg&amp;gt; becomes &amp;amp;lt;lg sID=&amp;quot;genX&amp;quot; .../&amp;gt;...&amp;amp;lt;lg eID=&amp;quot;genX&amp;quot; .../&amp;gt;&lt;br /&gt;
** &amp;amp;lt;salute ...&amp;gt;...&amp;amp;lt;/salute&amp;gt; becomes &amp;amp;lt;salute sID=&amp;quot;genX&amp;quot; .../&amp;gt;...&amp;amp;lt;salute eID=&amp;quot;genX&amp;quot; .../&amp;gt;&lt;br /&gt;
** &amp;amp;lt;signed ...&amp;gt;...&amp;amp;lt;/signed&amp;gt; becomes &amp;amp;lt;signed sID=&amp;quot;genX&amp;quot; .../&amp;gt;...&amp;amp;lt;signed eID=&amp;quot;genX&amp;quot; .../&amp;gt;&lt;br /&gt;
** &amp;amp;lt;speech ...&amp;gt;...&amp;amp;lt;/speech&amp;gt; becomes &amp;amp;lt;speech sID=&amp;quot;genX&amp;quot; .../&amp;gt;...&amp;amp;lt;speech eID=&amp;quot;genX&amp;quot; .../&amp;gt;&lt;br /&gt;
** &amp;amp;lt;verse ...&amp;gt;...&amp;amp;lt;/verse&amp;gt; becomes (when using -d 2 for debugging.) &amp;amp;lt;milestone resp=&amp;quot;v&amp;quot; sID=&amp;quot;genX&amp;quot; ... /&amp;gt;...&amp;amp;lt;milestone resp=&amp;quot;v&amp;quot; eID=&amp;quot;genX&amp;quot; ... /&amp;gt;&lt;br /&gt;
* '''Words of Christ''' - necessary for front-ends to appropriately highlight the WOC, a verse at a time.&lt;br /&gt;
** &amp;amp;lt;q sID=&amp;quot;XXX&amp;quot; who=&amp;quot;Jesus&amp;quot; .../&amp;gt;...&amp;amp;lt;eID=&amp;quot;XXX&amp;quot; who=&amp;quot;Jesus&amp;quot; .../&amp;gt; becomes &amp;amp;lt;q who=&amp;quot;Jesus&amp;quot; marker=&amp;quot;&amp;quot;&amp;gt;&amp;amp;lt;q sID=&amp;quot;XXX&amp;quot; .../&amp;gt;...&amp;amp;lt;q eID=&amp;quot;XXX&amp;quot; .../&amp;gt;&amp;amp;lt;/q&amp;gt;&lt;br /&gt;
** &amp;amp;lt;q who=&amp;quot;Jesus&amp;quot; ...&amp;gt;...&amp;amp;lt;/q&amp;gt; becomes &amp;amp;lt;q who=&amp;quot;Jesus&amp;quot; marker=&amp;quot;&amp;quot;&amp;gt;&amp;amp;lt;q sID=&amp;quot;genX&amp;quot; .../&amp;gt;...&amp;amp;lt;q eID=&amp;quot;genX&amp;quot; .../&amp;gt;&amp;amp;lt;/q&amp;gt;&lt;br /&gt;
** Within the following construct, &amp;amp;lt;q who=&amp;quot;Jesus&amp;quot; marker=&amp;quot;&amp;quot;&amp;gt;...&amp;lt;/q&amp;gt; will surround verse text.&lt;br /&gt;
* '''Pre-Verse Titles''' (obsolete with SVN revision 2358 for the SWORD 1.6.0 release and replaced with '''InterVerse Content''')&lt;br /&gt;
** Titles immediately preceeding a verse are converted into &amp;amp;lt;title type=&amp;quot;section&amp;quot; subType=&amp;quot;x-preverse&amp;gt;...&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
** Interverse tags not in titles are appended to prior verse.&lt;br /&gt;
* '''InterVerse Content''' (introduced with SVN revision 2358 for the SWORD 1.6.0 release)&lt;br /&gt;
** InterVerse Content refers to all content not contained by the verse element.&amp;lt;ref&amp;gt;For OSIS files derived from USFM files, the implication of this requirement is the following rule:&amp;lt;BR&amp;gt;Do not place a title (or similar element) between a matching pair of verse milestones&lt;br /&gt;
except where the translation places the title somewhere within the verse text in the USFM file.&amp;lt;/ref&amp;gt;&lt;br /&gt;
** Such content is divided between the prior and the current verse.&lt;br /&gt;
** Content appended to the prior verse is not marked in any special way.&lt;br /&gt;
** Content prepended to the current verse is marked with &amp;amp;lt;div sID=&amp;quot;pvX&amp;quot; type=&amp;quot;x-milestone&amp;quot; subType=&amp;quot;x-preverse&amp;quot;/&amp;gt;...&amp;amp;lt;div eID=&amp;quot;pvX&amp;quot; type=&amp;quot;x-milestone&amp;quot; subType=&amp;quot;x-preverse&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Handling of Introductions, Titles and Inter-Verse Material==&lt;br /&gt;
SWORD looks for module, testament, book and chapter introductory material. Those introductions can have appropriate titles as well. &lt;br /&gt;
In SWORD 1.6.0 the handling of this material has changed.&lt;br /&gt;
&lt;br /&gt;
'''Note:'''&lt;br /&gt;
# In the following, the effects of the above transformations are not shown. The tagging of the pre-verse material is also not shown.&lt;br /&gt;
&lt;br /&gt;
===Module and Testament Introductions===&lt;br /&gt;
&lt;br /&gt;
At this time, osis2mod does not fully support module and testament introductions. A module introduction should be place into testament 0, book 0, chapter 0, verse 0. A testament introduction should be placed into testament 1 or 2, book 0, chapter 0, verse 0. Currently, these are placed into Genesis 0:0 or Matthew 0:0.&lt;br /&gt;
&lt;br /&gt;
===Book Introductions and Titles===&lt;br /&gt;
Book introductions and titles are straight forward. It includes the start of the book and everything following it up to, but not including the start of the chapter. See [[OSIS Bibles]] for best practices in marking up titles and introductions.&lt;br /&gt;
&lt;br /&gt;
For example:&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;book&amp;quot; ...&amp;gt;&lt;br /&gt;
 ... introductory material ...&lt;br /&gt;
 &amp;amp;lt;chapter&amp;quot;...&amp;gt;&lt;br /&gt;
will put the following into the book introduction:&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;book&amp;quot; ...&amp;gt;&lt;br /&gt;
 ... introductory material ...&lt;br /&gt;
&lt;br /&gt;
===Chapter Introductions===&lt;br /&gt;
Chapter introductions and titles are a bit problematic. Between the start of a chapter and its first verse, we could have a chapter title, a chapter introduction and/or a start of a section of verses or a titled verse. Osis2mod now handles this in a predictable fashion. From the start of the chapter up to and not including a section div or a title that has a type that is not ''main'', ''chapter'' or ''sub'', the content is chapter introduction. After that, it is part of the verse.&lt;br /&gt;
&lt;br /&gt;
Specifically, the following list gives the possible first elements following the chapter introduction.:&lt;br /&gt;
*&amp;amp;lt;div type=&amp;quot;section&amp;quot; ...&amp;gt;&lt;br /&gt;
*&amp;amp;lt;title type=&amp;quot;yyy&amp;quot; ...&amp;gt; where yyy is not ''main'', ''chapter'' or ''sub''.&lt;br /&gt;
&lt;br /&gt;
For example,&lt;br /&gt;
 &amp;amp;lt;chapter ...&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;Chapter Title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title type=&amp;quot;sub&amp;quot;&amp;gt;Chapter Subtitle&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;introduction&amp;quot;&amp;gt;... intro ...&amp;amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;section&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;A section title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;verse ...&amp;gt;...verse content...&amp;amp;lt;/verse&amp;gt;&lt;br /&gt;
will put the following into the chapter introduction:&lt;br /&gt;
 &amp;amp;lt;chapter ...&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;Chapter Title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title type=&amp;quot;sub&amp;quot;&amp;gt;Chapter Subtitle&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;introduction&amp;quot;&amp;gt;... intro ...&amp;amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
will put the following into verse 1 of that chapter&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;section&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;A section title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;verse ...&amp;gt;...verse content...&amp;amp;lt;/verse&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Between Verses===&lt;br /&gt;
Between verses we may have closing tags to finish off what was started earlier, structural opening tags (e.g. line groups, divisions, paragraphs, ...), titles and/or introductory material.&lt;br /&gt;
&lt;br /&gt;
Upon finding the close of a verse, osis2mod will append all adjacent closing tags to it. Once it finds a start tag, it will attach that to the following verse.&lt;br /&gt;
&lt;br /&gt;
For example, suppose the following is between &amp;amp;lt;/verse&amp;gt; and &amp;amp;lt;verse ...&amp;gt;:&lt;br /&gt;
 &amp;amp;lt;/lg&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;section&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;Section title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;lg&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
then it will append the following to the prior verse:&lt;br /&gt;
 &amp;amp;lt;/lg&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and will prepend the following to the current verse:&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;section&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;Section title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;lg&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Last Verse===&lt;br /&gt;
The material following the last verse of a chapter is appended to that verse. You might find:&lt;br /&gt;
 ... verse content ...&lt;br /&gt;
 &amp;amp;lt;/chapter&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;colophon&amp;quot;&amp;gt;... colophon text ...&amp;amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Exclusions==&lt;br /&gt;
Only content starting the first &amp;amp;lt;div&amp;gt; to the last &amp;amp;lt;/div&amp;gt; is retained. All other is excluded. From a practical perspective, this excludes the OSIS header information.&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
It is always preferable to use the most recent version of osis2mod and compiling it from SVN is best. &lt;br /&gt;
&lt;br /&gt;
'''Note:'''&lt;br /&gt;
# After the SWORD 1.5.9 release, osis2mod was changed to take flags rather than positional arguments.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
You are running osis2mod: $Rev: 3431 $&lt;br /&gt;
OSIS Bible/commentary module creation tool for The SWORD Project&lt;br /&gt;
&lt;br /&gt;
usage: ./osis2mod &amp;lt;output/path&amp;gt; &amp;lt;osisDoc&amp;gt; [OPTIONS]&lt;br /&gt;
  &amp;lt;output/path&amp;gt;		 an existing folder that the module will be written&lt;br /&gt;
  &amp;lt;osisDoc&amp;gt;		 path to the validated OSIS document, or '-' to&lt;br /&gt;
				 read from standard input&lt;br /&gt;
  -a			 augment module if exists (default is to create new)&lt;br /&gt;
  -z &amp;lt;l|z|b|x&amp;gt;		 compression type (default: none)&lt;br /&gt;
				 l - LZSS; z - ZIP; b - bzip2; x - xz&lt;br /&gt;
  -b &amp;lt;2|3|4&amp;gt;		 compression block size (default: 4)&lt;br /&gt;
				 2 - verse; 3 - chapter; 4 - book&lt;br /&gt;
  -l &amp;lt;1-9&amp;gt;		 compression level (default varies by compression type)&lt;br /&gt;
  -c &amp;lt;cipher_key&amp;gt;	 encipher module using supplied key&lt;br /&gt;
				 (default no enciphering)&lt;br /&gt;
  -e &amp;lt;1|2|s&amp;gt;		 convert Unicode encoding (default: 1)&lt;br /&gt;
				 1 - UTF-8 ; 2 - UTF-16 ; s - SCSU&lt;br /&gt;
  -N			 do not normalize to NFC&lt;br /&gt;
  -s &amp;lt;2|4&amp;gt;		 bytes used to store entry size (default is 2).&lt;br /&gt;
  -v &amp;lt;v11n&amp;gt;		 specify a versification scheme to use (default is KJV)&lt;br /&gt;
				 Note: The following are valid values for v11n:&lt;br /&gt;
				   Calvin      	Catholic    	Catholic2   &lt;br /&gt;
				   DarbyFr     	German      	KJV         &lt;br /&gt;
				   KJVA        	LXX         	Leningrad   &lt;br /&gt;
				   Luther      	MT          	NRSV        &lt;br /&gt;
				   NRSVA       	Orthodox    	Segond      &lt;br /&gt;
				   Synodal     	SynodalProt 	Vulg        &lt;br /&gt;
  -h 			 print verbose usage text&lt;br /&gt;
&lt;br /&gt;
See http://www.crosswire.org/wiki/osis2mod for more details.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Earlier builds (e.g. $Rev: 2893 $) also included the debug option help: See [[Osis2mod#Debug_Messages|Debug Messages]].&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
  -d &amp;lt;flags&amp;gt;		 turn on debugging (default is 0)&lt;br /&gt;
				 Note: This flag may change in the future.&lt;br /&gt;
				 Flags: The following are valid values:&lt;br /&gt;
					0   - no debugging&lt;br /&gt;
					1   - writes to module, very verbose&lt;br /&gt;
					2   - verse start and end&lt;br /&gt;
					4   - quotes, esp. Words of Christ&lt;br /&gt;
					8   - titles&lt;br /&gt;
					16  - inter-verse material&lt;br /&gt;
					32  - BSP to BCV transformations&lt;br /&gt;
					64  - v11n exceptions&lt;br /&gt;
					128 - parsing of osisID and osisRef&lt;br /&gt;
					256 - internal stack&lt;br /&gt;
					512 - miscellaneous&lt;br /&gt;
				 This argument can be used more than once. (Or&lt;br /&gt;
				 the flags may be added together.)&lt;br /&gt;
&lt;br /&gt;
See http://www.crosswire.org/wiki/osis2mod for more details.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== Parameters and Options ===&lt;br /&gt;
'''&amp;amp;lt;output/path&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This a path to any existing directory. It is best for it to be empty.&lt;br /&gt;
&lt;br /&gt;
'''&amp;amp;lt;osisDoc&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This is a single, well-formed, valid OSIS document.&lt;br /&gt;
&lt;br /&gt;
If '''-''' is used instead of a file name, the document will be read from standard input. This allows for two constructs:&lt;br /&gt;
* Redirection&lt;br /&gt;
 osis2mod ./modules/texts/ztext/KJV - &amp;lt; kjv.xml&lt;br /&gt;
* Piping&lt;br /&gt;
 cat kjv.xml | osis2mod ./modules/texts/ztext/KJV -&lt;br /&gt;
&lt;br /&gt;
'''-a'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Osis2mod can create a Bible all at once or incrementally, depending on the presence of the -a flag. This&lt;br /&gt;
provides for two abilities,&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Assembling a Bible from book files:&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir /tmp/mymodule&lt;br /&gt;
osis2mod /tmp/mymodule  matt.xml&lt;br /&gt;
osis2mod /tmp/mymodule -a mark.xml&lt;br /&gt;
...&lt;br /&gt;
osis2mod /tmp/mymodule -a rev.xml&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
'''Note:''' The book files can be in any order. SWORD will order them correctly in the index.&lt;br /&gt;
&amp;lt;li&amp;gt;Adding corrections to a Bible:&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
osis2mod /tmp/mymodule -a fixes.xml&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
'''Note:''' When fixes are put into the module they are appended to the data file and do not actually replace the verses. The index file is adjusted to point to the new place in the data file.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''-z &amp;amp;lt;l|z|b|x&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
A SWORD Bible can be compressed with Zip (-z z), LZSS (-z l), BZip2 (-z b) '''or''' XZ (-lx). All of CrossWire's compressed Bible and commentary modules are compressed with Zip. This saves significant space over an uncompressed module. Uncompressed modules are useful for debugging.&lt;br /&gt;
&lt;br /&gt;
'''-b &amp;amp;lt;2|3|4&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This setting is only useful for a compressed module. The choice as to whether to use Verse (2), Chapter (3) or Book (4, the default) level compression depends upon the amount of data in the block. A typical Bible is best compressed book by book. A commentary, chapter by chapter. If the commentary is very robust and the amount of text per verse is really huge, then verse compression might make sense.&lt;br /&gt;
&lt;br /&gt;
All of SWORD's compressed Bible modules are compressed by book. Basically, all of the verses in a block are compressed and appended to the data file. For this reason, the datafile cannot be uncompressed by anything other than the SWORD and JSword libraries.&lt;br /&gt;
&lt;br /&gt;
When creating the module by appending it is important to do so by whole compression block. That is, if blockType is Chapter, then the osisDoc needs to contain one or more whole chapters.&lt;br /&gt;
&lt;br /&gt;
'''-l [1-9]'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This setting is useful for a compressed module and provides the level of compression to be used. The default varies depending on the compressor used. The default is typically used.&lt;br /&gt;
&lt;br /&gt;
'''-c cipherKey'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This is typically 16 characters in length, having no leading or trailing spaces, consisting of alternating sets of 4 alpha and 4 numeric characters, such as Aduf0274PjNq0328. The key is case-sensitive.&lt;br /&gt;
&lt;br /&gt;
'''-e &amp;amp;lt;1|2|s&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This flag gives whether the input is to be converted to UTF-8, UTF-16, or SCSU. By default the encoding is UTF-8. Using UTF-16 is reasonable for non-latin texts with little markup. SCSU will compress the Unicode, but it has not been sufficiently tested, requires [[DevTools:ICU|ICU]] support when compiling osis2mod and when running (not all frontends do).&lt;br /&gt;
&lt;br /&gt;
'''-N'''&amp;lt;br/&amp;gt;&lt;br /&gt;
All OSIS modules should be UTF-8 and all that are UTF-8 are also to be NFC. The default is to automatically detect the presense of Latin-1 (either cp1252 or iso8859-1) and convert it to UTF-8 and to normalize UTF-8 to NFC. This flag will turn off this behavior and is useful for creating Latin-1 modules or for modules for which the source text is already UTF-8 and NFC. It is also advised for Biblical Hebrew modules for which the source text (with accents and cantillation points) is intentionally not normalized, as &amp;quot;Unicode normalization can easily break Biblical Hebrew&amp;quot;. Quoted from page 9 of the SBL Hebrew Font Manual.&amp;lt;ref&amp;gt;See https://www.sbl-site.org/Fonts/SBLHebrewUserManual1.5x.pdf&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note: this was added late Feb 2008 and requires [[DevTools:ICU|ICU]] support when compiling.&lt;br /&gt;
&lt;br /&gt;
'''-s &amp;amp;lt;2|4&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
A value of 2, the default, restricts modules to 64K bytes per entry. A value of 4, breaks this barrier. This is needed for Bibles, having large introductory materials, and for commentaries with large entries.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' 4 was added late Apr 2009 for raw, uncompressed modules and will be part of the SWORD 1.6.0 release (formerly known as 1.5.11). A later release extended support to compressed modules.&lt;br /&gt;
&lt;br /&gt;
'''-v v11n'''&amp;lt;br/&amp;gt;&lt;br /&gt;
By default, osis2mod uses the KJV versification. The practical implication of this is that only books in the KJV canon are allowed and any text in an allowed book are retained. However, if the verse reference of a supported book falls outside of the versification it is appended to the prior verse in the canon. This flag allows for an [[Alternate Versification|alternate versification]].&lt;br /&gt;
&lt;br /&gt;
'''Note:''' This option was added in April 2009 as part of the SWORD 1.6.0 release.&lt;br /&gt;
&lt;br /&gt;
'''-d flags'''&amp;lt;br/&amp;gt;&lt;br /&gt;
The flag can be used more than once or the flags can be added together. For example,&lt;br /&gt;
 -d 2 -d 4&lt;br /&gt;
is the same as&lt;br /&gt;
 -d 6&lt;br /&gt;
&lt;br /&gt;
To do verbose debugging use:&lt;br /&gt;
 -d -1&lt;br /&gt;
&lt;br /&gt;
For the most part these flags are not intended for debugging modules, but rather for debugging problems in osis2mod.&lt;br /&gt;
&lt;br /&gt;
The -d 2 flag produces no output but puts milestones into the module where verses start and end. The form of the milestone is:&lt;br /&gt;
 &amp;amp;lt;milestone resp=&amp;quot;v&amp;quot; [attributes from verse] /&amp;gt;&lt;br /&gt;
The milestone will contain the osisID from the verse and also a valid sID or eID. The sID/eID indicates the start of end of the verse.&lt;br /&gt;
&lt;br /&gt;
Note: the -d 2 flag might change at any time, or may even be removed.&lt;br /&gt;
&lt;br /&gt;
==Messages==&lt;br /&gt;
Osis2mod has robust, mind-boggling messages. These are provided here in hopes that it will help problem diagnosis.&lt;br /&gt;
&lt;br /&gt;
===Exit Status===&lt;br /&gt;
When an error occurs that causes osis2mod to exit without processing the entire input file, a non-zero exit status is supplied to the caller. Here are the codes that osis2mod uses:&lt;br /&gt;
 const int EXIT_BAD_ARG     =   1; // Bad parameter given for program&lt;br /&gt;
 const int EXIT_NO_WRITE    =   2; // Could not open the module for writing&lt;br /&gt;
 const int EXIT_NO_CREATE   =   3; // Could not create the module&lt;br /&gt;
 const int EXIT_NO_READ     =   4; // Could not open the input file for reading.&lt;br /&gt;
 const int EXIT_BAD_NESTING =   5; // BSP or BCV nesting is bad or improper XML comment&lt;br /&gt;
&lt;br /&gt;
===Diagnostic Messages===&lt;br /&gt;
In the following, example values are given in '''[...]'''. The brackets do not actually appear in the message. Also, the messages are a bit prettier here than in reality.&lt;br /&gt;
 WARNING(UTF8):     '''[ osisID ]''': Should be converted to UTF-8 ('''[ text ]''')&lt;br /&gt;
The program will always check for text that is not UTF-8.&lt;br /&gt;
&lt;br /&gt;
 INFO(UTF8):        '''[ osisID ]''': Converting to UTF-8 ('''[ text before conversion ]''')&lt;br /&gt;
Text that is converted to UTF-8 is noted.&lt;br /&gt;
&lt;br /&gt;
 ERROR(UTF8):       '''[ osisID ]''': Converting to UTF-8 ('''[ text after first conversion ]''')&lt;br /&gt;
It is an error if after a conversion it still is not UTF-8.&lt;br /&gt;
&lt;br /&gt;
 WARNING(UTF8):     osis2mod is not compiled with support for ICU. Ignoring -n flag.&lt;br /&gt;
Normalization was requested, but since osis2mod was not compiled for it, it cannot honor the default request.&lt;br /&gt;
&lt;br /&gt;
 INFO(V11N):        '''[ osisID ]''' is not in the '''[ v11n ]''' versification.&lt;br /&gt;
Indicates that a verse is not in the versification.&lt;br /&gt;
&lt;br /&gt;
 INFO(V11N):        '''[ osisID ]''' is not in the '''[ v11n ]''' versification. Appending content to '''[ osisID ]'''&lt;br /&gt;
This like the other indicates a versification problem, but shows where the text will be found. Osis2mod preserves all module content for supported books.&lt;br /&gt;
&lt;br /&gt;
 WARNING(V11N): New book is '''[ name ]'''  and is not in '''[ v11n ]''' versification, ignoring&lt;br /&gt;
The name of the book was not recognized as belonging to the chosen versification, it and all of it's content is ignored.&lt;br /&gt;
&lt;br /&gt;
 INFO(WRITE):       Appending entry: '''[ osisID ]''': '''[ text so far ]'''&lt;br /&gt;
If osis2mod encounters text that needs to be appended to a verse that is already in the module. This could indicate that&lt;br /&gt;
* the reference is in the input twice. This typically indicates a problem.&lt;br /&gt;
* more text was found that needs to be added to the prior verse.&lt;br /&gt;
* osis2mod is being run in append mode to fix a verse in the module.&lt;br /&gt;
&lt;br /&gt;
 INFO(LINK):        Linking '''[ osisID ]''' to '''[ osisID ]'''&lt;br /&gt;
An osisID such as &amp;quot;Gen.1.1 Gen.1.2 Gen.1.3&amp;quot; was used and the latter are linked to the first.&lt;br /&gt;
&lt;br /&gt;
 ERROR(REF):        Invalid osisID/annotateRef: '''[ invalid attribute value ]'''&lt;br /&gt;
This indicates that the SWORD library was unable to parse the osisID or annotateRef.&lt;br /&gt;
&lt;br /&gt;
 FATAL(NESTING):    '''[ currentOsisID ]''': tag expected&lt;br /&gt;
This indicates that the specified verse is not balanced with regard to its tags. Building a raw text module, looking in the module for the verse and pairing begin/end tags will help find the problem. Typically, this indicates an end tag that did not have a matching begin tag and all tags before it were properly paired.&lt;br /&gt;
&lt;br /&gt;
 FATAL(NESTING):    '''[ currentOsisID ]''': Expected '''[ topToken.getName() ]''' found '''[ tokenName ]'''&lt;br /&gt;
This also indicates that the specified verse is not balanced with regard to its tags. Building a raw text module, looking in the module for the verse and pairing begin/end tags will help find the problem. It could be either a begin or an end tag problem.&lt;br /&gt;
&lt;br /&gt;
 WARNING(NESTING):  verse '''[ currentOsisID ]''' is not well formed:('''[ verseDepth ]''','''[ tagDepth ]''')&lt;br /&gt;
This indicates that the verse probably will not show properly in some front-ends in some circumstances. Typically, it shows the problem if the verse is shown in isolation.&lt;br /&gt;
&lt;br /&gt;
 ERROR(NESTING):    improper nesting '''[ currentOsisID ]''': matching (sID,eID) not found. Looking at ('''[ sID ]''','''[ eID ]''')&lt;br /&gt;
OSIS specifies that every sID has a matching eID. Osis2mod is checking that BSP elements are properly nested.&lt;br /&gt;
&lt;br /&gt;
 FATAL(COMMENTS): unknown commentstate on comment start: [ comment state ]&lt;br /&gt;
This indicates that the comment is not of the form &amp;amp;lt;!-- ... --&amp;amp;gt;.&lt;br /&gt;
&lt;br /&gt;
 FATAL(COMMENTS): unknown commentstate on comment end:  [ comment state ]&lt;br /&gt;
This indicates that the comment is not of the form &amp;amp;lt;!-- ... --&amp;amp;gt;.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE): malformed entity, replacing &amp;amp;amp;'''[ malformed entity ]''' with &amp;amp;amp;amp;'''[ malformed entity ]'''&lt;br /&gt;
This means it found a &amp;amp;amp; that starts an entity but it wasn't terminated by a ; and changed it to something that probably isn't appropriate.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE): HEX entity must begin with &amp;amp;amp;x, found '''[ entity ]'''&lt;br /&gt;
This indicates &amp;amp;X, which is not valid for xml. It is not changed.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE): SWORD does not search HEX entities, found '''[ entity ]'''&lt;br /&gt;
 WARNING(PARSE): SWORD does not search numeric entities, found '''[ entity ]'''&lt;br /&gt;
Since we don't transform HEX or numeric entities to their equivalent UTF-8 value, this will be literal text that cannot be searched.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE): XML only supports 5 Character entities &amp;amp;amp;amp;, &amp;amp;amp;lt;, &amp;amp;amp;gt;, &amp;amp;amp;quot; and &amp;amp;amp;apos;, found '''[ entity ]'''&lt;br /&gt;
XML does not allow character entities. These are passed unchanged to SWORD module. This frustrates search and may only display properly in a front-end using HTML rendering.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE): &amp;amp;amp;quot; is unnecessary outside of attribute values. Replace with &amp;quot;.&lt;br /&gt;
 WARNING(PARSE): &amp;amp;amp;quot; is unnecessary inside single quoted attribute values. Replace with &amp;quot;.&lt;br /&gt;
 WARNING(PARSE): &amp;amp;amp;quot; is only needed within double quoted attribute values. Considering using single quoted attribute and replacing with &amp;quot;.&lt;br /&gt;
 WARNING(PARSE): &amp;amp;amp;apos; is only needed within single quoted attribute values. Considering using double quoted attribute and replacing with '.&lt;br /&gt;
 WARNING(PARSE): &amp;amp;amp;apos; is unnecessary inside double quoted attribute values. Replacing with '.&lt;br /&gt;
 WARNING(PARSE): &amp;amp;amp;apos; is unnecessary outside of attribute values. Replacing with '.&lt;br /&gt;
The &amp;amp;amp;apos; or &amp;amp;amp;quot; was found outside of an attribute value and is being substituted with a straight single apostrophe, ', or double quote, &amp;quot;, respectively.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE): While valid for XML, &amp;amp;amp;quot; is only needed within double quoted attribute values.&lt;br /&gt;
This warning indicates that the entity is present where it does not need to be.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE): While valid for XML, XHTML does not support &amp;amp;amp;apos;.&lt;br /&gt;
This warning indicates that the &amp;amp;amp;apos; may not display properly in all front-ends. It was found in an attribute value.&lt;br /&gt;
&lt;br /&gt;
===Debug Messages===&lt;br /&gt;
The following are shown in the same form as the diagnostic messages above. They are given without comment.&lt;br /&gt;
&lt;br /&gt;
'''-d 1'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Output of what is being written to the module. The two osisIDs should always be the same.&lt;br /&gt;
 DEBUG(WRITE):      '''[ osisID ]''':'''[ osisID ]''': '''[ text so far ]'''&lt;br /&gt;
&lt;br /&gt;
'''-d 4'''&amp;lt;br/&amp;gt;&lt;br /&gt;
A stack is maintained to represent the Words of Christ on a per verse basis. This is internal diagnostic of that stack&lt;br /&gt;
 DEBUG(QUOTE):      '''[ currentOsisID ]''': quote top('''[ quote stack size ]''') '''[ token ]'''&lt;br /&gt;
 DEBUG(QUOTE):      '''[ currentOsisID ]''': quote pop('''[ quote stack size ]''') '''[ topToken ]''' -- '''[ token ]'''&lt;br /&gt;
 DEBUG(QUOTE):      '''[ currentOsisID ]''': ('''[ quote stack size ]''') '''[ topToken ]''' -- '''[ token ]'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''-d 8'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Identifies when book and chapter introductions are being determined.&lt;br /&gt;
 DEBUG(TITLE):      '''[ currentOsisID ]''': OOPS INTRO&lt;br /&gt;
         inChapterIntro = '''[ inChapterIntro ]'''&lt;br /&gt;
         inBookIntro    = '''[ inBookIntro ]'''&lt;br /&gt;
 DEBUG(TITLE):      '''[ currentOsisID ]''': Looking for book introduction&lt;br /&gt;
 DEBUG(TITLE):      '''[ currentOsisID ]''': Done looking for book introduction&lt;br /&gt;
 DEBUG(TITLE):      '''[ currentOsisID ]''': BOOK INTRO '''[ beading ]'''&lt;br /&gt;
 DEBUG(TITLE):      '''[ currentOsisID ]''': Looking for chapter introduction&lt;br /&gt;
 DEBUG(TITLE):      '''[ currentOsisID ]''': Done looking for chapter introduction&lt;br /&gt;
 DEBUG(TITLE):      '''[ currentOsisID ]''': CHAPTER INTRO '''[ heading ]'''&lt;br /&gt;
&lt;br /&gt;
'''-d 16'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Inter-verse material either goes with the prior &amp;quot;verse&amp;quot; or the next. This help diagnose problems related to that split.&lt;br /&gt;
 DEBUG(INTERVERSE): '''[ currentOsisID ]''': interverse start token '''[ token ]''':'''[ text ]'''&lt;br /&gt;
 DEBUG(INTERVERSE): '''[ currentOsisID ]''': interverse end tag: '''[ tokenName ]'''('''[ tagDepth ]''','''[ chapterDepth ]''','''[ bookDepth ]''')&lt;br /&gt;
 DEBUG(INTERVERSE): '''[ currentOsisID ]''': appending interverse end tag: '''[tokenName ]'''('''[ tagDepth ]''','''[ chapterDepth ]''','''[ bookDepth ]''')&lt;br /&gt;
&lt;br /&gt;
'''-d 32'''&amp;lt;br/&amp;gt;&lt;br /&gt;
The following messages relate to the transformations of containers to milestones.&lt;br /&gt;
 DEBUG(XFORM):      '''[ currentOsisID ]''': xform empty '''[ token ]'''&lt;br /&gt;
 DEBUG(XFORM):      '''[ currentOsisID ]''': xform push ('''[ bspTagStack.size() ]''') '''[ token ]''' (tagname='''[ tagName ]''')&lt;br /&gt;
 DEBUG(XFORM):      '''[ currentOsisID ]''': xform top('''[ bsp stack size ]''') '''[ topToken ]'''&lt;br /&gt;
 DEBUG(XFORM):      '''[ currentOsisID ]''': xform pop('''[ bsp stack size ]''') '''[ topToken ]'''&lt;br /&gt;
&lt;br /&gt;
'''-d 64'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Occasionally a verse reference is outside of the chosen versification. These messages help to understand difficulties that osis2mod has in storing extra-canonical material in the module.&lt;br /&gt;
 DEBUG(V11N):       '''[ currentOsisID ]''' normalizes to '''[ after ]'''&lt;br /&gt;
 DEBUG(V11N):       Chapter max:'''[ chapterMax ]''', Verse Max:'''[ verseMax ]'''&lt;br /&gt;
&lt;br /&gt;
'''-d 128'''&amp;lt;br/&amp;gt;&lt;br /&gt;
OSIS ids and references can be of a form that SWORD cannot parse. Osis2mod contains a routine that munges these into a form that SWORD can understand.&lt;br /&gt;
 DEBUG(REF):        Copy range marker: '''[ marker ]'''&lt;br /&gt;
 DEBUG(REF):        Found a work prefix '''[ workPrefix ]'''&lt;br /&gt;
 DEBUG(REF):        Copy osisID:'''[ osisID ]'''&lt;br /&gt;
 DEBUG(REF):        Found a grain suffix '''[ grain ]'''&lt;br /&gt;
 DEBUG(REF):        Found a range&lt;br /&gt;
 DEBUG(REF):        replacing space with ;. Remaining: '''[ text ]'''&lt;br /&gt;
 DEBUG(REF):        shortended keyVal to`'''[ text ]'''`&lt;br /&gt;
&lt;br /&gt;
'''-d 256'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Osis2mod contains two stacks to validate proper nesting of BSP and BCV, respectively. This is an internal representation of the BCV stacks. It provides additional information to understand the diagnostic nesting messages.&lt;br /&gt;
 DEBUG(STACK):      '''[ currentOsisID ]''': push ('''[ stack size]''') '''[ tokenName ]'''&lt;br /&gt;
 DEBUG(STACK):      '''[ currentOsisID ]''': pop('''[ tagDepth ]''') '''[ topToken.getName() ]'''&lt;br /&gt;
&lt;br /&gt;
'''-d 512'''&amp;lt;br/&amp;gt;&lt;br /&gt;
These are general debug messages.&lt;br /&gt;
 DEBUG(FOUND):        Found first div and pitching prior material: '''[ text ]'''&lt;br /&gt;
 DEBUG(FOUND):        New book is '''[ currentOsisID ]'''&lt;br /&gt;
 DEBUG(FOUND):        Current chapter is '''[ currentOsisID ]''' ('''[ osisID attribute value ]''')&lt;br /&gt;
 DEBUG(FOUND):        Entering verse&lt;br /&gt;
 DEBUG(FOUND):        New current verse is '''[ currentOsisID ]'''&lt;br /&gt;
 DEBUG(FOUND):        osisID/annotateRef is adjusted to: '''[ simpler osisID or osisRef ]'''&lt;br /&gt;
 DEBUG(COMMENTS): in comment&lt;br /&gt;
 DEBUG(COMMENTS): out of comment&lt;br /&gt;
&lt;br /&gt;
'''-d 512'''&amp;lt;br/&amp;gt;&lt;br /&gt;
The following gives the input arguments.&lt;br /&gt;
 DEBUG(ARGS):&lt;br /&gt;
         path:         '''[ path ]'''&lt;br /&gt;
         osisDoc:      '''[ osisDoc ]'''&lt;br /&gt;
         create:       '''[ append ]'''&lt;br /&gt;
         compressType: '''[ compType ]'''&lt;br /&gt;
         blockType:    '''[ iType ]'''&lt;br /&gt;
         cipherKey:    '''[ cipherKey ]'''&lt;br /&gt;
         normalize:    '''[ normalize ]'''&lt;br /&gt;
&lt;br /&gt;
== Future Roadmap ==&lt;br /&gt;
:''List here suggestions for useful enhancements to or improvements for osis2mod''.&lt;br /&gt;
&lt;br /&gt;
* Add a command line flag '''-e''' to ''exclude'' all OSIS elements with the global attribute '''editions'''.&amp;lt;ref&amp;gt;The '''editions''' attribute is used to specify edition specific content, such as material omitted in Protestant versions of the Bible.&amp;lt;/ref&amp;gt;&amp;lt;BR&amp;gt;osis2mod would exclude those elements that match the specified attribute value.&lt;br /&gt;
&lt;br /&gt;
'''Note:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Reporting issues ==&lt;br /&gt;
* [http://www.crosswire.org/tracker/browse/MODTOOLS/component/10290/ Module Tools &amp;amp;ndash; osis2mod]&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Osis2mod testcases]]&lt;br /&gt;
* [[OSIS]] &amp;amp;ndash; a partial list of other OSIS related pages and external links.&lt;br /&gt;
* [[Mod2osis]] ''&amp;amp;ndash; deprecated''&lt;br /&gt;
* [[Mod2zmod]]&lt;br /&gt;
&lt;br /&gt;
[[Category:OSIS]]&lt;br /&gt;
[[Category:Utilities]]&lt;br /&gt;
[[Category:Versification]]&lt;/div&gt;</summary>
		<author><name>Dmsmith</name></author>	</entry>

	<entry>
		<id>https://wiki.crosswire.org/index.php?title=CrossWire_KJV&amp;diff=15123</id>
		<title>CrossWire KJV</title>
		<link rel="alternate" type="text/html" href="https://wiki.crosswire.org/index.php?title=CrossWire_KJV&amp;diff=15123"/>
				<updated>2016-05-11T16:03:42Z</updated>
		
		<summary type="html">&lt;p&gt;Dmsmith: /* Module Versions */ Added links to source under the revision column for 2.6 and later.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;:''This page is a work in progress''.&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
The KJV module was one of the earliest to be released and distributed by CrossWire after '''The SWORD Project''' was launched. It remains one of the most frequently downloaded modules in all our repositories.&lt;br /&gt;
&lt;br /&gt;
The KJV module text is based substantially on the '''1769 Oxford Edition''' (the basis for all modern editions), not the original 1611 first edition. See our [[EnduserFAQ#Do_you_have_the_original_King_James.2FAuthorized_Version.3F|FAQ]].&lt;br /&gt;
&lt;br /&gt;
This is the only module maintained by CrossWire volunteers. It is marked up in OSIS XML. All other modules are based on source text from external providers.&lt;br /&gt;
&lt;br /&gt;
== Provenance and Acknowledgements ==&lt;br /&gt;
Strong's numbers provide a useful means for looking up the exact original language word in a lexicon that is keyed to [http://en.wikipedia.org/wiki/Strong's_Concordance Strong's Concordance].&lt;br /&gt;
&lt;br /&gt;
[http://en.wikipedia.org/wiki/Morphology_%28linguistics%29 Morphology] data provides a means to understand the structure of the original language's morphemes and other linguistic units.&lt;br /&gt;
&lt;br /&gt;
* The Strong's numbers in the OT were obtained from [http://www.bf.org/ The Bible Foundation]&lt;br /&gt;
* The Strong's data in the NT was obtained from the [[CrossWire_KJV#Text_Development_Stages|KJV2003 Project]] at CrossWire.&lt;br /&gt;
&lt;br /&gt;
Special thanks to the volunteers at Bible Foundation for keying the Hebrew/English data and of Project KJV2003 for working toward the completion of synchronizing the English phrases to the Stephanas [http://en.wikipedia.org/wiki/Textus_Receptus Textus Receptus], and to Dr. Maurice Robinson for providing the base Greek text with Strong's and Morphology.&lt;br /&gt;
&lt;br /&gt;
We are also appreciative of formatting markup that was provided by [http://www.ebible.org Michael Paul Johnson]. &lt;br /&gt;
&lt;br /&gt;
Their time and generosity to contribute such for the free use of the Body of Christ is a great blessing and this derivitive work could not have been possible without these efforts of so many individuals.  It is in this spirit that we in turn offer the KJV2003 Project text and its successors freely for any purpose.&lt;br /&gt;
&lt;br /&gt;
We are also appreciative for the feedback reports over the years from several individuals that have enabled us to fix minor text and markup issues by comparison with the reference texts.&lt;br /&gt;
&lt;br /&gt;
== Reference Text ==&lt;br /&gt;
The CrossWire KJV is meant to be the faithful e-text edition&amp;lt;ref&amp;gt;With added features suited to the digital age we live in.&amp;lt;/ref&amp;gt; of [http://en.wikipedia.org/wiki/Benjamin_Blayney Benjamin Blayney's] 1769 Oxford edition of the KJV&amp;lt;ref&amp;gt;Excluding the Apocrypha.&amp;lt;/ref&amp;gt; (hereafter called 1769 KJV). To that end we required it to be diligently checked against a reference standard for accuracy. Finding a reference text was a daunting task. What is known today as the KJV has been changed on a regular basis since it's first publication to today.&amp;lt;ref&amp;gt;Refer to [http://en.wikipedia.org/wiki/Frederick_Henry_Ambrose_Scrivener F H A Scrivener] and to the [http://en.wikipedia.org/wiki/New_Cambridge_Paragraph_Bible New Cambridge Paragraph Bible].&amp;lt;/ref&amp;gt; Some of these changes are well known; others are quietly done by publishers.&lt;br /&gt;
&lt;br /&gt;
There also was a need to have a reference for red-letter text. This too varied from one modern KJV to another.&lt;br /&gt;
&lt;br /&gt;
:''See also [[User:Dmsmith/KJV_2.6#Reference_text_policy]]''.&lt;br /&gt;
&lt;br /&gt;
===Need for a reference text===&lt;br /&gt;
Ideally, the reference standard would be a faithful electronic copy of 1769 KJV. When CrossWire's KJV2006 Project was started there was no such text either as a facsimile or eText. In lieu of that, finding an acceptable text was needed to arbitrate the claims that &amp;quot;my KJV is right and it is different from what you have.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
We compared our text with two independent 1769 KJV eTexts (CCEL and InterLeaf). All of the other eTexts we found seemed to be one of these three. Those comparisons yielded differences that needed to be verified in an independent text. Thus the need for *a* dead tree text. While working on the KJV2006 release, several websites that were dedicated to producing a &amp;quot;true&amp;quot; text were abandoned with chagrin that it is not a doable task apart from having a facsimile of the 1769 KJV, which was not known.&lt;br /&gt;
&lt;br /&gt;
One criteria was finding a text that the [http://en.wikipedia.org/wiki/King_James_Only_movement KJV-only] adherents felt was more accurate 1769 KJV text. Using various listings of differences between current and &amp;quot;true&amp;quot;, dozens of dead tree texts in several stores were examined. Also, it was important to avoid copyright claims based upon minor changes in the text. Both combined to come up with the Public Domain [http://en.wikipedia.org/wiki/Scofield_Reference_Bible Old Scofield Study Bible]&amp;lt;ref&amp;gt;The use of the Scofield in no way implies our endorsement of the extensive non-canonical study notes therein.&amp;lt;/ref&amp;gt;. The Biblical text was thought to be one of the most faithful copies of the 1769 Oxford Edition.&amp;lt;ref&amp;gt;i.e. Even by those in the KJV Only movement.&amp;lt;/ref&amp;gt; It was published in 1917, which was important in terms of USA copyright law. It was also considered to be a faithful red-letter text.&lt;br /&gt;
&lt;br /&gt;
We are in the process of obtaining a hard copy facsimile of the &amp;quot;Blayney&amp;quot; 1769 KJV text. This will be the reference text going forward.&lt;br /&gt;
&lt;br /&gt;
===Need for a reference red-letter text===&lt;br /&gt;
Red-Letter text is a fairly recent addition to the 1769 KJV. In 1899, Louis Klopsch proposed rendering the words of Christ in red letters. His work was published in 1901. Recently (2016-01-28), we've obtained Louis Klopsch's 1901 edition of the KJV and will use that as the future reference for red-letter text.&lt;br /&gt;
&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Chosen Texts===&lt;br /&gt;
The public domain Old Scofield Study Bible was used for version 2.3 to 2.10 for text and for version 2.3 to 2.9 for red-letter markup.&lt;br /&gt;
&lt;br /&gt;
The Louis Klopsch 1901 KJV is used for red-letter markup for 2.10 and later.&lt;br /&gt;
&lt;br /&gt;
The 1769 KJV facsimile is used for text, front-matter, notes, cross-references, titles, .... for versions after 2.11.&lt;br /&gt;
* The Holy Bible, Containing the Old and New Testaments: Volume 1 of 4, ISBN: 9781171169826&lt;br /&gt;
* The Holy Bible, Containing the Old and New Testaments: Volume 2 of 4, ISBN: 9781171169819&lt;br /&gt;
* The Holy Bible, Containing the Old and New Testaments: Volume 3 of 4, ISBN: 9781171169802&lt;br /&gt;
* The New Testament of Our Lord and Saviour Jesus Christ,&amp;lt;br/&amp;gt;Translated Out of the Original Greek:&amp;lt;br/&amp;gt;And with the Former Translations Diligently Compared and Revised,&amp;lt;br/&amp;gt;by His Majesty's Special Command. Appointed to by Read in Churches.&amp;lt;br/&amp;gt;Volume 4 of 4, ISBN: 9781171169796&lt;br /&gt;
&lt;br /&gt;
A scanned copy of the 1769 KJV is also available at http://www.originalbibles.com/1769-king-james-bible-benjamin-blayney/&lt;br /&gt;
:''Currently this is only for the books Genesis to Jeremiah''.&lt;br /&gt;
&lt;br /&gt;
== Copyright ==&lt;br /&gt;
Any copyright that might be obtained for this effort is held by the CrossWire Bible Society © 2003-2016 and the CrossWire Bible Society hereby grants a general public license to use this text for any purpose.&lt;br /&gt;
&lt;br /&gt;
CrossWire's KJV module is an amalgamation of different source material. Each has its own copyright or is in the public domain.&lt;br /&gt;
* The actual text validated against 2 independent eTexts and found differences against our hard-copy reference for such.&lt;br /&gt;
* The [http://en.wikipedia.org/wiki/Red_letter_edition Red Letter] markup of the words of Christ have been validated against our hard-copy reference for such.&lt;br /&gt;
* The Strong's numbers in the OT are from [http://www.bf.org/ The Bible Foundation].&lt;br /&gt;
* The Strong's numbers in the NT are from [http://apps.sebts.edu/FacultyUploads/Maurice%20Robinson%20CV.pdf Dr Maurice A. Robinson], Senior Professor of New Testament and Greek at [http://en.wikipedia.org/wiki/Southeastern_Baptist_Theological_Seminary Southeastern Baptist Theological Seminary] in North Carolina.&lt;br /&gt;
* The OSIS XML markup is a unique effort that began with our KJV2003 project &amp;amp;ndash; Copyright © 2003-2016 The CrossWire Bible Society.&lt;br /&gt;
* The tagging of Strong's numbers to the NT text is a unique effort of our KJV2003 project &amp;amp;ndash;  Copyright © 2003-2016 The CrossWire Bible Society.&lt;br /&gt;
&lt;br /&gt;
=== Crown copyright, Letters Patent and the KJV ===&lt;br /&gt;
In the United Kingdom, the text of the [http://en.wikipedia.org/wiki/King_James_Version Authorized King James Version] of the Bible is protected by '''royal prerogative'''. &amp;quot;There is a small class of materials where the Crown claims the right to control reproduction outside normal copyright law due to '''Letters Patent''' issued under the royal prerogative. This material includes the '''King James Bible''', and the '''Book of Common Prayer'''.&amp;quot; See [http://en.wikipedia.org/wiki/Crown_copyright#United_Kingdom Crown copyright].&lt;br /&gt;
&lt;br /&gt;
In most of the world, the Authorized Version has passed out of copyright and is freely reproduced. In the United Kingdom, the British Crown restricts production of the Authorized Version per transitional exemptions from the Copyright Act 1775 (which implemented this clause) in the Copyright, Designs and patents Act 1988 (Schedule I, section 13(1)), which expire in 2039. [http://en.wikipedia.org/wiki/Cambridge_University_Press Cambridge University Press]&amp;lt;ref&amp;gt;Cambridge University Press wrote to [[Projects:Go_Bible|Go Bible]] several years ago, acting as agents of Crown copyright. Their request was simple and straightforward, viz., that we include a clear statement about Crown copyright for the KJV. After we did that, and informed them, they seem to have been satisfied.&amp;lt;/ref&amp;gt;, [http://en.wikipedia.org/wiki/Oxford_University_Press Oxford University Press], [http://en.wikipedia.org/wiki/HarperCollins HarperCollins] and the [http://en.wikipedia.org/wiki/Queen's_Printer Queen's Printers] have the right to produce the Authorized Version. See [http://en.wikipedia.org/wiki/King_James_Bible King James Bible].&lt;br /&gt;
&lt;br /&gt;
The [http://en.wikipedia.org/wiki/British_and_Foreign_Bible_Society British &amp;amp; Foreign Bible Society] (based in the UK) respects this copyright status, although many American organisations do not respect it and treat it wrongly as if it were public domain.  In reality, the many editions of the KJV used in the USA are a revision of the text made by the [http://en.wikipedia.org/wiki/American_Bible_Society American Bible Society] and the rights for this revision are still held by ABS.&lt;br /&gt;
&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Distribution License ===&lt;br /&gt;
Currently the files kjv.conf and kjva.conf contain the following key:&lt;br /&gt;
 DistributionLicense=General public license for distribution for any purpose&lt;br /&gt;
This form of words does not match any of the defined options listed in [[DevTools:conf Files#Copyright_.26_Licensing_related_elements|Copyright &amp;amp; Licensing related elements]]. We should change this to one of the specified items.&lt;br /&gt;
&lt;br /&gt;
== Margin Notes ==&lt;br /&gt;
In a study of the marginal notes in the 1611 KJV, Scrivener&amp;lt;ref&amp;gt;Scrivener, F. H. A. ,''The Authorized Edition of the English Bible'', p. 56.&amp;lt;/ref&amp;gt; counted:&lt;br /&gt;
* 6637 in the OT&lt;br /&gt;
* 1018 in the Apocrypha&lt;br /&gt;
* 0767 in the NT&lt;br /&gt;
* 8422 in total&lt;br /&gt;
Of the 767 notes in the NT, 35 are explanatory notes or brief ex­positions, 582 give alternative translations, 112 give a more literal ren­dering of the Greek than the translators judged suitable for the text, and 37 give readings of different manuscripts.&lt;br /&gt;
&lt;br /&gt;
The KJV module (2.10 wip) currently has the following study notes:&lt;br /&gt;
* 6959 in the OT of which a few are duplicates on the same &amp;quot;page&amp;quot; for similar verses.&amp;lt;ref&amp;gt;Performing a sort operation to remove all duplicates reduces the total by 617 to 6342, though some of those removed would not be close to each other before the sort.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Literatura Bautista have an article entitled [http://en.literaturabautista.com/exhaustive-listing-marginal-notes-1611-edition-king-james-bible An exhaustive listing of the marginal notes of the 1611 edition of the King James Bible]. This is a very useful resource for checking our module and comparing with the 1769 Reference Text. [[User:David Haslam|David Haslam]] has created an Excel worksheet for this purpose. We have identified up to 22 places where an OT note may be missing from the KJV module.&lt;br /&gt;
&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
== Cross references ==&lt;br /&gt;
The KJV module currently lacks any cross-references, apart from one or two that happen to be included in the margin notes. There were extensive cross-references in the 1611 first edition, and the same quantity or more in the 1769 Oxford edition. Whereas margin notes used superscripted numerical tags, the cross-references generally used lowercase letters tags, likewise superscripted and usually in italics.&lt;br /&gt;
&lt;br /&gt;
== Road Map ==&lt;br /&gt;
First we must decide how to markup the observed differences between the present text and the Blayney 1769 Oxford edition.&amp;lt;ref&amp;gt;Particularly what we should do with regard to spelling issues, as noted in David's user page [[User:David Haslam/Benjamin Blayney's 1769 KJV|Benjamin Blayney's 1769 KJV]].&amp;lt;/ref&amp;gt;&lt;br /&gt;
:''List briefly the further enhancements we would like to make in the future beyond the next release''.&lt;br /&gt;
=== KJV module: ===&lt;br /&gt;
* Add Greek equivalent to Strong's numbers. (3.1)&amp;lt;ref&amp;gt;The next release after version 2.10 will jump straight to 3.1 - missing out 3.0 - as by then, the KJVA module will be made from the same XML file. KJVA is currently version 3.0.1&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Mark all proper names with the '''name''' element; with type '''person''', '''geographic''', '''nonhuman''', '''holiday''', '''ritual''', etc.&amp;lt;ref&amp;gt;For name '''type=&amp;quot;person&amp;quot;''', it would be useful to define a new OSIS attribute '''sex=&amp;quot;male&amp;quot;''' or '''sex=&amp;quot;female&amp;quot;'''.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;Spelling variants could be associated by means of the '''regular''' attribute (e.g. Cedron for Kidron).&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;Consider using '''type=&amp;quot;x-book&amp;quot;''' for the names of objects such as 'the book of Jasher'. See [http://en.wikipedia.org/wiki/Non-canonical_books_referenced_in_the_Bible Non-canonical books referenced in the Bible].&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;Suggest use '''type''' value '''x-people-group''' for names such as 'Hittites', and '''x-people-group-member''' for the corresponding singular 'Hittite'.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;Suggest use '''type=&amp;quot;x-month&amp;quot;''' and '''n=&amp;quot;1&amp;quot;''' to '''n=&amp;quot;12&amp;quot;''' for the names of the months in the [https://en.wikipedia.org/wiki/Hebrew_calendar#Names_of_months Hebrew calendar].&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;Suggest include '''subType=&amp;quot;x-possessive&amp;quot;''' or '''subType=&amp;quot;x-plural&amp;quot;'''. Also to make use of the attribute '''regular''' where this is appropriate.&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Use the '''foreign''' element to mark text that was transliterated from (e.g.) Aramaic to Greek in the NT.&lt;br /&gt;
* Use the '''inscription''' element to mark text that reports a written inscription.&lt;br /&gt;
* Use the '''q''' element to mark all other quotations, making use of a suitable set of '''who''' attribute values to identify each speaker.&amp;lt;ref&amp;gt;Currently the module only uses &amp;lt;code&amp;gt;&amp;amp;lt;q who=&amp;quot;Jesus&amp;quot;&amp;gt;...&amp;amp;lt;/q&amp;gt;&amp;lt;/code&amp;gt; to tag the words of Christ.&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Mark the 'salutation text' in the Epistles with the '''salute''' element.&lt;br /&gt;
* Mark the 'sign off text' in the Epistles with the '''signed''' element.&lt;br /&gt;
* Mark the closing &amp;quot;Amen.&amp;quot; in NT books with the '''closer''' element.&amp;lt;ref&amp;gt;For some books, the closer element might enclose more than the word &amp;quot;Amen.&amp;quot; Also, 3 John doesn't end with &amp;quot;Amen.&amp;quot;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* ''Tentative''. Split KJV into KJV and AV where AV is an orthographic representation of the 1769 KJV. E.g. long s, ae, oe, fl, ffl, ....&lt;br /&gt;
&lt;br /&gt;
Further thoughts based upon having the Blayney edition:&lt;br /&gt;
* Audit OT notes and make any necessary corrections. Check notes text for added words not in italics (e.g. Job.31.35).&amp;lt;ref&amp;gt;Such words should be wrapped in the '''transChange''' element. The SWORD engine will need to support the &amp;quot;italics inversion&amp;quot; rule.&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Move each '''note''' element to the start of its &amp;quot;catch word&amp;quot; in the verse (or title) text.&amp;lt;ref&amp;gt;Currently, all the notes are at the end of the verse. An intermediate step would be to move all notes to the start of the verse.&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Add the special note symbols († ‖ ⁕) from Blayney.&lt;br /&gt;
* Add front-matter: dedicatory and preface, OT intro, NT intro, ....&lt;br /&gt;
* Add any end titles. e.g. The End of the /PROPHETS/. (after Malachi).&lt;br /&gt;
* Add column breaks and page breaks.&amp;lt;ref&amp;gt;Tying to the dead-tree edition. There were no page numbers in the Blayney 1769 Oxford Edition.&amp;lt;/ref&amp;gt; These would be '''milestone''' elements with either type=&amp;quot;column&amp;quot; or type=&amp;quot;pb&amp;quot;.&lt;br /&gt;
* Add [http://en.wikipedia.org/wiki/James_Ussher James Ussher's] chronology (found at the top of page margins) as note to chapter starts (probably in first verse or verse 0.)&amp;lt;ref&amp;gt;Some chapters change the year part way through (e.g. Gen.36).&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Add NT chapter descriptions.&lt;br /&gt;
* Add OT chapter descriptions.&lt;br /&gt;
* Add xrefs and notes to NT.&lt;br /&gt;
* Add xrefs to OT.&amp;lt;ref&amp;gt;References to DC books should include the attribute &amp;lt;code&amp;gt;editions=&amp;quot;KJVA&amp;quot;&amp;lt;/code&amp;gt; such that these can be filtered out when making the KJV module without the Aprocrypha.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== KJVA module: === &lt;br /&gt;
:''KJVA is not being rebuilt when KJV is updated. It should be.''&lt;br /&gt;
* Create the OSIS XML file for just the DC (deuterocanonical) books. Done. [[User:David Haslam|David Haslam]]&lt;br /&gt;
* Add the two prologues to Sirach: one &amp;quot;made by an uncertain Author&amp;quot;; the other &amp;quot;of the Wisdom of Jesus the Son of Sirach.&amp;quot;&lt;br /&gt;
* Add bookGroup title and bookGroup end title.&lt;br /&gt;
* Add the global attribute '''editions=&amp;quot;KJVA&amp;quot;''' to the main bookGroup div element.&lt;br /&gt;
* Update the book main titles to match those in 1769 KJV.&amp;lt;ref&amp;gt;Two books (Susanna &amp;amp; Bel) had text between the title and chapter 1.&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Remove the title type attribute of the Epistle of Jeremy in Baruch 6.&lt;br /&gt;
* Move the main title for EsthAdd to chapter 10 and remove the type attribute.&lt;br /&gt;
* Insert a horizontal ellipsis in the 12 empty verses before EsthAdd.10.4&amp;lt;ref&amp;gt;This avoids navigation issues in front-ends such as Xiphos.&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Add chapter labels as per 1769 KJV. Use Roman numerals for chapter numbers.&lt;br /&gt;
----&lt;br /&gt;
* Audit DC books text and markup. Look especially for added words printed in italics.&amp;lt;ref&amp;gt;There are only 36 instances in the DC books that use the '''transChange''' element.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;In the original KJV 1611 words added were printed in smaller Roman type to contrast with the normal text in [http://en.wikipedia.org/wiki/Blackletter Gothic type].&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;Examples: &amp;quot;blessed is&amp;quot; (Wis.3.14); &amp;quot;to take him away,&amp;quot; (Wis.4.14); &amp;quot;aright&amp;quot; (Wis.8.8); &amp;quot;the fruit of&amp;quot; (Wis.10.10); &amp;quot;As namely&amp;quot; (Wis.19.7); &amp;quot;Sodomites&amp;quot; (Wis.19.14).&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Check a printed edition for any Pilcrows and add them if found.&amp;lt;ref&amp;gt;KJV 1611 had Pilcrows in 1Esd.2.8, 3.13, 4.13, 8.22,25; 2Esd.6.11; 1Macc.6.43,48, 9.23&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Check the DC books in the 1611 KJV for any extra paragraphs without a pilcrow.&amp;lt;ref&amp;gt;These could be marked as milestone type=&amp;quot;x-extra-p&amp;quot;.&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Add DC study notes. There are none in the existing module!&lt;br /&gt;
* Add DC chapter descriptions. Restore pilcrows corresponding to verses tagged therein.&amp;lt;ref&amp;gt;Verse numbers in these descriptions rarely coincide with a Pilcrow at the start of the verse.&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Add DC xrefs. cf. Blayney's Bible included DC xrefs in the PC (protocanonical) OT &amp;amp; NT books.&lt;br /&gt;
* Build KJVA and KJV from same XML file.&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== History ==&lt;br /&gt;
=== Text Development Stages ===&lt;br /&gt;
From the time the KJV module was first released, text and markup development has been done in several major stages:&lt;br /&gt;
* The original '''KJV2003''' Project &amp;amp;ndash; ''user page no longer exists''&lt;br /&gt;
* The [http://www.crosswire.org/~dmsmith/kjv2006/ KJV2006] Project&lt;br /&gt;
* The [[User:Dmsmith/KJV2011|KJV2011]] Effort&lt;br /&gt;
* The [[User:Dmsmith/KJV 2.6|KJV 2.6]] Effort &amp;amp;ndash; begun in 2013 and ongoing...&lt;br /&gt;
&lt;br /&gt;
=== Module Versions ===&lt;br /&gt;
While the KJV was a module at CrossWire prior to version 2.0, this is the earliest for which dates can be determined.&amp;lt;BR&amp;gt;Dates prior to version 2.3 are best estimates. (For changes in versions 1.x, refer to the file kjv.conf)&lt;br /&gt;
&amp;lt;BR&amp;gt;The revision from 2.6 onward is a link the released source.&lt;br /&gt;
{|  width=&amp;quot;100%&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;sortable&amp;quot;&lt;br /&gt;
! width=&amp;quot;5%&amp;quot;|Revision&lt;br /&gt;
! width=&amp;quot;10%&amp;quot;|Date&lt;br /&gt;
! width=&amp;quot;85%&amp;quot;|Description&lt;br /&gt;
|- &lt;br /&gt;
| 2.10&lt;br /&gt;
| Being prepared&lt;br /&gt;
| Improved OSIS markup. Minor textual changes to notes and titles.&lt;br /&gt;
Details: (''with progress marker'')&lt;br /&gt;
* Updated our custom [[OSIS 211 CR|OSIS schema]] to properly validate '''type''' values in '''rdg''' element, etc.&lt;br /&gt;
* Corrected rdg attribute type=&amp;quot;alternative&amp;quot; (2.9) to &amp;quot;alternate&amp;quot;.&lt;br /&gt;
* Moved '''sID''' before '''osisID''' in each verse start element.&lt;br /&gt;
* Moved '''morph''' to after '''lemma''' in each '''w''' element (in the OT).&amp;lt;ref&amp;gt;The lemma attribute is the one that specifies Strong's numbers. This is merely to be consistent in both testaments.&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Added a final full-stop to all notes previously lacking one.&lt;br /&gt;
* Fixed the punctuation after a few instances of &amp;quot; etc&amp;quot;.&lt;br /&gt;
* Marked all the abbreviations for &amp;quot;etc.&amp;quot;, &amp;quot;LXX&amp;quot;, &amp;quot;Gr.&amp;quot; &amp;amp; &amp;quot;Heb.&amp;quot; found in notes using the '''abbr''' element.&lt;br /&gt;
* Added a space after the ¶ in the milestone marker.&lt;br /&gt;
* Added the hitherto missing ¶ in NT books: Romans&amp;amp;mdash;Revelation.&lt;br /&gt;
* Changed red ¶ to black (i.e. within text marked as &amp;quot;words of Jesus&amp;quot;)&lt;br /&gt;
* Made minor corrections to a few notes.&lt;br /&gt;
* Added the comma after &amp;quot;: or&amp;quot; and &amp;quot;: that is&amp;quot; that was missing from some notes. &lt;br /&gt;
* Improved markup for colophon div in each Pauline epistle.&lt;br /&gt;
* Added '''osisID''' to the canonical Psalm titles.&lt;br /&gt;
* Added '''bookGroup''' div elements for OT &amp;amp; NT.&lt;br /&gt;
* Added '''majorSection''' div elements for the five books in the Psalter (but without titles)&lt;br /&gt;
* Removed the redundant '''chapterTitle''' attribute from the '''chapter''' element.&lt;br /&gt;
* Made '''canonical''' the first attribute in '''div''' &amp;amp; '''title''' elements. They line up better!&lt;br /&gt;
* Marked up the '''title''' element for each chapter &amp;amp; psalm to to match the Blayney edition.&lt;br /&gt;
* Used Roman numerals for chapter &amp;amp; psalm numbers.&lt;br /&gt;
* Updated Strong's numbers and lemma.TR to the latest TR from Maurice Robinson.&amp;lt;ref&amp;gt;As a side benefit, update CrossWire's TR module to match.&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Updated Words of Christ (red letter markup) to match Louis Klopsch's 1901 edition.&lt;br /&gt;
* Updated the 66 book titles to match those in the Blayney edition (including a final full-stop).&lt;br /&gt;
* Moved 47 notes from Psalms verse 1 to the canonical '''title''' element.&lt;br /&gt;
* Minor corrections to two Psalm titles.&lt;br /&gt;
* Added '''osisRef''' to '''catchWord''', using the '''@s''' grain operator (for now at least, mainly for single keywords).&lt;br /&gt;
* Added file history in the OSIS header using the '''revisionDesc''' element (done for KJV 2.0 to 2.9 so far).&amp;lt;ref&amp;gt;Excluding details of conf file updates.&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Updated conf file: Added Feature=GreekParse and Feature=HebrewParse.&lt;br /&gt;
-----&lt;br /&gt;
* Edit the '''osisID''' for each canonical Psalm title.&lt;br /&gt;
* Add '''osisID''' &amp;amp; '''n''' attributes to each '''note''' element.&lt;br /&gt;
* Add some few notes missing from the OT (less than 22).&lt;br /&gt;
* Identify and fix the notes for which the catchWord text doesn't properly match the verse text (e.g. Job 8:20).&amp;lt;ref&amp;gt;[[User:Dmsmith/KJV_2.6#Unmatched catchWord text, 2.10 (if possible)]]&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Check the notes order for verses with multiple notes.&amp;lt;ref&amp;gt;Not required if we move each note to before its catchWord text.&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Review notes not found in the 1611 by comparison with the list from SB.&lt;br /&gt;
* Review and further update conf file where required.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| [https://www.crosswire.org/~dmsmith/kjv2011/kjv2.9/kjv-osis-201601210734-2_9.zip 2.9]&lt;br /&gt;
| 2016-01-21&lt;br /&gt;
| Improved OSIS markup.&lt;br /&gt;
Details:&lt;br /&gt;
* Added '''catchWord''' and reading ('''rdg''') markup to notes.&lt;br /&gt;
* Improved markup placement for ''Selah'' in 13 places.&lt;br /&gt;
|- &lt;br /&gt;
| [https://www.crosswire.org/~dmsmith/kjv2011/kjv2.8/kjv2_8-osis-201512200842.zip 2.8]&lt;br /&gt;
| 2015-12-20&lt;br /&gt;
| Improved OSIS markup.&lt;br /&gt;
Details:&lt;br /&gt;
* Moved Ps 119 acrostic titles before verse number.&lt;br /&gt;
* Changed double spaces to a single space.&lt;br /&gt;
* Changed &amp;quot;Heb &amp;quot; to &amp;quot;Heb. &amp;quot; in notes.&lt;br /&gt;
* Added Feature=NoParagraphs.&lt;br /&gt;
|- &lt;br /&gt;
| [https://www.crosswire.org/~dmsmith/kjv2011/kjv2.7/kjv2_7-osis201508291819.zip 2.7]&lt;br /&gt;
| 2015-08-09&lt;br /&gt;
| Fixed bugs preventing the display of some Strong's Numbers in the Old Testament.&amp;lt;BR&amp;gt;Improved markup of Strong's numbers in 2 Cor 15.&lt;br /&gt;
|- &lt;br /&gt;
| [https://www.crosswire.org/~dmsmith/kjv2011/kjv2.6/kjv-osis-201402190055.zip 2.6.1]&lt;br /&gt;
| 2014-02-15&lt;br /&gt;
| Added GlobalOptionFilter for OSISLemma&lt;br /&gt;
|- &lt;br /&gt;
| [https://www.crosswire.org/~dmsmith/kjv2011/kjv2.6/kjv-osis-201402190055.zip 2.6]&lt;br /&gt;
| 2013-10-05&lt;br /&gt;
| Fixed bugs. Added Greek from TR.&lt;br /&gt;
|- &lt;br /&gt;
| 2.5&lt;br /&gt;
| 2013-02-02&lt;br /&gt;
| Fixed bugs. See: [[User:Dmsmith/KJV2011|KJV2011]]&lt;br /&gt;
Details:&lt;br /&gt;
* Fixed markup of added words.&lt;br /&gt;
* Fixed more Words of Christ markup.&lt;br /&gt;
* Fixed punctuation, apostrophes, dashes and placement of spaces.&lt;br /&gt;
* Fixed the markup of a word that was split into two parts.&lt;br /&gt;
* Other bug fixes.&lt;br /&gt;
|- &lt;br /&gt;
| 2.4&lt;br /&gt;
| 2009-05-29&lt;br /&gt;
| Fixed bugs. Updated red-letter markup of Words of Christ.&lt;br /&gt;
|- &lt;br /&gt;
| 2.3&lt;br /&gt;
| 2006-10-09&lt;br /&gt;
| Fixed bugs. See: [http://crosswire.org/~dmsmith/kjv2006/ Project KJV2006]&lt;br /&gt;
Goals:&lt;br /&gt;
* Faithful representation of the KJV.&lt;br /&gt;
* Each book of the Bible is well-formed xml.&lt;br /&gt;
* Each book of the Bible is valid OSIS xml according to the 2.1.1 schema.&lt;br /&gt;
* The markup conforms to OSIS best practices as mentioned on the Sword-devel mailing list and the OSIS 2.1.1 user's manual&lt;br /&gt;
* Strong's markup normalized.&lt;br /&gt;
&lt;br /&gt;
Details:&lt;br /&gt;
* The xml is now well-formed.&lt;br /&gt;
* The xml is now valid OSIS 2.1.1&lt;br /&gt;
* Strong's numbers have been normalized.&lt;br /&gt;
* Fixed the missing 's in the OT&lt;br /&gt;
* Moved whitespace and punctuation to a more sensible location and fixed whitespace problems.&lt;br /&gt;
* Positioned the [http://en.wikipedia.org/wiki/Pilcrow pilcrow symbol] ¶ at the start of verses.&lt;br /&gt;
* Validated against Old Scofield Study Bible for all differences found by comparing against&lt;br /&gt;
::(a) the KJV encoded by Tim Lanfear for CCEL.&lt;br /&gt;
::(b) the KJV encoded Interleaf Bible.&lt;br /&gt;
* Fixed all existing titles and added missing ones.&lt;br /&gt;
* Fixed paragraphing&lt;br /&gt;
* Tagged all inscriptions&lt;br /&gt;
* Fixed and tagged all divine names&lt;br /&gt;
* Added xlit to w elements for the acrostic in Psalm 119&lt;br /&gt;
* Hyphenated names&lt;br /&gt;
* Fixed names with ligatures Æ and æ&lt;br /&gt;
* Fixed a bug in osis2mod that incorrectly encoded the last verse of each book&lt;br /&gt;
* Removed Strong's number H00 as it does not exist.&lt;br /&gt;
|- &lt;br /&gt;
| 2.2&lt;br /&gt;
| 2004-07-25&lt;br /&gt;
| Updated to 20040121 snapshot of KJV2003.&lt;br /&gt;
|- &lt;br /&gt;
| 2.1&lt;br /&gt;
| 2003-06-24&lt;br /&gt;
| Changed Old Testament to use OSIS tags, removing the last of the GBF markup.&amp;lt;BR&amp;gt;Also updated to 20030624 snapshot of KJV2003.  Compressed.&lt;br /&gt;
|- &lt;br /&gt;
| 2.0&lt;br /&gt;
| 2003-01-08&lt;br /&gt;
| Changed New Testament to use a snapshot of the KJV2003 Project&lt;br /&gt;
|}&lt;br /&gt;
'''Note:'''&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Help:Contents#Modules|Reporting module issues]]&lt;br /&gt;
* [[CrossWire KJVA|English: KJVA]] module &amp;amp;ndash; KJV with Apocrypha&lt;br /&gt;
* [[User:David Haslam/Benjamin Blayney's 1769 KJV|Benjamin Blayney's 1769 KJV]] &amp;amp;ndash; [[User:David Haslam|David Haslam]] ([[User talk:David Haslam|talk]])'s user page&lt;br /&gt;
* [[KJV 1611]]&lt;br /&gt;
&lt;br /&gt;
== Biblical lists ==&lt;br /&gt;
This might be useful. There are other similar lists in the same category.&lt;br /&gt;
* https://en.wikipedia.org/wiki/List_of_biblical_names&lt;br /&gt;
* https://en.wikipedia.org/wiki/List_of_biblical_places&lt;br /&gt;
* https://en.wikipedia.org/wiki/List_of_animals_in_the_Bible&lt;br /&gt;
* https://en.wikipedia.org/wiki/List_of_plants_in_the_Bible&lt;br /&gt;
* https://en.wikipedia.org/wiki/List_of_precious_stones_in_the_Bible&lt;br /&gt;
* https://en.wikipedia.org/wiki/List_of_women_in_the_Bible&lt;br /&gt;
* https://en.wikipedia.org/wiki/List_of_major_biblical_figures&lt;br /&gt;
* https://en.wikipedia.org/wiki/List_of_minor_biblical_figures,_A%E2%80%93K&lt;br /&gt;
* https://en.wikipedia.org/wiki/List_of_minor_biblical_figures,_L%E2%80%93Z&lt;br /&gt;
The OSIS User Manual has no defined markup for animals, plants and precious stones.&amp;lt;BR&amp;gt;&lt;br /&gt;
For names and places, the name element with type=&amp;quot;person&amp;quot; or &amp;quot;geographic&amp;quot; is defined. &lt;br /&gt;
The other defined attribute values are &amp;quot;holiday&amp;quot;,  &amp;quot;nonhuman&amp;quot;,  &amp;quot;ritual&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
* [http://www.crossway.org/blog/2006/03/red-letter-origin/ Origin of Red-Letter Bibles] &amp;amp;ndash; CrossWay blog,  March 23, 2006. Somewhat more informative than the Wikipedia [http://en.wikipedia.org/wiki/Red_letter_edition page].&lt;br /&gt;
* [http://books.google.co.uk/books?vid=BL:A0017123081&amp;amp;hl=en Fenwick, George (1759), ''Thoughts on the Hebrew titles of the Psalms : and on some of those in the Septuagint, endeavouring to discover the meaning, and point out the use of them'']&lt;br /&gt;
* [http://books.google.co.uk/books/about/The_Holy_Bible_Containing_the_Old_and_Ne.html?id=MGNljgEACAAJ Benjamin Blayney, T. Wright and W. Gill; and sold by R. Baldwin, and S. Crowder, London; and by W. Jackson, in Oxford, 1769] &amp;amp;ndash; Google books digitisation (only Gen-Exod to date; accessed 2016-02-09).&lt;br /&gt;
* [http://books.google.co.uk/books?id=fINaAAAAYAAJ An 1872 edition of the KJV] &amp;amp;ndash; Google books &lt;br /&gt;
* [http://www.contendingfortruth.com/wp-content/uploads/KJV-Differences-Cambridge-Oxford-Text.pdf Differences Between The Cambridge and Oxford King James Bibles]&lt;br /&gt;
&lt;br /&gt;
[[Category:Modules|CrossWire KJV]]&lt;br /&gt;
[[Category:English Bibles|CrossWire KJV]]&lt;br /&gt;
[[Category:OSIS|CrossWire KJV]]&lt;br /&gt;
[[Category:Copyright|CrossWire KJV]]&lt;/div&gt;</summary>
		<author><name>Dmsmith</name></author>	</entry>

	<entry>
		<id>https://wiki.crosswire.org/index.php?title=CrossWire_KJV&amp;diff=15122</id>
		<title>CrossWire KJV</title>
		<link rel="alternate" type="text/html" href="https://wiki.crosswire.org/index.php?title=CrossWire_KJV&amp;diff=15122"/>
				<updated>2016-05-11T15:49:37Z</updated>
		
		<summary type="html">&lt;p&gt;Dmsmith: /* Module Versions */ Added column for source.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;:''This page is a work in progress''.&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
The KJV module was one of the earliest to be released and distributed by CrossWire after '''The SWORD Project''' was launched. It remains one of the most frequently downloaded modules in all our repositories.&lt;br /&gt;
&lt;br /&gt;
The KJV module text is based substantially on the '''1769 Oxford Edition''' (the basis for all modern editions), not the original 1611 first edition. See our [[EnduserFAQ#Do_you_have_the_original_King_James.2FAuthorized_Version.3F|FAQ]].&lt;br /&gt;
&lt;br /&gt;
This is the only module maintained by CrossWire volunteers. It is marked up in OSIS XML. All other modules are based on source text from external providers.&lt;br /&gt;
&lt;br /&gt;
== Provenance and Acknowledgements ==&lt;br /&gt;
Strong's numbers provide a useful means for looking up the exact original language word in a lexicon that is keyed to [http://en.wikipedia.org/wiki/Strong's_Concordance Strong's Concordance].&lt;br /&gt;
&lt;br /&gt;
[http://en.wikipedia.org/wiki/Morphology_%28linguistics%29 Morphology] data provides a means to understand the structure of the original language's morphemes and other linguistic units.&lt;br /&gt;
&lt;br /&gt;
* The Strong's numbers in the OT were obtained from [http://www.bf.org/ The Bible Foundation]&lt;br /&gt;
* The Strong's data in the NT was obtained from the [[CrossWire_KJV#Text_Development_Stages|KJV2003 Project]] at CrossWire.&lt;br /&gt;
&lt;br /&gt;
Special thanks to the volunteers at Bible Foundation for keying the Hebrew/English data and of Project KJV2003 for working toward the completion of synchronizing the English phrases to the Stephanas [http://en.wikipedia.org/wiki/Textus_Receptus Textus Receptus], and to Dr. Maurice Robinson for providing the base Greek text with Strong's and Morphology.&lt;br /&gt;
&lt;br /&gt;
We are also appreciative of formatting markup that was provided by [http://www.ebible.org Michael Paul Johnson]. &lt;br /&gt;
&lt;br /&gt;
Their time and generosity to contribute such for the free use of the Body of Christ is a great blessing and this derivitive work could not have been possible without these efforts of so many individuals.  It is in this spirit that we in turn offer the KJV2003 Project text and its successors freely for any purpose.&lt;br /&gt;
&lt;br /&gt;
We are also appreciative for the feedback reports over the years from several individuals that have enabled us to fix minor text and markup issues by comparison with the reference texts.&lt;br /&gt;
&lt;br /&gt;
== Reference Text ==&lt;br /&gt;
The CrossWire KJV is meant to be the faithful e-text edition&amp;lt;ref&amp;gt;With added features suited to the digital age we live in.&amp;lt;/ref&amp;gt; of [http://en.wikipedia.org/wiki/Benjamin_Blayney Benjamin Blayney's] 1769 Oxford edition of the KJV&amp;lt;ref&amp;gt;Excluding the Apocrypha.&amp;lt;/ref&amp;gt; (hereafter called 1769 KJV). To that end we required it to be diligently checked against a reference standard for accuracy. Finding a reference text was a daunting task. What is known today as the KJV has been changed on a regular basis since it's first publication to today.&amp;lt;ref&amp;gt;Refer to [http://en.wikipedia.org/wiki/Frederick_Henry_Ambrose_Scrivener F H A Scrivener] and to the [http://en.wikipedia.org/wiki/New_Cambridge_Paragraph_Bible New Cambridge Paragraph Bible].&amp;lt;/ref&amp;gt; Some of these changes are well known; others are quietly done by publishers.&lt;br /&gt;
&lt;br /&gt;
There also was a need to have a reference for red-letter text. This too varied from one modern KJV to another.&lt;br /&gt;
&lt;br /&gt;
:''See also [[User:Dmsmith/KJV_2.6#Reference_text_policy]]''.&lt;br /&gt;
&lt;br /&gt;
===Need for a reference text===&lt;br /&gt;
Ideally, the reference standard would be a faithful electronic copy of 1769 KJV. When CrossWire's KJV2006 Project was started there was no such text either as a facsimile or eText. In lieu of that, finding an acceptable text was needed to arbitrate the claims that &amp;quot;my KJV is right and it is different from what you have.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
We compared our text with two independent 1769 KJV eTexts (CCEL and InterLeaf). All of the other eTexts we found seemed to be one of these three. Those comparisons yielded differences that needed to be verified in an independent text. Thus the need for *a* dead tree text. While working on the KJV2006 release, several websites that were dedicated to producing a &amp;quot;true&amp;quot; text were abandoned with chagrin that it is not a doable task apart from having a facsimile of the 1769 KJV, which was not known.&lt;br /&gt;
&lt;br /&gt;
One criteria was finding a text that the [http://en.wikipedia.org/wiki/King_James_Only_movement KJV-only] adherents felt was more accurate 1769 KJV text. Using various listings of differences between current and &amp;quot;true&amp;quot;, dozens of dead tree texts in several stores were examined. Also, it was important to avoid copyright claims based upon minor changes in the text. Both combined to come up with the Public Domain [http://en.wikipedia.org/wiki/Scofield_Reference_Bible Old Scofield Study Bible]&amp;lt;ref&amp;gt;The use of the Scofield in no way implies our endorsement of the extensive non-canonical study notes therein.&amp;lt;/ref&amp;gt;. The Biblical text was thought to be one of the most faithful copies of the 1769 Oxford Edition.&amp;lt;ref&amp;gt;i.e. Even by those in the KJV Only movement.&amp;lt;/ref&amp;gt; It was published in 1917, which was important in terms of USA copyright law. It was also considered to be a faithful red-letter text.&lt;br /&gt;
&lt;br /&gt;
We are in the process of obtaining a hard copy facsimile of the &amp;quot;Blayney&amp;quot; 1769 KJV text. This will be the reference text going forward.&lt;br /&gt;
&lt;br /&gt;
===Need for a reference red-letter text===&lt;br /&gt;
Red-Letter text is a fairly recent addition to the 1769 KJV. In 1899, Louis Klopsch proposed rendering the words of Christ in red letters. His work was published in 1901. Recently (2016-01-28), we've obtained Louis Klopsch's 1901 edition of the KJV and will use that as the future reference for red-letter text.&lt;br /&gt;
&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Chosen Texts===&lt;br /&gt;
The public domain Old Scofield Study Bible was used for version 2.3 to 2.10 for text and for version 2.3 to 2.9 for red-letter markup.&lt;br /&gt;
&lt;br /&gt;
The Louis Klopsch 1901 KJV is used for red-letter markup for 2.10 and later.&lt;br /&gt;
&lt;br /&gt;
The 1769 KJV facsimile is used for text, front-matter, notes, cross-references, titles, .... for versions after 2.11.&lt;br /&gt;
* The Holy Bible, Containing the Old and New Testaments: Volume 1 of 4, ISBN: 9781171169826&lt;br /&gt;
* The Holy Bible, Containing the Old and New Testaments: Volume 2 of 4, ISBN: 9781171169819&lt;br /&gt;
* The Holy Bible, Containing the Old and New Testaments: Volume 3 of 4, ISBN: 9781171169802&lt;br /&gt;
* The New Testament of Our Lord and Saviour Jesus Christ,&amp;lt;br/&amp;gt;Translated Out of the Original Greek:&amp;lt;br/&amp;gt;And with the Former Translations Diligently Compared and Revised,&amp;lt;br/&amp;gt;by His Majesty's Special Command. Appointed to by Read in Churches.&amp;lt;br/&amp;gt;Volume 4 of 4, ISBN: 9781171169796&lt;br /&gt;
&lt;br /&gt;
A scanned copy of the 1769 KJV is also available at http://www.originalbibles.com/1769-king-james-bible-benjamin-blayney/&lt;br /&gt;
:''Currently this is only for the books Genesis to Jeremiah''.&lt;br /&gt;
&lt;br /&gt;
== Copyright ==&lt;br /&gt;
Any copyright that might be obtained for this effort is held by the CrossWire Bible Society © 2003-2016 and the CrossWire Bible Society hereby grants a general public license to use this text for any purpose.&lt;br /&gt;
&lt;br /&gt;
CrossWire's KJV module is an amalgamation of different source material. Each has its own copyright or is in the public domain.&lt;br /&gt;
* The actual text validated against 2 independent eTexts and found differences against our hard-copy reference for such.&lt;br /&gt;
* The [http://en.wikipedia.org/wiki/Red_letter_edition Red Letter] markup of the words of Christ have been validated against our hard-copy reference for such.&lt;br /&gt;
* The Strong's numbers in the OT are from [http://www.bf.org/ The Bible Foundation].&lt;br /&gt;
* The Strong's numbers in the NT are from [http://apps.sebts.edu/FacultyUploads/Maurice%20Robinson%20CV.pdf Dr Maurice A. Robinson], Senior Professor of New Testament and Greek at [http://en.wikipedia.org/wiki/Southeastern_Baptist_Theological_Seminary Southeastern Baptist Theological Seminary] in North Carolina.&lt;br /&gt;
* The OSIS XML markup is a unique effort that began with our KJV2003 project &amp;amp;ndash; Copyright © 2003-2016 The CrossWire Bible Society.&lt;br /&gt;
* The tagging of Strong's numbers to the NT text is a unique effort of our KJV2003 project &amp;amp;ndash;  Copyright © 2003-2016 The CrossWire Bible Society.&lt;br /&gt;
&lt;br /&gt;
=== Crown copyright, Letters Patent and the KJV ===&lt;br /&gt;
In the United Kingdom, the text of the [http://en.wikipedia.org/wiki/King_James_Version Authorized King James Version] of the Bible is protected by '''royal prerogative'''. &amp;quot;There is a small class of materials where the Crown claims the right to control reproduction outside normal copyright law due to '''Letters Patent''' issued under the royal prerogative. This material includes the '''King James Bible''', and the '''Book of Common Prayer'''.&amp;quot; See [http://en.wikipedia.org/wiki/Crown_copyright#United_Kingdom Crown copyright].&lt;br /&gt;
&lt;br /&gt;
In most of the world, the Authorized Version has passed out of copyright and is freely reproduced. In the United Kingdom, the British Crown restricts production of the Authorized Version per transitional exemptions from the Copyright Act 1775 (which implemented this clause) in the Copyright, Designs and patents Act 1988 (Schedule I, section 13(1)), which expire in 2039. [http://en.wikipedia.org/wiki/Cambridge_University_Press Cambridge University Press]&amp;lt;ref&amp;gt;Cambridge University Press wrote to [[Projects:Go_Bible|Go Bible]] several years ago, acting as agents of Crown copyright. Their request was simple and straightforward, viz., that we include a clear statement about Crown copyright for the KJV. After we did that, and informed them, they seem to have been satisfied.&amp;lt;/ref&amp;gt;, [http://en.wikipedia.org/wiki/Oxford_University_Press Oxford University Press], [http://en.wikipedia.org/wiki/HarperCollins HarperCollins] and the [http://en.wikipedia.org/wiki/Queen's_Printer Queen's Printers] have the right to produce the Authorized Version. See [http://en.wikipedia.org/wiki/King_James_Bible King James Bible].&lt;br /&gt;
&lt;br /&gt;
The [http://en.wikipedia.org/wiki/British_and_Foreign_Bible_Society British &amp;amp; Foreign Bible Society] (based in the UK) respects this copyright status, although many American organisations do not respect it and treat it wrongly as if it were public domain.  In reality, the many editions of the KJV used in the USA are a revision of the text made by the [http://en.wikipedia.org/wiki/American_Bible_Society American Bible Society] and the rights for this revision are still held by ABS.&lt;br /&gt;
&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Distribution License ===&lt;br /&gt;
Currently the files kjv.conf and kjva.conf contain the following key:&lt;br /&gt;
 DistributionLicense=General public license for distribution for any purpose&lt;br /&gt;
This form of words does not match any of the defined options listed in [[DevTools:conf Files#Copyright_.26_Licensing_related_elements|Copyright &amp;amp; Licensing related elements]]. We should change this to one of the specified items.&lt;br /&gt;
&lt;br /&gt;
== Margin Notes ==&lt;br /&gt;
In a study of the marginal notes in the 1611 KJV, Scrivener&amp;lt;ref&amp;gt;Scrivener, F. H. A. ,''The Authorized Edition of the English Bible'', p. 56.&amp;lt;/ref&amp;gt; counted:&lt;br /&gt;
* 6637 in the OT&lt;br /&gt;
* 1018 in the Apocrypha&lt;br /&gt;
* 0767 in the NT&lt;br /&gt;
* 8422 in total&lt;br /&gt;
Of the 767 notes in the NT, 35 are explanatory notes or brief ex­positions, 582 give alternative translations, 112 give a more literal ren­dering of the Greek than the translators judged suitable for the text, and 37 give readings of different manuscripts.&lt;br /&gt;
&lt;br /&gt;
The KJV module (2.10 wip) currently has the following study notes:&lt;br /&gt;
* 6959 in the OT of which a few are duplicates on the same &amp;quot;page&amp;quot; for similar verses.&amp;lt;ref&amp;gt;Performing a sort operation to remove all duplicates reduces the total by 617 to 6342, though some of those removed would not be close to each other before the sort.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Literatura Bautista have an article entitled [http://en.literaturabautista.com/exhaustive-listing-marginal-notes-1611-edition-king-james-bible An exhaustive listing of the marginal notes of the 1611 edition of the King James Bible]. This is a very useful resource for checking our module and comparing with the 1769 Reference Text. [[User:David Haslam|David Haslam]] has created an Excel worksheet for this purpose. We have identified up to 22 places where an OT note may be missing from the KJV module.&lt;br /&gt;
&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
== Cross references ==&lt;br /&gt;
The KJV module currently lacks any cross-references, apart from one or two that happen to be included in the margin notes. There were extensive cross-references in the 1611 first edition, and the same quantity or more in the 1769 Oxford edition. Whereas margin notes used superscripted numerical tags, the cross-references generally used lowercase letters tags, likewise superscripted and usually in italics.&lt;br /&gt;
&lt;br /&gt;
== Road Map ==&lt;br /&gt;
First we must decide how to markup the observed differences between the present text and the Blayney 1769 Oxford edition.&amp;lt;ref&amp;gt;Particularly what we should do with regard to spelling issues, as noted in David's user page [[User:David Haslam/Benjamin Blayney's 1769 KJV|Benjamin Blayney's 1769 KJV]].&amp;lt;/ref&amp;gt;&lt;br /&gt;
:''List briefly the further enhancements we would like to make in the future beyond the next release''.&lt;br /&gt;
=== KJV module: ===&lt;br /&gt;
* Add Greek equivalent to Strong's numbers. (3.1)&amp;lt;ref&amp;gt;The next release after version 2.10 will jump straight to 3.1 - missing out 3.0 - as by then, the KJVA module will be made from the same XML file. KJVA is currently version 3.0.1&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Mark all proper names with the '''name''' element; with type '''person''', '''geographic''', '''nonhuman''', '''holiday''', '''ritual''', etc.&amp;lt;ref&amp;gt;For name '''type=&amp;quot;person&amp;quot;''', it would be useful to define a new OSIS attribute '''sex=&amp;quot;male&amp;quot;''' or '''sex=&amp;quot;female&amp;quot;'''.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;Spelling variants could be associated by means of the '''regular''' attribute (e.g. Cedron for Kidron).&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;Consider using '''type=&amp;quot;x-book&amp;quot;''' for the names of objects such as 'the book of Jasher'. See [http://en.wikipedia.org/wiki/Non-canonical_books_referenced_in_the_Bible Non-canonical books referenced in the Bible].&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;Suggest use '''type''' value '''x-people-group''' for names such as 'Hittites', and '''x-people-group-member''' for the corresponding singular 'Hittite'.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;Suggest use '''type=&amp;quot;x-month&amp;quot;''' and '''n=&amp;quot;1&amp;quot;''' to '''n=&amp;quot;12&amp;quot;''' for the names of the months in the [https://en.wikipedia.org/wiki/Hebrew_calendar#Names_of_months Hebrew calendar].&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;Suggest include '''subType=&amp;quot;x-possessive&amp;quot;''' or '''subType=&amp;quot;x-plural&amp;quot;'''. Also to make use of the attribute '''regular''' where this is appropriate.&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Use the '''foreign''' element to mark text that was transliterated from (e.g.) Aramaic to Greek in the NT.&lt;br /&gt;
* Use the '''inscription''' element to mark text that reports a written inscription.&lt;br /&gt;
* Use the '''q''' element to mark all other quotations, making use of a suitable set of '''who''' attribute values to identify each speaker.&amp;lt;ref&amp;gt;Currently the module only uses &amp;lt;code&amp;gt;&amp;amp;lt;q who=&amp;quot;Jesus&amp;quot;&amp;gt;...&amp;amp;lt;/q&amp;gt;&amp;lt;/code&amp;gt; to tag the words of Christ.&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Mark the 'salutation text' in the Epistles with the '''salute''' element.&lt;br /&gt;
* Mark the 'sign off text' in the Epistles with the '''signed''' element.&lt;br /&gt;
* Mark the closing &amp;quot;Amen.&amp;quot; in NT books with the '''closer''' element.&amp;lt;ref&amp;gt;For some books, the closer element might enclose more than the word &amp;quot;Amen.&amp;quot; Also, 3 John doesn't end with &amp;quot;Amen.&amp;quot;&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* ''Tentative''. Split KJV into KJV and AV where AV is an orthographic representation of the 1769 KJV. E.g. long s, ae, oe, fl, ffl, ....&lt;br /&gt;
&lt;br /&gt;
Further thoughts based upon having the Blayney edition:&lt;br /&gt;
* Audit OT notes and make any necessary corrections. Check notes text for added words not in italics (e.g. Job.31.35).&amp;lt;ref&amp;gt;Such words should be wrapped in the '''transChange''' element. The SWORD engine will need to support the &amp;quot;italics inversion&amp;quot; rule.&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Move each '''note''' element to the start of its &amp;quot;catch word&amp;quot; in the verse (or title) text.&amp;lt;ref&amp;gt;Currently, all the notes are at the end of the verse. An intermediate step would be to move all notes to the start of the verse.&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Add the special note symbols († ‖ ⁕) from Blayney.&lt;br /&gt;
* Add front-matter: dedicatory and preface, OT intro, NT intro, ....&lt;br /&gt;
* Add any end titles. e.g. The End of the /PROPHETS/. (after Malachi).&lt;br /&gt;
* Add column breaks and page breaks.&amp;lt;ref&amp;gt;Tying to the dead-tree edition. There were no page numbers in the Blayney 1769 Oxford Edition.&amp;lt;/ref&amp;gt; These would be '''milestone''' elements with either type=&amp;quot;column&amp;quot; or type=&amp;quot;pb&amp;quot;.&lt;br /&gt;
* Add [http://en.wikipedia.org/wiki/James_Ussher James Ussher's] chronology (found at the top of page margins) as note to chapter starts (probably in first verse or verse 0.)&amp;lt;ref&amp;gt;Some chapters change the year part way through (e.g. Gen.36).&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Add NT chapter descriptions.&lt;br /&gt;
* Add OT chapter descriptions.&lt;br /&gt;
* Add xrefs and notes to NT.&lt;br /&gt;
* Add xrefs to OT.&amp;lt;ref&amp;gt;References to DC books should include the attribute &amp;lt;code&amp;gt;editions=&amp;quot;KJVA&amp;quot;&amp;lt;/code&amp;gt; such that these can be filtered out when making the KJV module without the Aprocrypha.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== KJVA module: === &lt;br /&gt;
:''KJVA is not being rebuilt when KJV is updated. It should be.''&lt;br /&gt;
* Create the OSIS XML file for just the DC (deuterocanonical) books. Done. [[User:David Haslam|David Haslam]]&lt;br /&gt;
* Add the two prologues to Sirach: one &amp;quot;made by an uncertain Author&amp;quot;; the other &amp;quot;of the Wisdom of Jesus the Son of Sirach.&amp;quot;&lt;br /&gt;
* Add bookGroup title and bookGroup end title.&lt;br /&gt;
* Add the global attribute '''editions=&amp;quot;KJVA&amp;quot;''' to the main bookGroup div element.&lt;br /&gt;
* Update the book main titles to match those in 1769 KJV.&amp;lt;ref&amp;gt;Two books (Susanna &amp;amp; Bel) had text between the title and chapter 1.&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Remove the title type attribute of the Epistle of Jeremy in Baruch 6.&lt;br /&gt;
* Move the main title for EsthAdd to chapter 10 and remove the type attribute.&lt;br /&gt;
* Insert a horizontal ellipsis in the 12 empty verses before EsthAdd.10.4&amp;lt;ref&amp;gt;This avoids navigation issues in front-ends such as Xiphos.&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Add chapter labels as per 1769 KJV. Use Roman numerals for chapter numbers.&lt;br /&gt;
----&lt;br /&gt;
* Audit DC books text and markup. Look especially for added words printed in italics.&amp;lt;ref&amp;gt;There are only 36 instances in the DC books that use the '''transChange''' element.&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;In the original KJV 1611 words added were printed in smaller Roman type to contrast with the normal text in [http://en.wikipedia.org/wiki/Blackletter Gothic type].&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;Examples: &amp;quot;blessed is&amp;quot; (Wis.3.14); &amp;quot;to take him away,&amp;quot; (Wis.4.14); &amp;quot;aright&amp;quot; (Wis.8.8); &amp;quot;the fruit of&amp;quot; (Wis.10.10); &amp;quot;As namely&amp;quot; (Wis.19.7); &amp;quot;Sodomites&amp;quot; (Wis.19.14).&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Check a printed edition for any Pilcrows and add them if found.&amp;lt;ref&amp;gt;KJV 1611 had Pilcrows in 1Esd.2.8, 3.13, 4.13, 8.22,25; 2Esd.6.11; 1Macc.6.43,48, 9.23&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Check the DC books in the 1611 KJV for any extra paragraphs without a pilcrow.&amp;lt;ref&amp;gt;These could be marked as milestone type=&amp;quot;x-extra-p&amp;quot;.&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Add DC study notes. There are none in the existing module!&lt;br /&gt;
* Add DC chapter descriptions. Restore pilcrows corresponding to verses tagged therein.&amp;lt;ref&amp;gt;Verse numbers in these descriptions rarely coincide with a Pilcrow at the start of the verse.&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Add DC xrefs. cf. Blayney's Bible included DC xrefs in the PC (protocanonical) OT &amp;amp; NT books.&lt;br /&gt;
* Build KJVA and KJV from same XML file.&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== History ==&lt;br /&gt;
=== Text Development Stages ===&lt;br /&gt;
From the time the KJV module was first released, text and markup development has been done in several major stages:&lt;br /&gt;
* The original '''KJV2003''' Project &amp;amp;ndash; ''user page no longer exists''&lt;br /&gt;
* The [http://www.crosswire.org/~dmsmith/kjv2006/ KJV2006] Project&lt;br /&gt;
* The [[User:Dmsmith/KJV2011|KJV2011]] Effort&lt;br /&gt;
* The [[User:Dmsmith/KJV 2.6|KJV 2.6]] Effort &amp;amp;ndash; begun in 2013 and ongoing...&lt;br /&gt;
&lt;br /&gt;
=== Module Versions ===&lt;br /&gt;
While the KJV was a module at CrossWire prior to version 2.0, this is the earliest for which dates can be determined.&amp;lt;BR&amp;gt;Dates prior to version 2.3 are best estimates. (For changes in versions 1.x, refer to the file kjv.conf)&lt;br /&gt;
{|  width=&amp;quot;100%&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;sortable&amp;quot;&lt;br /&gt;
! width=&amp;quot;5%&amp;quot;|Revision&lt;br /&gt;
! width=&amp;quot;10%&amp;quot;|Date&lt;br /&gt;
! width=&amp;quot;75%&amp;quot;|Description&lt;br /&gt;
! width=&amp;quot;10%&amp;quot;|Source&lt;br /&gt;
|- &lt;br /&gt;
| 2.10&lt;br /&gt;
| Being prepared&lt;br /&gt;
| Improved OSIS markup. Minor textual changes to notes and titles.&lt;br /&gt;
Details: (''with progress marker'')&lt;br /&gt;
* Updated our custom [[OSIS 211 CR|OSIS schema]] to properly validate '''type''' values in '''rdg''' element, etc.&lt;br /&gt;
* Corrected rdg attribute type=&amp;quot;alternative&amp;quot; (2.9) to &amp;quot;alternate&amp;quot;.&lt;br /&gt;
* Moved '''sID''' before '''osisID''' in each verse start element.&lt;br /&gt;
* Moved '''morph''' to after '''lemma''' in each '''w''' element (in the OT).&amp;lt;ref&amp;gt;The lemma attribute is the one that specifies Strong's numbers. This is merely to be consistent in both testaments.&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Added a final full-stop to all notes previously lacking one.&lt;br /&gt;
* Fixed the punctuation after a few instances of &amp;quot; etc&amp;quot;.&lt;br /&gt;
* Marked all the abbreviations for &amp;quot;etc.&amp;quot;, &amp;quot;LXX&amp;quot;, &amp;quot;Gr.&amp;quot; &amp;amp; &amp;quot;Heb.&amp;quot; found in notes using the '''abbr''' element.&lt;br /&gt;
* Added a space after the ¶ in the milestone marker.&lt;br /&gt;
* Added the hitherto missing ¶ in NT books: Romans&amp;amp;mdash;Revelation.&lt;br /&gt;
* Changed red ¶ to black (i.e. within text marked as &amp;quot;words of Jesus&amp;quot;)&lt;br /&gt;
* Made minor corrections to a few notes.&lt;br /&gt;
* Added the comma after &amp;quot;: or&amp;quot; and &amp;quot;: that is&amp;quot; that was missing from some notes. &lt;br /&gt;
* Improved markup for colophon div in each Pauline epistle.&lt;br /&gt;
* Added '''osisID''' to the canonical Psalm titles.&lt;br /&gt;
* Added '''bookGroup''' div elements for OT &amp;amp; NT.&lt;br /&gt;
* Added '''majorSection''' div elements for the five books in the Psalter (but without titles)&lt;br /&gt;
* Removed the redundant '''chapterTitle''' attribute from the '''chapter''' element.&lt;br /&gt;
* Made '''canonical''' the first attribute in '''div''' &amp;amp; '''title''' elements. They line up better!&lt;br /&gt;
* Marked up the '''title''' element for each chapter &amp;amp; psalm to to match the Blayney edition.&lt;br /&gt;
* Used Roman numerals for chapter &amp;amp; psalm numbers.&lt;br /&gt;
* Updated Strong's numbers and lemma.TR to the latest TR from Maurice Robinson.&amp;lt;ref&amp;gt;As a side benefit, update CrossWire's TR module to match.&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Updated Words of Christ (red letter markup) to match Louis Klopsch's 1901 edition.&lt;br /&gt;
* Updated the 66 book titles to match those in the Blayney edition (including a final full-stop).&lt;br /&gt;
* Moved 47 notes from Psalms verse 1 to the canonical '''title''' element.&lt;br /&gt;
* Minor corrections to two Psalm titles.&lt;br /&gt;
* Added '''osisRef''' to '''catchWord''', using the '''@s''' grain operator (for now at least, mainly for single keywords).&lt;br /&gt;
* Added file history in the OSIS header using the '''revisionDesc''' element (done for KJV 2.0 to 2.9 so far).&amp;lt;ref&amp;gt;Excluding details of conf file updates.&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Updated conf file: Added Feature=GreekParse and Feature=HebrewParse.&lt;br /&gt;
-----&lt;br /&gt;
* Edit the '''osisID''' for each canonical Psalm title.&lt;br /&gt;
* Add '''osisID''' &amp;amp; '''n''' attributes to each '''note''' element.&lt;br /&gt;
* Add some few notes missing from the OT (less than 22).&lt;br /&gt;
* Identify and fix the notes for which the catchWord text doesn't properly match the verse text (e.g. Job 8:20).&amp;lt;ref&amp;gt;[[User:Dmsmith/KJV_2.6#Unmatched catchWord text, 2.10 (if possible)]]&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Check the notes order for verses with multiple notes.&amp;lt;ref&amp;gt;Not required if we move each note to before its catchWord text.&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Review notes not found in the 1611 by comparison with the list from SB.&lt;br /&gt;
* Review and further update conf file where required.&lt;br /&gt;
|&lt;br /&gt;
|- &lt;br /&gt;
| 2.9&lt;br /&gt;
| 2016-01-21&lt;br /&gt;
| Improved OSIS markup.&lt;br /&gt;
Details:&lt;br /&gt;
* Added '''catchWord''' and reading ('''rdg''') markup to notes.&lt;br /&gt;
* Improved markup placement for ''Selah'' in 13 places.&lt;br /&gt;
| &lt;br /&gt;
|- &lt;br /&gt;
| 2.8&lt;br /&gt;
| 2015-12-20&lt;br /&gt;
| Improved OSIS markup.&lt;br /&gt;
Details:&lt;br /&gt;
* Moved Ps 119 acrostic titles before verse number.&lt;br /&gt;
* Changed double spaces to a single space.&lt;br /&gt;
* Changed &amp;quot;Heb &amp;quot; to &amp;quot;Heb. &amp;quot; in notes.&lt;br /&gt;
* Added Feature=NoParagraphs.&lt;br /&gt;
|&lt;br /&gt;
|- &lt;br /&gt;
| 2.7&lt;br /&gt;
| 2015-08-09&lt;br /&gt;
| Fixed bugs preventing the display of some Strong's Numbers in the Old Testament.&amp;lt;BR&amp;gt;Improved markup of Strong's numbers in 2 Cor 15.&lt;br /&gt;
|&lt;br /&gt;
|- &lt;br /&gt;
| 2.6.1&lt;br /&gt;
| 2014-02-15&lt;br /&gt;
| Added GlobalOptionFilter for OSISLemma&lt;br /&gt;
|&lt;br /&gt;
|- &lt;br /&gt;
| 2.6&lt;br /&gt;
| 2013-10-05&lt;br /&gt;
| Fixed bugs. Added Greek from TR.&lt;br /&gt;
|&lt;br /&gt;
|- &lt;br /&gt;
| 2.5&lt;br /&gt;
| 2013-02-02&lt;br /&gt;
| Fixed bugs. See: [[User:Dmsmith/KJV2011|KJV2011]]&lt;br /&gt;
Details:&lt;br /&gt;
* Fixed markup of added words.&lt;br /&gt;
* Fixed more Words of Christ markup.&lt;br /&gt;
* Fixed punctuation, apostrophes, dashes and placement of spaces.&lt;br /&gt;
* Fixed the markup of a word that was split into two parts.&lt;br /&gt;
* Other bug fixes.&lt;br /&gt;
|&lt;br /&gt;
|- &lt;br /&gt;
| 2.4&lt;br /&gt;
| 2009-05-29&lt;br /&gt;
| Fixed bugs. Updated red-letter markup of Words of Christ.&lt;br /&gt;
|&lt;br /&gt;
|- &lt;br /&gt;
| 2.3&lt;br /&gt;
| 2006-10-09&lt;br /&gt;
| Fixed bugs. See: [http://crosswire.org/~dmsmith/kjv2006/ Project KJV2006]&lt;br /&gt;
Goals:&lt;br /&gt;
* Faithful representation of the KJV.&lt;br /&gt;
* Each book of the Bible is well-formed xml.&lt;br /&gt;
* Each book of the Bible is valid OSIS xml according to the 2.1.1 schema.&lt;br /&gt;
* The markup conforms to OSIS best practices as mentioned on the Sword-devel mailing list and the OSIS 2.1.1 user's manual&lt;br /&gt;
* Strong's markup normalized.&lt;br /&gt;
&lt;br /&gt;
Details:&lt;br /&gt;
* The xml is now well-formed.&lt;br /&gt;
* The xml is now valid OSIS 2.1.1&lt;br /&gt;
* Strong's numbers have been normalized.&lt;br /&gt;
* Fixed the missing 's in the OT&lt;br /&gt;
* Moved whitespace and punctuation to a more sensible location and fixed whitespace problems.&lt;br /&gt;
* Positioned the [http://en.wikipedia.org/wiki/Pilcrow pilcrow symbol] ¶ at the start of verses.&lt;br /&gt;
* Validated against Old Scofield Study Bible for all differences found by comparing against&lt;br /&gt;
::(a) the KJV encoded by Tim Lanfear for CCEL.&lt;br /&gt;
::(b) the KJV encoded Interleaf Bible.&lt;br /&gt;
* Fixed all existing titles and added missing ones.&lt;br /&gt;
* Fixed paragraphing&lt;br /&gt;
* Tagged all inscriptions&lt;br /&gt;
* Fixed and tagged all divine names&lt;br /&gt;
* Added xlit to w elements for the acrostic in Psalm 119&lt;br /&gt;
* Hyphenated names&lt;br /&gt;
* Fixed names with ligatures Æ and æ&lt;br /&gt;
* Fixed a bug in osis2mod that incorrectly encoded the last verse of each book&lt;br /&gt;
* Removed Strong's number H00 as it does not exist.&lt;br /&gt;
|&lt;br /&gt;
|- &lt;br /&gt;
| 2.2&lt;br /&gt;
| 2004-07-25&lt;br /&gt;
| Updated to 20040121 snapshot of KJV2003.&lt;br /&gt;
|&lt;br /&gt;
|- &lt;br /&gt;
| 2.1&lt;br /&gt;
| 2003-06-24&lt;br /&gt;
| Changed Old Testament to use OSIS tags, removing the last of the GBF markup.&amp;lt;BR&amp;gt;Also updated to 20030624 snapshot of KJV2003.  Compressed.&lt;br /&gt;
|&lt;br /&gt;
|- &lt;br /&gt;
| 2.0&lt;br /&gt;
| 2003-01-08&lt;br /&gt;
| Changed New Testament to use a snapshot of the KJV2003 Project&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
'''Note:'''&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Help:Contents#Modules|Reporting module issues]]&lt;br /&gt;
* [[CrossWire KJVA|English: KJVA]] module &amp;amp;ndash; KJV with Apocrypha&lt;br /&gt;
* [[User:David Haslam/Benjamin Blayney's 1769 KJV|Benjamin Blayney's 1769 KJV]] &amp;amp;ndash; [[User:David Haslam|David Haslam]] ([[User talk:David Haslam|talk]])'s user page&lt;br /&gt;
* [[KJV 1611]]&lt;br /&gt;
&lt;br /&gt;
== Biblical lists ==&lt;br /&gt;
This might be useful. There are other similar lists in the same category.&lt;br /&gt;
* https://en.wikipedia.org/wiki/List_of_biblical_names&lt;br /&gt;
* https://en.wikipedia.org/wiki/List_of_biblical_places&lt;br /&gt;
* https://en.wikipedia.org/wiki/List_of_animals_in_the_Bible&lt;br /&gt;
* https://en.wikipedia.org/wiki/List_of_plants_in_the_Bible&lt;br /&gt;
* https://en.wikipedia.org/wiki/List_of_precious_stones_in_the_Bible&lt;br /&gt;
* https://en.wikipedia.org/wiki/List_of_women_in_the_Bible&lt;br /&gt;
* https://en.wikipedia.org/wiki/List_of_major_biblical_figures&lt;br /&gt;
* https://en.wikipedia.org/wiki/List_of_minor_biblical_figures,_A%E2%80%93K&lt;br /&gt;
* https://en.wikipedia.org/wiki/List_of_minor_biblical_figures,_L%E2%80%93Z&lt;br /&gt;
The OSIS User Manual has no defined markup for animals, plants and precious stones.&amp;lt;BR&amp;gt;&lt;br /&gt;
For names and places, the name element with type=&amp;quot;person&amp;quot; or &amp;quot;geographic&amp;quot; is defined. &lt;br /&gt;
The other defined attribute values are &amp;quot;holiday&amp;quot;,  &amp;quot;nonhuman&amp;quot;,  &amp;quot;ritual&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
* [http://www.crossway.org/blog/2006/03/red-letter-origin/ Origin of Red-Letter Bibles] &amp;amp;ndash; CrossWay blog,  March 23, 2006. Somewhat more informative than the Wikipedia [http://en.wikipedia.org/wiki/Red_letter_edition page].&lt;br /&gt;
* [http://books.google.co.uk/books?vid=BL:A0017123081&amp;amp;hl=en Fenwick, George (1759), ''Thoughts on the Hebrew titles of the Psalms : and on some of those in the Septuagint, endeavouring to discover the meaning, and point out the use of them'']&lt;br /&gt;
* [http://books.google.co.uk/books/about/The_Holy_Bible_Containing_the_Old_and_Ne.html?id=MGNljgEACAAJ Benjamin Blayney, T. Wright and W. Gill; and sold by R. Baldwin, and S. Crowder, London; and by W. Jackson, in Oxford, 1769] &amp;amp;ndash; Google books digitisation (only Gen-Exod to date; accessed 2016-02-09).&lt;br /&gt;
* [http://books.google.co.uk/books?id=fINaAAAAYAAJ An 1872 edition of the KJV] &amp;amp;ndash; Google books &lt;br /&gt;
* [http://www.contendingfortruth.com/wp-content/uploads/KJV-Differences-Cambridge-Oxford-Text.pdf Differences Between The Cambridge and Oxford King James Bibles]&lt;br /&gt;
&lt;br /&gt;
[[Category:Modules|CrossWire KJV]]&lt;br /&gt;
[[Category:English Bibles|CrossWire KJV]]&lt;br /&gt;
[[Category:OSIS|CrossWire KJV]]&lt;br /&gt;
[[Category:Copyright|CrossWire KJV]]&lt;/div&gt;</summary>
		<author><name>Dmsmith</name></author>	</entry>

	<entry>
		<id>https://wiki.crosswire.org/index.php?title=Choosing_a_SWORD_program&amp;diff=15103</id>
		<title>Choosing a SWORD program</title>
		<link rel="alternate" type="text/html" href="https://wiki.crosswire.org/index.php?title=Choosing_a_SWORD_program&amp;diff=15103"/>
				<updated>2016-03-19T18:25:19Z</updated>
		
		<summary type="html">&lt;p&gt;Dmsmith: /* Windowing and Text Display */ Opening other pages is not a feature of a front-end. We shouldn't advertise it.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
This page needs to be maintained to give fair coverage of the SWORD front-end programs.&lt;br /&gt;
&lt;br /&gt;
Do feel free to edit this page to make it more complete and better organized.&lt;br /&gt;
&lt;br /&gt;
The purpose of this page is to help an end user decide which SWORD front-end program is the best for them. The first consideration is which programs are available for the user. This can be found at [http://www.crosswire.org CrossWire's home page]. Once the user has narrowed down which programs are available, the following can be used to focus on the best program.&lt;br /&gt;
&lt;br /&gt;
It is recommended that each user try all the available programs. It is likely that one will resonate with the user and work best for that user.&lt;br /&gt;
&lt;br /&gt;
As this page is oriented to program features, it does not distinguish whether the underlying engine is SWORD or JSword.&lt;br /&gt;
&lt;br /&gt;
Some applications have a different CrossWire development code name than the public name.&lt;br /&gt;
&lt;br /&gt;
==Features Common to All SWORD Front-end Applications==&lt;br /&gt;
Most SWORD Front-end programs have these features:&lt;br /&gt;
* Uses Unicode (though some front-ends don't yet support 5.0 or later)&lt;br /&gt;
* Released under an open source license&lt;br /&gt;
* Powerful search syntax - wildcard, regex and often also clucene indexed searches (fuzzy and proximity searches + searches for Strong's, stemming etc) within preset and customized scopes.&lt;br /&gt;
* Strong's, morphological info, cross references and footnotes&lt;br /&gt;
* All front-ends listed below are undergoing more or less active development.&lt;br /&gt;
* Verse and block layout&lt;br /&gt;
* Image support in all types of modules&lt;br /&gt;
* Localization - all front-ends are designed to be readily translatable. Many are translated in various languages.&lt;br /&gt;
&lt;br /&gt;
==Side-by-Side Comparison of Notable SWORD Front-end Applications==&lt;br /&gt;
:''This is a work in progress. It may not be 100% accurate. As front-ends are further developed, some items may become out of date.&amp;lt;BR&amp;gt;Please help to keep this page useful by editing it to the best of your knowledge''.&lt;br /&gt;
&lt;br /&gt;
=== Legends ===&lt;br /&gt;
To keep the tables below compact, the SWORD programs are identified by abbreviations. Here is an explanation of each of them:&lt;br /&gt;
*'''AB''' &amp;amp;mdash; [http://code.google.com/p/and-bible/ And Bible] based on JSword, for Android OS&lt;br /&gt;
*'''ABS''' &amp;amp;mdash; [http://www.kiyut.com/products/alkitab/ Alkitab Bible Study] based on JSword, uses Java 5+&lt;br /&gt;
*'''BD''' &amp;amp;mdash; [[Frontends:BibleDesktop|BibleDesktop]] based on JSword, uses Java 1.4.2+&lt;br /&gt;
*'''BT''' &amp;amp;mdash; [[Frontends:BibleTime|BibleTime]] uses cross-platform Qt toolkit&lt;br /&gt;
*'''BPB''' &amp;amp;mdash; [http://bpbible.com BPBible] uses wxPython&lt;br /&gt;
*'''FB''' &amp;amp;mdash; [http://thegoan.com/firebible FireBible] based on xulsword, runs in FireFox as an extension&lt;br /&gt;
*'''MS2''' &amp;amp;mdash; [[Frontends:MacSword|Eloquent]] &amp;amp;ndash; formerly named '''MacSword2'''&lt;br /&gt;
*'''PS''' &amp;amp;mdash; [http://crosswire.org/pocketsword/ PocketSword] ''v1.x.x''&lt;br /&gt;
*'''SPW''' &amp;amp;mdash; [[Frontends:BibleCS|The SWORD Project for Windows]]&lt;br /&gt;
*'''SB''' &amp;amp;mdash; [http://swordwarrior.net/ SwordBible]&lt;br /&gt;
*'''ST''' &amp;amp;mdash; [http://www.stepbible.org/ STEP Bible]&lt;br /&gt;
*'''Xi''' &amp;amp;mdash; [[Frontends:Xiphos|Xiphos]] (formerly [[Frontends:GnomeSword|GnomeSword]])&lt;br /&gt;
*'''XS''' &amp;amp;mdash; [http://code.google.com/p/xulsword/ xulsword] (''aka'' [http://ibt.org.ru/en/pc.htm Holy Bible] / [http://ibt.org.ru/ru/pc.htm Электронная Библия])&lt;br /&gt;
&lt;br /&gt;
:''A blank entry means that it is unknown whether a feature is present. Footnotes are automatically numbered''.&lt;br /&gt;
&lt;br /&gt;
=== Operating Systems and Portability===&lt;br /&gt;
&amp;lt;!-- Note: Text in this construct is a comment. Such comments in the tables below are present only as an aid.  --&amp;gt;&lt;br /&gt;
:''Please add content to the empty cells''.&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; class=&amp;quot;sortable&amp;quot;&lt;br /&gt;
! width=&amp;quot;250px&amp;quot; | Feature&lt;br /&gt;
! title=&amp;quot;And Bible&amp;quot;                     | AB&lt;br /&gt;
! title=&amp;quot;AlKitab Bible Study&amp;quot;           | ABS&lt;br /&gt;
! title=&amp;quot;Bible Desktop&amp;quot;                 | BD&lt;br /&gt;
! title=&amp;quot;BibleTime&amp;quot;                     | BT&lt;br /&gt;
! title=&amp;quot;BPBible&amp;quot;                       | BPB&lt;br /&gt;
! title=&amp;quot;FireBible&amp;quot;                     | FB&lt;br /&gt;
! title=&amp;quot;MacSword2&amp;quot;                     | MS2&lt;br /&gt;
! title=&amp;quot;PocketSword&amp;quot;                   | PS&lt;br /&gt;
! title=&amp;quot;The SWORD Project for Windows&amp;quot; | SPW&lt;br /&gt;
! title=&amp;quot;SwordBible&amp;quot;                    | SB&lt;br /&gt;
! title=&amp;quot;STEP Bible&amp;quot;                    | ST&lt;br /&gt;
! title=&amp;quot;Xiphos&amp;quot;                        | Xi&lt;br /&gt;
! title=&amp;quot;xulsword&amp;quot;                      | XS&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Runs on Windows 95/98/NT/ME'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{no}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;{{&lt;br /&gt;
| '''Runs on Windows 2K/XP/Vista/7/8/10'''&amp;lt;ref&amp;gt;Windows 8 is supported only on x86 processors, so Windows RT is unsupported.&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Runs on Mac OS X 10.3+'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{no}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Runs on Mac OS X 10.4+'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{no}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Runs on Mac OS X 10.5+'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{part}}&amp;lt;ref name=&amp;quot;runsOnFirefox&amp;quot;&amp;gt;xulsword is essentially a Firefox Add-On, and can run anywhere Firefox runs, but the libxulsword engine must first be compiled for this system.&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Runs on Linux'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Runs on other Unix'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&amp;lt;ref&amp;gt;BSD and Solaris.&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Runs on iPhone, iPad, &amp;amp; iPod touch'''&amp;lt;ref&amp;gt;iOS 3.1.3 and higher.&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{yes}} &amp;lt;ref&amp;gt;Currently, only the web-version. Online mobile app is coming soon.&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{no}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Runs on Android&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{yes}} &amp;lt;ref&amp;gt;Currently, only the web-version. Online and offline mobile apps are coming soon.&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{part}} &amp;lt;ref name=&amp;quot;runsOnFirefox&amp;quot;/&amp;gt;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Can be installed to run from USB drive'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{yes}}&amp;lt;ref&amp;gt;[http://www.crosswire.org/~dmsmith/bd/ Portable] both in the sense that it can be carried in ones pocket and in the sense that it runs on Windows, Mac or Linux, requiring nothing from the host computer and leaving no trace on it.&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{yes}}&amp;lt;ref&amp;gt;[http://PortableApps.com/BPBiblePortable PortableApps.com edition] for Windows only. Leaves no trace on host computer.&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{yes}}&amp;lt;ref&amp;gt;Using [http://PortableApps.com/FirefoxPortable Mozilla Firefox, Portable Edition] from PortableApps.com, for Windows only, but depends on a local installation of Java. Leaves no trace on host computer. Other platforms are possible.&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{yes}}&amp;lt;ref&amp;gt;Leaves traces on host computer.&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{yes}}&amp;lt;ref&amp;gt;Temporarily install to a computer and then copy the &amp;quot;C:\Program Files\CrossWire\The SWORD Project&amp;quot; folder to the USB drive. Finally, uninstall it and delete install directory. Leaves no traces on host computer.&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{yes}} &amp;lt;ref&amp;gt;Yes in theory. Similar to BD, but not tested.&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&amp;lt;ref&amp;gt;WIndows only.&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&lt;br /&gt;
|}&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Module related ===&lt;br /&gt;
&lt;br /&gt;
==== Module Support ====&lt;br /&gt;
:''Please add content to the empty cells.'' &lt;br /&gt;
{|border=&amp;quot;1&amp;quot; class=&amp;quot;sortable&amp;quot;&lt;br /&gt;
! width=&amp;quot;250px&amp;quot; | Feature&lt;br /&gt;
! title=&amp;quot;And Bible&amp;quot;                     | AB&lt;br /&gt;
! title=&amp;quot;AlKitab Bible Study&amp;quot;           | ABS&lt;br /&gt;
! title=&amp;quot;Bible Desktop&amp;quot;                 | BD&lt;br /&gt;
! title=&amp;quot;BibleTime&amp;quot;                     | BT&lt;br /&gt;
! title=&amp;quot;BPBible&amp;quot;                       | BPB&lt;br /&gt;
! title=&amp;quot;FireBible&amp;quot;                     | FB&lt;br /&gt;
! title=&amp;quot;MacSword2&amp;quot;                     | MS2&lt;br /&gt;
! title=&amp;quot;PocketSword&amp;quot;                   | PS&lt;br /&gt;
! title=&amp;quot;The SWORD Project for Windows&amp;quot; | SPW&lt;br /&gt;
! title=&amp;quot;SwordBible&amp;quot;                    | SB&lt;br /&gt;
! title=&amp;quot;STEP Bible&amp;quot;                    | ST&lt;br /&gt;
! title=&amp;quot;Xiphos&amp;quot;                        | Xi&lt;br /&gt;
! title=&amp;quot;xulsword&amp;quot;                      | XS&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Daily devotions start with today'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Daily devotions show friendly dates'''&amp;lt;ref&amp;gt;Dates use locale appropriate date representation. Month names if used are localized, too.&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{no}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Shows testament introductions'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Shows book introductions'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Shows chapter introductions'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Personal commentary'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&amp;lt;ref name=&amp;quot;exportable&amp;quot;&amp;gt;Exportable as a SWORD module&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Journal'''&amp;lt;ref&amp;gt;These are user-created and user-editable modules to contain general content. Initially conceived as simple prayer lists, they have expanded to include daily journals and topic-outline content. The user can maintain prayer lists, or prepare sermons, or write any structured content desired.&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&amp;lt;ref name=&amp;quot;exportable&amp;quot;/&amp;gt;&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{no}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Right to Left scripts'''&amp;lt;ref&amp;gt;Arabic, Farsi, Hebrew and other modules Right-to-Left scripts are displayed from right-to-left, properly aligned and correctly shaped, and with adequate implementation of the [http://en.wikipedia.org/wiki/Bi-directional_text bidirectional algorithm].&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Complex scripts'''&amp;lt;ref&amp;gt;See [http://scripts.sil.org/cms/scripts/page.php?item_id=CmplxRndExamples Examples of Complex Rendering].&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;The application can display correctly [http://en.wikipedia.org/wiki/Brahmic_family_of_scripts Brahmic, Indic, and related scripts] (or other scripts of similar layout)  - subject to availability of adequate fonts and standardized Unicode&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{part}}&amp;lt;ref name=&amp;quot;uniscribe&amp;quot;&amp;gt;To the extent that [http://en.wikipedia.org/wiki/Uniscribe Uniscribe] supports a given script&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{yes}}&amp;lt;ref&amp;gt;To the extent that Firefox supports a given script&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{part}}&amp;lt;ref&amp;gt;For iOS 3, we couldn't install user fonts, so we could only display fonts that Apple had bundled with the iPhone. This changed with iOS 4, from which point PocketSword supports this.&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{part}}&amp;lt;ref name=&amp;quot;uniscribe&amp;quot;/&amp;gt;&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&amp;lt;ref&amp;gt;With [http://en.wikipedia.org/wiki/Pango pango]-[http://en.wikipedia.org/wiki/Graphite_(SIL) graphite] installed&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''[[Transliteration]]'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{yes}}&amp;lt;ref&amp;gt;Only when compiled with libsword ICU.&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{part}} &amp;lt;ref&amp;gt;Does not use ICU and appears incapable of transliterating anything other than Greek and Hebrew. Even Greek and Hebrew transliteration is limited to a small subset of texts.&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{no}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Can display Lemmas'''&amp;lt;ref&amp;gt;Applicable only for modules with GlobalOptionFilter=OSISLemma or GlobalOptionFilter=ThMLLemma. The KJV module is one such example. See [[DevTools:conf Files]].&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Can display Glosses'''&amp;lt;ref&amp;gt;Applicable only for modules with GlobalOptionFilter=OSISGlosses or (deprecated) GlobalOptionFilter=OSISRuby. See [[Modules in the beta repository#Japanese_Bibles|Japanese Bibles]]. See [[DevTools:conf Files]].&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Footnote expansion'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{yes}}&amp;lt;ref name=&amp;quot;Limited&amp;quot;&amp;gt;Notes appear in popup. Extremely long notes may appear truncated in the popup.&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{yes}} &lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Glossary links'''&amp;lt;ref&amp;gt;i.e. For reference elements with attribute type=&amp;quot;x-glossary&amp;quot; ... &amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{no}} &lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Morphological segments'''&amp;lt;ref&amp;gt;Display these segments by some suitable method, for modules that have GlobalOptionFilter=OSISMorphSegmentation in the configuration file. An example is the WLC module.&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{yes}}&amp;lt;ref&amp;gt;e.g. For module OHSB or WLC - click color code Hebrew from the cog menu.&amp;lt;/ref&amp;gt; &lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; &lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| [[Alternate Versification]]&amp;lt;ref&amp;gt;Modules with a different book order may have navigation problems in some front-ends.&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{yes}}&amp;lt;ref&amp;gt;As of version 1.9.0 which provides mapping between Synodal, German, Leningrad, Vulgate, KJV, and NRSV versifications and adds the IBT repository as a download location.&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{yes}}&amp;lt;ref name=&amp;quot;bcs173&amp;quot;&amp;gt;Av11n is supported as from release 1.7.3&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{yes}}&amp;lt;ref&amp;gt;Including converting from one versification to another for Synodal, German, Leningrad, Vulgate, KJV and NRSV.&amp;lt;/ref&amp;gt; &lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Show deuterocanonical books'''&amp;lt;ref&amp;gt;This implicitly requires support for [[Alternate Versification|av11n]], yet showing DC books also requires being able to navigate to them via the passage selector, etc.&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{yes}}&amp;lt;ref name=&amp;quot;bcs173&amp;quot;/&amp;gt;&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{yes}} &lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{no}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Show encoded transliterations'''&amp;lt;ref&amp;gt;For modules such as SP (Samaritan Pentateuch) that are configured with GlobalOptionFilter=OSISXlit.&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt;  {{no}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{no}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Supports module abbreviations'''&amp;lt;ref&amp;gt;For modules that include the abbreviation property in the configuration file (e.g. Most of the modules in the IBT repository).&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Module Management ====&lt;br /&gt;
:''Please add content to the empty cells.'' &lt;br /&gt;
{|border=&amp;quot;1&amp;quot; class=&amp;quot;sortable&amp;quot;&lt;br /&gt;
! width=&amp;quot;250px&amp;quot; | Feature&lt;br /&gt;
! title=&amp;quot;And Bible&amp;quot;                     | AB&lt;br /&gt;
! title=&amp;quot;AlKitab Bible Study&amp;quot;           | ABS&lt;br /&gt;
! title=&amp;quot;Bible Desktop&amp;quot;                 | BD&lt;br /&gt;
! title=&amp;quot;BibleTime&amp;quot;                     | BT&lt;br /&gt;
! title=&amp;quot;BPBible&amp;quot;                       | BPB&lt;br /&gt;
! title=&amp;quot;FireBible&amp;quot;                     | FB&lt;br /&gt;
! title=&amp;quot;MacSword2&amp;quot;                     | MS2&lt;br /&gt;
! title=&amp;quot;PocketSword&amp;quot;                   | PS&lt;br /&gt;
! title=&amp;quot;The SWORD Project for Windows&amp;quot; | SPW&lt;br /&gt;
! title=&amp;quot;SwordBible&amp;quot;                    | SB&lt;br /&gt;
! title=&amp;quot;STEP BIble&amp;quot;                    | ST &amp;lt;ref&amp;gt;Available on desktop version only for obvious reasons&amp;lt;/ref&amp;gt;&lt;br /&gt;
! title=&amp;quot;Xiphos&amp;quot;                        | Xi&lt;br /&gt;
! title=&amp;quot;xulsword&amp;quot;                      | XS&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Integrated module manager'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{yes}}&amp;lt;ref name=&amp;quot;plugins&amp;quot;&amp;gt;via plugins&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{part}}&amp;lt;ref&amp;gt;Zip installer for locally available modules only&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Module unlocking support'''&amp;lt;ref&amp;gt;The application allows the user to supply the unlock key. The user does not have to manually edit the module's conf file.&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{yes}}&amp;lt;ref name=&amp;quot;plugins&amp;quot;/&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&amp;lt;ref&amp;gt;Also supports built-in key generator capability&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Multiple download repositories'''&amp;lt;ref&amp;gt;Integrated installer allows download from more than one SWORD module repository.&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{yes}}&amp;lt;ref name=&amp;quot;plugins&amp;quot;/&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&amp;lt;ref&amp;gt;Xiphos supports automatic repository discovery, using the standard set maintained at CrossWire&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Local repositories (e.g. CrossWire CD)'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{n/a}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Use of Proxy configurable'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{n/a}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{n/a}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{n/a}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Downloaded modules are available immediately without restart'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''User is warned of internet access'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{yes}}&amp;lt;ref name=&amp;quot;plugins&amp;quot;/&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{n/a}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''User is advised about download size'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{yes}}&amp;lt;ref name=&amp;quot;plugins&amp;quot;/&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{n/a}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&amp;lt;ref&amp;gt;Xiphos will extract info from repository if provided&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''User can continue working while download is in progress'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{n/a}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Download can be canceled'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{yes}}&amp;lt;ref name=&amp;quot;plugins&amp;quot;/&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{n/a}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{part}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''User is warned if module already exists'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{yes}}&amp;lt;ref name=&amp;quot;plugins&amp;quot;/&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{yes}} &amp;lt;ref name=&amp;quot;installedhighlighted&amp;quot;/&amp;gt;&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{yes}} &amp;lt;ref name=&amp;quot;installedhighlighted&amp;quot;/&amp;gt;&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{yes}}&amp;lt;ref&amp;gt;The user is now shown the option if the module is already installed.&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}} &amp;lt;ref name=&amp;quot;installedhighlighted&amp;quot;&amp;gt;Installed modules are highlighted&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''User is notified of module updates'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''User is notified of new modules'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{no}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''User is notified of obsolete modules'''&amp;lt;ref&amp;gt;When a module is installed that obsoletes an already installed module.&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; &lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Hiding/showing installed modules'''&amp;lt;ref&amp;gt;This refers to the ability to select which of the installed modules are listed for selection, without having to uninstall any modules.&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{yes}}&amp;lt;ref&amp;gt;Modules can be sorted for installed/uninstalled&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{n/a}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{yes}}&amp;lt;ref&amp;gt;Modules are displayed in 2 columns: 'available for download' and 'installed'&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Modules sorted by type'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Modules are further sorted by language'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Module manager displays [[Localized Language Names|localized language names]]'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{n/a}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{n/a}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{n/a}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{n/a}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Modules can be archived/exported'''&amp;lt;ref&amp;gt;Packages a module into SWORD's shareable &amp;quot;Raw Zip&amp;quot; format.&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{no}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Companion module support'''&amp;lt;ref&amp;gt;This facilitates authors combining Bibles and commentaries as a pair. When a user opens one, the front-end UI asks the user to open the other. For modules with Companion=ModuleName in the conf file&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{no}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Can install specified font'''&amp;lt;ref&amp;gt;Where a redistributable font is specified in the module conf file, installing the module can also install the font.&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{n/a}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{n/a}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&amp;lt;ref&amp;gt;The font may be included within the module's zip file, under a &amp;quot;fonts&amp;quot; sub-directory, or else a URL can be used to specify the font.&amp;lt;/ref&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Image Module Support ====&lt;br /&gt;
:''Please add content to the empty cells.'' &lt;br /&gt;
{|border=&amp;quot;1&amp;quot; class=&amp;quot;sortable&amp;quot;&lt;br /&gt;
! width=&amp;quot;250px&amp;quot; | Feature&lt;br /&gt;
! title=&amp;quot;And Bible&amp;quot;                     | AB&lt;br /&gt;
! title=&amp;quot;AlKitab Bible Study&amp;quot;           | ABS&lt;br /&gt;
! title=&amp;quot;Bible Desktop&amp;quot;                 | BD&lt;br /&gt;
! title=&amp;quot;BibleTime&amp;quot;                     | BT&lt;br /&gt;
! title=&amp;quot;BPBible&amp;quot;                       | BPB&lt;br /&gt;
! title=&amp;quot;FireBible&amp;quot;                     | FB&lt;br /&gt;
! title=&amp;quot;MacSword2&amp;quot;                     | MS2&lt;br /&gt;
! title=&amp;quot;PocketSword&amp;quot;                   | PS&lt;br /&gt;
! title=&amp;quot;The SWORD Project for Windows&amp;quot; | SPW&lt;br /&gt;
! title=&amp;quot;SwordBible&amp;quot;                    | SB&lt;br /&gt;
! title=&amp;quot;STEP Bible&amp;quot;                    | ST&lt;br /&gt;
! title=&amp;quot;Xiphos&amp;quot;                        | Xi&lt;br /&gt;
! title=&amp;quot;xulsword&amp;quot;                      | XS&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| ''' Image resizing'''&amp;lt;ref&amp;gt;Shrink large images to fit proportionally within the window or pane.&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{no}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''JPEG format'''&amp;lt;ref&amp;gt;All full-featured SWORD applications should already have support for this type.&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| ''' PNG format'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| ''' SVG format'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Module Information ====&lt;br /&gt;
Some front-ends can display the complete information from the module's [[DevTools:conf Files|conf file]]. Others can display hardly anything at all of this information. Please use this section to record what each program can display for module information, and how this is accessed.&lt;br /&gt;
&lt;br /&gt;
Please state whether the front-end can display the '''ShortPromo''' link, if present in the module conf file. Except for locked modules, this is the only configuration item that allows HTML.&lt;br /&gt;
&lt;br /&gt;
:''Please add content to the empty cells.'' &lt;br /&gt;
{|border=&amp;quot;1&amp;quot; class=&amp;quot;sortable&amp;quot;&lt;br /&gt;
! width=&amp;quot;250px&amp;quot; | Configuration Item&lt;br /&gt;
! title=&amp;quot;And Bible&amp;quot;                     | AB&lt;br /&gt;
! title=&amp;quot;AlKitab Bible Study&amp;quot;           | ABS&lt;br /&gt;
! title=&amp;quot;Bible Desktop&amp;quot;                 | BD&lt;br /&gt;
! title=&amp;quot;BibleTime&amp;quot;                     | BT&lt;br /&gt;
! title=&amp;quot;BPBible&amp;quot;                       | BPB&lt;br /&gt;
! title=&amp;quot;FireBible&amp;quot;                     | FB&lt;br /&gt;
! title=&amp;quot;MacSword2&amp;quot;                     | MS2&lt;br /&gt;
! title=&amp;quot;PocketSword&amp;quot;                   | PS&lt;br /&gt;
! title=&amp;quot;The SWORD Project for Windows&amp;quot; | SPW&lt;br /&gt;
! title=&amp;quot;SwordBible&amp;quot;                    | SB&lt;br /&gt;
! title=&amp;quot;STEP Bible&amp;quot;                    | ST&lt;br /&gt;
! title=&amp;quot;Xiphos&amp;quot;                        | Xi&amp;lt;ref&amp;gt;Example: http://ftp.xiphos.org/sword/xiphos/about_modules.png&amp;lt;/ref&amp;gt;&lt;br /&gt;
! title=&amp;quot;xulsword&amp;quot;                      | XS&amp;lt;ref&amp;gt;Items not shown immediately can be viewed by clicking 'More', which then displays the complete configuration file in a text window that even has an 'Edit' option.&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| ''' Module name'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| ''' Abbreviation'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| ''' Description'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| ''' Type'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| ''' Version'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| ''' Language'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| ''' Distribution license'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| ''' Filter features'''&amp;lt;ref&amp;gt;Headings, footnotes, xrefs, Strong's numbers, morph tags, ...&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| ''' Installed size'''&amp;lt;ref&amp;gt;For CrossWire hosted modules this property is generated automatically.&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{part}}&amp;lt;ref&amp;gt;Size shown only when installation is requested.&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| ''' Short Promotional'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&amp;lt;ref&amp;gt;Includes auto-hotlinking bare URLs.&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&amp;lt;ref&amp;gt;Text only after clicking 'More'. Not a hyperlink.&amp;lt;/ref&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Windowing and Text Display ===&lt;br /&gt;
:''Please add content to the empty cells.'' &lt;br /&gt;
{|border=&amp;quot;1&amp;quot; class=&amp;quot;sortable&amp;quot;&lt;br /&gt;
! width=&amp;quot;250px&amp;quot; | Feature&lt;br /&gt;
! title=&amp;quot;And Bible&amp;quot;                     | AB&lt;br /&gt;
! title=&amp;quot;AlKitab Bible Study&amp;quot;           | ABS&lt;br /&gt;
! title=&amp;quot;Bible Desktop&amp;quot;                 | BD&lt;br /&gt;
! title=&amp;quot;BibleTime&amp;quot;                     | BT&lt;br /&gt;
! title=&amp;quot;BPBible&amp;quot;                       | BPB&lt;br /&gt;
! title=&amp;quot;FireBible&amp;quot;                     | FB&lt;br /&gt;
! title=&amp;quot;MacSword2&amp;quot;                     | MS2&lt;br /&gt;
! title=&amp;quot;PocketSword&amp;quot;                   | PS&lt;br /&gt;
! title=&amp;quot;The SWORD Project for Windows&amp;quot; | SPW&lt;br /&gt;
! title=&amp;quot;SwordBible&amp;quot;                    | SB&lt;br /&gt;
! title=&amp;quot;STEP Bible&amp;quot;                    | ST&lt;br /&gt;
! title=&amp;quot;Xiphos&amp;quot;                        | Xi&lt;br /&gt;
! title=&amp;quot;xulsword&amp;quot;                      | XS&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Window layout flexible'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{n/a}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{yes}} &amp;lt;ref&amp;gt;STEP's layout is so different to others that it is hard to compare. The user is given a choice between showing 1 panel or two, and whether to collapse the bookmark functionality or not. The user can also move the info/lexicon popup. Since all searches and Bible passages happen on different areas of the page, there is limited scope for layout.&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Un/Linkable'''&amp;lt;ref&amp;gt;Open text panes can by user choice be linked or unlinked and will then move together to the next reference or stay at different references&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{n/a}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{yes}}&amp;lt;ref&amp;gt;Only linked at the moment&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{n/a}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{n/a}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Parallel display'''&amp;lt;ref&amp;gt;Several bible +/-commentary texts can be displayed in a set of parallel columns&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Text comparisons in parallel displays'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Multiple texts'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
| '''Ruby layout'''&amp;lt;ref&amp;gt;[http://www.w3.org/TR/ruby/ Ruby] is a not-yet-released SWORD 1.5.12 feature. Used for Japanese texts.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
! {{no}}&lt;br /&gt;
! {{no}}&lt;br /&gt;
! {{no}}&lt;br /&gt;
! {{no}}&lt;br /&gt;
! {{no}}&lt;br /&gt;
! {{no}}&lt;br /&gt;
! {{no}}&lt;br /&gt;
! {{no}}&lt;br /&gt;
! {{no}}&lt;br /&gt;
! {{no}}&lt;br /&gt;
! {{no}}&lt;br /&gt;
! {{no}}&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Module default font'''&amp;lt;ref&amp;gt;Used if the font is installed&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{no}}&amp;lt;ref&amp;gt;The fonts are set in stone on a language basis&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Font settable per module'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{yes}}&amp;lt;ref&amp;gt;Font size is also adjustable per module.&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{no}}&amp;lt;ref&amp;gt;The fonts are set in stone on a language basis&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Font settable per language'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{part}}&amp;lt;ref&amp;gt;The fonts are set in stone on a language basis but this is not exposed to the user.&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{no}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''[[Transliteration]]'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{no}}&amp;lt;ref&amp;gt;This is available if compiled with ICU.&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{no}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Doublespace lines option'''&amp;lt;ref&amp;gt;Useful (e.g.) to prevent Strongs numbers obscuring the diacritics for the line below. Or (e.g.) for those non-Roman scripts that have some very tall characters.&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&amp;lt;ref&amp;gt;A per-module option.&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''CSS display control for authors'''&amp;lt;ref&amp;gt;Using the suggested configuration directive PreferredCSSXHTML=style.css, naming a file in the module's DataPath directory. Generality for any XHTML renderer is advised, e.g. &amp;quot;body { -webkit-column-count: 2 ; }&amp;quot; can provide 2-column display, but only in a WebKit-driven application.&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{no}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Overall application CSS display control'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&amp;lt;ref&amp;gt;In ~/.xiphos/default-style.css. This affects all modules' display. For advanced users.&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{no}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''[[BibleSync]] shared navigation'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{no}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Honors coded note tags'''&amp;lt;ref&amp;gt;For OSIS note elements that specify the tag using the n attribute, e.g. n=&amp;quot;†&amp;quot;&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&amp;lt;ref&amp;gt;Via the context menu Module Options: Footnote / Cross-ref Markers.&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; &lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Search and Dictionary ===&lt;br /&gt;
:''Please add content to the empty cells.'' &lt;br /&gt;
{|border=&amp;quot;1&amp;quot; class=&amp;quot;sortable&amp;quot;&lt;br /&gt;
! width=&amp;quot;250px&amp;quot; | Feature&lt;br /&gt;
! title=&amp;quot;And Bible&amp;quot;                     | AB&lt;br /&gt;
! title=&amp;quot;AlKitab Bible Study&amp;quot;           | ABS&lt;br /&gt;
! title=&amp;quot;Bible Desktop&amp;quot;                 | BD&lt;br /&gt;
! title=&amp;quot;BibleTime&amp;quot;                     | BT&lt;br /&gt;
! title=&amp;quot;BPBible&amp;quot;                       | BPB&lt;br /&gt;
! title=&amp;quot;FireBible&amp;quot;                     | FB&lt;br /&gt;
! title=&amp;quot;MacSword2&amp;quot;                     | MS2&lt;br /&gt;
! title=&amp;quot;PocketSword&amp;quot;                   | PS&lt;br /&gt;
! title=&amp;quot;The SWORD Project for Windows&amp;quot; | SPW&lt;br /&gt;
! title=&amp;quot;SwordBible&amp;quot;                    | SB&lt;br /&gt;
! title=&amp;quot;STEP Bible&amp;quot;                    | ST&lt;br /&gt;
! title=&amp;quot;Xiphos&amp;quot;                        | Xi&lt;br /&gt;
! title=&amp;quot;xulsword&amp;quot;                      | XS&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Able to create a search index'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{yes}}&amp;lt;ref&amp;gt;Automatically created searching a module first time&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{yes}} &amp;lt;ref&amp;gt;Index can also be created automatically for all installed modules if enabled.&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Able to download a search index'''&amp;lt;ref&amp;gt;For a mobile device, it's generally much faster to download an index than to create one.&amp;lt;/ref&amp;gt;   &lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{n/a}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{no}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Able to delete a search index'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{yes}}&amp;lt;ref&amp;gt;Through plugins&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&amp;lt;ref&amp;gt;Other than by deleting the module or by resetting PocketSword via the iPhone System Preferences&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{n/a}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&amp;lt;ref&amp;gt;Done automatically as required, but the delete function is not accessible to users.&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Index in background'''&amp;lt;ref&amp;gt;User can continue to use application while index is being created.&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{n/a}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{no}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;	&lt;br /&gt;
| '''Indexed Search'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Cross Verse Proximity Search'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{yes}}&amp;lt;ref&amp;gt;Allowing phrases across verse boundaries&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Indexed Strong, Morphology and Body search'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Indexed CrossRef search'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{no}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Indexed Note and Heading search'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{no}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Advanced search options'''&amp;lt;ref&amp;gt;e.g. All words / Exact phrase, Regular expressions, Boolean combinations, Case-[in]sensitive, etc.&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{part}}&amp;lt;ref&amp;gt;All words, any word, exact phrase.&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Fuzzy search'''&amp;lt;ref&amp;gt;Finds words based upon approximation.&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Strong's search lexicon results'''&amp;lt;ref&amp;gt;Provide a table of matched words and their frequencies corresponding to any Strong's tag search.&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&amp;lt;ref name=&amp;quot;first500&amp;quot;&amp;gt;Result includes up to 500 search results.&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Strong's search reverse lexicon'''&amp;lt;ref&amp;gt;Provide a table of matched Strong's numbers and their frequencies correspding to any regular search of a Strong's tagged module.&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; &lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&amp;lt;ref name=&amp;quot;first500&amp;quot;/&amp;gt;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''GenBook and Commentary search'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{part}}&amp;lt;ref name = &amp;quot;commAsBibles&amp;quot;/&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{part}}&amp;lt;ref name = &amp;quot;commAsBibles&amp;quot;&amp;gt;Commentaries when treated as Bibles&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{yes}} &amp;lt;ref name=&amp;quot;commAsBibles&amp;quot;/&amp;gt;&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{yes}}&amp;lt;ref name = &amp;quot;commAsBibles&amp;quot;/&amp;gt;&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Combined module search'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&amp;lt;ref&amp;gt;Creation of lists of modules to be searched together&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{no}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Return to last search results'''&amp;lt;ref&amp;gt;Without having to search again.&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{yes}} &amp;lt;ref&amp;gt;If we mean we're coming from a different type of search or a passage lookup.&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&amp;lt;ref&amp;gt;via independent search result windows&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Search within search results'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{no}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Search scopes'''&amp;lt;ref&amp;gt;Limit search to one or more passages or books, possibly with predefined options for search OT only &amp;amp; search NT only.&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Result highlighting'''&amp;lt;ref&amp;gt;Search term(s) highlighted in results&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{yes}}&amp;lt;ref&amp;gt;With results in view, use Highlight all in Firefox Find (for the same search term)&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Automatic/On-Mouse Strongs/Morphology lookup'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{n/a}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{n/a}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Automatic/On-Mouse Glossary lookup'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{n/a}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{yes}} &amp;lt;ref&amp;gt;Via context menu&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{n/a}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Share search results'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&amp;lt;ref&amp;gt;On verse list context menus via [[BibleSync]].&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{no}}&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Bookmarking, Tagging, Listing and Notes ===&lt;br /&gt;
:''Please add content to the empty cells''.&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; class=&amp;quot;sortable&amp;quot;&lt;br /&gt;
! width=&amp;quot;250px&amp;quot; | Feature&lt;br /&gt;
! title=&amp;quot;And Bible&amp;quot;                     | AB&lt;br /&gt;
! title=&amp;quot;AlKitab Bible Study&amp;quot;           | ABS&lt;br /&gt;
! title=&amp;quot;Bible Desktop&amp;quot;                 | BD&lt;br /&gt;
! title=&amp;quot;BibleTime&amp;quot;                     | BT&lt;br /&gt;
! title=&amp;quot;BPBible&amp;quot;                       | BPB&lt;br /&gt;
! title=&amp;quot;FireBible&amp;quot;                     | FB&lt;br /&gt;
! title=&amp;quot;MacSword2&amp;quot;                     | MS2&lt;br /&gt;
! title=&amp;quot;PocketSword&amp;quot;                   | PS&lt;br /&gt;
! title=&amp;quot;The SWORD Project for Windows&amp;quot; | SPW&lt;br /&gt;
! title=&amp;quot;SwordBible&amp;quot;                    | SB&lt;br /&gt;
! title=&amp;quot;STEP Bible&amp;quot;                    | ST&lt;br /&gt;
! title=&amp;quot;Xiphos&amp;quot;                        | Xi&lt;br /&gt;
! title=&amp;quot;xulsword&amp;quot;                      | XS&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Bookmarks, verselists, or tags'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{yes}}&amp;lt;ref&amp;gt;Utilizes FF bookmarking system&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Manual adding'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Bulk adding of search result'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{no}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Permanent'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{yes}} &amp;lt;ref&amp;gt;(until cookies in browser history are cleared)&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Hierarchical'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Drag and drop management'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{n/a}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{n/a}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{n/a}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Exportable'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&amp;lt;ref&amp;gt;Plaintext, XML, HTML; for plaintext and HTML, with or without referenced material.&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Importable'''&amp;lt;ref&amp;gt;[[Frontends:Bookmarks Standard|Bookmarks Standard]]&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''User comments'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Delete all'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Study notes'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Session and State Management ===&lt;br /&gt;
:''Please add content to the empty cells''.&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; class=&amp;quot;sortable&amp;quot;&lt;br /&gt;
! width=&amp;quot;250px&amp;quot; | Feature&lt;br /&gt;
! title=&amp;quot;And Bible&amp;quot;                     | AB&lt;br /&gt;
! title=&amp;quot;AlKitab Bible Study&amp;quot;           | ABS&lt;br /&gt;
! title=&amp;quot;Bible Desktop&amp;quot;                 | BD&lt;br /&gt;
! title=&amp;quot;BibleTime&amp;quot;                     | BT&lt;br /&gt;
! title=&amp;quot;BPBible&amp;quot;                       | BPB&lt;br /&gt;
! title=&amp;quot;FireBible&amp;quot;                     | FB&lt;br /&gt;
! title=&amp;quot;MacSword2&amp;quot;                     | MS2&lt;br /&gt;
! title=&amp;quot;PocketSword&amp;quot;                   | PS&lt;br /&gt;
! title=&amp;quot;The SWORD Project for Windows&amp;quot; | SPW&lt;br /&gt;
! title=&amp;quot;SwordBible&amp;quot;                    | SB&lt;br /&gt;
! title=&amp;quot;STEP Bible&amp;quot;                    | ST&lt;br /&gt;
! title=&amp;quot;Xiphos&amp;quot;                        | Xi&lt;br /&gt;
! title=&amp;quot;xulsword&amp;quot;                      | XS&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Layout stored'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{part}}&amp;lt;ref&amp;gt;Size and location of windows only&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{n/a}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Interface language'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{n/a}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{yes}} &amp;lt;ref&amp;gt;Selected from locale setting&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Open modules'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{part}} &amp;lt;ref&amp;gt;Open tabs can be saved as a bookmark group and/or Firefox can automatically save session on exit. Limited to content viewed in primary browser area, not in the sidebar.&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Search results'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{part}}&amp;lt;ref&amp;gt;User can store the results of a search as a verse list&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{yes}} &amp;lt;ref&amp;gt;Resulting URL can be bookmarked&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{part}} &amp;lt;ref name=&amp;quot;queryStored&amp;quot;&amp;gt;Not result but search query is stored&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&amp;lt;ref&amp;gt;Verse list content is storable as bookmarks, including search results, Bible and commentary xrefs, and loaded history. See sidebar verse list context menu.&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{part}} &amp;lt;ref name=&amp;quot;queryStored&amp;quot;/&amp;gt;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Storing of multiple sessions'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{n/a}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{yes}} &amp;lt;ref&amp;gt;This is done by bookmarking URLs&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{no}}&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Help System ===&lt;br /&gt;
:''Please add content to the empty cells''.&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; class=&amp;quot;sortable&amp;quot;&lt;br /&gt;
! width=&amp;quot;250px&amp;quot; | Feature&lt;br /&gt;
! title=&amp;quot;And Bible&amp;quot;                     | AB&lt;br /&gt;
! title=&amp;quot;AlKitab Bible Study&amp;quot;           | ABS&lt;br /&gt;
! title=&amp;quot;Bible Desktop&amp;quot;                 | BD&lt;br /&gt;
! title=&amp;quot;BibleTime&amp;quot;                     | BT&lt;br /&gt;
! title=&amp;quot;BPBible&amp;quot;                       | BPB&lt;br /&gt;
! title=&amp;quot;FireBible&amp;quot;                     | FB&lt;br /&gt;
! title=&amp;quot;MacSword2&amp;quot;                     | MS2&lt;br /&gt;
! title=&amp;quot;PocketSword&amp;quot;                   | PS&lt;br /&gt;
! title=&amp;quot;The SWORD Project for Windows&amp;quot; | SPW&lt;br /&gt;
! title=&amp;quot;SwordBible&amp;quot;                    | SB&lt;br /&gt;
! title=&amp;quot;STEP Bible&amp;quot;                    | ST&lt;br /&gt;
! title=&amp;quot;Xiphos&amp;quot;                        | Xi&lt;br /&gt;
! title=&amp;quot;xulsword&amp;quot;                      | XS&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Manual, English'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{no}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Manual, Other'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&amp;lt;ref&amp;gt; French&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{no}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Active links to online help'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{yes}}&amp;lt;ref&amp;gt;Links to help based on Atlassian Confluence.&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&amp;lt;ref&amp;gt;IRC, Mailing lists, bug tracker&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Tooltips'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{part}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== [[Localization]] ===&lt;br /&gt;
Only languages with at least 70% of the user interface translated are listed.&lt;br /&gt;
&lt;br /&gt;
The following languages are present in these front-end applications.&lt;br /&gt;
:''Please add content to the empty cells, and make changes when locales are added to each front end.''.&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; class=&amp;quot;sortable&amp;quot;&lt;br /&gt;
! width=&amp;quot;250px&amp;quot; | Feature&lt;br /&gt;
! title=&amp;quot;And Bible&amp;quot;                     | AB&lt;br /&gt;
! title=&amp;quot;AlKitab Bible Study&amp;quot;           | ABS&lt;br /&gt;
! title=&amp;quot;Bible Desktop&amp;quot;                 | BD&lt;br /&gt;
! title=&amp;quot;BibleTime&amp;quot;                     | BT&lt;br /&gt;
! title=&amp;quot;BPBible&amp;quot;                       | BPB&lt;br /&gt;
! title=&amp;quot;FireBible&amp;quot;                     | FB&lt;br /&gt;
! title=&amp;quot;MacSword2&amp;quot;                     | MS2&lt;br /&gt;
! title=&amp;quot;PocketSword&amp;quot;                   | PS&lt;br /&gt;
! title=&amp;quot;The SWORD Project for Windows&amp;quot; | SPW&lt;br /&gt;
! title=&amp;quot;SwordBible&amp;quot;                    | SB&lt;br /&gt;
! title=&amp;quot;STEP BIble&amp;quot;                    | ST&lt;br /&gt;
! title=&amp;quot;Xiphos&amp;quot;                        | Xi&lt;br /&gt;
! title=&amp;quot;xulsword&amp;quot;                      | XS&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''GUI RtoL support'''&amp;lt;ref&amp;gt;Layout flips from Left-to-Right layout to Right-to-Left based on user's locale.&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Localized numerals'''&amp;lt;ref&amp;gt;Chapter &amp;amp; verse numbers use localized script.&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''English'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''中文 (Chinese, Traditional and Simplified)'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{no}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Deutsch (German)'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{no}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Português (Portuguese)'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{no}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Suomi (Finnish)'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{no}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''فارسی (Persian)'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Tiếng Việt (Vietnamese)'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{no}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Bahasa Indonesia (Indonesian)'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{no}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Français (French)'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{no}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Česky (Czech)'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{no}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Magyar (Hungarian)'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{no}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Español (Spanish)'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{no}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Polski (Polish)'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{no}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Svenska (Swedish)'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{no}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Dansk (Danish)'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{no}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Slovenščina (Slovenian)'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{no}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Afrikaans'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{no}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''日本語 (Japanese)'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{no}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Latviešu (Latvian)'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{no}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Lietuvių (Lithuanian)'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{no}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Slovenčina (Slovak)'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{no}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''עברית (Hebrew)'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{no}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Norsk (Norwegian Bokmål)'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{no}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Nederlands (Dutch)'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{no}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Cymraeg (Welsh)'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{no}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Român (Romanian)'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{no}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Русский (Russian)'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Italiano (Italian)'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{no}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Українська (Ukrainian)'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{no}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''ภาษาไทย (Thai)'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{no}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''한국어 (Korean)'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Türkçe (Turkish)'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{no}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Ελληνικά (Greek)'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{no}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Swahili (Kiswahili)'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt;  {{no}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{no}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Қазақша (Kazakh)'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&amp;lt;ref name=&amp;quot;atIBT&amp;quot;&amp;gt;Available at IBT: http://ibt.org.ru/pc&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Къумукъ (Kumyk)'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&amp;lt;ref name=&amp;quot;atIBT&amp;quot;/&amp;gt;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Кыргызча (Kyrgyz Cyrillic)'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&amp;lt;ref name=&amp;quot;atIBT&amp;quot;/&amp;gt;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''عىزچا (Kyrgyz Arabic)'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&amp;lt;ref name=&amp;quot;atIBT&amp;quot;/&amp;gt;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Татар теле (Tatar)'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&amp;lt;ref name=&amp;quot;atIBT&amp;quot;/&amp;gt;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''ئۇيغۇرچە (Uyghur)'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&amp;lt;ref name=&amp;quot;atIBT&amp;quot;/&amp;gt;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''O‘zbekcha (Uzbek Latin)'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&amp;lt;ref name=&amp;quot;atIBT&amp;quot;/&amp;gt;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Ўзбекча (Uzbek Cyrillic)'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&amp;lt;ref name=&amp;quot;atIBT&amp;quot;/&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Print menu ===&lt;br /&gt;
Use this section to document whether the front-end has any menu options for printing a selection from a module. If so, what restrictions exist as to how much text can be printed in one operation.&lt;br /&gt;
:''Please add content to the empty cells''.&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; class=&amp;quot;sortable&amp;quot;&lt;br /&gt;
! width=&amp;quot;250px&amp;quot; | Feature&lt;br /&gt;
! title=&amp;quot;And Bible&amp;quot;                     | AB&lt;br /&gt;
! title=&amp;quot;AlKitab Bible Study&amp;quot;           | ABS&lt;br /&gt;
! title=&amp;quot;Bible Desktop&amp;quot;                 | BD&lt;br /&gt;
! title=&amp;quot;BibleTime&amp;quot;                     | BT&lt;br /&gt;
! title=&amp;quot;BPBible&amp;quot;                       | BPB&lt;br /&gt;
! title=&amp;quot;FireBible&amp;quot;                     | FB&lt;br /&gt;
! title=&amp;quot;MacSword2&amp;quot;                     | MS2&lt;br /&gt;
! title=&amp;quot;PocketSword&amp;quot;                   | PS&lt;br /&gt;
! title=&amp;quot;The SWORD Project for Windows&amp;quot; | SPW&lt;br /&gt;
! title=&amp;quot;SwordBible&amp;quot;                    | SB&lt;br /&gt;
! title=&amp;quot;STEP Bible&amp;quot;                    | ST&lt;br /&gt;
! title=&amp;quot;Xiphos&amp;quot;                        | Xi&lt;br /&gt;
! title=&amp;quot;xulsword&amp;quot;                      | XS&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Menu has a print option'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{no}}&amp;lt;ref&amp;gt;Print menu to be added as a future enhancement.&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{n/a}}&amp;lt;ref&amp;gt;Use Firefox to print displayed passage&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{yes}}&amp;lt;ref&amp;gt;Current text display&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&amp;lt;ref&amp;gt;Talk to me when Apple introduces printing support in iOS.&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt; {{no}} &amp;lt;ref&amp;gt;Browser has a print menu, however doesn't print everything that is on the screen.&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&amp;lt;ref&amp;gt;Current chapter&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&amp;lt;ref&amp;gt;Prints parallel passages, bookmark and user-note selections, search results, or any passage up to an entire Bible, with user selected options such as footnotes, cross-references, headings etc.&amp;lt;/ref&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Other ===&lt;br /&gt;
:''Please add content to the empty cells''.&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;1&amp;quot; class=&amp;quot;sortable&amp;quot;&lt;br /&gt;
! width=&amp;quot;250px&amp;quot; | Feature&lt;br /&gt;
! title=&amp;quot;And Bible&amp;quot;                     | AB&lt;br /&gt;
! title=&amp;quot;AlKitab Bible Study&amp;quot;           | ABS&lt;br /&gt;
! title=&amp;quot;Bible Desktop&amp;quot;                 | BD&lt;br /&gt;
! title=&amp;quot;BibleTime&amp;quot;                     | BT&lt;br /&gt;
! title=&amp;quot;BPBible&amp;quot;                       | BPB&lt;br /&gt;
! title=&amp;quot;FireBible&amp;quot;                     | FB&lt;br /&gt;
! title=&amp;quot;MacSword2&amp;quot;                     | MS2&lt;br /&gt;
! title=&amp;quot;PocketSword&amp;quot;                   | PS&lt;br /&gt;
! title=&amp;quot;The SWORD Project for Windows&amp;quot; | SPW&lt;br /&gt;
! title=&amp;quot;SwordBible&amp;quot;                    | SB&lt;br /&gt;
! title=&amp;quot;STEP Bible&amp;quot;                    | ST&lt;br /&gt;
! title=&amp;quot;Xiphos&amp;quot;                        | Xi&lt;br /&gt;
! title=&amp;quot;xulsword&amp;quot;                      | XS&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Extramodular Bible reading plan'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{no}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Other extramodular content'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{yes}}&amp;lt;ref&amp;gt;Bible Study HOWTO&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{yes}} &amp;lt;ref&amp;gt;Gospel Harmonies, Guess the Verse game&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{yes}}&amp;lt;ref&amp;gt;Notes (RTF files) management&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{yes}} &amp;lt;ref&amp;gt;Topical verse lists&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&amp;lt;ref&amp;gt;Some XSM (XulSword Module) files, like [http://www.slovocars.org/en/get_mod.php Central Asian Russian], install extra localized material such as a topical index, essays, bookmarks, maps, tables, audio files, and more.&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Read aloud'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{yes}}&amp;lt;ref&amp;gt;Only for Android devices that have a [http://en.wikipedia.org/wiki/Speech_synthesis TTS] Engine.&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt; {{part}}&amp;lt;ref name=&amp;quot;maconly&amp;quot;&amp;gt;On MacOS 10.3+ only&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&amp;lt;ref&amp;gt;Supports playback of read or dramatized Bible passage recordings. IBT has a special repository of such audio recordings at ftp.ibt.org.ru/pub/modaudio. Faith Comes By Hearing specializes in such recordings.&amp;lt;/ref&amp;gt;&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Skins&amp;lt;ref&amp;gt;See [http://en.wikipedia.org/wiki/Skin_(computing) Skin (computing)] in Wikipedia.&amp;lt;/ref&amp;gt;/Themes&amp;lt;ref&amp;gt;See [http://en.wikipedia.org/wiki/Theme_(computer) Theme (computer)] in Wikipedia.&amp;lt;/ref&amp;gt;'''&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{yes}}&amp;lt;ref&amp;gt;Via OS and saved themes.&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{yes}}&amp;lt;ref&amp;gt;By installing Firefox themes, e.g. [http://www.virtusdesigns.net/?page_id=322 Bible Fox]&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{n/a}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt; {{yes}}&amp;lt;ref&amp;gt;Via OS and saved themes.&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt; {{yes}}&amp;lt;ref&amp;gt;Via OS&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&amp;lt;ref&amp;gt;Via OS and saved color preferences&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Export passage to clipboard'''&amp;lt;ref&amp;gt;Configurable feature.&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- AB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ABS --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{no}}&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot;&lt;br /&gt;
| '''Other features not listed otherwise'''&lt;br /&gt;
! &amp;lt;!--AB --&amp;gt; {{yes}}&amp;lt;ref&amp;gt;Night mode display option (white text on black background).&amp;lt;/ref&amp;gt;&amp;lt;ref&amp;gt;Tilt to scroll &amp;amp;ndash; the more you tilt the faster it scrolls (this requires a couple of sensors that are in most, but not all devices).&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!--ABS --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BD  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BT  --&amp;gt; {{yes}}&amp;lt;ref&amp;gt;Display Strong's headwords&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- BPB --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- FB  --&amp;gt; {{yes}}&amp;lt;ref&amp;gt;Integrates with [http://en.wikipedia.org/wiki/Ubiquity_(Firefox) Ubiquity]&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- MS2 --&amp;gt; {{yes}}&amp;lt;ref&amp;gt;Full screen view; floating, transparent preview window; tabbed panes detachable to seperate window; automatic software download and update&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- PS  --&amp;gt; {{yes}}&amp;lt;ref&amp;gt;Rotatable orientation; night mode (white on black).&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- SPW --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- SB  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- ST  --&amp;gt;&lt;br /&gt;
! &amp;lt;!-- Xi  --&amp;gt; {{yes}}&amp;lt;ref&amp;gt;Pseudo-interlinear display of Strong's/morphology; tabbed interface for multiple Bible/commentary/dictionary study; detached windows for any module; commentary by chapter; lexdict mouse-hover content-to-previewer; tab-able or detached full-chapter parallel window; passage exporter; selectable previewer position; image content display selectivity; per-tab, per-pane visibility; high-contrast highlight of current verse; external image viewer on click; geography interface through BibleMap.org; yellow-highlighter (metaphor) per-verse personal annotations; text-to-speech using Festival; verse list load from history and vice versa.&amp;lt;/ref&amp;gt;&lt;br /&gt;
! &amp;lt;!-- XS  --&amp;gt; {{yes}}&amp;lt;ref&amp;gt;xulsword features recursive popup windows to help make xulsword's interface simpler and intuitive. Xulsword supports localized XSM (XulSword Module) files which may contain any number of SWORD modules, bookmarks, audio files, video clips, fonts and more, for automatic installation into xulsword.&amp;lt;/ref&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:SWORD Frontends]]&lt;br /&gt;
[[Category:Localization]]&lt;br /&gt;
[[Category:Bookmarks]]&lt;/div&gt;</summary>
		<author><name>Dmsmith</name></author>	</entry>

	<entry>
		<id>https://wiki.crosswire.org/index.php?title=OSIS_211_CR&amp;diff=15016</id>
		<title>OSIS 211 CR</title>
		<link rel="alternate" type="text/html" href="https://wiki.crosswire.org/index.php?title=OSIS_211_CR&amp;diff=15016"/>
				<updated>2016-03-02T16:30:13Z</updated>
		
		<summary type="html">&lt;p&gt;Dmsmith: /* Table Cells */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page is for recording potential change requests to the OSIS XML schema.&lt;br /&gt;
&lt;br /&gt;
== OSIS 2.1.1 Change Requests ==&lt;br /&gt;
Anyone with an outstanding OSIS bug report or feature proposal for consideration for inclusion into an updated OSIS schema, please write a very concise change request here in this page, including motivating use case.&lt;br /&gt;
&lt;br /&gt;
== CrossWire updated schema ==&lt;br /&gt;
An an interim measure, we are maintaining an updated validation schema based on the contents of this page.&lt;br /&gt;
:''Currently these are looking for a new home but are currently at'':&lt;br /&gt;
&lt;br /&gt;
 http://www.crosswire.org/~dmsmith/osis&lt;br /&gt;
&lt;br /&gt;
In that location there are various iterations of the schema:&lt;br /&gt;
* osisCore.2.1.1-orig.xsd (The original schema, with some changes to whitespace).&lt;br /&gt;
* osisCore.2.1.1-cw1.xsd&lt;br /&gt;
* osisCore.2.1.1-cw2.xsd&lt;br /&gt;
* ... &lt;br /&gt;
* osisCore.2.1.1-cwN.xsd (Where N is the highest version number.)&lt;br /&gt;
* osisCore.2.1.1-cw-latest.xsd (The same as osisCore.2.1.1-cwN.xsd)&lt;br /&gt;
&lt;br /&gt;
i.e. The most recent edition will usually be found in the [http://www.crosswire.org/~dmsmith/osis/ osis] directory, with filename [http://www.crosswire.org/~dmsmith/osis/osisCore.2.1.1-cw-latest.xsd osisCore.2.1.1-cw-latest.xsd]. &lt;br /&gt;
&lt;br /&gt;
This URL may be used in place of the official BibleTechnologies URL for validating XML files submitted for modules.&lt;br /&gt;
&lt;br /&gt;
== Bugs ==&lt;br /&gt;
=== Alpha testing bugs ===&lt;br /&gt;
:''List bugs in the schema that cause correct OSIS not to validate''.&lt;br /&gt;
&lt;br /&gt;
==== osisGenRegex bug ====&lt;br /&gt;
Currently that regex looks like [1], but it should looks like [2]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[1]     ((((\p{L}|\p{N}|_)+)(\.(\p{L}|\p{N}|_))*:)?([^:\s])+)&lt;br /&gt;
[2]     ((((\p{L}|\p{N}|_)+)(\.(\p{L}|\p{N}|_)+)*:)?([^:\s])+)&lt;br /&gt;
                        (missing + right here ^)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So our document with the following element isn't valid because the &lt;br /&gt;
string &amp;quot;Strong&amp;quot; cannot be more than 1 character long in the current schema:&lt;br /&gt;
&amp;lt;w morph=&amp;quot;robinson:N-NSF&amp;quot; lemma=&amp;quot;lemma.Strong:βίβλος&amp;quot;&amp;gt;βίβλος&amp;lt;/w&amp;gt;&lt;br /&gt;
&lt;br /&gt;
--[[User:Osk|Osk]] 19:48, 5 November 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
==== milestoned &amp;lt;lg&amp;gt; ====&lt;br /&gt;
&lt;br /&gt;
Since the &amp;lt;l&amp;gt; element can ''only'' occur within an &amp;lt;lg&amp;gt; element, use of milestoned &amp;lt;lg&amp;gt; prevents use of &amp;lt;l&amp;gt; elements (within that &amp;lt;lg&amp;gt;). Since &amp;lt;lg&amp;gt; is milestonable, one would presume that the following snippet would be valid, but it is not, for the above reason:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
     &amp;lt;lg sID=&amp;quot;eg1&amp;quot;/&amp;gt;&lt;br /&gt;
          &amp;lt;l&amp;gt;Poetry line&amp;lt;/l&amp;gt;&lt;br /&gt;
          &amp;lt;l&amp;gt;Poetry line&amp;lt;/l&amp;gt;&lt;br /&gt;
     &amp;lt;lg eID=&amp;quot;eg1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
--[[User:Osk|Osk]] 18:18, 31 December 2011 (MST)&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;lg&amp;gt; element does not allow for mixed content. However the use of the milestoned &amp;lt;lg&amp;gt; wrongly allows for it.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
   &amp;lt;lg sID=&amp;quot;eg2&amp;quot;/&amp;gt;&lt;br /&gt;
      text&lt;br /&gt;
   &amp;lt;lg eID=&amp;quot;eg2&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
--[[User:Dmsmith|Dmsmith]] 16:29, 14 October 2012 (MDT)&lt;br /&gt;
&lt;br /&gt;
==== &amp;lt;closer&amp;gt; in &amp;lt;verse&amp;gt; container? ====&lt;br /&gt;
&lt;br /&gt;
According to the OSIS manual (cf. 11.1.3 on p. 58), it should be possible to embed a &amp;lt;closer&amp;gt; element within a &amp;lt;verse&amp;gt; container, but the schema does not allow this. One or the other should be corrected.&lt;br /&gt;
--[[User:Osk|Osk]] 05:56, 6 July 2012 (MDT)&lt;br /&gt;
&lt;br /&gt;
==== &amp;lt;seg&amp;gt; in &amp;lt;cell&amp;gt; ====&lt;br /&gt;
&lt;br /&gt;
This was already reported to osis-users, but for the sake of completeness:&lt;br /&gt;
There's a typo that allows &amp;quot;seq&amp;quot; in &amp;lt;cell&amp;gt; instead of &amp;quot;seg&amp;quot;.&lt;br /&gt;
--[[User:Osk|Osk]] 04:29, 22 February 2014 (MST)&lt;br /&gt;
&lt;br /&gt;
=== Beta testing bugs ===&lt;br /&gt;
:''List bugs in the schema that allow incorrect OSIS to validate''.&lt;br /&gt;
&lt;br /&gt;
==== rdg ====&lt;br /&gt;
In these lines of the schema:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
        &amp;lt;xs:simpleType name=&amp;quot;rdgType&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;xs:union memberTypes=&amp;quot;osisRdg attributeExtension xs:string&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;/xs:simpleType&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* '''osisRdg''' is a list (alternate, variant).&lt;br /&gt;
* '''attributeExtension''' is a regular expression allowing x-…. &lt;br /&gt;
* '''xs:string''' allows any string expression.&lt;br /&gt;
Thus '''rdg''' elements with any text value as the type attribute will always validate, even though they should fail for anything other than (alternate, variant, x-''userdefined'')&amp;lt;BR&amp;gt;&lt;br /&gt;
[[User:David Haslam|David Haslam]] 07:19, 22 January 2016 (MST)&lt;br /&gt;
&lt;br /&gt;
==== lineType ====&lt;br /&gt;
Similar to above:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
	&amp;lt;xs:simpleType name=&amp;quot;lineType&amp;quot;&amp;gt;&lt;br /&gt;
		&amp;lt;xs:union memberTypes=&amp;quot;osisLine attributeExtension xs:string&amp;quot;/&amp;gt;&lt;br /&gt;
	&amp;lt;/xs:simpleType&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
[[User:David Haslam|David Haslam]] 07:24, 22 January 2016 (MST)&lt;br /&gt;
&lt;br /&gt;
==== lineGroup ====&lt;br /&gt;
Similar to above:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
	&amp;lt;xs:simpleType name=&amp;quot;lineGroupType&amp;quot;&amp;gt;&lt;br /&gt;
		&amp;lt;xs:union memberTypes=&amp;quot;osisLineGroup attributeExtension xs:string&amp;quot;/&amp;gt;&lt;br /&gt;
	&amp;lt;/xs:simpleType&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
[[User:David Haslam|David Haslam]] 07:24, 22 January 2016 (MST)&lt;br /&gt;
&lt;br /&gt;
== Feature requests ==&lt;br /&gt;
&lt;br /&gt;
=== OSIS Validation ===&lt;br /&gt;
:''List OSIS constructs that currently fail to validate, yet which would be better to allow''.&lt;br /&gt;
&lt;br /&gt;
==== Allow &amp;lt;divineName&amp;gt; within &amp;lt;w&amp;gt; ====&lt;br /&gt;
Often a Hebrew word is translated into multiple English words. In the case of the Divine name, the tetragrammaton, there are frequent &amp;quot;of the LORD&amp;quot;, &amp;quot;to the LORD&amp;quot;, &amp;quot;the LORD&amp;quot;, .... In OSIS these would properly be represented as: &amp;lt;w  lemma=&amp;quot;strong:H03068&amp;quot;&amp;gt;the &amp;lt;divineName&amp;gt;Lord&amp;lt;/divineName&amp;gt;&amp;lt;/w&amp;gt;. To get around this short-coming a hack has to be employed where an element that allows &amp;lt;divineName&amp;gt; is allowed to be in &amp;lt;w&amp;gt;. &amp;lt;seg&amp;gt; is allowed in &amp;lt;w&amp;gt; and allows &amp;lt;divineName&amp;gt; within it: &amp;lt;w&amp;gt;the &amp;lt;seg&amp;gt;&amp;lt;divineName&amp;gt;Lord&amp;lt;/divineName&amp;gt;&amp;lt;/seg&amp;gt;&amp;lt;/w&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' the most recent release of the KJV assumes that this has been fixed.&lt;br /&gt;
--[[User:Dmsmith|Dmsmith]] 07:20, 23 February 2014 (MST)&lt;br /&gt;
&lt;br /&gt;
==== Allow &amp;lt;divineName&amp;gt; within &amp;lt;name&amp;gt; ====&lt;br /&gt;
The OSIS generated by usfm2osis.py for beibl.net files provided one example [http://www.crosswire.org/tracker/browse/MODTOOLS-86], viz.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;verse sID=&amp;quot;Num.21.14&amp;quot; osisID=&amp;quot;Num.21.14&amp;quot;/&amp;gt;Mae&lt;br /&gt;
 &amp;lt;name type=&amp;quot;x-workTitle&amp;quot;&amp;gt;Llyfr Rhyfeloedd yr&lt;br /&gt;
 &amp;lt;divineName&amp;gt;ARGLWYDD&amp;lt;/divineName&amp;gt;&lt;br /&gt;
 &amp;lt;/name&amp;gt; yn cyfeirio at y lle fel yma:&lt;br /&gt;
&lt;br /&gt;
A similar hack is required using &amp;lt;seg&amp;gt;, viz.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;verse sID=&amp;quot;Num.21.14&amp;quot; osisID=&amp;quot;Num.21.14&amp;quot;/&amp;gt;Mae&lt;br /&gt;
 &amp;lt;name type=&amp;quot;x-workTitle&amp;quot;&amp;gt;Llyfr Rhyfeloedd yr&lt;br /&gt;
 &amp;lt;seg&amp;gt;&amp;lt;divineName&amp;gt;ARGLWYDD&amp;lt;/divineName&amp;gt;&amp;lt;/seg&amp;gt;&lt;br /&gt;
 &amp;lt;/name&amp;gt; yn cyfeirio at y lle fel yma:&lt;br /&gt;
&lt;br /&gt;
This ought also to apply for any other element that allows seg but not divineName.&lt;br /&gt;
&lt;br /&gt;
==== Allow &amp;lt;transChange&amp;gt; within &amp;lt;w&amp;gt; ====&lt;br /&gt;
An encoder ought to be ''allowed'' to put &amp;lt;transChange&amp;gt; on elements smaller than an orthographic word. If I'm translating an instance of &amp;quot;λόγος&amp;quot;, but for some reason I believe that I should translate it as &amp;quot;words&amp;quot;, I ought to be able to encode &amp;lt;w&amp;gt;word&amp;lt;transChange&amp;gt;s&amp;lt;/transChange&amp;gt;&amp;lt;/w&amp;gt;. --[[User:Osk|Osk]] 19:48, 5 November 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
==== Add an element for morphology within &amp;lt;w&amp;gt; ====&lt;br /&gt;
Necessary for encoding documents like MORPH (WLC + morphology), we need an element to embed within &amp;lt;w&amp;gt; to carry lexical information. I suggest calling it &amp;lt;m&amp;gt; and giving it all of the attributes found on &amp;lt;w&amp;gt;. --[[User:Osk|Osk]] 19:48, 5 November 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
==== Allow &amp;lt;transChange&amp;gt; within &amp;lt;hi&amp;gt; ====&lt;br /&gt;
A highlighted sentence or part of a sentence is a unit, including any transChange parts of it.&lt;br /&gt;
At the moment a highlighted sentence with a transChange will look like this:&lt;br /&gt;
 &amp;lt;hi type=&amp;quot;bold&amp;quot;&amp;gt; Texttexttext &amp;lt;/hi&amp;gt;&amp;lt;transChange&amp;gt;&amp;lt;hi type=&amp;quot;bold&amp;quot;&amp;gt; moreText&amp;lt;/hi&amp;gt;&amp;lt;/transChange&amp;gt;&amp;lt;hi type=&amp;quot;bold&amp;quot;&amp;gt; TextText&amp;lt;/hi&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;hi type=&amp;quot;bold&amp;quot;&amp;gt; Texttexttext &amp;lt;transChange&amp;gt;moreText&amp;lt;/transChange&amp;gt; TextText&amp;lt;/hi&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This would look cleaner and would be also closer to what is meant. [[User:Refdoc|refdoc]]:[[User_Talk:Refdoc|talk]] 16:02, 3 August 2011 (MDT)&lt;br /&gt;
&lt;br /&gt;
==== Allow &amp;lt;catchWord&amp;gt; within &amp;lt;hi&amp;gt; ====&lt;br /&gt;
A highlighted sentence or part of a sentence is a unit, including any catchWord parts of it.&lt;br /&gt;
At the moment a highlighted sentence with a catchWord will look like this:&lt;br /&gt;
 &amp;lt;hi type=&amp;quot;bold&amp;quot;&amp;gt; Texttexttext &amp;lt;/hi&amp;gt;&amp;lt;catchWord&amp;gt;&amp;lt;hi type=&amp;quot;bold&amp;quot;&amp;gt; moreText&amp;lt;/hi&amp;gt;&amp;lt;/catchWord&amp;gt;&amp;lt;hi type=&amp;quot;bold&amp;quot;&amp;gt; TextText&amp;lt;/hi&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;hi type=&amp;quot;bold&amp;quot;&amp;gt; Texttexttext &amp;lt;catchWord&amp;gt;moreText&amp;lt;/catchWord&amp;gt; TextText&amp;lt;/hi&amp;gt;&lt;br /&gt;
This is identical in form to the &amp;lt;transChange&amp;gt; issue. The problem with both of these is that &amp;lt;transChange&amp;gt; and &amp;lt;catchWord&amp;gt; may reasonably be styled in the same fashion as what is indicated by &amp;lt;hi&amp;gt;.&lt;br /&gt;
--[[User:Dmsmith|Dmsmith]] 16:58, 14 October 2012 (MDT)&lt;br /&gt;
&lt;br /&gt;
==== Allow multiple types for &amp;lt;hi&amp;gt; ====&lt;br /&gt;
It'd really be convenient for&lt;br /&gt;
 &amp;lt;hi type=&amp;quot;bold italic small-caps&amp;quot;&amp;gt;text&amp;lt;/hi&amp;gt;&lt;br /&gt;
rather than&lt;br /&gt;
 &amp;lt;hi type=&amp;quot;bold&amp;quot;&amp;gt;&amp;lt;hi type=&amp;quot;italic&amp;quot;&amp;gt;&amp;lt;hi type=&amp;quot;small-caps&amp;quot;&amp;gt;text&amp;lt;/hi&amp;gt;&amp;lt;/hi&amp;gt;&amp;lt;/hi&amp;gt;&lt;br /&gt;
--[[User:Dmsmith|Dmsmith]] 16:57, 14 October 2012 (MDT)&lt;br /&gt;
&lt;br /&gt;
==== Allow &amp;lt;hi&amp;gt; within &amp;lt;title&amp;gt; ====&lt;br /&gt;
There are some languages for which the earlier orthography used an italicised ''N'' (both cases) as a separate letter of the alphabet.&amp;lt;BR&amp;gt;Example: '''Old Pohnpeian'''. Allowing &amp;lt;hi type=&amp;quot;italics&amp;quot;&amp;gt;n&amp;lt;/h&amp;gt; within the text of a title element would obviate the need to use the '''seg''' element as a workaround. &lt;br /&gt;
&lt;br /&gt;
[[User:David Haslam|David Haslam]] 13:55, 15 January 2016 (MST)&lt;br /&gt;
&lt;br /&gt;
:The use of italics to mark a single character within a word must interfere with the the '''search''' function of SWORD and JSword. It would have been better if the Old Pohnpeian alphabet had used a separate character such as '''Ñ''' ('''ñ'''). In the modern orthography, the [http://en.wikipedia.org/wiki/Digraph_%28orthography%29 digraph] '''ng''' is used for this consonant. [[User:David Haslam|David Haslam]] ([[User talk:David Haslam|talk]]) 11:27, 14 February 2016 (MST)&lt;br /&gt;
&lt;br /&gt;
==== Allow &amp;lt;transChange&amp;gt; within &amp;lt;note&amp;gt; ====&lt;br /&gt;
When translating an alternate Greek version of a passage, added words need to be indicated.&lt;br /&gt;
&lt;br /&gt;
Note: the most recent release of the KJV assumes that this has been fixed.&lt;br /&gt;
--[[User:Dmsmith|Dmsmith]] 07:22, 23 February 2014 (MST)&lt;br /&gt;
&lt;br /&gt;
==== Allow &amp;amp;lt;hi&amp;gt; within &amp;amp;lt;abbr&amp;gt; ====&lt;br /&gt;
To restrict the highlighting to letters and exclude punctuation marks, the '''abbr''' element should allow the ''hi'' element. This avoids having to use a '''seg''' hack to achieve the required markup:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;abbr expansion=&amp;quot;Psalm&amp;quot;&amp;gt;&amp;lt;hi type=&amp;quot;spaced-letters&amp;quot;&amp;gt;PSAL&amp;lt;/hi&amp;gt;.&amp;lt;/abbr&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
would become possible, and obviates the need to treat any characters different to others as the engine renders the special higlighting.&lt;br /&gt;
&lt;br /&gt;
[[User:David Haslam|David Haslam]]&lt;br /&gt;
==== Allow remote header reference ====&lt;br /&gt;
When serving short passages via web services, as valid OSIS documents, a full header is obtrusive.  Also, in a collection of related documents, for example separate book files for a Bible, one centralized header would be more maintainable.  The simplest approach would probably be to allow @href on the header element, to abstract some or all of the header content. See Troy's [https://groups.google.com/d/topic/openscriptures/kygOM0yPHL8/discussion related post].&lt;br /&gt;
&lt;br /&gt;
====Allow shadow/virtual elements====&lt;br /&gt;
A second requirement for distributing valid OSIS fragments through web services is a form of virtual, or shadow, element to supply the context of the given fragment.  A new global attribute for indicating this virtual status is essential to distinguish them from the actual markup of the document. In the [http://www.esvapi.org/api ESV API], they have this construct via  `virtual` attribute (see description for `include-virtual-attributes``). See Troy's [https://groups.google.com/d/topic/openscriptures/kygOM0yPHL8/discussion related post] (same as previous).&lt;br /&gt;
&lt;br /&gt;
=== New Features ===&lt;br /&gt;
:''List new features or extensions to existing features here''.&lt;br /&gt;
==== Biblical Hebrew ====&lt;br /&gt;
&lt;br /&gt;
===== Add further &amp;lt;hi&amp;gt; types to support Biblical Hebrew =====&lt;br /&gt;
The Masoretic Text includes some words whose characters have a different style than the main text. These three styles use &amp;quot;large&amp;quot;, &amp;quot;small&amp;quot; and &amp;quot;suspended&amp;quot; letters.&amp;lt;ref&amp;gt;See https://www.win.tue.nl/~aeb/natlang/hebrew/hebrew_bible.html&amp;lt;/ref&amp;gt;&amp;lt;BR&amp;gt;MT scholars would find it beneficial if these special text styles could be properly represented in OSIS XML (and rendered as such in modules).&lt;br /&gt;
&lt;br /&gt;
Provide '''type''' attribute values to support '''small''', '''large''' and '''suspended''' Hebrew glyphs.&amp;lt;BR&amp;gt;&lt;br /&gt;
This would enable more accurate display of these orthographic peculiarities found in the Tanakh. &amp;lt;BR&amp;gt;&lt;br /&gt;
Biblical Hebrew is an area where the usual priority of semantic markup over presentational markup cannot be taken for granted. &amp;lt;BR&amp;gt;[[User:David Haslam|David Haslam]]&lt;br /&gt;
&lt;br /&gt;
These new '''hi''' types should be implemented in a way that retains the comaptibility with search features. A whole word should be wrapped, with the letters to be rendered specified by means of a further attribute value.&lt;br /&gt;
&lt;br /&gt;
'''Note:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Improve Ketiv/Qere markup in Biblical Hebrew =====&lt;br /&gt;
See https://en.wikipedia.org/wiki/Qere_and_Ketiv&lt;br /&gt;
&lt;br /&gt;
A ketiv or qere can consist of one or more words, and so need to be grouped and related to one another.  I propose adding &amp;lt;ketiv&amp;gt; with @id, and &amp;lt;qere&amp;gt; with @idref, to contain the content (&amp;lt;w&amp;gt; elements) and allow validation of the connection.  A qere with no ketiv could be marked up without the @idref.&lt;br /&gt;
&lt;br /&gt;
: This sounds like a good application for &amp;lt;seg&amp;gt;. I would recommend named types for &amp;lt;seg&amp;gt; instead: ketiv &amp;amp; qere. --[[User:Osk|Osk]] 00:37, 23 February 2014 (MST)&lt;br /&gt;
&lt;br /&gt;
:: &amp;lt;seg type=&amp;quot;qere&amp;quot;&amp;gt;...&amp;lt;/seg&amp;gt; and &amp;lt;seg type=&amp;quot;ketiv&amp;quot;&amp;gt;...&amp;lt;/seg&amp;gt; is the change request.&lt;br /&gt;
:: &amp;lt;seg type=&amp;quot;x-qere&amp;quot;&amp;gt;...&amp;lt;/seg&amp;gt; and &amp;lt;seg type=&amp;quot;x-ketiv&amp;quot;&amp;gt;...&amp;lt;/seg&amp;gt; could be used interim.&lt;br /&gt;
:::[[User:David Haslam|David Haslam]] 14:11, 15 January 2016 (MST)&lt;br /&gt;
&lt;br /&gt;
==== Add peripheral types from USFM to osisDivs ====&lt;br /&gt;
Add the additional USFM peripheral types to osisDivs to maintain feature parity. I believe OSIS 2.1.1 had this feature parity at the time of its release, but USFM has standardized additional peripheral types since then, which should be added as:&lt;br /&gt;
halfTitlePage, promotionalPage, foreword, alphabeticalContents, tableofAbbreviations, chronology, weightsandMeasures, mapIndex, ntQuotesfromLXX, spine&lt;br /&gt;
--[[User:Osk|Osk]] 01:04, 23 February 2014 (MST)&lt;br /&gt;
&lt;br /&gt;
==== Calendar types ====&lt;br /&gt;
Add the following '''calendar''' system:&lt;br /&gt;
* type=&amp;quot;Ethiopian&amp;quot;&lt;br /&gt;
May be required as and when we support Bibles &amp;amp; Commentaries for the Ethiopian Orthodox Church.&lt;br /&gt;
[[User:David Haslam|David Haslam]] 07:53, 22 January 2016 (MST)&lt;br /&gt;
&lt;br /&gt;
==== Quotation types ====&lt;br /&gt;
From the manual (p. 43):  &amp;quot;The rendering for quotations marks after an interruption, for example, can be distinguished using the type attribute on this element, with values such as initial, medial, and final.&amp;quot;  Please make these @type values official: '''initial''', '''medial''', and '''final'''.&lt;br /&gt;
&lt;br /&gt;
==== Milestonable &amp;amp;lt;p&amp;gt; ====&lt;br /&gt;
For documents where the primary structure is book, chapter, verse, like the Authorized Version or the Hebrew Bible, we should be able to mark up paragraphs as milestones.  This would allow for equality, rather than making book, section, paragraph a privileged system.&lt;br /&gt;
&lt;br /&gt;
==== Improve Selah markup ====&lt;br /&gt;
Selah can be represented at the end of a line. The markup of &amp;amp;lt;l type=&amp;quot;selah&amp;quot;&amp;amp;gt;...&amp;amp;lt;/l&amp;amp;gt; does not allow for the text identified as selah to be at the end of the current line. Maybe allow for a separate markup, rather than a type of line.&lt;br /&gt;
&lt;br /&gt;
:But see also http://www.crosswire.org/tracker/browse/MODTOOLS-84 [[User:David Haslam|David Haslam]] 13:33, 2 January 2015 (MST)&lt;br /&gt;
&lt;br /&gt;
==== title subType ====&lt;br /&gt;
Add the following attributes for use along with &amp;lt;code&amp;gt;type=&amp;quot;chapter&amp;quot;&amp;lt;/code&amp;gt; in the '''title''' element.&lt;br /&gt;
&lt;br /&gt;
 subType=&amp;quot;chapterDescription&amp;quot;&lt;br /&gt;
 subType=&amp;quot;chapterLabel&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The former would faciliate SWORD to be extended to show '''chapter descriptions''' in italics and normal font size or smaller.&amp;lt;BR&amp;gt;&lt;br /&gt;
The latter would faciltate SWORD to be extended to display the '''module chapter labels''' ''instead of'' the normal chapter labels programmed in the front-end.&lt;br /&gt;
&lt;br /&gt;
Currently, these are typically done using &amp;quot;x-&amp;quot; prefix in the attribute value, without any SWORD support.&lt;br /&gt;
&lt;br /&gt;
[[User:David Haslam|David Haslam]] 08:09, 27 January 2016 (MST)&lt;br /&gt;
&lt;br /&gt;
==== name type=&amp;quot;book&amp;quot; ====&lt;br /&gt;
Allow &amp;lt;code&amp;gt;type=&amp;quot;book&amp;quot;&amp;lt;/code&amp;gt; as an attribute of the '''name''' element to identify [http://en.wikipedia.org/wiki/Non-canonical_books_referenced_in_the_Bible Non-canonical books referenced in the Bible]. [[User:David Haslam|David Haslam]] ([[User talk:David Haslam|talk]])&lt;br /&gt;
&lt;br /&gt;
==== divineName type normal ====&lt;br /&gt;
There are four places in the KJV where the word '''JEHOVAH''' is all uppercase, but not small-caps. The following markup is desirable for these:&lt;br /&gt;
 &amp;lt;divineName type=&amp;quot;normal&amp;quot;&amp;gt;JEHOVAH&amp;lt;/divineName&amp;gt;&lt;br /&gt;
The locations are: Exodus 6:3, Psalms 83:18, Isaiah 12:2, Isaiah 26:4.&lt;br /&gt;
[[User:David Haslam|David Haslam]]&lt;br /&gt;
&lt;br /&gt;
==== New hi types ====&lt;br /&gt;
In addition to these defined type values,&lt;br /&gt;
:'''• acrostic • bold • emphasis • illuminated • italic • line-through • normal • small-caps • sub • super • underline'''&lt;br /&gt;
it would be useful to add several further types for the '''hi''' element. [[User:David Haslam|David Haslam]]&lt;br /&gt;
&lt;br /&gt;
===== overline =====&lt;br /&gt;
SWORD already supports &amp;lt;code&amp;gt;type=&amp;quot;overline&amp;quot;&amp;lt;/code&amp;gt; for the '''hi''' element, despite it not being defined in the schema before.&lt;br /&gt;
&lt;br /&gt;
===== dotted-underline =====&lt;br /&gt;
Dotted underline is sometimes used in Chinese ideographic script to highlight certain words. Should we provide for this in OSIS?&lt;br /&gt;
&lt;br /&gt;
===== dashed-underline =====&lt;br /&gt;
This is similar to dotted underline, but the line is dashed rather than dotted.&lt;br /&gt;
&lt;br /&gt;
===== spaced-letters =====&lt;br /&gt;
Many of the book titles in the Blayney edition contain words in which the letters are spaced. e.g.&amp;lt;BR&amp;gt;'''The R E V E L A T I O N of S. J O H N the Divine.'''&amp;lt;BR&amp;gt;It's desirable to have a new highlight type for these, e.g.&lt;br /&gt;
 &amp;lt;hi type=&amp;quot;spaced-letters&amp;quot;&amp;gt;REVELATION&amp;lt;/hi&amp;gt;&lt;br /&gt;
In this way the highlighted text will be semantically still be the same word, even though it is displayed differently. As and when this is implemented by SWORD, the spaces should be of the non-break type. &lt;br /&gt;
&lt;br /&gt;
===== drop-caps =====&lt;br /&gt;
Many printed Bibles use drop-caps for the first letter in a verse&amp;lt;ref&amp;gt;To maintain comptibility with search features, the whole word should be marked, not just the first letter.&amp;lt;BR&amp;gt;The same goes for &amp;lt;code&amp;gt;type=&amp;quot;illuminated&amp;quot;.&amp;lt;/code&amp;gt;. The style sheet or rendering will determine that it applies only to the first letter.&amp;lt;/ref&amp;gt;, usually the first verse in each chapter. To reproduce this in electronic editions, a means to implement this presentational format is required.&lt;br /&gt;
&lt;br /&gt;
'''Note:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Grain operator @s ====&lt;br /&gt;
The '''osisRef''' fine grain string&amp;lt;ref&amp;gt;OSIS User Manual (pp.82, 91, 148). It's uncertain whether this OSIS feature is even supported by SWORD.&amp;lt;/ref&amp;gt; operator '''@s[''text'']''' works only for a whole word without spaces. It will also find only the first occurrence of the specified word.&lt;br /&gt;
&lt;br /&gt;
It would be useful to expand this operator to facilitate:&lt;br /&gt;
* text containing spaces, rather than only a single word&lt;br /&gt;
* returning the whole string rather than merely a pointer to its first character&lt;br /&gt;
* text containing punctuation marks&amp;lt;ref&amp;gt;It's uncertain whether it can cope with a string that has an apostrophe, or one that is hyphenated.&amp;lt;/ref&amp;gt;&lt;br /&gt;
* a method to find further occurrences of the same word after the first, e.g. for the n&amp;lt;sup&amp;gt;th&amp;lt;/sup&amp;gt; instance,&lt;br /&gt;
 @s[word]n&lt;br /&gt;
* a shorter way of specifying a range of consecutive words within the same osisRef&amp;lt;ref&amp;gt;This would avoid having to repeat the full osisRef for the end of the range.&amp;lt;/ref&amp;gt;, by such as:&lt;br /&gt;
 @s[first]-[last]&lt;br /&gt;
* a way of specifing a comma separated series of words within the same osisRef, by such as:&lt;br /&gt;
 @s[third],[fifth],[seventh]&lt;br /&gt;
* to allow a method for the user agent (e.g. SWORD) to process a fine grain string ending with &amp;quot;…&amp;quot;, the HORIZONTAL ELLIPSIS (U+2026), by returning the match as to just before the next terminating punctuation mark, or the end of the specified osisRef.&lt;br /&gt;
&lt;br /&gt;
'''Note:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
[[User:David Haslam|David Haslam]] 27 January 2016 (MST)&lt;br /&gt;
&lt;br /&gt;
==== Table Cells ====&lt;br /&gt;
The &amp;amp;lt;cell&amp;amp;gt; element should have the attributes rows and cols to specify the spanning of a cell horizontally and vertically. Using subType is insufficient to communicate to values.&lt;br /&gt;
&lt;br /&gt;
[[User:Dmsmith|Dmsmith]] ([[User talk:Dmsmith|talk]]) 09:29, 2 March 2016 (MST)&lt;br /&gt;
&lt;br /&gt;
== OSIS User Manual (bugs &amp;amp; feature requests) ==&lt;br /&gt;
:''List here any errors in the OSIS User Manual and any omissions that need rectifiying''.&lt;br /&gt;
&lt;br /&gt;
=== Head Elements ===&lt;br /&gt;
The OSIS manual give the '''head''' element as a means of providing for titles. It is not in the schema as a child of '''div''', but it is in the manual.&lt;br /&gt;
&lt;br /&gt;
=== DivineName Element ===&lt;br /&gt;
Manual gives &amp;lt;code&amp;gt;type=&amp;quot;x-yhwh&amp;quot;&amp;lt;/code&amp;gt; in 11.5.1.2 but it's unnecessary. It also has the content as LORD, but it should be Lord.&lt;br /&gt;
&lt;br /&gt;
=== &amp;amp;lt;seg type=&amp;quot;benediction&amp;quot;&amp;gt; ===&lt;br /&gt;
This is mentioned as a suggestion in 11.1.4 but '''benediction''' is not a defined value for the '''type''' attribute of '''seg'''.&amp;lt;BR&amp;gt;These are • '''alluded''' • '''keyword''' • '''otPassage''' • '''verseNumber'''. It should therefore have the &amp;quot;x-&amp;quot; prefix.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[OSIS Bibles]]&lt;br /&gt;
* [[OSIS Commentaries]]&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
Our friend, [http://eBible.org/ Michael Paul Johnson] maintains his own '''Modified OSIS''' schema. This is used in his [http://haiola.org/ Haila] software. &lt;br /&gt;
&lt;br /&gt;
[[Category:OSIS]]&lt;/div&gt;</summary>
		<author><name>Dmsmith</name></author>	</entry>

	<entry>
		<id>https://wiki.crosswire.org/index.php?title=OSIS_211_CR&amp;diff=15015</id>
		<title>OSIS 211 CR</title>
		<link rel="alternate" type="text/html" href="https://wiki.crosswire.org/index.php?title=OSIS_211_CR&amp;diff=15015"/>
				<updated>2016-03-02T16:29:35Z</updated>
		
		<summary type="html">&lt;p&gt;Dmsmith: /* Grain operator @s */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page is for recording potential change requests to the OSIS XML schema.&lt;br /&gt;
&lt;br /&gt;
== OSIS 2.1.1 Change Requests ==&lt;br /&gt;
Anyone with an outstanding OSIS bug report or feature proposal for consideration for inclusion into an updated OSIS schema, please write a very concise change request here in this page, including motivating use case.&lt;br /&gt;
&lt;br /&gt;
== CrossWire updated schema ==&lt;br /&gt;
An an interim measure, we are maintaining an updated validation schema based on the contents of this page.&lt;br /&gt;
:''Currently these are looking for a new home but are currently at'':&lt;br /&gt;
&lt;br /&gt;
 http://www.crosswire.org/~dmsmith/osis&lt;br /&gt;
&lt;br /&gt;
In that location there are various iterations of the schema:&lt;br /&gt;
* osisCore.2.1.1-orig.xsd (The original schema, with some changes to whitespace).&lt;br /&gt;
* osisCore.2.1.1-cw1.xsd&lt;br /&gt;
* osisCore.2.1.1-cw2.xsd&lt;br /&gt;
* ... &lt;br /&gt;
* osisCore.2.1.1-cwN.xsd (Where N is the highest version number.)&lt;br /&gt;
* osisCore.2.1.1-cw-latest.xsd (The same as osisCore.2.1.1-cwN.xsd)&lt;br /&gt;
&lt;br /&gt;
i.e. The most recent edition will usually be found in the [http://www.crosswire.org/~dmsmith/osis/ osis] directory, with filename [http://www.crosswire.org/~dmsmith/osis/osisCore.2.1.1-cw-latest.xsd osisCore.2.1.1-cw-latest.xsd]. &lt;br /&gt;
&lt;br /&gt;
This URL may be used in place of the official BibleTechnologies URL for validating XML files submitted for modules.&lt;br /&gt;
&lt;br /&gt;
== Bugs ==&lt;br /&gt;
=== Alpha testing bugs ===&lt;br /&gt;
:''List bugs in the schema that cause correct OSIS not to validate''.&lt;br /&gt;
&lt;br /&gt;
==== osisGenRegex bug ====&lt;br /&gt;
Currently that regex looks like [1], but it should looks like [2]:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[1]     ((((\p{L}|\p{N}|_)+)(\.(\p{L}|\p{N}|_))*:)?([^:\s])+)&lt;br /&gt;
[2]     ((((\p{L}|\p{N}|_)+)(\.(\p{L}|\p{N}|_)+)*:)?([^:\s])+)&lt;br /&gt;
                        (missing + right here ^)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So our document with the following element isn't valid because the &lt;br /&gt;
string &amp;quot;Strong&amp;quot; cannot be more than 1 character long in the current schema:&lt;br /&gt;
&amp;lt;w morph=&amp;quot;robinson:N-NSF&amp;quot; lemma=&amp;quot;lemma.Strong:βίβλος&amp;quot;&amp;gt;βίβλος&amp;lt;/w&amp;gt;&lt;br /&gt;
&lt;br /&gt;
--[[User:Osk|Osk]] 19:48, 5 November 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
==== milestoned &amp;lt;lg&amp;gt; ====&lt;br /&gt;
&lt;br /&gt;
Since the &amp;lt;l&amp;gt; element can ''only'' occur within an &amp;lt;lg&amp;gt; element, use of milestoned &amp;lt;lg&amp;gt; prevents use of &amp;lt;l&amp;gt; elements (within that &amp;lt;lg&amp;gt;). Since &amp;lt;lg&amp;gt; is milestonable, one would presume that the following snippet would be valid, but it is not, for the above reason:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
     &amp;lt;lg sID=&amp;quot;eg1&amp;quot;/&amp;gt;&lt;br /&gt;
          &amp;lt;l&amp;gt;Poetry line&amp;lt;/l&amp;gt;&lt;br /&gt;
          &amp;lt;l&amp;gt;Poetry line&amp;lt;/l&amp;gt;&lt;br /&gt;
     &amp;lt;lg eID=&amp;quot;eg1&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
--[[User:Osk|Osk]] 18:18, 31 December 2011 (MST)&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;lg&amp;gt; element does not allow for mixed content. However the use of the milestoned &amp;lt;lg&amp;gt; wrongly allows for it.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
   &amp;lt;lg sID=&amp;quot;eg2&amp;quot;/&amp;gt;&lt;br /&gt;
      text&lt;br /&gt;
   &amp;lt;lg eID=&amp;quot;eg2&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
--[[User:Dmsmith|Dmsmith]] 16:29, 14 October 2012 (MDT)&lt;br /&gt;
&lt;br /&gt;
==== &amp;lt;closer&amp;gt; in &amp;lt;verse&amp;gt; container? ====&lt;br /&gt;
&lt;br /&gt;
According to the OSIS manual (cf. 11.1.3 on p. 58), it should be possible to embed a &amp;lt;closer&amp;gt; element within a &amp;lt;verse&amp;gt; container, but the schema does not allow this. One or the other should be corrected.&lt;br /&gt;
--[[User:Osk|Osk]] 05:56, 6 July 2012 (MDT)&lt;br /&gt;
&lt;br /&gt;
==== &amp;lt;seg&amp;gt; in &amp;lt;cell&amp;gt; ====&lt;br /&gt;
&lt;br /&gt;
This was already reported to osis-users, but for the sake of completeness:&lt;br /&gt;
There's a typo that allows &amp;quot;seq&amp;quot; in &amp;lt;cell&amp;gt; instead of &amp;quot;seg&amp;quot;.&lt;br /&gt;
--[[User:Osk|Osk]] 04:29, 22 February 2014 (MST)&lt;br /&gt;
&lt;br /&gt;
=== Beta testing bugs ===&lt;br /&gt;
:''List bugs in the schema that allow incorrect OSIS to validate''.&lt;br /&gt;
&lt;br /&gt;
==== rdg ====&lt;br /&gt;
In these lines of the schema:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
        &amp;lt;xs:simpleType name=&amp;quot;rdgType&amp;quot;&amp;gt;&lt;br /&gt;
                &amp;lt;xs:union memberTypes=&amp;quot;osisRdg attributeExtension xs:string&amp;quot;/&amp;gt;&lt;br /&gt;
        &amp;lt;/xs:simpleType&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* '''osisRdg''' is a list (alternate, variant).&lt;br /&gt;
* '''attributeExtension''' is a regular expression allowing x-…. &lt;br /&gt;
* '''xs:string''' allows any string expression.&lt;br /&gt;
Thus '''rdg''' elements with any text value as the type attribute will always validate, even though they should fail for anything other than (alternate, variant, x-''userdefined'')&amp;lt;BR&amp;gt;&lt;br /&gt;
[[User:David Haslam|David Haslam]] 07:19, 22 January 2016 (MST)&lt;br /&gt;
&lt;br /&gt;
==== lineType ====&lt;br /&gt;
Similar to above:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
	&amp;lt;xs:simpleType name=&amp;quot;lineType&amp;quot;&amp;gt;&lt;br /&gt;
		&amp;lt;xs:union memberTypes=&amp;quot;osisLine attributeExtension xs:string&amp;quot;/&amp;gt;&lt;br /&gt;
	&amp;lt;/xs:simpleType&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
[[User:David Haslam|David Haslam]] 07:24, 22 January 2016 (MST)&lt;br /&gt;
&lt;br /&gt;
==== lineGroup ====&lt;br /&gt;
Similar to above:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
	&amp;lt;xs:simpleType name=&amp;quot;lineGroupType&amp;quot;&amp;gt;&lt;br /&gt;
		&amp;lt;xs:union memberTypes=&amp;quot;osisLineGroup attributeExtension xs:string&amp;quot;/&amp;gt;&lt;br /&gt;
	&amp;lt;/xs:simpleType&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
[[User:David Haslam|David Haslam]] 07:24, 22 January 2016 (MST)&lt;br /&gt;
&lt;br /&gt;
== Feature requests ==&lt;br /&gt;
&lt;br /&gt;
=== OSIS Validation ===&lt;br /&gt;
:''List OSIS constructs that currently fail to validate, yet which would be better to allow''.&lt;br /&gt;
&lt;br /&gt;
==== Allow &amp;lt;divineName&amp;gt; within &amp;lt;w&amp;gt; ====&lt;br /&gt;
Often a Hebrew word is translated into multiple English words. In the case of the Divine name, the tetragrammaton, there are frequent &amp;quot;of the LORD&amp;quot;, &amp;quot;to the LORD&amp;quot;, &amp;quot;the LORD&amp;quot;, .... In OSIS these would properly be represented as: &amp;lt;w  lemma=&amp;quot;strong:H03068&amp;quot;&amp;gt;the &amp;lt;divineName&amp;gt;Lord&amp;lt;/divineName&amp;gt;&amp;lt;/w&amp;gt;. To get around this short-coming a hack has to be employed where an element that allows &amp;lt;divineName&amp;gt; is allowed to be in &amp;lt;w&amp;gt;. &amp;lt;seg&amp;gt; is allowed in &amp;lt;w&amp;gt; and allows &amp;lt;divineName&amp;gt; within it: &amp;lt;w&amp;gt;the &amp;lt;seg&amp;gt;&amp;lt;divineName&amp;gt;Lord&amp;lt;/divineName&amp;gt;&amp;lt;/seg&amp;gt;&amp;lt;/w&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' the most recent release of the KJV assumes that this has been fixed.&lt;br /&gt;
--[[User:Dmsmith|Dmsmith]] 07:20, 23 February 2014 (MST)&lt;br /&gt;
&lt;br /&gt;
==== Allow &amp;lt;divineName&amp;gt; within &amp;lt;name&amp;gt; ====&lt;br /&gt;
The OSIS generated by usfm2osis.py for beibl.net files provided one example [http://www.crosswire.org/tracker/browse/MODTOOLS-86], viz.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;verse sID=&amp;quot;Num.21.14&amp;quot; osisID=&amp;quot;Num.21.14&amp;quot;/&amp;gt;Mae&lt;br /&gt;
 &amp;lt;name type=&amp;quot;x-workTitle&amp;quot;&amp;gt;Llyfr Rhyfeloedd yr&lt;br /&gt;
 &amp;lt;divineName&amp;gt;ARGLWYDD&amp;lt;/divineName&amp;gt;&lt;br /&gt;
 &amp;lt;/name&amp;gt; yn cyfeirio at y lle fel yma:&lt;br /&gt;
&lt;br /&gt;
A similar hack is required using &amp;lt;seg&amp;gt;, viz.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;verse sID=&amp;quot;Num.21.14&amp;quot; osisID=&amp;quot;Num.21.14&amp;quot;/&amp;gt;Mae&lt;br /&gt;
 &amp;lt;name type=&amp;quot;x-workTitle&amp;quot;&amp;gt;Llyfr Rhyfeloedd yr&lt;br /&gt;
 &amp;lt;seg&amp;gt;&amp;lt;divineName&amp;gt;ARGLWYDD&amp;lt;/divineName&amp;gt;&amp;lt;/seg&amp;gt;&lt;br /&gt;
 &amp;lt;/name&amp;gt; yn cyfeirio at y lle fel yma:&lt;br /&gt;
&lt;br /&gt;
This ought also to apply for any other element that allows seg but not divineName.&lt;br /&gt;
&lt;br /&gt;
==== Allow &amp;lt;transChange&amp;gt; within &amp;lt;w&amp;gt; ====&lt;br /&gt;
An encoder ought to be ''allowed'' to put &amp;lt;transChange&amp;gt; on elements smaller than an orthographic word. If I'm translating an instance of &amp;quot;λόγος&amp;quot;, but for some reason I believe that I should translate it as &amp;quot;words&amp;quot;, I ought to be able to encode &amp;lt;w&amp;gt;word&amp;lt;transChange&amp;gt;s&amp;lt;/transChange&amp;gt;&amp;lt;/w&amp;gt;. --[[User:Osk|Osk]] 19:48, 5 November 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
==== Add an element for morphology within &amp;lt;w&amp;gt; ====&lt;br /&gt;
Necessary for encoding documents like MORPH (WLC + morphology), we need an element to embed within &amp;lt;w&amp;gt; to carry lexical information. I suggest calling it &amp;lt;m&amp;gt; and giving it all of the attributes found on &amp;lt;w&amp;gt;. --[[User:Osk|Osk]] 19:48, 5 November 2010 (UTC)&lt;br /&gt;
&lt;br /&gt;
==== Allow &amp;lt;transChange&amp;gt; within &amp;lt;hi&amp;gt; ====&lt;br /&gt;
A highlighted sentence or part of a sentence is a unit, including any transChange parts of it.&lt;br /&gt;
At the moment a highlighted sentence with a transChange will look like this:&lt;br /&gt;
 &amp;lt;hi type=&amp;quot;bold&amp;quot;&amp;gt; Texttexttext &amp;lt;/hi&amp;gt;&amp;lt;transChange&amp;gt;&amp;lt;hi type=&amp;quot;bold&amp;quot;&amp;gt; moreText&amp;lt;/hi&amp;gt;&amp;lt;/transChange&amp;gt;&amp;lt;hi type=&amp;quot;bold&amp;quot;&amp;gt; TextText&amp;lt;/hi&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;hi type=&amp;quot;bold&amp;quot;&amp;gt; Texttexttext &amp;lt;transChange&amp;gt;moreText&amp;lt;/transChange&amp;gt; TextText&amp;lt;/hi&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This would look cleaner and would be also closer to what is meant. [[User:Refdoc|refdoc]]:[[User_Talk:Refdoc|talk]] 16:02, 3 August 2011 (MDT)&lt;br /&gt;
&lt;br /&gt;
==== Allow &amp;lt;catchWord&amp;gt; within &amp;lt;hi&amp;gt; ====&lt;br /&gt;
A highlighted sentence or part of a sentence is a unit, including any catchWord parts of it.&lt;br /&gt;
At the moment a highlighted sentence with a catchWord will look like this:&lt;br /&gt;
 &amp;lt;hi type=&amp;quot;bold&amp;quot;&amp;gt; Texttexttext &amp;lt;/hi&amp;gt;&amp;lt;catchWord&amp;gt;&amp;lt;hi type=&amp;quot;bold&amp;quot;&amp;gt; moreText&amp;lt;/hi&amp;gt;&amp;lt;/catchWord&amp;gt;&amp;lt;hi type=&amp;quot;bold&amp;quot;&amp;gt; TextText&amp;lt;/hi&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;hi type=&amp;quot;bold&amp;quot;&amp;gt; Texttexttext &amp;lt;catchWord&amp;gt;moreText&amp;lt;/catchWord&amp;gt; TextText&amp;lt;/hi&amp;gt;&lt;br /&gt;
This is identical in form to the &amp;lt;transChange&amp;gt; issue. The problem with both of these is that &amp;lt;transChange&amp;gt; and &amp;lt;catchWord&amp;gt; may reasonably be styled in the same fashion as what is indicated by &amp;lt;hi&amp;gt;.&lt;br /&gt;
--[[User:Dmsmith|Dmsmith]] 16:58, 14 October 2012 (MDT)&lt;br /&gt;
&lt;br /&gt;
==== Allow multiple types for &amp;lt;hi&amp;gt; ====&lt;br /&gt;
It'd really be convenient for&lt;br /&gt;
 &amp;lt;hi type=&amp;quot;bold italic small-caps&amp;quot;&amp;gt;text&amp;lt;/hi&amp;gt;&lt;br /&gt;
rather than&lt;br /&gt;
 &amp;lt;hi type=&amp;quot;bold&amp;quot;&amp;gt;&amp;lt;hi type=&amp;quot;italic&amp;quot;&amp;gt;&amp;lt;hi type=&amp;quot;small-caps&amp;quot;&amp;gt;text&amp;lt;/hi&amp;gt;&amp;lt;/hi&amp;gt;&amp;lt;/hi&amp;gt;&lt;br /&gt;
--[[User:Dmsmith|Dmsmith]] 16:57, 14 October 2012 (MDT)&lt;br /&gt;
&lt;br /&gt;
==== Allow &amp;lt;hi&amp;gt; within &amp;lt;title&amp;gt; ====&lt;br /&gt;
There are some languages for which the earlier orthography used an italicised ''N'' (both cases) as a separate letter of the alphabet.&amp;lt;BR&amp;gt;Example: '''Old Pohnpeian'''. Allowing &amp;lt;hi type=&amp;quot;italics&amp;quot;&amp;gt;n&amp;lt;/h&amp;gt; within the text of a title element would obviate the need to use the '''seg''' element as a workaround. &lt;br /&gt;
&lt;br /&gt;
[[User:David Haslam|David Haslam]] 13:55, 15 January 2016 (MST)&lt;br /&gt;
&lt;br /&gt;
:The use of italics to mark a single character within a word must interfere with the the '''search''' function of SWORD and JSword. It would have been better if the Old Pohnpeian alphabet had used a separate character such as '''Ñ''' ('''ñ'''). In the modern orthography, the [http://en.wikipedia.org/wiki/Digraph_%28orthography%29 digraph] '''ng''' is used for this consonant. [[User:David Haslam|David Haslam]] ([[User talk:David Haslam|talk]]) 11:27, 14 February 2016 (MST)&lt;br /&gt;
&lt;br /&gt;
==== Allow &amp;lt;transChange&amp;gt; within &amp;lt;note&amp;gt; ====&lt;br /&gt;
When translating an alternate Greek version of a passage, added words need to be indicated.&lt;br /&gt;
&lt;br /&gt;
Note: the most recent release of the KJV assumes that this has been fixed.&lt;br /&gt;
--[[User:Dmsmith|Dmsmith]] 07:22, 23 February 2014 (MST)&lt;br /&gt;
&lt;br /&gt;
==== Allow &amp;amp;lt;hi&amp;gt; within &amp;amp;lt;abbr&amp;gt; ====&lt;br /&gt;
To restrict the highlighting to letters and exclude punctuation marks, the '''abbr''' element should allow the ''hi'' element. This avoids having to use a '''seg''' hack to achieve the required markup:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;abbr expansion=&amp;quot;Psalm&amp;quot;&amp;gt;&amp;lt;hi type=&amp;quot;spaced-letters&amp;quot;&amp;gt;PSAL&amp;lt;/hi&amp;gt;.&amp;lt;/abbr&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
would become possible, and obviates the need to treat any characters different to others as the engine renders the special higlighting.&lt;br /&gt;
&lt;br /&gt;
[[User:David Haslam|David Haslam]]&lt;br /&gt;
==== Allow remote header reference ====&lt;br /&gt;
When serving short passages via web services, as valid OSIS documents, a full header is obtrusive.  Also, in a collection of related documents, for example separate book files for a Bible, one centralized header would be more maintainable.  The simplest approach would probably be to allow @href on the header element, to abstract some or all of the header content. See Troy's [https://groups.google.com/d/topic/openscriptures/kygOM0yPHL8/discussion related post].&lt;br /&gt;
&lt;br /&gt;
====Allow shadow/virtual elements====&lt;br /&gt;
A second requirement for distributing valid OSIS fragments through web services is a form of virtual, or shadow, element to supply the context of the given fragment.  A new global attribute for indicating this virtual status is essential to distinguish them from the actual markup of the document. In the [http://www.esvapi.org/api ESV API], they have this construct via  `virtual` attribute (see description for `include-virtual-attributes``). See Troy's [https://groups.google.com/d/topic/openscriptures/kygOM0yPHL8/discussion related post] (same as previous).&lt;br /&gt;
&lt;br /&gt;
=== New Features ===&lt;br /&gt;
:''List new features or extensions to existing features here''.&lt;br /&gt;
==== Biblical Hebrew ====&lt;br /&gt;
&lt;br /&gt;
===== Add further &amp;lt;hi&amp;gt; types to support Biblical Hebrew =====&lt;br /&gt;
The Masoretic Text includes some words whose characters have a different style than the main text. These three styles use &amp;quot;large&amp;quot;, &amp;quot;small&amp;quot; and &amp;quot;suspended&amp;quot; letters.&amp;lt;ref&amp;gt;See https://www.win.tue.nl/~aeb/natlang/hebrew/hebrew_bible.html&amp;lt;/ref&amp;gt;&amp;lt;BR&amp;gt;MT scholars would find it beneficial if these special text styles could be properly represented in OSIS XML (and rendered as such in modules).&lt;br /&gt;
&lt;br /&gt;
Provide '''type''' attribute values to support '''small''', '''large''' and '''suspended''' Hebrew glyphs.&amp;lt;BR&amp;gt;&lt;br /&gt;
This would enable more accurate display of these orthographic peculiarities found in the Tanakh. &amp;lt;BR&amp;gt;&lt;br /&gt;
Biblical Hebrew is an area where the usual priority of semantic markup over presentational markup cannot be taken for granted. &amp;lt;BR&amp;gt;[[User:David Haslam|David Haslam]]&lt;br /&gt;
&lt;br /&gt;
These new '''hi''' types should be implemented in a way that retains the comaptibility with search features. A whole word should be wrapped, with the letters to be rendered specified by means of a further attribute value.&lt;br /&gt;
&lt;br /&gt;
'''Note:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Improve Ketiv/Qere markup in Biblical Hebrew =====&lt;br /&gt;
See https://en.wikipedia.org/wiki/Qere_and_Ketiv&lt;br /&gt;
&lt;br /&gt;
A ketiv or qere can consist of one or more words, and so need to be grouped and related to one another.  I propose adding &amp;lt;ketiv&amp;gt; with @id, and &amp;lt;qere&amp;gt; with @idref, to contain the content (&amp;lt;w&amp;gt; elements) and allow validation of the connection.  A qere with no ketiv could be marked up without the @idref.&lt;br /&gt;
&lt;br /&gt;
: This sounds like a good application for &amp;lt;seg&amp;gt;. I would recommend named types for &amp;lt;seg&amp;gt; instead: ketiv &amp;amp; qere. --[[User:Osk|Osk]] 00:37, 23 February 2014 (MST)&lt;br /&gt;
&lt;br /&gt;
:: &amp;lt;seg type=&amp;quot;qere&amp;quot;&amp;gt;...&amp;lt;/seg&amp;gt; and &amp;lt;seg type=&amp;quot;ketiv&amp;quot;&amp;gt;...&amp;lt;/seg&amp;gt; is the change request.&lt;br /&gt;
:: &amp;lt;seg type=&amp;quot;x-qere&amp;quot;&amp;gt;...&amp;lt;/seg&amp;gt; and &amp;lt;seg type=&amp;quot;x-ketiv&amp;quot;&amp;gt;...&amp;lt;/seg&amp;gt; could be used interim.&lt;br /&gt;
:::[[User:David Haslam|David Haslam]] 14:11, 15 January 2016 (MST)&lt;br /&gt;
&lt;br /&gt;
==== Add peripheral types from USFM to osisDivs ====&lt;br /&gt;
Add the additional USFM peripheral types to osisDivs to maintain feature parity. I believe OSIS 2.1.1 had this feature parity at the time of its release, but USFM has standardized additional peripheral types since then, which should be added as:&lt;br /&gt;
halfTitlePage, promotionalPage, foreword, alphabeticalContents, tableofAbbreviations, chronology, weightsandMeasures, mapIndex, ntQuotesfromLXX, spine&lt;br /&gt;
--[[User:Osk|Osk]] 01:04, 23 February 2014 (MST)&lt;br /&gt;
&lt;br /&gt;
==== Calendar types ====&lt;br /&gt;
Add the following '''calendar''' system:&lt;br /&gt;
* type=&amp;quot;Ethiopian&amp;quot;&lt;br /&gt;
May be required as and when we support Bibles &amp;amp; Commentaries for the Ethiopian Orthodox Church.&lt;br /&gt;
[[User:David Haslam|David Haslam]] 07:53, 22 January 2016 (MST)&lt;br /&gt;
&lt;br /&gt;
==== Quotation types ====&lt;br /&gt;
From the manual (p. 43):  &amp;quot;The rendering for quotations marks after an interruption, for example, can be distinguished using the type attribute on this element, with values such as initial, medial, and final.&amp;quot;  Please make these @type values official: '''initial''', '''medial''', and '''final'''.&lt;br /&gt;
&lt;br /&gt;
==== Milestonable &amp;amp;lt;p&amp;gt; ====&lt;br /&gt;
For documents where the primary structure is book, chapter, verse, like the Authorized Version or the Hebrew Bible, we should be able to mark up paragraphs as milestones.  This would allow for equality, rather than making book, section, paragraph a privileged system.&lt;br /&gt;
&lt;br /&gt;
==== Improve Selah markup ====&lt;br /&gt;
Selah can be represented at the end of a line. The markup of &amp;amp;lt;l type=&amp;quot;selah&amp;quot;&amp;amp;gt;...&amp;amp;lt;/l&amp;amp;gt; does not allow for the text identified as selah to be at the end of the current line. Maybe allow for a separate markup, rather than a type of line.&lt;br /&gt;
&lt;br /&gt;
:But see also http://www.crosswire.org/tracker/browse/MODTOOLS-84 [[User:David Haslam|David Haslam]] 13:33, 2 January 2015 (MST)&lt;br /&gt;
&lt;br /&gt;
==== title subType ====&lt;br /&gt;
Add the following attributes for use along with &amp;lt;code&amp;gt;type=&amp;quot;chapter&amp;quot;&amp;lt;/code&amp;gt; in the '''title''' element.&lt;br /&gt;
&lt;br /&gt;
 subType=&amp;quot;chapterDescription&amp;quot;&lt;br /&gt;
 subType=&amp;quot;chapterLabel&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The former would faciliate SWORD to be extended to show '''chapter descriptions''' in italics and normal font size or smaller.&amp;lt;BR&amp;gt;&lt;br /&gt;
The latter would faciltate SWORD to be extended to display the '''module chapter labels''' ''instead of'' the normal chapter labels programmed in the front-end.&lt;br /&gt;
&lt;br /&gt;
Currently, these are typically done using &amp;quot;x-&amp;quot; prefix in the attribute value, without any SWORD support.&lt;br /&gt;
&lt;br /&gt;
[[User:David Haslam|David Haslam]] 08:09, 27 January 2016 (MST)&lt;br /&gt;
&lt;br /&gt;
==== name type=&amp;quot;book&amp;quot; ====&lt;br /&gt;
Allow &amp;lt;code&amp;gt;type=&amp;quot;book&amp;quot;&amp;lt;/code&amp;gt; as an attribute of the '''name''' element to identify [http://en.wikipedia.org/wiki/Non-canonical_books_referenced_in_the_Bible Non-canonical books referenced in the Bible]. [[User:David Haslam|David Haslam]] ([[User talk:David Haslam|talk]])&lt;br /&gt;
&lt;br /&gt;
==== divineName type normal ====&lt;br /&gt;
There are four places in the KJV where the word '''JEHOVAH''' is all uppercase, but not small-caps. The following markup is desirable for these:&lt;br /&gt;
 &amp;lt;divineName type=&amp;quot;normal&amp;quot;&amp;gt;JEHOVAH&amp;lt;/divineName&amp;gt;&lt;br /&gt;
The locations are: Exodus 6:3, Psalms 83:18, Isaiah 12:2, Isaiah 26:4.&lt;br /&gt;
[[User:David Haslam|David Haslam]]&lt;br /&gt;
&lt;br /&gt;
==== New hi types ====&lt;br /&gt;
In addition to these defined type values,&lt;br /&gt;
:'''• acrostic • bold • emphasis • illuminated • italic • line-through • normal • small-caps • sub • super • underline'''&lt;br /&gt;
it would be useful to add several further types for the '''hi''' element. [[User:David Haslam|David Haslam]]&lt;br /&gt;
&lt;br /&gt;
===== overline =====&lt;br /&gt;
SWORD already supports &amp;lt;code&amp;gt;type=&amp;quot;overline&amp;quot;&amp;lt;/code&amp;gt; for the '''hi''' element, despite it not being defined in the schema before.&lt;br /&gt;
&lt;br /&gt;
===== dotted-underline =====&lt;br /&gt;
Dotted underline is sometimes used in Chinese ideographic script to highlight certain words. Should we provide for this in OSIS?&lt;br /&gt;
&lt;br /&gt;
===== dashed-underline =====&lt;br /&gt;
This is similar to dotted underline, but the line is dashed rather than dotted.&lt;br /&gt;
&lt;br /&gt;
===== spaced-letters =====&lt;br /&gt;
Many of the book titles in the Blayney edition contain words in which the letters are spaced. e.g.&amp;lt;BR&amp;gt;'''The R E V E L A T I O N of S. J O H N the Divine.'''&amp;lt;BR&amp;gt;It's desirable to have a new highlight type for these, e.g.&lt;br /&gt;
 &amp;lt;hi type=&amp;quot;spaced-letters&amp;quot;&amp;gt;REVELATION&amp;lt;/hi&amp;gt;&lt;br /&gt;
In this way the highlighted text will be semantically still be the same word, even though it is displayed differently. As and when this is implemented by SWORD, the spaces should be of the non-break type. &lt;br /&gt;
&lt;br /&gt;
===== drop-caps =====&lt;br /&gt;
Many printed Bibles use drop-caps for the first letter in a verse&amp;lt;ref&amp;gt;To maintain comptibility with search features, the whole word should be marked, not just the first letter.&amp;lt;BR&amp;gt;The same goes for &amp;lt;code&amp;gt;type=&amp;quot;illuminated&amp;quot;.&amp;lt;/code&amp;gt;. The style sheet or rendering will determine that it applies only to the first letter.&amp;lt;/ref&amp;gt;, usually the first verse in each chapter. To reproduce this in electronic editions, a means to implement this presentational format is required.&lt;br /&gt;
&lt;br /&gt;
'''Note:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Grain operator @s ====&lt;br /&gt;
The '''osisRef''' fine grain string&amp;lt;ref&amp;gt;OSIS User Manual (pp.82, 91, 148). It's uncertain whether this OSIS feature is even supported by SWORD.&amp;lt;/ref&amp;gt; operator '''@s[''text'']''' works only for a whole word without spaces. It will also find only the first occurrence of the specified word.&lt;br /&gt;
&lt;br /&gt;
It would be useful to expand this operator to facilitate:&lt;br /&gt;
* text containing spaces, rather than only a single word&lt;br /&gt;
* returning the whole string rather than merely a pointer to its first character&lt;br /&gt;
* text containing punctuation marks&amp;lt;ref&amp;gt;It's uncertain whether it can cope with a string that has an apostrophe, or one that is hyphenated.&amp;lt;/ref&amp;gt;&lt;br /&gt;
* a method to find further occurrences of the same word after the first, e.g. for the n&amp;lt;sup&amp;gt;th&amp;lt;/sup&amp;gt; instance,&lt;br /&gt;
 @s[word]n&lt;br /&gt;
* a shorter way of specifying a range of consecutive words within the same osisRef&amp;lt;ref&amp;gt;This would avoid having to repeat the full osisRef for the end of the range.&amp;lt;/ref&amp;gt;, by such as:&lt;br /&gt;
 @s[first]-[last]&lt;br /&gt;
* a way of specifing a comma separated series of words within the same osisRef, by such as:&lt;br /&gt;
 @s[third],[fifth],[seventh]&lt;br /&gt;
* to allow a method for the user agent (e.g. SWORD) to process a fine grain string ending with &amp;quot;…&amp;quot;, the HORIZONTAL ELLIPSIS (U+2026), by returning the match as to just before the next terminating punctuation mark, or the end of the specified osisRef.&lt;br /&gt;
&lt;br /&gt;
'''Note:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
[[User:David Haslam|David Haslam]] 27 January 2016 (MST)&lt;br /&gt;
&lt;br /&gt;
==== Table Cells ====&lt;br /&gt;
The &amp;amp;lt;cell&amp;amp;gt; element should have the attributes rows and cols to specify the spanning of a cell horizontally and vertically. Using subType is insufficient to communicate to values.&lt;br /&gt;
[[User:Dmsmith|Dmsmith]] ([[User talk:Dmsmith|talk]]) 09:29, 2 March 2016 (MST)--&lt;br /&gt;
&lt;br /&gt;
== OSIS User Manual (bugs &amp;amp; feature requests) ==&lt;br /&gt;
:''List here any errors in the OSIS User Manual and any omissions that need rectifiying''.&lt;br /&gt;
&lt;br /&gt;
=== Head Elements ===&lt;br /&gt;
The OSIS manual give the '''head''' element as a means of providing for titles. It is not in the schema as a child of '''div''', but it is in the manual.&lt;br /&gt;
&lt;br /&gt;
=== DivineName Element ===&lt;br /&gt;
Manual gives &amp;lt;code&amp;gt;type=&amp;quot;x-yhwh&amp;quot;&amp;lt;/code&amp;gt; in 11.5.1.2 but it's unnecessary. It also has the content as LORD, but it should be Lord.&lt;br /&gt;
&lt;br /&gt;
=== &amp;amp;lt;seg type=&amp;quot;benediction&amp;quot;&amp;gt; ===&lt;br /&gt;
This is mentioned as a suggestion in 11.1.4 but '''benediction''' is not a defined value for the '''type''' attribute of '''seg'''.&amp;lt;BR&amp;gt;These are • '''alluded''' • '''keyword''' • '''otPassage''' • '''verseNumber'''. It should therefore have the &amp;quot;x-&amp;quot; prefix.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[OSIS Bibles]]&lt;br /&gt;
* [[OSIS Commentaries]]&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
Our friend, [http://eBible.org/ Michael Paul Johnson] maintains his own '''Modified OSIS''' schema. This is used in his [http://haiola.org/ Haila] software. &lt;br /&gt;
&lt;br /&gt;
[[Category:OSIS]]&lt;/div&gt;</summary>
		<author><name>Dmsmith</name></author>	</entry>

	<entry>
		<id>https://wiki.crosswire.org/index.php?title=Main_Page&amp;diff=14890</id>
		<title>Main Page</title>
		<link rel="alternate" type="text/html" href="https://wiki.crosswire.org/index.php?title=Main_Page&amp;diff=14890"/>
				<updated>2016-02-17T18:40:19Z</updated>
		
		<summary type="html">&lt;p&gt;Dmsmith: /* Welcome to the CrossWire Developers' Wiki */ No longer self signed.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| cellspacing=&amp;quot;1&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|style=&amp;quot;border: 1px solid green;padding-left:1em;padding-right:0.5em;background:#E4FFDF;padding-bottom:0.5em;&amp;quot; width=&amp;quot;100%&amp;quot;|&lt;br /&gt;
==Welcome to the CrossWire Developers' Wiki==&lt;br /&gt;
This Wiki now always uses [http://en.wikipedia.org/wiki/HTTPS HTTPS] protocol.&lt;br /&gt;
&lt;br /&gt;
Be sure to check out our [[Current Projects|current projects]] page to see how you might use your skills here at [http://crosswire.org/ CrossWire].&lt;br /&gt;
&lt;br /&gt;
Please look at our general [[Volunteers|volunteering]] page, the [http://www.crosswire.org/bugs bugs] database and/or assist end-users in the [http://www.crosswire.org/forums forums].&lt;br /&gt;
&lt;br /&gt;
Also, we have pages describing the [[Purpose Statement|purpose]] of our work and the [[About Us|CrossWire Bible Society]] itself.&lt;br /&gt;
&lt;br /&gt;
You can even come and chat with SWORD developers on IRC: [http://webchat.freenode.net/?randomnick=1&amp;amp;channels=sword&amp;amp;prompt=1 #sword] on FreeNode.&lt;br /&gt;
&lt;br /&gt;
Newcomers should take note of the difference between SWORD as a [https://en.wikipedia.org/wiki/Front_and_back_ends back-end], and the SWORD Project as a front-end application for Windows.&lt;br /&gt;
|}&lt;br /&gt;
{| cellspacing=&amp;quot;1&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot; &lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;background:#E8F1FF;border-style:solid;border-width:1px;border-color:#00ccFF;padding-left:1em;padding-right:0.5em; padding-bottom:0.5em;&amp;quot; width=&amp;quot;50%&amp;quot;|&lt;br /&gt;
&lt;br /&gt;
==SWORD Modules==&lt;br /&gt;
* List of Known [[Module Repositories]]&lt;br /&gt;
* Information about Unicode [[Fonts]]&lt;br /&gt;
* [[Module Requests]]&lt;br /&gt;
* [[BibTeX entries]]&lt;br /&gt;
&lt;br /&gt;
==Front-end Applications==&lt;br /&gt;
* [[Choosing a SWORD program]]&lt;br /&gt;
* A Front-end [[Frontends:FeatureList|Features Wishlist]]&lt;br /&gt;
* [[Frontends:No longer being actively developed|Front-ends no longer being actively developed]]&lt;br /&gt;
===SWORD based front-ends===&lt;br /&gt;
* [[Frontends:BibleCS|The SWORD Project for Windows]] (internally known as BibleCS)&lt;br /&gt;
* [[Frontends:Eloquent|Eloquent]] (formerly named MacSword)&lt;br /&gt;
* [[Frontends:Xiphos|Xiphos (GTK)]] (formerly [[Frontends:GnomeSword|GnomeSword]])&lt;br /&gt;
* [[Frontends:BibleTime|BibleTime]] (see also [[Frontends:KioSword|Kio-Sword]])&lt;br /&gt;
* [http://bibletimemini.sf.net/ BibleTime Mini] (for mobile devices, cross-platform)&lt;br /&gt;
* [http://bpbible.com BPBible (wxPython)]&lt;br /&gt;
* [http://swordwarrior.net SwordBible]&lt;br /&gt;
* [http://www.crosswire.org/swordweb/ The Bible Tool] &amp;amp;ndash; server application using [http://en.wikipedia.org/wiki/ORBit ORBit]&lt;br /&gt;
* [[Frontends:PocketSword|PocketSword]] (for [http://en.wikipedia.org/wiki/IOS_%28Apple%29 Apple iOS])&lt;br /&gt;
* [http://sourceforge.net/projects/dbst/ Dexios Bible Study Tool]&lt;br /&gt;
* [http://katana.garage.maemo.org/ Katana] (for [http://maemo.org/ maemo] Internet tablets)&lt;br /&gt;
* [[Frontends:Diatheke|Diatheke]] (CLI)&lt;br /&gt;
* [https://github.com/JohnAustinDev/xulsword xulsword] ([http://ibt.org.ru/en/pc.htm MK])&lt;br /&gt;
* [http://thegoan.com/firebible FireBible] &amp;amp;ndash; Firefox Add-on &lt;br /&gt;
* [http://marketplace.firefox.com/app/biblez-desktop BibleZ] &amp;amp;ndash; an offline bible reader for Firefox&lt;br /&gt;
&lt;br /&gt;
===JSword based front-ends===&lt;br /&gt;
* [[Frontends:BibleDesktop|BibleDesktop]]&lt;br /&gt;
* [http://www.kiyut.com/products/alkitab/ Alkitab Bible Study]&lt;br /&gt;
* [[Frontends:GSword|GSword]] &amp;amp;ndash; CCIM Online Bible Studio&lt;br /&gt;
* [https://github.com/mjdenham/and-bible And Bible] &amp;amp;ndash; for Android OS&lt;br /&gt;
* [http://www.stepbible.org/ STEP Bible] &amp;amp;ndash; developed at [http://www.tyndale.cam.ac.uk/ Tyndale House]&lt;br /&gt;
&lt;br /&gt;
==Other CrossWire Applications==&lt;br /&gt;
* [[Projects:Go Bible|Go Bible]] &amp;amp;ndash; mobile phone Bible viewer for Java ME&lt;br /&gt;
&lt;br /&gt;
|valign=&amp;quot;top&amp;quot; bgcolor=&amp;quot;#FFE8E8&amp;quot; style=&amp;quot;border-style:solid;border-width:1px;border-color:#FF6060;padding-left:1em;padding-right:0.5em; padding-bottom:0.5em;&amp;quot; width=&amp;quot;50%&amp;quot;|&lt;br /&gt;
&lt;br /&gt;
==Development Tools==&lt;br /&gt;
* [[DevTools:SWORD|SWORD Engine (C++)]]&lt;br /&gt;
* [[DevTools:JSword|JSword (Java)]]&lt;br /&gt;
* [[:DevTools:Code Examples|Code Examples]]&lt;br /&gt;
* [[Tutorial:How SWORD works]]&lt;br /&gt;
* [[:Tutorial:Compiling &amp;amp; Installing SWORD]]&lt;br /&gt;
* [[DevTools:ICU|International Components for Unicode (ICU)]]&lt;br /&gt;
* [[DevTools:CMake|CMake]] &amp;amp; [[DevTools:Bindings|Bindings]] for SWORD &amp;amp;ndash; experimental&lt;br /&gt;
* [[DevTools:Locale Files|Locale Files]]&lt;br /&gt;
* [[CSharp_Bindings_on_Windows | Tutorial:How to set up C# bindings on Windows]]&lt;br /&gt;
&lt;br /&gt;
==Module Development==&lt;br /&gt;
* How to Create [[DevTools:Modules|SWORD Modules]]&lt;br /&gt;
* How to Create [[DevTools:conf Files|Module .conf Files]]&lt;br /&gt;
* A Basic [[OSIS Tutorial]]&lt;br /&gt;
* Guide to Writing [[OSIS Bibles]]&lt;br /&gt;
* Guide to Writing [[OSIS Commentaries]]&lt;br /&gt;
* Guide to Writing [[OSIS Genbooks]]&lt;br /&gt;
* Guide to Writing [[ThML modules]]&lt;br /&gt;
* Guide to Writing [[TEI Dictionaries]]&lt;br /&gt;
* Guide to [[Converting SFM Bibles to OSIS]]&lt;br /&gt;
* About [[DevTools:JSword/Personal Commentary|Personal Commentaries]]&lt;br /&gt;
* About [[Alternate Versification]]&lt;br /&gt;
* [[OpenOffice Export Filter for Genbooks]]&lt;br /&gt;
* [[File Formats]] and related Utility Programs&lt;br /&gt;
* [[DevTools:Text Editors|Unicode Text Editors]]&lt;br /&gt;
* [[Module Development Collaboration]]&lt;br /&gt;
* [[Modules_in_the_beta_repository|Testing status of Beta modules]]&lt;br /&gt;
* Guide to [[Creating and Maintaining a Module Repository]]&lt;br /&gt;
* [[Non-CrossWire Text-Development Projects]]&lt;br /&gt;
* [[Notes on specific CrossWire modules]]&lt;br /&gt;
&lt;br /&gt;
==Public Relations, Website, User assistance==&lt;br /&gt;
* [[EnduserFAQ|FAQ]]&lt;br /&gt;
* [[Project websites and domains]]&lt;br /&gt;
* [[Help:Contents|Getting help]], joining mailing lists, reporting problems and tracking issues&lt;br /&gt;
* [[Copyright]] policy and lobbying copyright owners&lt;br /&gt;
* [[Twitter|CrossWire on Twitter]] and [[Facebook]]&lt;br /&gt;
* [[SWORD CD]]&lt;br /&gt;
|}&lt;br /&gt;
{| cellspacing=&amp;quot;1&amp;quot; width=&amp;quot;100%&amp;quot;&lt;br /&gt;
|- valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|style=&amp;quot;border: 1px solid gray;padding-left:1em;padding-right:0.5em;background:#E8E8E8;padding-bottom:0.5em;&amp;quot; width=&amp;quot;100%&amp;quot;|&lt;br /&gt;
&lt;br /&gt;
==Getting Started in Wiki Collaboration==&lt;br /&gt;
A Wiki is a place to share documentation and development information.&lt;br /&gt;
* New user account requests are now moderated.&lt;br /&gt;
* Anyone who has been a member for at least 4 days can edit a wiki once they have [[Special:Userlogin|logged in]].&lt;br /&gt;
* If you are new to Wikis, consult the [http://meta.wikipedia.org/wiki/MediaWiki_User's_Guide User's Guide] for information on using the wiki software.&lt;br /&gt;
* [http://www.mediawiki.org/wiki/Help:FAQ MediaWiki FAQ]&lt;br /&gt;
* Look to see what might need attention by visiting [[Wiki Maintenance]]&lt;br /&gt;
* You may experiment with Wiki using our [[CrossWire:Sandbox|Sandbox]].&lt;br /&gt;
* Another way to navigate the Wiki is to click on [[:Special:SpecialPages|Special pages]] in the toolbox, and then select [[:Special:Categories|Categories]], or just go directly to [[:Category:Categories]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
[[Category:CrossWire]]&lt;br /&gt;
[[Category:SWORD Frontends]]&lt;br /&gt;
[[Category:JSword]]&lt;br /&gt;
[[Category:Modules]]&lt;br /&gt;
[[Category:Development tools]]&lt;br /&gt;
[[Category:Support]]&lt;br /&gt;
__NOTOC__&lt;/div&gt;</summary>
		<author><name>Dmsmith</name></author>	</entry>

	<entry>
		<id>https://wiki.crosswire.org/index.php?title=KJV_1611&amp;diff=14808</id>
		<title>KJV 1611</title>
		<link rel="alternate" type="text/html" href="https://wiki.crosswire.org/index.php?title=KJV_1611&amp;diff=14808"/>
				<updated>2016-02-10T17:11:51Z</updated>
		
		<summary type="html">&lt;p&gt;Dmsmith: /* Sample: Genesis 1 */ punctuation change&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Sample: Genesis 1==&lt;br /&gt;
The following is a faithful representation of Genesis 1 from Authorized Version of 1611&amp;lt;ref&amp;gt;This was manually transcribed from: http://dewey.library.upenn.edu/sceti/printedbooksNew/index.cfm?TextID=kjbible&amp;amp;PagePosition=77&amp;lt;/ref&amp;gt;, commonly called the King James Version.&amp;lt;BR&amp;gt;This is frequently confused with 1769 edition by Benjamin Blayney,&amp;lt;ref&amp;gt;Current KJV printings feature certain post-1611-edition editorial changes, 18th century spelling, an enhanced system of &amp;quot;supplied words&amp;quot; (the words printed in italics as having no equivalent in the original Biblical texts but added for clarity), and emended punctuation.&amp;lt;/ref&amp;gt; which is the basis of most modern printings.&lt;br /&gt;
&lt;br /&gt;
               THE FIRST BOOKE OF MOSES, called GENESIS.&lt;br /&gt;
               Chap.j.&lt;br /&gt;
               The creation of the world.&lt;br /&gt;
               1 The creation of Heauen and Earth, 3 of the&lt;br /&gt;
               light, 6 of the firmament, 9 of the earth ſe-&lt;br /&gt;
               parated from the waters, 11 and made fruit-&lt;br /&gt;
               full, 14 of the Sunne, Moone and Starres,&lt;br /&gt;
               20 of fiſh and fowle, 24 of beaſts and cat-&lt;br /&gt;
               tell, 26 of Man in the Image of God. 29 Al-&lt;br /&gt;
               ſo the appointment of food.&lt;br /&gt;
 *Pſal.33.6.                             n *the beginning&lt;br /&gt;
 and 136.5.                              God created the&lt;br /&gt;
 acts.14.15.                             Heauen and the&lt;br /&gt;
 and 17.24.                              Earth.&lt;br /&gt;
 hebr.11.3.              I                 2   And the&lt;br /&gt;
                                         earth was with=&lt;br /&gt;
                                         out forme , and&lt;br /&gt;
                                         voyd; and darke=&lt;br /&gt;
                                         neſſe ''was'' vpon&lt;br /&gt;
               the face of the deepe: And the Spirit&lt;br /&gt;
               of God mooued vpon the face of the&lt;br /&gt;
               waters.&lt;br /&gt;
 *2.Cor.         3   And God ſaid, *Let there be light:&lt;br /&gt;
 4.6           and there was light.&lt;br /&gt;
 †Hebr.be-       4   And God ſaw the light, that ''it was''&lt;br /&gt;
 tweene the    good: and God diuided †the light from&lt;br /&gt;
 light and be- the darkeneſſe.&lt;br /&gt;
 tweene the      5   And God called the light, Day,&lt;br /&gt;
 darkeneſſe.   and the darkneſſe he called Night: †and&lt;br /&gt;
 †Hebr. and    the euening and the morning were the&lt;br /&gt;
 the euening   firſt day.&lt;br /&gt;
 was, and the    6   ¶And God faid, *Let there be a&lt;br /&gt;
 morning was.  †firmament in the midſt of the waters:&lt;br /&gt;
 etc           and let it diuide the waters from the&lt;br /&gt;
 *Pfal.136.    waters.&lt;br /&gt;
 5 ier.10.12     7   And God made the firmament&lt;br /&gt;
 and 51.15.    and diuided the waters, which ''were'' vn=&lt;br /&gt;
 †Hebr.Ex-     der the firmament, from the waters,&lt;br /&gt;
 panſion.      which ''were'' above the firmament: and it&lt;br /&gt;
               was ſo.&lt;br /&gt;
 column break&lt;br /&gt;
 *Ier.51.15.     8   And God called the *firmament&lt;br /&gt;
               Heaven : and the euening and the mor=&lt;br /&gt;
               ning were the ſecond day.&lt;br /&gt;
 *Pſal.33.7.     9   ¶And God ſaid, *Let the waters&lt;br /&gt;
 and 136.5.    vnder the heauen be gathered together&lt;br /&gt;
 iob.38.8.     vnto one place, and let the dry land ap=&lt;br /&gt;
               peare: and it was ſo.&lt;br /&gt;
                 10  And God called the drie land,&lt;br /&gt;
               Earth, the gathering together of&lt;br /&gt;
               the waters called hee, Seas: and God&lt;br /&gt;
               ſaw that ''it was'' good.&lt;br /&gt;
 †Heb.tender     11  And God ſaid, Let the Earth bring&lt;br /&gt;
 graſſe.       foorth †graſſe, the herbe yeelding ſeed,&lt;br /&gt;
               ''and'' the fruit tree, yeelding fruit after his&lt;br /&gt;
               kinde, whole ſeed ''is'' in it ſelfe, vpon the&lt;br /&gt;
               earth : and it was ſo.&lt;br /&gt;
                 12  And the earth brought foorth&lt;br /&gt;
               graſſe, ''and'' herbe yeelding ſeed after his&lt;br /&gt;
               kinde, and the tree yeelding fruit, whole&lt;br /&gt;
               ſeed ''was'' in it ſelfe , after his kinde: and&lt;br /&gt;
               God ſaw that ''it was'' good.&lt;br /&gt;
                 13  And the euening and the morning&lt;br /&gt;
               were the third day.&lt;br /&gt;
 *Deu.4.19       14  ¶And God ſaid, Let there bee&lt;br /&gt;
 pſal.136.7.   *lights in the firmament of the heauen,&lt;br /&gt;
               to diuide †the day from the night: and&lt;br /&gt;
 †Hebr.be-     let them be for ſignes and for ſeaſons,&lt;br /&gt;
 tweene the    and for dayes and yeeres.&lt;br /&gt;
 day and be-    15  And let them be for lights in the&lt;br /&gt;
 tweene the    firmament of the heaven, to give light&lt;br /&gt;
 night.        vpon the earth: and it was ſo.&lt;br /&gt;
                 16  And God made two great lights:&lt;br /&gt;
 †Hebr. for    the greater light † to rule the day, and&lt;br /&gt;
 the rule of   the leſſer light to rule the night: ''he made''&lt;br /&gt;
 the day, etc. the ſtarres alſo.&lt;br /&gt;
                 17  And God ſet them in the firma=&lt;br /&gt;
               ment of the heauen, to give light vpon&lt;br /&gt;
               the earth:&lt;br /&gt;
 *Ier.31.35      18  And to * rule ouer the day , and&lt;br /&gt;
                                        A         ouer&lt;br /&gt;
 page break&lt;br /&gt;
 The creation of man. Geneſis. The firft Sabbath.&lt;br /&gt;
               ouer the night, and to diuide the light&lt;br /&gt;
               from the darkeneſſe: and God ſaw that&lt;br /&gt;
               ''it was'' good.&lt;br /&gt;
                 19  And the euening and the morning&lt;br /&gt;
               were the fourth day.&lt;br /&gt;
 *4.Eſdr.6.      20  And God ſaid, *Let the waters&lt;br /&gt;
 47.           bring foorth aboundantly the ||mouing&lt;br /&gt;
 ||Or, cree-   creature that hath †life , and foule ''that''&lt;br /&gt;
 ping.         may flie aboue the earth in the †open&lt;br /&gt;
 †Heb.ſoule.   firmament of heauen.&lt;br /&gt;
 †Heb. face    21  And God created great whales,&lt;br /&gt;
 of the firma- and every liuing creature that moueth,&lt;br /&gt;
 ment of hea-  which the waters brought forth aboun=&lt;br /&gt;
 uen.          dantly after their kinde, and euery win=&lt;br /&gt;
               ged foule after his kinde : and God ſaw&lt;br /&gt;
               that ''it was'' good.&lt;br /&gt;
 *Chap.8.        22  And God bleſſed them, ſaying, *Be&lt;br /&gt;
 17.and 9.1.   fruitfull, and multiply, and fill the wa=&lt;br /&gt;
               ters in the Seas, and let foule multiply&lt;br /&gt;
               in the earth.&lt;br /&gt;
                 23 And the euening and the morning&lt;br /&gt;
               were the fift day.&lt;br /&gt;
                 24 ¶And God ſaid, Let the earth&lt;br /&gt;
               bring forth the liuing creature after his&lt;br /&gt;
               kinde, cattell, and creeping thing, and&lt;br /&gt;
               beaſt of the earth after his kinde: and it&lt;br /&gt;
               was ſo.&lt;br /&gt;
                 25  And God made the beaſt of the&lt;br /&gt;
               earth after his kinde, and cattell after&lt;br /&gt;
               their kinde, and euery thing that cree=&lt;br /&gt;
               peth vpon the earth , after his kinde:&lt;br /&gt;
               and God ſaw that ''it was'' good.&lt;br /&gt;
 *Chap.5.1.      26  ¶And God ſaid, *Let us make&lt;br /&gt;
 and 9.6.      man in our Image , after our likeneſſe:&lt;br /&gt;
 1.corin.11.   and let them haue dominion ouer the&lt;br /&gt;
 7.ephes.4.    fiſh of the ſea, and ouer the foule of the&lt;br /&gt;
 14.col.3.     aire, and ouer the cattell, and ouer all&lt;br /&gt;
 10            the earth,and ouer euery creeping thing&lt;br /&gt;
               that creepeth vpon the earth.&lt;br /&gt;
                 27  So God created man in his owne&lt;br /&gt;
 *Matth.19     Image, in the Image of God created&lt;br /&gt;
 4. wiſd.2.    hee him; *male and female created hee&lt;br /&gt;
 23.           them.&lt;br /&gt;
                 28  And God bleſſed them, and God&lt;br /&gt;
 *Chap.9.1     ſaid vnto them, *Be fruitfull, and mul=&lt;br /&gt;
               tiply, and repleniſh the earth, and ſub=&lt;br /&gt;
               due it, and haue dominion ouer the fiſh&lt;br /&gt;
               of the ſea, and ouer the foule of the aire,&lt;br /&gt;
 †Heb.cree-    and ouer euery liuing thing that †moo=&lt;br /&gt;
 peth.         ueth upon the earth.&lt;br /&gt;
                 29  ¶And God faid, Behold, I haue&lt;br /&gt;
 †Hebr.ſee-    giuen you euery herbe †bearing ſeede,&lt;br /&gt;
 ding ſeed.    which ''is'' vpon the face of all the earth,&lt;br /&gt;
               and euery tree, in the which ''is'' the fruit&lt;br /&gt;
 *Chap.9.3     of a tree yeelding ſeed, *to you it ſhall be&lt;br /&gt;
               for meat:&lt;br /&gt;
                 30  And to euery beaſt of the earth,&lt;br /&gt;
               and to euery foule of the aire, and to eue=&lt;br /&gt;
               ry thing that creepeth vpon the earth,&lt;br /&gt;
 column break&lt;br /&gt;
 †Hebr.a li-   wherein there ''is'' †life, ''I haue giuen'' euery&lt;br /&gt;
 uing foule.   greene herbe for meat: and it was ſo.&lt;br /&gt;
 *Ecclus.39      31  And *God ſaw euerything that&lt;br /&gt;
  16.          hee had made : and behold, ''it was'' very&lt;br /&gt;
               good. And the euening and the morn=&lt;br /&gt;
               ning were the ſixth day.&lt;br /&gt;
&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== The Apocrypha ==&lt;br /&gt;
Most editions of the KJV printed before the mid-nineteenth century contained the Apocrypha (''aka'' Deuterocanonical books).&lt;br /&gt;
&lt;br /&gt;
== Margin notes and cross-references ==&lt;br /&gt;
Blayney's 1769 edition contained both marginal notes and cross-references. The OT references included many to the deuterocanonical books (''aka'' the Apocrypha). &amp;lt;ref&amp;gt;The KJV SWORD module contains 6959 notes, but as yet, we have found a reliable digital source for the cross-references.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Historic reprints==&lt;br /&gt;
There was a scrupulous original-spelling, page-for-page, and line-for-line reprint of the 1611 edition (including all chapter headings, marginalia, and original italicization, but with Roman type substituted for the black letter of the original), published by Oxford in 1833. &amp;lt;ref&amp;gt;See http://en.wikipedia.org/wiki/Authorized_King_James_Version#cite_note-95.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Note:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Modern reprints==&lt;br /&gt;
===Digitally remastered edition===&lt;br /&gt;
* http://www.amazon.co.uk/Bible-James-Version-400th-Anniversary/dp/0310440297/&lt;br /&gt;
&lt;br /&gt;
===Facsimile editions===&lt;br /&gt;
* http://dewey.library.upenn.edu/sceti/printedbooksNew/index.cfm?TextID=kjbible (first printing)&lt;br /&gt;
* http://www.thedcl.org/bible/kjv-1611/index.html (partial)&lt;br /&gt;
* http://books.google.com/books?id=OHFbAAAAMAAJ&amp;amp;printsec=frontcover (first printing)&lt;br /&gt;
* http://www.archive.org/details/holybibleexactre00oxfouoft and http://www.archive.org/details/holybibleexactre02oxfouoft (first printing)&lt;br /&gt;
* http://sceti.library.upenn.edu/sceti/printedbooksNew/index.cfm?TextID=kjbible&amp;amp;PagePosition=1 &amp;amp;ndash; The Holy Bible, conteyning the Old Testament, and the New. Imprinted at London : By Robert Barker ..., 1611. In Annenberg Rare Book and Manuscript Library. BS185 1611 .L65.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&lt;br /&gt;
===Further reading===&lt;br /&gt;
&lt;br /&gt;
* Scrivener, F. H. A., ''The Authorized Edition of the English Bible (1611) - Its Subsequent Reprints and Modern Representatives''. (1884). A modern (2004) reprint (with some additions &amp;amp; corrections) is available as paperback from Wipf &amp;amp; Stock Publishers. ISBN 1-59244-634-5&lt;br /&gt;
&lt;br /&gt;
* Nicolson, Adam, ''God's Secretaries: The Making of the King James Bible'' (2003) [http://www.amazon.co.uk/gp/product/0060185163/ ].&amp;lt;BR&amp;gt;Same book with different title, ''When God Spoke English: The Making of the King James Bible'' (2011) [http://www.amazon.co.uk/When-God-Spoke-English-Making/dp/0007431007/ ]&lt;br /&gt;
&lt;br /&gt;
* McGrath, Alister, ''In the Beginning: The Story of the King James Bible'' (2011) [http://www.amazon.co.uk/Beginning-Story-King-James-Bible/dp/0340785853/ ]&lt;br /&gt;
&lt;br /&gt;
===External links===&lt;br /&gt;
* http://en.wikipedia.org/wiki/Authorized_King_James_Version&lt;br /&gt;
* http://www.bible-researcher.com/kjvbib.html&lt;br /&gt;
* http://www.studylight.org/&lt;br /&gt;
&lt;br /&gt;
==== Library Holdings ====&lt;br /&gt;
* http://copac.jisc.ac.uk/search?&amp;amp;keyword=1769+Bible+%E2%80%93+Benjamin+Blayney+Edition&lt;br /&gt;
* https://www.worldcat.org/search?q=kw%3A1769+Bible+%E2%80%93+Benjamin+Blayney+Edition&amp;amp;qt=advanced&amp;amp;dblist=638&lt;br /&gt;
&lt;br /&gt;
====Text Development Sites====&lt;br /&gt;
* [http://www.originalbibles.com/1769-king-james-bible-benjamin-blayney/ The 1769 King James Bible – Benjamin Blayney Edition]&lt;br /&gt;
&lt;br /&gt;
====Quatercentenary====&lt;br /&gt;
* http://www.2011trust.org/&lt;br /&gt;
&lt;br /&gt;
[[Category:English Bibles]]&lt;/div&gt;</summary>
		<author><name>Dmsmith</name></author>	</entry>

	<entry>
		<id>https://wiki.crosswire.org/index.php?title=CrossWire_KJV&amp;diff=14799</id>
		<title>CrossWire KJV</title>
		<link rel="alternate" type="text/html" href="https://wiki.crosswire.org/index.php?title=CrossWire_KJV&amp;diff=14799"/>
				<updated>2016-02-10T03:22:21Z</updated>
		
		<summary type="html">&lt;p&gt;Dmsmith: /* Road Map */ changed note symbol to ⁕&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;:''This page is a work in progress''.&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
The KJV module was one of the earliest to be released and distributed by CrossWire after '''The SWORD Project''' was launched. It remains one of the most frequently downloaded modules in all our repositories.&lt;br /&gt;
&lt;br /&gt;
The KJV module text is based substantially on the '''1769 Oxford Edition''' (the basis for all modern editions), not the original 1611 first edition. See our [[EnduserFAQ#Do_you_have_the_original_King_James.2FAuthorized_Version.3F|FAQ]].&lt;br /&gt;
&lt;br /&gt;
This is the only module maintained by CrossWire volunteers. It is marked up in OSIS XML. All other modules are based on source text from external providers.&lt;br /&gt;
&lt;br /&gt;
== Provenance and Acknowledgements ==&lt;br /&gt;
Strong's numbers provide a useful means for looking up the exact original language word in a lexicon that is keyed to [http://en.wikipedia.org/wiki/Strong's_Concordance Strong's Concordance].&lt;br /&gt;
&lt;br /&gt;
[http://en.wikipedia.org/wiki/Morphology_%28linguistics%29 Morphology] data provides a means to understand the structure of the original language's morphemes and other linguistic units.&lt;br /&gt;
&lt;br /&gt;
* The Strong's numbers in the OT were obtained from [http://www.bf.org/ The Bible Foundation]&lt;br /&gt;
* The Strong's data in the NT was obtained from the [[CrossWire_KJV#Text_Development_Stages|KJV2003 Project]] at CrossWire.&lt;br /&gt;
&lt;br /&gt;
Special thanks to the volunteers at Bible Foundation for keying the Hebrew/English data and of Project KJV2003 for working toward the completion of synchronizing the English phrases to the Stephanas [http://en.wikipedia.org/wiki/Textus_Receptus Textus Receptus], and to Dr. Maurice Robinson for providing the base Greek text with Strong's and Morphology.&lt;br /&gt;
&lt;br /&gt;
We are also appreciative of formatting markup that was provided by [http://www.ebible.org Michael Paul Johnson]. &lt;br /&gt;
&lt;br /&gt;
Their time and generosity to contribute such for the free use of the Body of Christ is a great blessing and this derivitive work could not have been possible without these efforts of so many individuals.  It is in this spirit that we in turn offer the KJV2003 Project text and its successors freely for any purpose.&lt;br /&gt;
&lt;br /&gt;
We are also appreciative for the feedback reports over the years from several individuals that have enabled us to fix minor text and markup issues by comparison with the reference texts.&lt;br /&gt;
&lt;br /&gt;
== Reference Text ==&lt;br /&gt;
The CrossWire KJV is meant to be the faithful e-text edition&amp;lt;ref&amp;gt;With added features suited to the digital age we live in.&amp;lt;/ref&amp;gt; of the Benjamin Blayney's 1769 Oxford edition of the KJV&amp;lt;ref&amp;gt;Excluding the Apocrypha.&amp;lt;/ref&amp;gt; (hereafter called 1769 KJV). To that end we required it to be diligently checked against a reference standard for accuracy. Finding a reference text was a daunting task. What is known today as the KJV has been changed on a regular basis since it's first publication to today.&amp;lt;ref&amp;gt;Refer to [http://en.wikipedia.org/wiki/Frederick_Henry_Ambrose_Scrivener F H A Scrivener] and to the [http://en.wikipedia.org/wiki/New_Cambridge_Paragraph_Bible New Cambridge Paragraph Bible].&amp;lt;/ref&amp;gt; Some of these changes are well known; others are quietly done by publishers.&lt;br /&gt;
&lt;br /&gt;
There also was a need to have a reference for red-letter text. This too varied from one modern KJV to another.&lt;br /&gt;
&lt;br /&gt;
:''See also [[User:Dmsmith/KJV_2.6#Reference_text_policy]]''.&lt;br /&gt;
&lt;br /&gt;
===Need for a reference text===&lt;br /&gt;
Ideally, the reference standard would be a faithful electronic copy of 1769 KJV. When CrossWire's KJV2006 Project was started there was no such text either as a facsimile or eText. In lieu of that, finding an acceptable text was needed to arbitrate the claims that &amp;quot;my KJV is right and it is different from what you have.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
We compared our text with two independent 1769 KJV eTexts (CCEL and InterLeaf). All of the other eTexts we found seemed to be one of these three. Those comparisons yielded differences that needed to be verified in an independent text. Thus the need for *a* dead tree text. While working on the KJV2006 release, several websites that were dedicated to producing a &amp;quot;true&amp;quot; text were abandoned with chagrin that it is not a doable task apart from having a facsimile of the 1769 KJV, which was not known.&lt;br /&gt;
&lt;br /&gt;
One criteria was finding a text that the [http://en.wikipedia.org/wiki/King_James_Only_movement KJV-only] adherents felt was more accurate 1769 KJV text. Using various listings of differences between current and &amp;quot;true&amp;quot;, dozens of dead tree texts in several stores were examined. Also, it was important to avoid copyright claims based upon minor changes in the text. Both combined to come up with the Public Domain [http://en.wikipedia.org/wiki/Scofield_Reference_Bible Old Scofield Study Bible]&amp;lt;ref&amp;gt;The use of the Scofield in no way implies our endorsement of the extensive non-canonical study notes therein.&amp;lt;/ref&amp;gt;. The Biblical text was thought to be one of the most faithful copies of the 1769 Oxford Edition.&amp;lt;ref&amp;gt;i.e. Even by those in the KJV Only movement.&amp;lt;/ref&amp;gt; It was published in 1917, which was important in terms of USA copyright law. It was also considered to be a faithful red-letter text.&lt;br /&gt;
&lt;br /&gt;
We are in the process of obtaining a hard copy facsimile of the &amp;quot;Blayney&amp;quot; 1769 KJV text. This will be the reference text going forward.&lt;br /&gt;
&lt;br /&gt;
===Need for a reference red-letter text===&lt;br /&gt;
Red-Letter text is a fairly recent addition to the 1769 KJV. In 1899, Louis Klopsch proposed rendering the words of Christ in red letters. His work was published in 1901. Recently (2016-01-28), we've obtained Louis Klopsch's 1901 edition of the KJV and will use that as the future reference for red-letter text.&lt;br /&gt;
&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Chosen Texts===&lt;br /&gt;
The public domain Old Scofield Study Bible was used for version 2.3 to 2.10 for text and for version 2.3 to 2.9 for red-letter markup.&lt;br /&gt;
&lt;br /&gt;
The Louis Klopsch 1901 KJV is used for red-letter markup for 2.10 and later.&lt;br /&gt;
&lt;br /&gt;
The 1769 KJV facsimile is used for text, front-matter, notes, cross-references, titles, .... for versions after 2.11.&lt;br /&gt;
* The Holy Bible, Containing the Old and New Testaments: Volume 1 of 4, ISBN: 9781171169826&lt;br /&gt;
* The Holy Bible, Containing the Old and New Testaments: Volume 2 of 4, ISBN: 9781171169819&lt;br /&gt;
* The Holy Bible, Containing the Old and New Testaments: Volume 3 of 4, ISBN: 9781171169802&lt;br /&gt;
* The New Testament of Our Lord and Saviour Jesus Christ,&amp;lt;br/&amp;gt;Translated Out of the Original Greek:&amp;lt;br/&amp;gt;And with the Former Translations Diligently Compared and Revised,&amp;lt;br/&amp;gt;by His Majesty's Special Command. Appointed to by Read in Churches.&amp;lt;br/&amp;gt;Volume 4 of 4, ISBN: 9781171169796&lt;br /&gt;
&lt;br /&gt;
== Copyright ==&lt;br /&gt;
Any copyright that might be obtained for this effort is held by the CrossWire Bible Society © 2003-2016 and the CrossWire Bible Society hereby grants a general public license to use this text for any purpose.&lt;br /&gt;
&lt;br /&gt;
CrossWire's KJV module is an amalgamation of different source material. Each has its own copyright or is in the public domain.&lt;br /&gt;
* The actual text validated against 2 independent eTexts and found differences against our hard-copy reference for such.&lt;br /&gt;
* The [http://en.wikipedia.org/wiki/Red_letter_edition Red Letter] markup of the words of Christ have been validated against our hard-copy reference for such.&lt;br /&gt;
* The Strong's numbers in the OT are from [http://www.bf.org/ The Bible Foundation].&lt;br /&gt;
* The Strong's numbers in the NT are from [http://apps.sebts.edu/FacultyUploads/Maurice%20Robinson%20CV.pdf Dr Maurice A. Robinson], Senior Professor of New Testament and Greek at [http://en.wikipedia.org/wiki/Southeastern_Baptist_Theological_Seminary Southeastern Baptist Theological Seminary] in North Carolina.&lt;br /&gt;
* The OSIS XML markup is a unique effort that began with our KJV2003 project &amp;amp;ndash; Copyright © 2003-2016 The CrossWire Bible Society.&lt;br /&gt;
* The tagging of Strong's numbers to the NT text is a unique effort of our KJV2003 project &amp;amp;ndash;  Copyright © 2003-2016 The CrossWire Bible Society.&lt;br /&gt;
&lt;br /&gt;
=== Crown copyright, Letters Patent and the KJV ===&lt;br /&gt;
In the United Kingdom, the text of the [http://en.wikipedia.org/wiki/King_James_Version Authorized King James Version] of the Bible is protected by '''royal prerogative'''. &amp;quot;There is a small class of materials where the Crown claims the right to control reproduction outside normal copyright law due to '''Letters Patent''' issued under the royal prerogative. This material includes the '''King James Bible''', and the '''Book of Common Prayer'''.&amp;quot; See [http://en.wikipedia.org/wiki/Crown_copyright#United_Kingdom Crown copyright].&lt;br /&gt;
&lt;br /&gt;
In most of the world, the Authorized Version has passed out of copyright and is freely reproduced. In the United Kingdom, the British Crown restricts production of the Authorized Version per transitional exemptions from the Copyright Act 1775 (which implemented this clause) in the Copyright, Designs and patents Act 1988 (Schedule I, section 13(1)), which expire in 2039. [http://en.wikipedia.org/wiki/Cambridge_University_Press Cambridge University Press]&amp;lt;ref&amp;gt;Cambridge University Press wrote to [[Projects:Go_Bible|Go Bible]] several years ago, acting as agents of Crown copyright. Their request was simple and straightforward, viz., that we include a clear statement about Crown copyright for the KJV. After we did that, and informed them, they seem to have been satisfied.&amp;lt;/ref&amp;gt;, [http://en.wikipedia.org/wiki/Oxford_University_Press Oxford University Press], [http://en.wikipedia.org/wiki/HarperCollins HarperCollins] and the [http://en.wikipedia.org/wiki/Queen's_Printer Queen's Printers] have the right to produce the Authorized Version. See [http://en.wikipedia.org/wiki/King_James_Bible King James Bible].&lt;br /&gt;
&lt;br /&gt;
The [http://en.wikipedia.org/wiki/British_and_Foreign_Bible_Society British &amp;amp; Foreign Bible Society] (based in the UK) respects this copyright status, although many American organisations do not respect it and treat it wrongly as if it were public domain.  In reality, the many editions of the KJV used in the USA are a revision of the text made by the [http://en.wikipedia.org/wiki/American_Bible_Society American Bible Society] and the rights for this revision are still held by ABS.&lt;br /&gt;
&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Margin Notes ==&lt;br /&gt;
In a study of the marginal notes in the 1611 KJV, Scrivener&amp;lt;ref&amp;gt;Scrivener, F. H. A. ,''The Authorized Edition of the English Bible'', p. 56.&amp;lt;/ref&amp;gt; counted:&lt;br /&gt;
* 6637 in the OT&lt;br /&gt;
* 1018 in the Apocrypha&lt;br /&gt;
* 0767 in the NT&lt;br /&gt;
* 8422 in total&lt;br /&gt;
Of the 767 notes in the NT, 35 are explanatory notes or brief ex­positions, 582 give alternative translations, 112 give a more literal ren­dering of the Greek than the translators judged suitable for the text, and 37 give readings of different manuscripts.&lt;br /&gt;
&lt;br /&gt;
The KJV module (2.10 wip) currently has the following study notes:&lt;br /&gt;
* 6959 in the OT of which a few are duplicates on the same &amp;quot;page&amp;quot; for similar verses.&amp;lt;ref&amp;gt;Performing a sort operation to remove all duplicates reduces the total by 617 to 6342, though some of those removed would not be close to each other before the sort.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Literatura Bautista have an article entitled [http://en.literaturabautista.com/exhaustive-listing-marginal-notes-1611-edition-king-james-bible An exhaustive listing of the marginal notes of the 1611 edition of the King James Bible]. This is a very useful resource for checking our module and comparing with the 1769 Reference Text. [[User:David Haslam|David Haslam]] has created an Excel worksheet for this purpose. We have identified up to 22 places where an OT note may be missing from the KJV module.&lt;br /&gt;
&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
== Cross references ==&lt;br /&gt;
The KJV module currently lacks any cross-references, apart from one or two that happen to be included in the margin notes. There were extensive cross-references in the 1611 first edition, and the same quantity or more in the 1769 Oxford edition. Whereas margin notes used superscripted numerical tags, the cross-references generally used lowercase letters tags, likewise superscripted and usually in italics.&lt;br /&gt;
&lt;br /&gt;
== Road Map ==&lt;br /&gt;
First we must decide how to markup the observed differences betweem the present text and the Blayney 1769 Oxford edition.&lt;br /&gt;
:''List briefly the further enhancements we would like to make in the future beyond the next release''.&lt;br /&gt;
'''KJV module:'''&lt;br /&gt;
* Add AV front matter, dedicatory and preface.&lt;br /&gt;
* Add Greek equivalent to Strong's numbers. (3.0)&lt;br /&gt;
* Mark all proper names with the '''name''' element; with type '''person''', '''geographic''', etc.&lt;br /&gt;
* ''Tentative''. Split KJV into KJV and AV where AV is an orthographic representation of the 1769 KJV. E.g. long s, ae, oe, fl, ffl, ....&lt;br /&gt;
&lt;br /&gt;
Further thoughts based upon having the Blayney edition:&lt;br /&gt;
* Audit OT notes and make any necessary corrections.&lt;br /&gt;
* Add the special note symbols († ‖ ⁕) from Blayney.&lt;br /&gt;
* Add front-matter: dedicatory and preface, OT intro, NT intro, ....&lt;br /&gt;
* Add print page breaks.&amp;lt;ref&amp;gt;There were no page numbers in the Blayney 1769 Oxford Edition.&amp;lt;/ref&amp;gt; Tying to the dead-tree edition. These would be internal markers.&lt;br /&gt;
* Add chronology (found at the top of page margins) as note to chapter starts (probably in first verse or verse 0.)&lt;br /&gt;
* Add NT chapter descriptions.&lt;br /&gt;
* Add OT chapter descriptions.&lt;br /&gt;
* Add xrefs and notes to NT.&lt;br /&gt;
* Add xrefs to OT.&lt;br /&gt;
&lt;br /&gt;
'''KJVA module:''' &lt;br /&gt;
:''KJVA is not being rebuilt when KJV is updated. It should be.''&lt;br /&gt;
* Create the OSIS XML file for just the DC books. Done. [[User:David Haslam|David Haslam]]&lt;br /&gt;
* Build KJVA and KJV from same XML file.&lt;br /&gt;
* Move the main title for EsthAdd to chapter 10&lt;br /&gt;
* Insert a horizontal ellipsis in the 12 empty verses before EsthAdd.10.4&lt;br /&gt;
* Review book titles. Two books (Susanna &amp;amp; Bel) have text between the title and chapter 1.&lt;br /&gt;
* Audit DC (deuterocanonical) books text and markup.&amp;lt;BR&amp;gt;There are only 36 instances in the DC books that use the '''transChange''' element.&lt;br /&gt;
* Check a printed edition for any Pilcrows and add them if found.&lt;br /&gt;
* Add DC study notes. There are none in the existing module!&lt;br /&gt;
* Add DC chapter descriptions.&lt;br /&gt;
* Add the two prologues to Sirach: one &amp;quot;made by an uncertain Author&amp;quot;; the other &amp;quot;of the Wisdom of Jesus the Son of Sirach.&amp;quot;&lt;br /&gt;
* Add DC xrefs. cf. Blayney's Bible included DC xrefs in the PC (protocanonical) OT &amp;amp; NT books.&lt;br /&gt;
'''Note:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== History ==&lt;br /&gt;
=== Text Development Stages ===&lt;br /&gt;
From the time the KJV module was first released, text and markup development has been done in several major stages:&lt;br /&gt;
* The original '''KJV2003''' Project &amp;amp;ndash; ''user page no longer exists''&lt;br /&gt;
* The [http://www.crosswire.org/~dmsmith/kjv2006/ KJV2006] Project&lt;br /&gt;
* The [[User:Dmsmith/KJV2011|KJV2011]] Effort&lt;br /&gt;
* The [[User:Dmsmith/KJV 2.6|KJV 2.6]] Effort &amp;amp;ndash; begun in 2013 and ongoing...&lt;br /&gt;
&lt;br /&gt;
=== Module Versions ===&lt;br /&gt;
While the KJV was a module at CrossWire prior to version 2.0, this is the earliest for which dates can be determined.&amp;lt;BR&amp;gt;Dates prior to version 2.3 are best estimates. (For changes in versions 1.x, refer to the file kjv.conf)&lt;br /&gt;
{|  width=&amp;quot;100%&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;sortable&amp;quot;&lt;br /&gt;
! width=&amp;quot;5%&amp;quot;|Revision&lt;br /&gt;
! width=&amp;quot;10%&amp;quot;|Date&lt;br /&gt;
! width=&amp;quot;85%&amp;quot;|Description&lt;br /&gt;
|- &lt;br /&gt;
| 2.10&lt;br /&gt;
| Being prepared&lt;br /&gt;
| Improved OSIS markup.&lt;br /&gt;
Details: (''with progress marker'')&lt;br /&gt;
* Update our custom [[OSIS 211 CR|OSIS schema]] to properly validate '''type''' values in '''rdg''' element.&lt;br /&gt;
* Correct type=&amp;quot;alternative&amp;quot; (2.9) to &amp;quot;alternate&amp;quot;.&lt;br /&gt;
* Move '''sID''' before '''osisID''' in verse elements.&lt;br /&gt;
* Add a final full-stop to all notes previously lacking one.&lt;br /&gt;
* Add a final full-stop to each book title, as observed in the Blayney edition.&lt;br /&gt;
* Mark all the abbreviations for &amp;quot;LXX&amp;quot;, &amp;quot;Gr.&amp;quot; &amp;amp; &amp;quot;Heb.&amp;quot; found in notes using the '''abbr''' element.&lt;br /&gt;
* Add a space after the ¶ in the milestone marker.&lt;br /&gt;
* Add the hitherto missing ¶ in NT books: Romans&amp;amp;mdash;Revelation.&lt;br /&gt;
* Change red ¶ to black (i.e. within text marked as &amp;quot;words of Jesus&amp;quot;)&lt;br /&gt;
* Make minor corrections to a few notes.&lt;br /&gt;
* Add the comma after &amp;quot;: or&amp;quot; and &amp;quot;: that is&amp;quot; that was missing from some notes. &lt;br /&gt;
* Add '''osisRef''' to '''catchWord''' (for now at least, mainly for single keywords).&lt;br /&gt;
* Improve markup for colophon div in each Pauline epistle.&lt;br /&gt;
* Add '''osisID''' to the canonical Psalm titles.&lt;br /&gt;
* Add '''bookGroup''' div elements for OT &amp;amp; NT.&lt;br /&gt;
* Add '''majorSection''' div elements for the five books in the Psalter (but without titles)&lt;br /&gt;
* Remove the redundant '''chapterTitle''' attribute from the '''chapter''' element.&lt;br /&gt;
* Make '''canonical''' the first attribute in '''div''' &amp;amp; '''title''' elements. They line up better!&lt;br /&gt;
* Mark up the '''title''' element for each chapter &amp;amp; psalm to mimic the way that Blayney did it.&lt;br /&gt;
* Use Roman numerals for chapter &amp;amp; psalm numbers.&lt;br /&gt;
* Update Strong's numbers and lemma.TR to the latest TR from Maurice Robinson.&amp;lt;ref&amp;gt;As a side benefit, update CrossWire's TR module to match.&amp;lt;/ref&amp;gt;&lt;br /&gt;
* Judiciously update Words of Christ (''aka'' red letter markup) to match Louis Klopsch's 1901 edition.&lt;br /&gt;
-----&lt;br /&gt;
* Add '''osisID''' &amp;amp; '''n''' attributes to '''note''' element.&lt;br /&gt;
* Add some few notes missing from the OT (less than 22).&lt;br /&gt;
* Move some notes from Psalms verse 1 to the canonical '''title''' element.&lt;br /&gt;
* Record file history in the OSIS header using the '''revisionDesc''' element&lt;br /&gt;
* Review and update conf file where required.&lt;br /&gt;
|- &lt;br /&gt;
| 2.9&lt;br /&gt;
| 2016-01-21&lt;br /&gt;
| Improved OSIS markup.&lt;br /&gt;
Details:&lt;br /&gt;
* Added '''catchWord''' and reading ('''rdg''') markup to notes.&lt;br /&gt;
* Improved markup placement for ''Selah'' in 13 places.&lt;br /&gt;
|- &lt;br /&gt;
| 2.8&lt;br /&gt;
| 2015-12-20&lt;br /&gt;
| Improved OSIS markup.&lt;br /&gt;
Details:&lt;br /&gt;
* Moved Ps 119 acrostic titles before verse number.&lt;br /&gt;
* Changed double spaces to a single space.&lt;br /&gt;
* Changed &amp;quot;Heb &amp;quot; to &amp;quot;Heb. &amp;quot; in notes.&lt;br /&gt;
* Added Feature=NoParagraphs.&lt;br /&gt;
|- &lt;br /&gt;
| 2.7&lt;br /&gt;
| 2015-08-09&lt;br /&gt;
| Fixed bugs preventing the display of some Strong's Numbers in the Old Testament.&amp;lt;BR&amp;gt;Improved markup of Strong's numbers in 2 Cor 15.&lt;br /&gt;
|- &lt;br /&gt;
| 2.6.1&lt;br /&gt;
| 2014-02-15&lt;br /&gt;
| Added GlobalOptionFilter for OSISLemma&lt;br /&gt;
|- &lt;br /&gt;
| 2.6&lt;br /&gt;
| 2013-10-05&lt;br /&gt;
| Fixed bugs. Added Greek from TR.&lt;br /&gt;
|- &lt;br /&gt;
| 2.5&lt;br /&gt;
| 2013-02-02&lt;br /&gt;
| Fixed bugs. See: [[User:Dmsmith/KJV2011|KJV2011]]&lt;br /&gt;
Details:&lt;br /&gt;
* Fixed markup of added words.&lt;br /&gt;
* Fixed more Words of Christ markup.&lt;br /&gt;
* Fixed punctuation, apostrophes, dashes and placement of spaces.&lt;br /&gt;
* Fixed the markup of a word that was split into two parts.&lt;br /&gt;
* Other bug fixes.&lt;br /&gt;
|- &lt;br /&gt;
| 2.4&lt;br /&gt;
| 2009-05-29&lt;br /&gt;
| Fixed bugs. Updated red-letter markup of Words of Christ.&lt;br /&gt;
|- &lt;br /&gt;
| 2.3&lt;br /&gt;
| 2006-10-09&lt;br /&gt;
| Fixed bugs. See: [http://crosswire.org/~dmsmith/kjv2006/ Project KJV2006]&lt;br /&gt;
Goals:&lt;br /&gt;
* Faithful representation of the KJV.&lt;br /&gt;
* Each book of the Bible is well-formed xml.&lt;br /&gt;
* Each book of the Bible is valid OSIS xml according to the 2.1.1 schema.&lt;br /&gt;
* The markup conforms to OSIS best practices as mentioned on the Sword-devel mailing list and the OSIS 2.1.1 user's manual&lt;br /&gt;
* Strong's markup normalized.&lt;br /&gt;
&lt;br /&gt;
Details:&lt;br /&gt;
* The xml is now well-formed.&lt;br /&gt;
* The xml is now valid OSIS 2.1.1&lt;br /&gt;
* Strong's numbers have been normalized.&lt;br /&gt;
* Fixed the missing 's in the OT&lt;br /&gt;
* Moved whitespace and puncutation to a more sensible location and fixed whitespace problems.&lt;br /&gt;
* Positioned the [http://en.wikipedia.org/wiki/Pilcrow pilcrow symbol] ¶ at the start of verses.&lt;br /&gt;
* Validated against Old Scofield Study Bible for all differences found by comparing against the KJV encoded by Tim Lanfear for CCEL.&lt;br /&gt;
* Validated against Old Scofield Study Bible for all differences found by comparing against the KJV encoded Interleaf Bible.&lt;br /&gt;
* Fixed all existing titles and added missing ones.&lt;br /&gt;
* Fixed paragraphing&lt;br /&gt;
* Tagged all inscriptions&lt;br /&gt;
* Fixed and tagged all divine names&lt;br /&gt;
* Added xlit to w elements for the acrostic in Psalm 119&lt;br /&gt;
* Hyphenated names&lt;br /&gt;
* Fixed names with Æ and æ&lt;br /&gt;
* Fixed a bug in osis2mod that incorrectly encoded the last verse of each book&lt;br /&gt;
* Removed Strong's number H00 as it does not exist.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 2.2&lt;br /&gt;
| 2004-07-25&lt;br /&gt;
| Updated to 20040121 snapshot of KJV2003.&lt;br /&gt;
|- &lt;br /&gt;
| 2.1&lt;br /&gt;
| 2003-06-24&lt;br /&gt;
| Changed Old Testament to use OSIS tags, removing the last of the GBF markup.&amp;lt;BR&amp;gt;Also updated to 20030624 snapshot of KJV2003.  Compressed.&lt;br /&gt;
|- &lt;br /&gt;
| 2.0&lt;br /&gt;
| 2003-01-08&lt;br /&gt;
| Changed New Testament to use a snapshot of the KJV2003 Project&lt;br /&gt;
|}&lt;br /&gt;
'''Note:'''&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Help:Contents#Modules|Reporting module issues]]&lt;br /&gt;
* [[CrossWire KJVA|English: KJVA]] module &amp;amp;ndash; KJV with Apocrypha&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
* [http://www.crossway.org/blog/2006/03/red-letter-origin/ Origin of Red-Letter Bibles] &amp;amp;ndash; CrossWay blog,  March 23, 2006. Somewhat more informative than the Wikipedia [http://en.wikipedia.org/wiki/Red_letter_edition page].&lt;br /&gt;
* [http://books.google.co.uk/books?vid=BL:A0017123081&amp;amp;hl=en Fenwick, George (1759), ''Thoughts on the Hebrew titles of the Psalms : and on some of those in the Septuagint, endeavouring to discover the meaning, and point out the use of them'']&lt;br /&gt;
* [http://books.google.co.uk/books/about/The_Holy_Bible_Containing_the_Old_and_Ne.html?id=MGNljgEACAAJ Benjamin Blayney, T. Wright and W. Gill; and sold by R. Baldwin, and S. Crowder, London; and by W. Jackson, in Oxford, 1769] &amp;amp;ndash; Google books digitisation (only Gen-Exod to date; accessed 2016-02-09).&lt;br /&gt;
* [http://books.google.co.uk/books?id=fINaAAAAYAAJ An 1872 edition of the KJV] &amp;amp;ndash; Google books &lt;br /&gt;
&lt;br /&gt;
[[Category:Modules|CrossWire KJV]]&lt;br /&gt;
[[Category:English Bibles|CrossWire KJV]]&lt;br /&gt;
[[Category:OSIS|CrossWire KJV]]&lt;br /&gt;
[[Category:Copyright|CrossWire KJV]]&lt;/div&gt;</summary>
		<author><name>Dmsmith</name></author>	</entry>

	<entry>
		<id>https://wiki.crosswire.org/index.php?title=Osis2mod&amp;diff=14761</id>
		<title>Osis2mod</title>
		<link rel="alternate" type="text/html" href="https://wiki.crosswire.org/index.php?title=Osis2mod&amp;diff=14761"/>
				<updated>2016-02-06T18:15:23Z</updated>
		
		<summary type="html">&lt;p&gt;Dmsmith: /* Diagnostic Messages */ Added messages regarding the parsing of entities.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
osis2mod transforms an OSIS encoded [[OSIS Bibles|Bible]] or [[OSIS_Commentaries|commentary]] into a SWORD module.&lt;br /&gt;
&lt;br /&gt;
== Current status ==&lt;br /&gt;
&lt;br /&gt;
Software bugs relating to osis2mod should be reported in http://www.crosswire.org/bugs/browse/API&lt;br /&gt;
&lt;br /&gt;
:''Please describe current status of osis2mod, including a list of any outstanding issues or unsolved difficulties''.&lt;br /&gt;
&lt;br /&gt;
==History of Changes==&lt;br /&gt;
The following outlines in reverse chronological order the major changes to osis2mod. When several changes were made over the span of a few days, they are lumped into the most recent date. Bug fixes are not mentioned.&lt;br /&gt;
&lt;br /&gt;
{|width=&amp;quot;100%&amp;quot; border=&amp;quot;0&amp;quot; class=&amp;quot;sortable&amp;quot;&lt;br /&gt;
!width=&amp;quot;10%&amp;quot;|Date&lt;br /&gt;
!Revision&lt;br /&gt;
!Feature&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2016-02-06'''&lt;br /&gt;
|&lt;br /&gt;
r3401&lt;br /&gt;
|&lt;br /&gt;
* Changed the handling of &amp;amp;lt;div type=&amp;quot;colophon&amp;quot;&amp;amp;gt; to not convert it to milestones.&lt;br /&gt;
* Added reporting of unhandled entities. (An OSIS document should not have entities other than the canonical 4 entities.)&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2014-01-21'''&lt;br /&gt;
|&lt;br /&gt;
r3011&lt;br /&gt;
|&lt;br /&gt;
* Changed the transformation of &amp;amp;lt;p&amp;amp;gt; from &amp;amp;lt;div type=&amp;quot;paragraph&amp;quot; sID=&amp;quot;xxx&amp;quot;/&amp;amp;gt; to &amp;amp;lt;div type=&amp;quot;x-p&amp;quot; sID=&amp;quot;xxx&amp;quot;/&amp;amp;gt; This is a semantic change that brings osis2mod into alignment with the OSIS specification.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2012-03-24'''&lt;br /&gt;
|&lt;br /&gt;
r2693&lt;br /&gt;
|&lt;br /&gt;
* Allow for XML comments to be in the document, but stripped from the module. This allows for large parts of a document to be commented out, which is especially important during development.&lt;br /&gt;
* Allow for &amp;amp;lt;p&amp;amp;gt; elements to be in the &amp;amp;lt;header&amp;amp;gt; element but ignored. Previously, the p in a header, having been transformed to a div, was taken to be the start of the module's content.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2011-11-12'''&lt;br /&gt;
|&lt;br /&gt;
r2671&lt;br /&gt;
|&lt;br /&gt;
* Restored pre-verse handling. Titles no longer need to be specially specified in OSIS.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2010-06-04'''&lt;br /&gt;
|&lt;br /&gt;
r2519&lt;br /&gt;
|&lt;br /&gt;
* Removed pre-verse handling. Titles now have to be specially specified in OSIS. In OSIS there should also be no tags between verse elements except title and those marking book and chapter.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-06-06'''&lt;br /&gt;
|&lt;br /&gt;
r2435&lt;br /&gt;
|&lt;br /&gt;
* Improved handling of chapter introductions.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-05-30'''&lt;br /&gt;
|&lt;br /&gt;
r2421&lt;br /&gt;
|&lt;br /&gt;
* '''-d flags''' now always available.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-05-14'''&lt;br /&gt;
|&lt;br /&gt;
r2413&lt;br /&gt;
|&lt;br /&gt;
*Added '''-d flags''' as a compile time option.&lt;br /&gt;
*Improved exit codes and documented them here.&lt;br /&gt;
*Labeled all diagnostic and debug output.&lt;br /&gt;
*Can now read from standard input.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-04-28'''&lt;br /&gt;
|&lt;br /&gt;
r2358&lt;br /&gt;
|&lt;br /&gt;
*Predictable handling of inter-verse material.&lt;br /&gt;
*All tags, except verse, included in the module.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-04-26'''&lt;br /&gt;
|&lt;br /&gt;
r2345&lt;br /&gt;
|&lt;br /&gt;
*'''-v v11n''' added to support [[Alternate Versification]].&lt;br /&gt;
*'''-s &amp;lt;2|4&amp;gt;''' added to support uncompressed commentaries with large entries (exceeding 64K bytes).&lt;br /&gt;
*Replace paragraph hack with milestoned paragraphs: &amp;amp;lt;div type=&amp;quot;paragraph&amp;quot; sID=&amp;quot;xxx&amp;quot;/&amp;gt; ... &amp;amp;lt;div type=&amp;quot;paragraph&amp;quot; eID=&amp;quot;xxx&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2008-09-11'''&lt;br /&gt;
|&lt;br /&gt;
r2196&lt;br /&gt;
|&lt;br /&gt;
*Words of Christ (WoC) can be marked up naturally. osis2mod does the right thing.&lt;br /&gt;
*Container elements converted to their milestoned form.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2008-02-29'''&lt;br /&gt;
|&lt;br /&gt;
r2141&lt;br /&gt;
|&lt;br /&gt;
*Now supports commentaries in addition to Bibles.&lt;br /&gt;
*Added utf-8 detection and automatic conversion from cp1252 and iso8859-1 to utf-8, making that the default behavior&lt;br /&gt;
*Added NFC [[Encoding#Normalization|normalization]], making it the default&lt;br /&gt;
*Now handles the full definition of an osisID and an osisRef, including workID and grain.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2007-09-27'''&lt;br /&gt;
|&lt;br /&gt;
r2090&lt;br /&gt;
|&lt;br /&gt;
*Changed command-line parsing from positional parameters to flags.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2007-05-13'''&lt;br /&gt;
|&lt;br /&gt;
r2050&lt;br /&gt;
|&lt;br /&gt;
*All whitespace tokens are converted into blanks and adjacent spaces are merged into one. Leading whitespace on each verse is still removed.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2007-05-01'''&lt;br /&gt;
|&lt;br /&gt;
r2044&lt;br /&gt;
|&lt;br /&gt;
*Added version identification to the running of osis2mod.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2007-04-24'''&lt;br /&gt;
|&lt;br /&gt;
r2038&lt;br /&gt;
|&lt;br /&gt;
*Added ignoring of unknown books&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2006-07-15'''&lt;br /&gt;
|&lt;br /&gt;
r1948&lt;br /&gt;
|&lt;br /&gt;
*Optimized writing to module.&lt;br /&gt;
*Added simple transformations of &amp;amp;lt;q&amp;gt; and &amp;amp;lt;p&amp;gt; into milestones.&lt;br /&gt;
*Now allow empty attributes, such as marker=&amp;quot;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2006-07-04'''&lt;br /&gt;
|&lt;br /&gt;
r1914&lt;br /&gt;
|&lt;br /&gt;
*Updated to support OSIS 2.1&lt;br /&gt;
*Added validation that verses in isolation are well formed&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2005-12-22'''&lt;br /&gt;
|&lt;br /&gt;
r1876&lt;br /&gt;
|&lt;br /&gt;
*Added command-line options for compress and encipher.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2005-05-02'''&lt;br /&gt;
|&lt;br /&gt;
r1790&lt;br /&gt;
|&lt;br /&gt;
*Removed &amp;amp;lt;verse&amp;gt; and &amp;amp;lt;/verse&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2005-02-03'''&lt;br /&gt;
|&lt;br /&gt;
r1707&lt;br /&gt;
|&lt;br /&gt;
*Reverted pre-verse title handling&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2004-06-12'''&lt;br /&gt;
|&lt;br /&gt;
r1620&lt;br /&gt;
|&lt;br /&gt;
*Removed pre-verse title handling&lt;br /&gt;
*Added &amp;amp;lt;verse&amp;gt; and &amp;amp;lt;/verse&amp;gt;&lt;br /&gt;
*Added support for milestoned version of some OSIS elements&lt;br /&gt;
*Added support for verses that are not in the KJV versification by appending them to the closest prior verse.&lt;br /&gt;
*Added support for osisIDs with sub-verse references (i.e. osisID grains)&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2004-05-19'''&lt;br /&gt;
|&lt;br /&gt;
r1597&lt;br /&gt;
|&lt;br /&gt;
*Added support for linked verses&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2003-11-21'''&lt;br /&gt;
|&lt;br /&gt;
r1407&lt;br /&gt;
|&lt;br /&gt;
*Added recognition for &amp;lt;chapter&amp;gt; element&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2003-05-26'''&lt;br /&gt;
|&lt;br /&gt;
r1183&lt;br /&gt;
|&lt;br /&gt;
*Initial version&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Transformations==&lt;br /&gt;
Osis2mod performs the following transformations&amp;lt;ref&amp;gt;These transformations are all performed &amp;quot;under the hood&amp;quot; as it were. Tweaking OSIS XML files to fix problems with pre-verse titles, etc., was never intended to be done by module developers as part of the preprocessing before using osis2mod.&amp;lt;/ref&amp;gt;:&lt;br /&gt;
* '''Whitespace''' -- Allows for human-readable OSIS files.&lt;br /&gt;
**Leading whitespace on books, chapters and verses is removed&lt;br /&gt;
**Whitespace is normalized into blanks&lt;br /&gt;
**Multiple adjacent whitespace is reduced to a single space&lt;br /&gt;
* '''Unicode handling''' - All modules should be UTF-8, NFC.&lt;br /&gt;
**Latin-1 (cp1252 and iso8859-1) are converted into UTF-8&lt;br /&gt;
**UTF-8 is normalized into NFC, unless specified otherwise.&lt;br /&gt;
* '''Milestone conversion''' - necessary for frontends to show a verse at a time.&amp;lt;br/&amp;gt;(note: genX is unique for an sID/eID pair, where X is a number.)&lt;br /&gt;
** &amp;amp;lt;q ...&amp;gt;...&amp;amp;lt;/q&amp;gt; is converted into &amp;amp;lt;q sID=&amp;quot;genX&amp;quot; .../&amp;gt;...&amp;amp;lt;q eID=&amp;quot;genX&amp;quot; .../&amp;gt;. Note: Quotes with who=&amp;quot;Jesus&amp;quot; are not transformed at this time.&lt;br /&gt;
** &amp;amp;lt;p ...&amp;gt;...&amp;amp;lt;/p&amp;gt; becomes &amp;amp;lt;div type=&amp;quot;paragraph&amp;quot; sID=&amp;quot;genX&amp;quot; .../&amp;gt;... &amp;amp;lt;div type=&amp;quot;paragraph&amp;quot; eID=&amp;quot;genX&amp;quot; ...&amp;gt;.&lt;br /&gt;
** &amp;amp;lt;chapter ...&amp;gt;...&amp;amp;lt;/chapter&amp;gt; becomes &amp;amp;lt;chapter sID=&amp;quot;genX&amp;quot; .../&amp;gt;...&amp;amp;lt;chapter eID=&amp;quot;genX&amp;quot; .../&amp;gt;&lt;br /&gt;
** &amp;amp;lt;closer ...&amp;gt;...&amp;amp;lt;/closer&amp;gt; becomes &amp;amp;lt;closer sID=&amp;quot;genX&amp;quot; .../&amp;gt;...&amp;amp;lt;closer eID=&amp;quot;genX&amp;quot; .../&amp;gt;&lt;br /&gt;
** &amp;amp;lt;div ...&amp;gt;...&amp;amp;lt;/div&amp;gt; becomes &amp;amp;lt;div sID=&amp;quot;genX&amp;quot; .../&amp;gt;...&amp;amp;lt;div eID=&amp;quot;genX&amp;quot; .../&amp;gt; (as of r3401, &amp;amp;lt;div type=&amp;quot;colophon&amp;quot;...&amp;gt; is unchanged)&lt;br /&gt;
** &amp;amp;lt;l ...&amp;gt;...&amp;amp;lt;/l&amp;gt; becomes &amp;amp;lt;l sID=&amp;quot;genX&amp;quot; .../&amp;gt;...&amp;amp;lt;l eID=&amp;quot;genX&amp;quot; .../&amp;gt;&lt;br /&gt;
** &amp;amp;lt;lg ...&amp;gt;...&amp;amp;lt;/lg&amp;gt; becomes &amp;amp;lt;lg sID=&amp;quot;genX&amp;quot; .../&amp;gt;...&amp;amp;lt;lg eID=&amp;quot;genX&amp;quot; .../&amp;gt;&lt;br /&gt;
** &amp;amp;lt;salute ...&amp;gt;...&amp;amp;lt;/salute&amp;gt; becomes &amp;amp;lt;salute sID=&amp;quot;genX&amp;quot; .../&amp;gt;...&amp;amp;lt;salute eID=&amp;quot;genX&amp;quot; .../&amp;gt;&lt;br /&gt;
** &amp;amp;lt;signed ...&amp;gt;...&amp;amp;lt;/signed&amp;gt; becomes &amp;amp;lt;signed sID=&amp;quot;genX&amp;quot; .../&amp;gt;...&amp;amp;lt;signed eID=&amp;quot;genX&amp;quot; .../&amp;gt;&lt;br /&gt;
** &amp;amp;lt;speech ...&amp;gt;...&amp;amp;lt;/speech&amp;gt; becomes &amp;amp;lt;speech sID=&amp;quot;genX&amp;quot; .../&amp;gt;...&amp;amp;lt;speech eID=&amp;quot;genX&amp;quot; .../&amp;gt;&lt;br /&gt;
** &amp;amp;lt;verse ...&amp;gt;...&amp;amp;lt;/verse&amp;gt; becomes (when using -d 2 for debugging.) &amp;amp;lt;milestone resp=&amp;quot;v&amp;quot; sID=&amp;quot;genX&amp;quot; ... /&amp;gt;...&amp;amp;lt;milestone resp=&amp;quot;v&amp;quot; eID=&amp;quot;genX&amp;quot; ... /&amp;gt;&lt;br /&gt;
* '''Words of Christ''' - necessary for front-ends to appropriately highlight the WOC, a verse at a time.&lt;br /&gt;
** &amp;amp;lt;q sID=&amp;quot;XXX&amp;quot; who=&amp;quot;Jesus&amp;quot; .../&amp;gt;...&amp;amp;lt;eID=&amp;quot;XXX&amp;quot; who=&amp;quot;Jesus&amp;quot; .../&amp;gt; becomes &amp;amp;lt;q who=&amp;quot;Jesus&amp;quot; marker=&amp;quot;&amp;quot;&amp;gt;&amp;amp;lt;q sID=&amp;quot;XXX&amp;quot; .../&amp;gt;...&amp;amp;lt;q eID=&amp;quot;XXX&amp;quot; .../&amp;gt;&amp;amp;lt;/q&amp;gt;&lt;br /&gt;
** &amp;amp;lt;q who=&amp;quot;Jesus&amp;quot; ...&amp;gt;...&amp;amp;lt;/q&amp;gt; becomes &amp;amp;lt;q who=&amp;quot;Jesus&amp;quot; marker=&amp;quot;&amp;quot;&amp;gt;&amp;amp;lt;q sID=&amp;quot;genX&amp;quot; .../&amp;gt;...&amp;amp;lt;q eID=&amp;quot;genX&amp;quot; .../&amp;gt;&amp;amp;lt;/q&amp;gt;&lt;br /&gt;
** Within the following construct, &amp;amp;lt;q who=&amp;quot;Jesus&amp;quot; marker=&amp;quot;&amp;quot;&amp;gt;...&amp;lt;/q&amp;gt; will surround verse text.&lt;br /&gt;
* '''Pre-Verse Titles''' (obsolete with SVN revision 2358 for the SWORD 1.6.0 release and replaced with '''InterVerse Content''')&lt;br /&gt;
** Titles immediately preceeding a verse are converted into &amp;amp;lt;title type=&amp;quot;section&amp;quot; subType=&amp;quot;x-preverse&amp;gt;...&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
** Interverse tags not in titles are appended to prior verse.&lt;br /&gt;
* '''InterVerse Content''' (introduced with SVN revision 2358 for the SWORD 1.6.0 release)&lt;br /&gt;
** InterVerse Content refers to all content not contained by the verse element.&amp;lt;ref&amp;gt;For OSIS files derived from USFM files, the implication of this requirement is the following rule:&amp;lt;BR&amp;gt;Do not place a title (or similar element) between a matching pair of verse milestones&lt;br /&gt;
except where the translation places the title somewhere within the verse text in the USFM file.&amp;lt;/ref&amp;gt;&lt;br /&gt;
** Such content is divided between the prior and the current verse.&lt;br /&gt;
** Content appended to the prior verse is not marked in any special way.&lt;br /&gt;
** Content prepended to the current verse is marked with &amp;amp;lt;div sID=&amp;quot;pvX&amp;quot; type=&amp;quot;x-milestone&amp;quot; subType=&amp;quot;x-preverse&amp;quot;/&amp;gt;...&amp;amp;lt;div eID=&amp;quot;pvX&amp;quot; type=&amp;quot;x-milestone&amp;quot; subType=&amp;quot;x-preverse&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Handling of Introductions, Titles and Inter-Verse Material==&lt;br /&gt;
SWORD for module, testament, book and chapter introductory material. Those introductions can have appropriate titles as well. &lt;br /&gt;
In SWORD 1.6.0 the handling of this material has changed.&lt;br /&gt;
&lt;br /&gt;
'''Note:'''&lt;br /&gt;
# In the following, the effects of the above transformations are not shown. The tagging of the pre-verse material is also not shown.&lt;br /&gt;
&lt;br /&gt;
===Module and Testament Introductions===&lt;br /&gt;
&lt;br /&gt;
At this time, osis2mod does not fully support module and testament introductions. A module introduction should be place into testament 0, book 0, chapter 0, verse 0. A testament introduction should be placed into testament 1 or 2, book 0, chapter 0, verse 0. Currently, these are placed into Genesis 0:0 or Matthew 0:0.&lt;br /&gt;
&lt;br /&gt;
===Book Introductions and Titles===&lt;br /&gt;
Book introductions and titles are straight forward. It includes the start of the book and everything following it up to, but not including the start of the chapter. See [[OSIS Bibles]] for best practices in marking up titles and introductions.&lt;br /&gt;
&lt;br /&gt;
For example:&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;book&amp;quot; ...&amp;gt;&lt;br /&gt;
 ... introductory material ...&lt;br /&gt;
 &amp;amp;lt;chapter&amp;quot;...&amp;gt;&lt;br /&gt;
will put the following into the book introduction:&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;book&amp;quot; ...&amp;gt;&lt;br /&gt;
 ... introductory material ...&lt;br /&gt;
&lt;br /&gt;
===Chapter Introductions===&lt;br /&gt;
Chapter introductions and titles are a bit problematic. Between the start of a chapter and its first verse, we could have a chapter title, a chapter introduction and/or a start of a section of verses or a titled verse. Osis2mod now handles this in a predictable fashion. From the start of the chapter up to and not including a section div or a title that has a type that is not ''main'', ''chapter'' or ''sub'', the content is chapter introduction. After that, it is part of the verse.&lt;br /&gt;
&lt;br /&gt;
Specifically, the following list gives the possible first elements following the chapter introduction.:&lt;br /&gt;
*&amp;amp;lt;div type=&amp;quot;section&amp;quot; ...&amp;gt;&lt;br /&gt;
*&amp;amp;lt;title type=&amp;quot;yyy&amp;quot; ...&amp;gt; where yyy is not ''main'', ''chapter'' or ''sub''.&lt;br /&gt;
&lt;br /&gt;
For example,&lt;br /&gt;
 &amp;amp;lt;chapter ...&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;Chapter Title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title type=&amp;quot;sub&amp;quot;&amp;gt;Chapter Subtitle&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;introduction&amp;quot;&amp;gt;... intro ...&amp;amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;section&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;A section title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;verse ...&amp;gt;...verse content...&amp;amp;lt;/verse&amp;gt;&lt;br /&gt;
will put the following into the chapter introduction:&lt;br /&gt;
 &amp;amp;lt;chapter ...&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;Chapter Title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title type=&amp;quot;sub&amp;quot;&amp;gt;Chapter Subtitle&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;introduction&amp;quot;&amp;gt;... intro ...&amp;amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
will put the following into verse 1 of that chapter&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;section&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;A section title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;verse ...&amp;gt;...verse content...&amp;amp;lt;/verse&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Between Verses===&lt;br /&gt;
Between verses we may have closing tags to finish off what was started earlier, structural opening tags (e.g. line groups, divisions, paragraphs, ...), titles and/or introductory material.&lt;br /&gt;
&lt;br /&gt;
Upon finding the close of a verse, osis2mod will append all adjacent closing tags to it. Once it finds a start tag, it will attach that to the following verse.&lt;br /&gt;
&lt;br /&gt;
For example, suppose the following is between &amp;amp;lt;/verse&amp;gt; and &amp;amp;lt;verse ...&amp;gt;:&lt;br /&gt;
 &amp;amp;lt;/lg&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;section&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;Section title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;lg&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
then it will append the following to the prior verse:&lt;br /&gt;
 &amp;amp;lt;/lg&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and will prepend the following to the current verse:&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;section&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;Section title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;lg&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Last Verse===&lt;br /&gt;
The material following the last verse of a chapter is appended to that verse. You might find:&lt;br /&gt;
 ... verse content ...&lt;br /&gt;
 &amp;amp;lt;/chapter&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;colophon&amp;quot;&amp;gt;... colophon text ...&amp;amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Exclusions==&lt;br /&gt;
Only content starting the first &amp;amp;lt;div&amp;gt; to the last &amp;amp;lt;/div&amp;gt; is retained. All other is excluded. From a practical perspective, this excludes the OSIS header information.&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
It is always preferable to use the most recent version of osis2mod and compiling it from SVN is best. &lt;br /&gt;
&lt;br /&gt;
'''Note:'''&lt;br /&gt;
# After the SWORD 1.5.9 release, osis2mod was changed to take flags rather than positional arguments.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
You are running osis2mod: $Rev: 2562 $&lt;br /&gt;
OSIS Bible/commentary module creation tool for The SWORD Project&lt;br /&gt;
&lt;br /&gt;
usage: utils\osis2mod &amp;lt;output/path&amp;gt; &amp;lt;osisDoc&amp;gt; [OPTIONS]&lt;br /&gt;
  &amp;lt;output/path&amp;gt;		 an existing folder that the module will be written&lt;br /&gt;
  &amp;lt;osisDoc&amp;gt;		 path to the validated OSIS document, or '-' to&lt;br /&gt;
				 read from standard input&lt;br /&gt;
  -a			 augment module if exists (default is to create new)&lt;br /&gt;
  -z			 use ZIP compression (default no compression)&lt;br /&gt;
  -Z			 use LZSS compression (default no compression)&lt;br /&gt;
  -b &amp;lt;2|3|4&amp;gt;		 compression block size (default 4):&lt;br /&gt;
				 2 - verse; 3 - chapter; 4 - book&lt;br /&gt;
  -c &amp;lt;cipher_key&amp;gt;	 encipher module using supplied key&lt;br /&gt;
				 (default no enciphering)&lt;br /&gt;
  -N			 do not convert UTF-8 or normalize UTF-8 to NFC&lt;br /&gt;
				 (default is to convert to UTF-8, if needed,&lt;br /&gt;
				  and then normalize to NFC)&lt;br /&gt;
				 Note: UTF-8 texts should be normalized to NFC.&lt;br /&gt;
  -s &amp;lt;2|4&amp;gt;		 bytes used to store entry size (default is 2).&lt;br /&gt;
				 Note: useful for commentaries with very large&lt;br /&gt;
				 entries in uncompressed modules&lt;br /&gt;
				 (2 bytes to store size equal 65535 characters)&lt;br /&gt;
  -v &amp;lt;v11n&amp;gt;		 specify a versification scheme to use (default is KJV)&lt;br /&gt;
				 Note: The following are valid values for v11n:&lt;br /&gt;
					Catholic&lt;br /&gt;
					Catholic2&lt;br /&gt;
					German&lt;br /&gt;
					KJV&lt;br /&gt;
					KJVA&lt;br /&gt;
					Leningrad&lt;br /&gt;
					Luther&lt;br /&gt;
					MT&lt;br /&gt;
					NRSV&lt;br /&gt;
					NRSVA&lt;br /&gt;
					Synodal&lt;br /&gt;
					SynodalP&lt;br /&gt;
					Vulg&lt;br /&gt;
  -d &amp;lt;flags&amp;gt;		 turn on debugging (default is 0)&lt;br /&gt;
				 Note: This flag may change in the future.&lt;br /&gt;
				 Flags: The following are valid values:&lt;br /&gt;
					0   - no debugging&lt;br /&gt;
					1   - writes to module, very verbose&lt;br /&gt;
					2   - verse start and end&lt;br /&gt;
					4   - quotes, esp. Words of Christ&lt;br /&gt;
					8   - titles&lt;br /&gt;
					16  - inter-verse material&lt;br /&gt;
					32  - BSP to BCV transformations&lt;br /&gt;
					64  - v11n exceptions&lt;br /&gt;
					128 - parsing of osisID and osisRef&lt;br /&gt;
					256 - internal stack&lt;br /&gt;
					512 - miscellaneous&lt;br /&gt;
				 This argument can be used more than once. (Or&lt;br /&gt;
				 the flags may be added together.)&lt;br /&gt;
&lt;br /&gt;
See http://www.crosswire.org/wiki/osis2mod for more details.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== Parameters and Options ===&lt;br /&gt;
'''&amp;amp;lt;output/path&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This a path to any existing directory. It is best for it to be empty.&lt;br /&gt;
&lt;br /&gt;
'''&amp;amp;lt;osisDoc&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This is a single, well-formed, valid OSIS document.&lt;br /&gt;
&lt;br /&gt;
If '''-''' is used instead of a file name, the document will be read from standard input. This allows for two constructs:&lt;br /&gt;
* Redirection&lt;br /&gt;
 osis2mod ./modules/texts/ztext/KJV - &amp;lt; kjv.xml&lt;br /&gt;
* Piping&lt;br /&gt;
 cat kjv.xml | osis2mod ./modules/texts/ztext/KJV -&lt;br /&gt;
&lt;br /&gt;
'''-a'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Osis2mod can create a Bible all at once or incrementally, depending on the presence of the -a flag. This&lt;br /&gt;
provides for two abilities,&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Assembling a Bible from book files:&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir /tmp/mymodule&lt;br /&gt;
osis2mod /tmp/mymodule  matt.xml&lt;br /&gt;
osis2mod /tmp/mymodule -a mark.xml&lt;br /&gt;
...&lt;br /&gt;
osis2mod /tmp/mymodule -a rev.xml&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
'''Note:''' The book files can be in any order. SWORD will order them correctly in the index.&lt;br /&gt;
&amp;lt;li&amp;gt;Adding corrections to a Bible:&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
osis2mod /tmp/mymodule -a fixes.xml&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
'''Note:''' When fixes are put into the module they are appended to the data file and do not actually replace the verses. The index file is adjusted to point to the new place in the data file.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''-z|-Z'''&amp;lt;br/&amp;gt;&lt;br /&gt;
A SWORD Bible can be compressed with Zip (-z) '''or''' LZSS (-Z). All of SWORD's Bible modules are compressed with Zip. This saves significant space over an uncompressed module. Uncompressed modules are useful for debugging.&lt;br /&gt;
&lt;br /&gt;
'''-b 2|3|4'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This setting is only useful for a compressed module. The choice as to whether to use Verse (2), Chapter (3) or Book (4, the default) level compression depends upon the amount of data in the block. A typical Bible is best compressed book by book. A commentary, chapter by chapter. If the commentary is very robust and the amount of text per verse is really huge, then verse compression might make sense.&lt;br /&gt;
&lt;br /&gt;
All of SWORD's compressed Bible modules are compressed by book. Basically, all of the verses in a block are compressed and appended to the data file. For this reason, the datafile cannot be uncompressed by anything other than the SWORD and JSword libraries.&lt;br /&gt;
&lt;br /&gt;
When creating the module by appending it is important to do so by whole compression block. That is, if blockType is Chapter, then the osisDoc needs to contain one or more whole chapters.&lt;br /&gt;
&lt;br /&gt;
'''-c cipherKey'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This is typically 16 characters in length, having no leading or trailing spaces, consisting of alternating sets of 4 alpha and 4 numeric characters, such as Aduf0274PjNq0328. The key is case-sensitive.&lt;br /&gt;
&lt;br /&gt;
'''-N'''&amp;lt;br/&amp;gt;&lt;br /&gt;
All OSIS modules should be UTF-8 and all that are UTF-8 are also to be NFC. The default is to automatically detect the presense of Latin-1 (either cp1252 or iso8859-1) and convert it to UTF-8 and to normalize UTF-8 to NFC. This flag will turn off this behavior and is useful for creating Latin-1 modules or for modules for which the source text is already UTF-8 and NFC. It is also advised for Biblical Hebrew modules for which the source text (with accents and cantillation points) is intentionally not normalized, as &amp;quot;Unicode normalization can easily break Biblical Hebrew&amp;quot;. Quoted from page 9 of the SBL Hebrew Font Manual.&lt;br /&gt;
&lt;br /&gt;
Note: this was added late Feb 2008 and requires [[DevTools:ICU|ICU]] support when compiling.&lt;br /&gt;
&lt;br /&gt;
'''-s 2|4'''&amp;lt;br/&amp;gt;&lt;br /&gt;
A value of 2, the default, restricts raw, uncompressed modules to 64K bytes per entry. A value of 4, breaks this barrier. This is needed for Bibles, having large introductory materials, and for commentaries with large entries. All compressed OSIS modules can handle large entries.&lt;br /&gt;
&lt;br /&gt;
Note: this was added late Apr 2009 and will be part of the SWORD 1.6.0 release (formerly known as 1.5.11).&lt;br /&gt;
&lt;br /&gt;
'''-v v11n'''&amp;lt;br/&amp;gt;&lt;br /&gt;
By default, osis2mod uses the KJV versification. The practical implication of this is that only books in the KJV canon are allowed and any text in an allowed book are retained. However, if the verse reference of a supported book falls outside of the versification it is appended to the prior verse in the canon. This flag allows for an [[Alternate Versification|alternate versification]].&lt;br /&gt;
&lt;br /&gt;
'''Note:''' This option was added in April 2009 as part of the SWORD 1.6.0 release.&lt;br /&gt;
&lt;br /&gt;
'''-d flags'''&amp;lt;br/&amp;gt;&lt;br /&gt;
The flag can be used more than once or the flags can be added together. For example,&lt;br /&gt;
 -d 2 -d 4&lt;br /&gt;
is the same as&lt;br /&gt;
 -d 6&lt;br /&gt;
&lt;br /&gt;
To do verbose debugging use:&lt;br /&gt;
 -d -1&lt;br /&gt;
&lt;br /&gt;
For the most part these flags are not intended for debugging modules, but rather for debugging problems in osis2mod.&lt;br /&gt;
&lt;br /&gt;
The -d 2 flag produces no output but puts milestones into the module where verses start and end. The form of the milestone is:&lt;br /&gt;
 &amp;amp;lt;milestone resp=&amp;quot;v&amp;quot; [attributes from verse] /&amp;gt;&lt;br /&gt;
The milestone will contain the osisID from the verse and also a valid sID or eID. The sID/eID indicates the start of end of the verse.&lt;br /&gt;
&lt;br /&gt;
Note: the -d 2 flag might change at any time, or may even be removed.&lt;br /&gt;
&lt;br /&gt;
==Messages==&lt;br /&gt;
Osis2mod has robust, mind-boggling messages. These are provided here in hopes that it will help problem diagnosis.&lt;br /&gt;
&lt;br /&gt;
===Exit Status===&lt;br /&gt;
When an error occurs that causes osis2mod to exit without processing the entire input file, a non-zero exit status is supplied to the caller. Here are the codes that osis2mod uses:&lt;br /&gt;
 const int EXIT_BAD_ARG     =   1; // Bad parameter given for program&lt;br /&gt;
 const int EXIT_NO_WRITE    =   2; // Could not open the module for writing&lt;br /&gt;
 const int EXIT_NO_CREATE   =   3; // Could not create the module&lt;br /&gt;
 const int EXIT_NO_READ     =   4; // Could not open the input file for reading.&lt;br /&gt;
 const int EXIT_BAD_NESTING =   5; // BSP or BCV nesting is bad or improper XML comment&lt;br /&gt;
&lt;br /&gt;
===Diagnostic Messages===&lt;br /&gt;
In the following, example values are given in '''[...]'''. The brackets do not actually appear in the message. Also, the messages are a bit prettier here than in reality.&lt;br /&gt;
 WARNING(UTF8):     '''[ osisID ]''': Should be converted to UTF-8 ('''[ text ]''')&lt;br /&gt;
The program will always check for text that is not UTF-8.&lt;br /&gt;
&lt;br /&gt;
 INFO(UTF8):        '''[ osisID ]''': Converting to UTF-8 ('''[ text before conversion ]''')&lt;br /&gt;
Text that is converted to UTF-8 is noted.&lt;br /&gt;
&lt;br /&gt;
 ERROR(UTF8):       '''[ osisID ]''': Converting to UTF-8 ('''[ text after first conversion ]''')&lt;br /&gt;
It is an error if after a conversion it still is not UTF-8.&lt;br /&gt;
&lt;br /&gt;
 WARNING(UTF8):     osis2mod is not compiled with support for ICU. Ignoring -n flag.&lt;br /&gt;
Normalization was requested, but since osis2mod was not compiled for it, it cannot honor the default request.&lt;br /&gt;
&lt;br /&gt;
 INFO(V11N):        '''[ osisID ]''' is not in the '''[ v11n ]''' versification.&lt;br /&gt;
Indicates that a verse is not in the versification.&lt;br /&gt;
&lt;br /&gt;
 INFO(V11N):        '''[ osisID ]''' is not in the '''[ v11n ]''' versification. Appending content to '''[ osisID ]'''&lt;br /&gt;
This like the other indicates a versification problem, but shows where the text will be found. Osis2mod preserves all module content for supported books.&lt;br /&gt;
&lt;br /&gt;
 WARNING(V11N): New book is '''[ name ]'''  and is not in '''[ v11n ]''' versification, ignoring&lt;br /&gt;
The name of the book was not recognized as belonging to the chosen versification, it and all of it's content is ignored.&lt;br /&gt;
&lt;br /&gt;
 INFO(WRITE):       Appending entry: '''[ osisID ]''': '''[ text so far ]'''&lt;br /&gt;
If osis2mod encounters text that needs to be appended to a verse that is already in the module. This could indicate that&lt;br /&gt;
* the reference is in the input twice. This typically indicates a problem.&lt;br /&gt;
* more text was found that needs to be added to the prior verse.&lt;br /&gt;
* osis2mod is being run in append mode to fix a verse in the module.&lt;br /&gt;
&lt;br /&gt;
 INFO(LINK):        Linking '''[ osisID ]''' to '''[ osisID ]'''&lt;br /&gt;
An osisID such as &amp;quot;Gen.1.1 Gen.1.2 Gen.1.3&amp;quot; was used and the latter are linked to the first.&lt;br /&gt;
&lt;br /&gt;
 ERROR(REF):        Invalid osisID/annotateRef: '''[ invalid attribute value ]'''&lt;br /&gt;
This indicates that the SWORD library was unable to parse the osisID or annotateRef.&lt;br /&gt;
&lt;br /&gt;
 FATAL(NESTING):    '''[ currentOsisID ]''': tag expected&lt;br /&gt;
This indicates that the specified verse is not balanced with regard to its tags. Building a raw text module, looking in the module for the verse and pairing begin/end tags will help find the problem. Typically, this indicates an end tag that did not have a matching begin tag and all tags before it were properly paired.&lt;br /&gt;
&lt;br /&gt;
 FATAL(NESTING):    '''[ currentOsisID ]''': Expected '''[ topToken.getName() ]''' found '''[ tokenName ]'''&lt;br /&gt;
This also indicates that the specified verse is not balanced with regard to its tags. Building a raw text module, looking in the module for the verse and pairing begin/end tags will help find the problem. It could be either a begin or an end tag problem.&lt;br /&gt;
&lt;br /&gt;
 WARNING(NESTING):  verse '''[ currentOsisID ]''' is not well formed:('''[ verseDepth ]''','''[ tagDepth ]''')&lt;br /&gt;
This indicates that the verse probably will not show properly in some front-ends in some circumstances. Typically, it shows the problem if the verse is shown in isolation.&lt;br /&gt;
&lt;br /&gt;
 ERROR(NESTING):    improper nesting '''[ currentOsisID ]''': matching (sID,eID) not found. Looking at ('''[ sID ]''','''[ eID ]''')&lt;br /&gt;
OSIS specifies that every sID has a matching eID. Osis2mod is checking that BSP elements are properly nested.&lt;br /&gt;
&lt;br /&gt;
 FATAL(COMMENTS): unknown commentstate on comment start: [ comment state ]&lt;br /&gt;
This indicates that the comment is not of the form &amp;amp;lt;!-- ... --&amp;amp;gt;.&lt;br /&gt;
&lt;br /&gt;
 FATAL(COMMENTS): unknown commentstate on comment end:  [ comment state ]&lt;br /&gt;
This indicates that the comment is not of the form &amp;amp;lt;!-- ... --&amp;amp;gt;.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE): malformed entity, replacing &amp;amp;amp;'''[ malformed entity ]''' with &amp;amp;amp;amp;'''[ malformed entity ]'''&lt;br /&gt;
This means it found a &amp;amp;amp; that starts an entity but it wasn't terminated by a ; and changed it to something that probably isn't appropriate.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE): HEX entity must begin with &amp;amp;amp;x, found '''[ entity ]'''&lt;br /&gt;
This indicates &amp;amp;X, which is not valid for xml. It is not changed.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE): SWORD does not search HEX entities, found '''[ entity ]'''&lt;br /&gt;
 WARNING(PARSE): SWORD does not search numeric entities, found '''[ entity ]'''&lt;br /&gt;
Since we don't transform HEX or numeric entities to their equivalent UTF-8 value, this will be literal text that cannot be searched.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE): XML only supports 5 Character entities &amp;amp;amp;amp;, &amp;amp;amp;lt;, &amp;amp;amp;gt;, &amp;amp;amp;quot; and &amp;amp;amp;apos;, found '''[ entity ]'''&lt;br /&gt;
XML does not allow character entities. These are passed unchanged to SWORD module. This frustrates search and may only display properly in a front-end using HTML rendering.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE): &amp;amp;amp;quot; is unnecessary outside of attribute values. Replace with &amp;quot;.&lt;br /&gt;
 WARNING(PARSE): &amp;amp;amp;quot; is unnecessary inside single quoted attribute values. Replace with &amp;quot;.&lt;br /&gt;
 WARNING(PARSE): &amp;amp;amp;quot; is only needed within double quoted attribute values. Considering using single quoted attribute and replacing with &amp;quot;.&lt;br /&gt;
 WARNING(PARSE): &amp;amp;amp;apos; is only needed within single quoted attribute values. Considering using double quoted attribute and replacing with '.&lt;br /&gt;
 WARNING(PARSE): &amp;amp;amp;apos; is unnecessary inside double quoted attribute values. Replacing with '.&lt;br /&gt;
 WARNING(PARSE): &amp;amp;amp;apos; is unnecessary outside of attribute values. Replacing with '.&lt;br /&gt;
The &amp;amp;amp;apos; or &amp;amp;amp;quot; was found outside of an attribute value and is being substituted with a straight single apostrophe, ', or double quote, &amp;quot;, respectively.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE): While valid for XML, &amp;amp;amp;quot; is only needed within double quoted attribute values.&lt;br /&gt;
This warning indicates that the entity is present where it does not need to be.&lt;br /&gt;
&lt;br /&gt;
 WARNING(PARSE): While valid for XML, XHTML does not support &amp;amp;amp;apos;.&lt;br /&gt;
This warning indicates that the &amp;amp;amp;apos; may not display properly in all front-ends. It was found in an attribute value.&lt;br /&gt;
&lt;br /&gt;
===Debug Messages===&lt;br /&gt;
The following are shown in the same form as the diagnostic messages above. They are given without comment.&lt;br /&gt;
&lt;br /&gt;
'''-d 1'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Output of what is being written to the module. The two osisIDs should always be the same.&lt;br /&gt;
 DEBUG(WRITE):      '''[ osisID ]''':'''[ osisID ]''': '''[ text so far ]'''&lt;br /&gt;
&lt;br /&gt;
'''-d 4'''&amp;lt;br/&amp;gt;&lt;br /&gt;
A stack is maintained to represent the Words of Christ on a per verse basis. This is internal diagnostic of that stack&lt;br /&gt;
 DEBUG(QUOTE):      '''[ currentOsisID ]''': quote top('''[ quote stack size ]''') '''[ token ]'''&lt;br /&gt;
 DEBUG(QUOTE):      '''[ currentOsisID ]''': quote pop('''[ quote stack size ]''') '''[ topToken ]''' -- '''[ token ]'''&lt;br /&gt;
 DEBUG(QUOTE):      '''[ currentOsisID ]''': ('''[ quote stack size ]''') '''[ topToken ]''' -- '''[ token ]'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''-d 8'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Identifies when book and chapter introductions are being determined.&lt;br /&gt;
 DEBUG(TITLE):      '''[ currentOsisID ]''': OOPS INTRO&lt;br /&gt;
         inChapterIntro = '''[ inChapterIntro ]'''&lt;br /&gt;
         inBookIntro    = '''[ inBookIntro ]'''&lt;br /&gt;
 DEBUG(TITLE):      '''[ currentOsisID ]''': Looking for book introduction&lt;br /&gt;
 DEBUG(TITLE):      '''[ currentOsisID ]''': Done looking for book introduction&lt;br /&gt;
 DEBUG(TITLE):      '''[ currentOsisID ]''': BOOK INTRO '''[ beading ]'''&lt;br /&gt;
 DEBUG(TITLE):      '''[ currentOsisID ]''': Looking for chapter introduction&lt;br /&gt;
 DEBUG(TITLE):      '''[ currentOsisID ]''': Done looking for chapter introduction&lt;br /&gt;
 DEBUG(TITLE):      '''[ currentOsisID ]''': CHAPTER INTRO '''[ heading ]'''&lt;br /&gt;
&lt;br /&gt;
'''-d 16'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Inter-verse material either goes with the prior &amp;quot;verse&amp;quot; or the next. This help diagnose problems related to that split.&lt;br /&gt;
 DEBUG(INTERVERSE): '''[ currentOsisID ]''': interverse start token '''[ token ]''':'''[ text ]'''&lt;br /&gt;
 DEBUG(INTERVERSE): '''[ currentOsisID ]''': interverse end tag: '''[ tokenName ]'''('''[ tagDepth ]''','''[ chapterDepth ]''','''[ bookDepth ]''')&lt;br /&gt;
 DEBUG(INTERVERSE): '''[ currentOsisID ]''': appending interverse end tag: '''[tokenName ]'''('''[ tagDepth ]''','''[ chapterDepth ]''','''[ bookDepth ]''')&lt;br /&gt;
&lt;br /&gt;
'''-d 32'''&amp;lt;br/&amp;gt;&lt;br /&gt;
The following messages relate to the transformations of containers to milestones.&lt;br /&gt;
 DEBUG(XFORM):      '''[ currentOsisID ]''': xform empty '''[ token ]'''&lt;br /&gt;
 DEBUG(XFORM):      '''[ currentOsisID ]''': xform push ('''[ bspTagStack.size() ]''') '''[ token ]''' (tagname='''[ tagName ]''')&lt;br /&gt;
 DEBUG(XFORM):      '''[ currentOsisID ]''': xform top('''[ bsp stack size ]''') '''[ topToken ]'''&lt;br /&gt;
 DEBUG(XFORM):      '''[ currentOsisID ]''': xform pop('''[ bsp stack size ]''') '''[ topToken ]'''&lt;br /&gt;
&lt;br /&gt;
'''-d 64'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Occasionally a verse reference is outside of the chosen versification. These messages help to understand difficulties that osis2mod has in storing extra-canonical material in the module.&lt;br /&gt;
 DEBUG(V11N):       '''[ currentOsisID ]''' normalizes to '''[ after ]'''&lt;br /&gt;
 DEBUG(V11N):       Chapter max:'''[ chapterMax ]''', Verse Max:'''[ verseMax ]'''&lt;br /&gt;
&lt;br /&gt;
'''-d 128'''&amp;lt;br/&amp;gt;&lt;br /&gt;
OSIS ids and references can be of a form that SWORD cannot parse. Osis2mod contains a routine that munges these into a form that SWORD can understand.&lt;br /&gt;
 DEBUG(REF):        Copy range marker: '''[ marker ]'''&lt;br /&gt;
 DEBUG(REF):        Found a work prefix '''[ workPrefix ]'''&lt;br /&gt;
 DEBUG(REF):        Copy osisID:'''[ osisID ]'''&lt;br /&gt;
 DEBUG(REF):        Found a grain suffix '''[ grain ]'''&lt;br /&gt;
 DEBUG(REF):        Found a range&lt;br /&gt;
 DEBUG(REF):        replacing space with ;. Remaining: '''[ text ]'''&lt;br /&gt;
 DEBUG(REF):        shortended keyVal to`'''[ text ]'''`&lt;br /&gt;
&lt;br /&gt;
'''-d 256'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Osis2mod contains two stacks to validate proper nesting of BSP and BCV, respectively. This is an internal representation of the BCV stacks. It provides additional information to understand the diagnostic nesting messages.&lt;br /&gt;
 DEBUG(STACK):      '''[ currentOsisID ]''': push ('''[ stack size]''') '''[ tokenName ]'''&lt;br /&gt;
 DEBUG(STACK):      '''[ currentOsisID ]''': pop('''[ tagDepth ]''') '''[ topToken.getName() ]'''&lt;br /&gt;
&lt;br /&gt;
'''-d 512'''&amp;lt;br/&amp;gt;&lt;br /&gt;
These are general debug messages.&lt;br /&gt;
 DEBUG(FOUND):        Found first div and pitching prior material: '''[ text ]'''&lt;br /&gt;
 DEBUG(FOUND):        New book is '''[ currentOsisID ]'''&lt;br /&gt;
 DEBUG(FOUND):        Current chapter is '''[ currentOsisID ]''' ('''[ osisID attribute value ]''')&lt;br /&gt;
 DEBUG(FOUND):        Entering verse&lt;br /&gt;
 DEBUG(FOUND):        New current verse is '''[ currentOsisID ]'''&lt;br /&gt;
 DEBUG(FOUND):        osisID/annotateRef is adjusted to: '''[ simpler osisID or osisRef ]'''&lt;br /&gt;
 DEBUG(COMMENTS): in comment&lt;br /&gt;
 DEBUG(COMMENTS): out of comment&lt;br /&gt;
&lt;br /&gt;
'''-d 512'''&amp;lt;br/&amp;gt;&lt;br /&gt;
The following gives the input arguments.&lt;br /&gt;
 DEBUG(ARGS):&lt;br /&gt;
         path:         '''[ path ]'''&lt;br /&gt;
         osisDoc:      '''[ osisDoc ]'''&lt;br /&gt;
         create:       '''[ append ]'''&lt;br /&gt;
         compressType: '''[ compType ]'''&lt;br /&gt;
         blockType:    '''[ iType ]'''&lt;br /&gt;
         cipherKey:    '''[ cipherKey ]'''&lt;br /&gt;
         normalize:    '''[ normalize ]'''&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Osis2mod testcases]]&lt;br /&gt;
* [[OSIS]] &amp;amp;ndash; a partial list of other OSIS related pages and external links.&lt;br /&gt;
* [[Mod2osis]]&lt;br /&gt;
* [[Mod2zmod]]&lt;br /&gt;
&lt;br /&gt;
[[Category:OSIS]]&lt;br /&gt;
[[Category:Utilities]]&lt;br /&gt;
[[Category:Versification]]&lt;/div&gt;</summary>
		<author><name>Dmsmith</name></author>	</entry>

	<entry>
		<id>https://wiki.crosswire.org/index.php?title=Osis2mod&amp;diff=14760</id>
		<title>Osis2mod</title>
		<link rel="alternate" type="text/html" href="https://wiki.crosswire.org/index.php?title=Osis2mod&amp;diff=14760"/>
				<updated>2016-02-06T17:30:07Z</updated>
		
		<summary type="html">&lt;p&gt;Dmsmith: /* Transformations */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
osis2mod transforms an OSIS encoded [[OSIS Bibles|Bible]] or [[OSIS_Commentaries|commentary]] into a SWORD module.&lt;br /&gt;
&lt;br /&gt;
== Current status ==&lt;br /&gt;
&lt;br /&gt;
Software bugs relating to osis2mod should be reported in http://www.crosswire.org/bugs/browse/API&lt;br /&gt;
&lt;br /&gt;
:''Please describe current status of osis2mod, including a list of any outstanding issues or unsolved difficulties''.&lt;br /&gt;
&lt;br /&gt;
==History of Changes==&lt;br /&gt;
The following outlines in reverse chronological order the major changes to osis2mod. When several changes were made over the span of a few days, they are lumped into the most recent date. Bug fixes are not mentioned.&lt;br /&gt;
&lt;br /&gt;
{|width=&amp;quot;100%&amp;quot; border=&amp;quot;0&amp;quot; class=&amp;quot;sortable&amp;quot;&lt;br /&gt;
!width=&amp;quot;10%&amp;quot;|Date&lt;br /&gt;
!Revision&lt;br /&gt;
!Feature&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2016-02-06'''&lt;br /&gt;
|&lt;br /&gt;
r3401&lt;br /&gt;
|&lt;br /&gt;
* Changed the handling of &amp;amp;lt;div type=&amp;quot;colophon&amp;quot;&amp;amp;gt; to not convert it to milestones.&lt;br /&gt;
* Added reporting of unhandled entities. (An OSIS document should not have entities other than the canonical 4 entities.)&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2014-01-21'''&lt;br /&gt;
|&lt;br /&gt;
r3011&lt;br /&gt;
|&lt;br /&gt;
* Changed the transformation of &amp;amp;lt;p&amp;amp;gt; from &amp;amp;lt;div type=&amp;quot;paragraph&amp;quot; sID=&amp;quot;xxx&amp;quot;/&amp;amp;gt; to &amp;amp;lt;div type=&amp;quot;x-p&amp;quot; sID=&amp;quot;xxx&amp;quot;/&amp;amp;gt; This is a semantic change that brings osis2mod into alignment with the OSIS specification.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2012-03-24'''&lt;br /&gt;
|&lt;br /&gt;
r2693&lt;br /&gt;
|&lt;br /&gt;
* Allow for XML comments to be in the document, but stripped from the module. This allows for large parts of a document to be commented out, which is especially important during development.&lt;br /&gt;
* Allow for &amp;amp;lt;p&amp;amp;gt; elements to be in the &amp;amp;lt;header&amp;amp;gt; element but ignored. Previously, the p in a header, having been transformed to a div, was taken to be the start of the module's content.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2011-11-12'''&lt;br /&gt;
|&lt;br /&gt;
r2671&lt;br /&gt;
|&lt;br /&gt;
* Restored pre-verse handling. Titles no longer need to be specially specified in OSIS.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2010-06-04'''&lt;br /&gt;
|&lt;br /&gt;
r2519&lt;br /&gt;
|&lt;br /&gt;
* Removed pre-verse handling. Titles now have to be specially specified in OSIS. In OSIS there should also be no tags between verse elements except title and those marking book and chapter.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-06-06'''&lt;br /&gt;
|&lt;br /&gt;
r2435&lt;br /&gt;
|&lt;br /&gt;
* Improved handling of chapter introductions.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-05-30'''&lt;br /&gt;
|&lt;br /&gt;
r2421&lt;br /&gt;
|&lt;br /&gt;
* '''-d flags''' now always available.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-05-14'''&lt;br /&gt;
|&lt;br /&gt;
r2413&lt;br /&gt;
|&lt;br /&gt;
*Added '''-d flags''' as a compile time option.&lt;br /&gt;
*Improved exit codes and documented them here.&lt;br /&gt;
*Labeled all diagnostic and debug output.&lt;br /&gt;
*Can now read from standard input.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-04-28'''&lt;br /&gt;
|&lt;br /&gt;
r2358&lt;br /&gt;
|&lt;br /&gt;
*Predictable handling of inter-verse material.&lt;br /&gt;
*All tags, except verse, included in the module.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-04-26'''&lt;br /&gt;
|&lt;br /&gt;
r2345&lt;br /&gt;
|&lt;br /&gt;
*'''-v v11n''' added to support [[Alternate Versification]].&lt;br /&gt;
*'''-s &amp;lt;2|4&amp;gt;''' added to support uncompressed commentaries with large entries (exceeding 64K bytes).&lt;br /&gt;
*Replace paragraph hack with milestoned paragraphs: &amp;amp;lt;div type=&amp;quot;paragraph&amp;quot; sID=&amp;quot;xxx&amp;quot;/&amp;gt; ... &amp;amp;lt;div type=&amp;quot;paragraph&amp;quot; eID=&amp;quot;xxx&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2008-09-11'''&lt;br /&gt;
|&lt;br /&gt;
r2196&lt;br /&gt;
|&lt;br /&gt;
*Words of Christ (WoC) can be marked up naturally. osis2mod does the right thing.&lt;br /&gt;
*Container elements converted to their milestoned form.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2008-02-29'''&lt;br /&gt;
|&lt;br /&gt;
r2141&lt;br /&gt;
|&lt;br /&gt;
*Now supports commentaries in addition to Bibles.&lt;br /&gt;
*Added utf-8 detection and automatic conversion from cp1252 and iso8859-1 to utf-8, making that the default behavior&lt;br /&gt;
*Added NFC [[Encoding#Normalization|normalization]], making it the default&lt;br /&gt;
*Now handles the full definition of an osisID and an osisRef, including workID and grain.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2007-09-27'''&lt;br /&gt;
|&lt;br /&gt;
r2090&lt;br /&gt;
|&lt;br /&gt;
*Changed command-line parsing from positional parameters to flags.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2007-05-13'''&lt;br /&gt;
|&lt;br /&gt;
r2050&lt;br /&gt;
|&lt;br /&gt;
*All whitespace tokens are converted into blanks and adjacent spaces are merged into one. Leading whitespace on each verse is still removed.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2007-05-01'''&lt;br /&gt;
|&lt;br /&gt;
r2044&lt;br /&gt;
|&lt;br /&gt;
*Added version identification to the running of osis2mod.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2007-04-24'''&lt;br /&gt;
|&lt;br /&gt;
r2038&lt;br /&gt;
|&lt;br /&gt;
*Added ignoring of unknown books&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2006-07-15'''&lt;br /&gt;
|&lt;br /&gt;
r1948&lt;br /&gt;
|&lt;br /&gt;
*Optimized writing to module.&lt;br /&gt;
*Added simple transformations of &amp;amp;lt;q&amp;gt; and &amp;amp;lt;p&amp;gt; into milestones.&lt;br /&gt;
*Now allow empty attributes, such as marker=&amp;quot;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2006-07-04'''&lt;br /&gt;
|&lt;br /&gt;
r1914&lt;br /&gt;
|&lt;br /&gt;
*Updated to support OSIS 2.1&lt;br /&gt;
*Added validation that verses in isolation are well formed&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2005-12-22'''&lt;br /&gt;
|&lt;br /&gt;
r1876&lt;br /&gt;
|&lt;br /&gt;
*Added command-line options for compress and encipher.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2005-05-02'''&lt;br /&gt;
|&lt;br /&gt;
r1790&lt;br /&gt;
|&lt;br /&gt;
*Removed &amp;amp;lt;verse&amp;gt; and &amp;amp;lt;/verse&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2005-02-03'''&lt;br /&gt;
|&lt;br /&gt;
r1707&lt;br /&gt;
|&lt;br /&gt;
*Reverted pre-verse title handling&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2004-06-12'''&lt;br /&gt;
|&lt;br /&gt;
r1620&lt;br /&gt;
|&lt;br /&gt;
*Removed pre-verse title handling&lt;br /&gt;
*Added &amp;amp;lt;verse&amp;gt; and &amp;amp;lt;/verse&amp;gt;&lt;br /&gt;
*Added support for milestoned version of some OSIS elements&lt;br /&gt;
*Added support for verses that are not in the KJV versification by appending them to the closest prior verse.&lt;br /&gt;
*Added support for osisIDs with sub-verse references (i.e. osisID grains)&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2004-05-19'''&lt;br /&gt;
|&lt;br /&gt;
r1597&lt;br /&gt;
|&lt;br /&gt;
*Added support for linked verses&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2003-11-21'''&lt;br /&gt;
|&lt;br /&gt;
r1407&lt;br /&gt;
|&lt;br /&gt;
*Added recognition for &amp;lt;chapter&amp;gt; element&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2003-05-26'''&lt;br /&gt;
|&lt;br /&gt;
r1183&lt;br /&gt;
|&lt;br /&gt;
*Initial version&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Transformations==&lt;br /&gt;
Osis2mod performs the following transformations&amp;lt;ref&amp;gt;These transformations are all performed &amp;quot;under the hood&amp;quot; as it were. Tweaking OSIS XML files to fix problems with pre-verse titles, etc., was never intended to be done by module developers as part of the preprocessing before using osis2mod.&amp;lt;/ref&amp;gt;:&lt;br /&gt;
* '''Whitespace''' -- Allows for human-readable OSIS files.&lt;br /&gt;
**Leading whitespace on books, chapters and verses is removed&lt;br /&gt;
**Whitespace is normalized into blanks&lt;br /&gt;
**Multiple adjacent whitespace is reduced to a single space&lt;br /&gt;
* '''Unicode handling''' - All modules should be UTF-8, NFC.&lt;br /&gt;
**Latin-1 (cp1252 and iso8859-1) are converted into UTF-8&lt;br /&gt;
**UTF-8 is normalized into NFC, unless specified otherwise.&lt;br /&gt;
* '''Milestone conversion''' - necessary for frontends to show a verse at a time.&amp;lt;br/&amp;gt;(note: genX is unique for an sID/eID pair, where X is a number.)&lt;br /&gt;
** &amp;amp;lt;q ...&amp;gt;...&amp;amp;lt;/q&amp;gt; is converted into &amp;amp;lt;q sID=&amp;quot;genX&amp;quot; .../&amp;gt;...&amp;amp;lt;q eID=&amp;quot;genX&amp;quot; .../&amp;gt;. Note: Quotes with who=&amp;quot;Jesus&amp;quot; are not transformed at this time.&lt;br /&gt;
** &amp;amp;lt;p ...&amp;gt;...&amp;amp;lt;/p&amp;gt; becomes &amp;amp;lt;div type=&amp;quot;paragraph&amp;quot; sID=&amp;quot;genX&amp;quot; .../&amp;gt;... &amp;amp;lt;div type=&amp;quot;paragraph&amp;quot; eID=&amp;quot;genX&amp;quot; ...&amp;gt;.&lt;br /&gt;
** &amp;amp;lt;chapter ...&amp;gt;...&amp;amp;lt;/chapter&amp;gt; becomes &amp;amp;lt;chapter sID=&amp;quot;genX&amp;quot; .../&amp;gt;...&amp;amp;lt;chapter eID=&amp;quot;genX&amp;quot; .../&amp;gt;&lt;br /&gt;
** &amp;amp;lt;closer ...&amp;gt;...&amp;amp;lt;/closer&amp;gt; becomes &amp;amp;lt;closer sID=&amp;quot;genX&amp;quot; .../&amp;gt;...&amp;amp;lt;closer eID=&amp;quot;genX&amp;quot; .../&amp;gt;&lt;br /&gt;
** &amp;amp;lt;div ...&amp;gt;...&amp;amp;lt;/div&amp;gt; becomes &amp;amp;lt;div sID=&amp;quot;genX&amp;quot; .../&amp;gt;...&amp;amp;lt;div eID=&amp;quot;genX&amp;quot; .../&amp;gt; (as of r3401, &amp;amp;lt;div type=&amp;quot;colophon&amp;quot;...&amp;gt; is unchanged)&lt;br /&gt;
** &amp;amp;lt;l ...&amp;gt;...&amp;amp;lt;/l&amp;gt; becomes &amp;amp;lt;l sID=&amp;quot;genX&amp;quot; .../&amp;gt;...&amp;amp;lt;l eID=&amp;quot;genX&amp;quot; .../&amp;gt;&lt;br /&gt;
** &amp;amp;lt;lg ...&amp;gt;...&amp;amp;lt;/lg&amp;gt; becomes &amp;amp;lt;lg sID=&amp;quot;genX&amp;quot; .../&amp;gt;...&amp;amp;lt;lg eID=&amp;quot;genX&amp;quot; .../&amp;gt;&lt;br /&gt;
** &amp;amp;lt;salute ...&amp;gt;...&amp;amp;lt;/salute&amp;gt; becomes &amp;amp;lt;salute sID=&amp;quot;genX&amp;quot; .../&amp;gt;...&amp;amp;lt;salute eID=&amp;quot;genX&amp;quot; .../&amp;gt;&lt;br /&gt;
** &amp;amp;lt;signed ...&amp;gt;...&amp;amp;lt;/signed&amp;gt; becomes &amp;amp;lt;signed sID=&amp;quot;genX&amp;quot; .../&amp;gt;...&amp;amp;lt;signed eID=&amp;quot;genX&amp;quot; .../&amp;gt;&lt;br /&gt;
** &amp;amp;lt;speech ...&amp;gt;...&amp;amp;lt;/speech&amp;gt; becomes &amp;amp;lt;speech sID=&amp;quot;genX&amp;quot; .../&amp;gt;...&amp;amp;lt;speech eID=&amp;quot;genX&amp;quot; .../&amp;gt;&lt;br /&gt;
** &amp;amp;lt;verse ...&amp;gt;...&amp;amp;lt;/verse&amp;gt; becomes (when using -d 2 for debugging.) &amp;amp;lt;milestone resp=&amp;quot;v&amp;quot; sID=&amp;quot;genX&amp;quot; ... /&amp;gt;...&amp;amp;lt;milestone resp=&amp;quot;v&amp;quot; eID=&amp;quot;genX&amp;quot; ... /&amp;gt;&lt;br /&gt;
* '''Words of Christ''' - necessary for front-ends to appropriately highlight the WOC, a verse at a time.&lt;br /&gt;
** &amp;amp;lt;q sID=&amp;quot;XXX&amp;quot; who=&amp;quot;Jesus&amp;quot; .../&amp;gt;...&amp;amp;lt;eID=&amp;quot;XXX&amp;quot; who=&amp;quot;Jesus&amp;quot; .../&amp;gt; becomes &amp;amp;lt;q who=&amp;quot;Jesus&amp;quot; marker=&amp;quot;&amp;quot;&amp;gt;&amp;amp;lt;q sID=&amp;quot;XXX&amp;quot; .../&amp;gt;...&amp;amp;lt;q eID=&amp;quot;XXX&amp;quot; .../&amp;gt;&amp;amp;lt;/q&amp;gt;&lt;br /&gt;
** &amp;amp;lt;q who=&amp;quot;Jesus&amp;quot; ...&amp;gt;...&amp;amp;lt;/q&amp;gt; becomes &amp;amp;lt;q who=&amp;quot;Jesus&amp;quot; marker=&amp;quot;&amp;quot;&amp;gt;&amp;amp;lt;q sID=&amp;quot;genX&amp;quot; .../&amp;gt;...&amp;amp;lt;q eID=&amp;quot;genX&amp;quot; .../&amp;gt;&amp;amp;lt;/q&amp;gt;&lt;br /&gt;
** Within the following construct, &amp;amp;lt;q who=&amp;quot;Jesus&amp;quot; marker=&amp;quot;&amp;quot;&amp;gt;...&amp;lt;/q&amp;gt; will surround verse text.&lt;br /&gt;
* '''Pre-Verse Titles''' (obsolete with SVN revision 2358 for the SWORD 1.6.0 release and replaced with '''InterVerse Content''')&lt;br /&gt;
** Titles immediately preceeding a verse are converted into &amp;amp;lt;title type=&amp;quot;section&amp;quot; subType=&amp;quot;x-preverse&amp;gt;...&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
** Interverse tags not in titles are appended to prior verse.&lt;br /&gt;
* '''InterVerse Content''' (introduced with SVN revision 2358 for the SWORD 1.6.0 release)&lt;br /&gt;
** InterVerse Content refers to all content not contained by the verse element.&amp;lt;ref&amp;gt;For OSIS files derived from USFM files, the implication of this requirement is the following rule:&amp;lt;BR&amp;gt;Do not place a title (or similar element) between a matching pair of verse milestones&lt;br /&gt;
except where the translation places the title somewhere within the verse text in the USFM file.&amp;lt;/ref&amp;gt;&lt;br /&gt;
** Such content is divided between the prior and the current verse.&lt;br /&gt;
** Content appended to the prior verse is not marked in any special way.&lt;br /&gt;
** Content prepended to the current verse is marked with &amp;amp;lt;div sID=&amp;quot;pvX&amp;quot; type=&amp;quot;x-milestone&amp;quot; subType=&amp;quot;x-preverse&amp;quot;/&amp;gt;...&amp;amp;lt;div eID=&amp;quot;pvX&amp;quot; type=&amp;quot;x-milestone&amp;quot; subType=&amp;quot;x-preverse&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Handling of Introductions, Titles and Inter-Verse Material==&lt;br /&gt;
SWORD for module, testament, book and chapter introductory material. Those introductions can have appropriate titles as well. &lt;br /&gt;
In SWORD 1.6.0 the handling of this material has changed.&lt;br /&gt;
&lt;br /&gt;
'''Note:'''&lt;br /&gt;
# In the following, the effects of the above transformations are not shown. The tagging of the pre-verse material is also not shown.&lt;br /&gt;
&lt;br /&gt;
===Module and Testament Introductions===&lt;br /&gt;
&lt;br /&gt;
At this time, osis2mod does not fully support module and testament introductions. A module introduction should be place into testament 0, book 0, chapter 0, verse 0. A testament introduction should be placed into testament 1 or 2, book 0, chapter 0, verse 0. Currently, these are placed into Genesis 0:0 or Matthew 0:0.&lt;br /&gt;
&lt;br /&gt;
===Book Introductions and Titles===&lt;br /&gt;
Book introductions and titles are straight forward. It includes the start of the book and everything following it up to, but not including the start of the chapter. See [[OSIS Bibles]] for best practices in marking up titles and introductions.&lt;br /&gt;
&lt;br /&gt;
For example:&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;book&amp;quot; ...&amp;gt;&lt;br /&gt;
 ... introductory material ...&lt;br /&gt;
 &amp;amp;lt;chapter&amp;quot;...&amp;gt;&lt;br /&gt;
will put the following into the book introduction:&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;book&amp;quot; ...&amp;gt;&lt;br /&gt;
 ... introductory material ...&lt;br /&gt;
&lt;br /&gt;
===Chapter Introductions===&lt;br /&gt;
Chapter introductions and titles are a bit problematic. Between the start of a chapter and its first verse, we could have a chapter title, a chapter introduction and/or a start of a section of verses or a titled verse. Osis2mod now handles this in a predictable fashion. From the start of the chapter up to and not including a section div or a title that has a type that is not ''main'', ''chapter'' or ''sub'', the content is chapter introduction. After that, it is part of the verse.&lt;br /&gt;
&lt;br /&gt;
Specifically, the following list gives the possible first elements following the chapter introduction.:&lt;br /&gt;
*&amp;amp;lt;div type=&amp;quot;section&amp;quot; ...&amp;gt;&lt;br /&gt;
*&amp;amp;lt;title type=&amp;quot;yyy&amp;quot; ...&amp;gt; where yyy is not ''main'', ''chapter'' or ''sub''.&lt;br /&gt;
&lt;br /&gt;
For example,&lt;br /&gt;
 &amp;amp;lt;chapter ...&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;Chapter Title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title type=&amp;quot;sub&amp;quot;&amp;gt;Chapter Subtitle&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;introduction&amp;quot;&amp;gt;... intro ...&amp;amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;section&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;A section title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;verse ...&amp;gt;...verse content...&amp;amp;lt;/verse&amp;gt;&lt;br /&gt;
will put the following into the chapter introduction:&lt;br /&gt;
 &amp;amp;lt;chapter ...&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;Chapter Title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title type=&amp;quot;sub&amp;quot;&amp;gt;Chapter Subtitle&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;introduction&amp;quot;&amp;gt;... intro ...&amp;amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
will put the following into verse 1 of that chapter&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;section&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;A section title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;verse ...&amp;gt;...verse content...&amp;amp;lt;/verse&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Between Verses===&lt;br /&gt;
Between verses we may have closing tags to finish off what was started earlier, structural opening tags (e.g. line groups, divisions, paragraphs, ...), titles and/or introductory material.&lt;br /&gt;
&lt;br /&gt;
Upon finding the close of a verse, osis2mod will append all adjacent closing tags to it. Once it finds a start tag, it will attach that to the following verse.&lt;br /&gt;
&lt;br /&gt;
For example, suppose the following is between &amp;amp;lt;/verse&amp;gt; and &amp;amp;lt;verse ...&amp;gt;:&lt;br /&gt;
 &amp;amp;lt;/lg&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;section&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;Section title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;lg&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
then it will append the following to the prior verse:&lt;br /&gt;
 &amp;amp;lt;/lg&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and will prepend the following to the current verse:&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;section&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;Section title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;lg&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Last Verse===&lt;br /&gt;
The material following the last verse of a chapter is appended to that verse. You might find:&lt;br /&gt;
 ... verse content ...&lt;br /&gt;
 &amp;amp;lt;/chapter&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;colophon&amp;quot;&amp;gt;... colophon text ...&amp;amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Exclusions==&lt;br /&gt;
Only content starting the first &amp;amp;lt;div&amp;gt; to the last &amp;amp;lt;/div&amp;gt; is retained. All other is excluded. From a practical perspective, this excludes the OSIS header information.&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
It is always preferable to use the most recent version of osis2mod and compiling it from SVN is best. &lt;br /&gt;
&lt;br /&gt;
'''Note:'''&lt;br /&gt;
# After the SWORD 1.5.9 release, osis2mod was changed to take flags rather than positional arguments.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
You are running osis2mod: $Rev: 2562 $&lt;br /&gt;
OSIS Bible/commentary module creation tool for The SWORD Project&lt;br /&gt;
&lt;br /&gt;
usage: utils\osis2mod &amp;lt;output/path&amp;gt; &amp;lt;osisDoc&amp;gt; [OPTIONS]&lt;br /&gt;
  &amp;lt;output/path&amp;gt;		 an existing folder that the module will be written&lt;br /&gt;
  &amp;lt;osisDoc&amp;gt;		 path to the validated OSIS document, or '-' to&lt;br /&gt;
				 read from standard input&lt;br /&gt;
  -a			 augment module if exists (default is to create new)&lt;br /&gt;
  -z			 use ZIP compression (default no compression)&lt;br /&gt;
  -Z			 use LZSS compression (default no compression)&lt;br /&gt;
  -b &amp;lt;2|3|4&amp;gt;		 compression block size (default 4):&lt;br /&gt;
				 2 - verse; 3 - chapter; 4 - book&lt;br /&gt;
  -c &amp;lt;cipher_key&amp;gt;	 encipher module using supplied key&lt;br /&gt;
				 (default no enciphering)&lt;br /&gt;
  -N			 do not convert UTF-8 or normalize UTF-8 to NFC&lt;br /&gt;
				 (default is to convert to UTF-8, if needed,&lt;br /&gt;
				  and then normalize to NFC)&lt;br /&gt;
				 Note: UTF-8 texts should be normalized to NFC.&lt;br /&gt;
  -s &amp;lt;2|4&amp;gt;		 bytes used to store entry size (default is 2).&lt;br /&gt;
				 Note: useful for commentaries with very large&lt;br /&gt;
				 entries in uncompressed modules&lt;br /&gt;
				 (2 bytes to store size equal 65535 characters)&lt;br /&gt;
  -v &amp;lt;v11n&amp;gt;		 specify a versification scheme to use (default is KJV)&lt;br /&gt;
				 Note: The following are valid values for v11n:&lt;br /&gt;
					Catholic&lt;br /&gt;
					Catholic2&lt;br /&gt;
					German&lt;br /&gt;
					KJV&lt;br /&gt;
					KJVA&lt;br /&gt;
					Leningrad&lt;br /&gt;
					Luther&lt;br /&gt;
					MT&lt;br /&gt;
					NRSV&lt;br /&gt;
					NRSVA&lt;br /&gt;
					Synodal&lt;br /&gt;
					SynodalP&lt;br /&gt;
					Vulg&lt;br /&gt;
  -d &amp;lt;flags&amp;gt;		 turn on debugging (default is 0)&lt;br /&gt;
				 Note: This flag may change in the future.&lt;br /&gt;
				 Flags: The following are valid values:&lt;br /&gt;
					0   - no debugging&lt;br /&gt;
					1   - writes to module, very verbose&lt;br /&gt;
					2   - verse start and end&lt;br /&gt;
					4   - quotes, esp. Words of Christ&lt;br /&gt;
					8   - titles&lt;br /&gt;
					16  - inter-verse material&lt;br /&gt;
					32  - BSP to BCV transformations&lt;br /&gt;
					64  - v11n exceptions&lt;br /&gt;
					128 - parsing of osisID and osisRef&lt;br /&gt;
					256 - internal stack&lt;br /&gt;
					512 - miscellaneous&lt;br /&gt;
				 This argument can be used more than once. (Or&lt;br /&gt;
				 the flags may be added together.)&lt;br /&gt;
&lt;br /&gt;
See http://www.crosswire.org/wiki/osis2mod for more details.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== Parameters and Options ===&lt;br /&gt;
'''&amp;amp;lt;output/path&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This a path to any existing directory. It is best for it to be empty.&lt;br /&gt;
&lt;br /&gt;
'''&amp;amp;lt;osisDoc&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This is a single, well-formed, valid OSIS document.&lt;br /&gt;
&lt;br /&gt;
If '''-''' is used instead of a file name, the document will be read from standard input. This allows for two constructs:&lt;br /&gt;
* Redirection&lt;br /&gt;
 osis2mod ./modules/texts/ztext/KJV - &amp;lt; kjv.xml&lt;br /&gt;
* Piping&lt;br /&gt;
 cat kjv.xml | osis2mod ./modules/texts/ztext/KJV -&lt;br /&gt;
&lt;br /&gt;
'''-a'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Osis2mod can create a Bible all at once or incrementally, depending on the presence of the -a flag. This&lt;br /&gt;
provides for two abilities,&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Assembling a Bible from book files:&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir /tmp/mymodule&lt;br /&gt;
osis2mod /tmp/mymodule  matt.xml&lt;br /&gt;
osis2mod /tmp/mymodule -a mark.xml&lt;br /&gt;
...&lt;br /&gt;
osis2mod /tmp/mymodule -a rev.xml&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
'''Note:''' The book files can be in any order. SWORD will order them correctly in the index.&lt;br /&gt;
&amp;lt;li&amp;gt;Adding corrections to a Bible:&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
osis2mod /tmp/mymodule -a fixes.xml&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
'''Note:''' When fixes are put into the module they are appended to the data file and do not actually replace the verses. The index file is adjusted to point to the new place in the data file.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''-z|-Z'''&amp;lt;br/&amp;gt;&lt;br /&gt;
A SWORD Bible can be compressed with Zip (-z) '''or''' LZSS (-Z). All of SWORD's Bible modules are compressed with Zip. This saves significant space over an uncompressed module. Uncompressed modules are useful for debugging.&lt;br /&gt;
&lt;br /&gt;
'''-b 2|3|4'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This setting is only useful for a compressed module. The choice as to whether to use Verse (2), Chapter (3) or Book (4, the default) level compression depends upon the amount of data in the block. A typical Bible is best compressed book by book. A commentary, chapter by chapter. If the commentary is very robust and the amount of text per verse is really huge, then verse compression might make sense.&lt;br /&gt;
&lt;br /&gt;
All of SWORD's compressed Bible modules are compressed by book. Basically, all of the verses in a block are compressed and appended to the data file. For this reason, the datafile cannot be uncompressed by anything other than the SWORD and JSword libraries.&lt;br /&gt;
&lt;br /&gt;
When creating the module by appending it is important to do so by whole compression block. That is, if blockType is Chapter, then the osisDoc needs to contain one or more whole chapters.&lt;br /&gt;
&lt;br /&gt;
'''-c cipherKey'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This is typically 16 characters in length, having no leading or trailing spaces, consisting of alternating sets of 4 alpha and 4 numeric characters, such as Aduf0274PjNq0328. The key is case-sensitive.&lt;br /&gt;
&lt;br /&gt;
'''-N'''&amp;lt;br/&amp;gt;&lt;br /&gt;
All OSIS modules should be UTF-8 and all that are UTF-8 are also to be NFC. The default is to automatically detect the presense of Latin-1 (either cp1252 or iso8859-1) and convert it to UTF-8 and to normalize UTF-8 to NFC. This flag will turn off this behavior and is useful for creating Latin-1 modules or for modules for which the source text is already UTF-8 and NFC. It is also advised for Biblical Hebrew modules for which the source text (with accents and cantillation points) is intentionally not normalized, as &amp;quot;Unicode normalization can easily break Biblical Hebrew&amp;quot;. Quoted from page 9 of the SBL Hebrew Font Manual.&lt;br /&gt;
&lt;br /&gt;
Note: this was added late Feb 2008 and requires [[DevTools:ICU|ICU]] support when compiling.&lt;br /&gt;
&lt;br /&gt;
'''-s 2|4'''&amp;lt;br/&amp;gt;&lt;br /&gt;
A value of 2, the default, restricts raw, uncompressed modules to 64K bytes per entry. A value of 4, breaks this barrier. This is needed for Bibles, having large introductory materials, and for commentaries with large entries. All compressed OSIS modules can handle large entries.&lt;br /&gt;
&lt;br /&gt;
Note: this was added late Apr 2009 and will be part of the SWORD 1.6.0 release (formerly known as 1.5.11).&lt;br /&gt;
&lt;br /&gt;
'''-v v11n'''&amp;lt;br/&amp;gt;&lt;br /&gt;
By default, osis2mod uses the KJV versification. The practical implication of this is that only books in the KJV canon are allowed and any text in an allowed book are retained. However, if the verse reference of a supported book falls outside of the versification it is appended to the prior verse in the canon. This flag allows for an [[Alternate Versification|alternate versification]].&lt;br /&gt;
&lt;br /&gt;
'''Note:''' This option was added in April 2009 as part of the SWORD 1.6.0 release.&lt;br /&gt;
&lt;br /&gt;
'''-d flags'''&amp;lt;br/&amp;gt;&lt;br /&gt;
The flag can be used more than once or the flags can be added together. For example,&lt;br /&gt;
 -d 2 -d 4&lt;br /&gt;
is the same as&lt;br /&gt;
 -d 6&lt;br /&gt;
&lt;br /&gt;
To do verbose debugging use:&lt;br /&gt;
 -d -1&lt;br /&gt;
&lt;br /&gt;
For the most part these flags are not intended for debugging modules, but rather for debugging problems in osis2mod.&lt;br /&gt;
&lt;br /&gt;
The -d 2 flag produces no output but puts milestones into the module where verses start and end. The form of the milestone is:&lt;br /&gt;
 &amp;amp;lt;milestone resp=&amp;quot;v&amp;quot; [attributes from verse] /&amp;gt;&lt;br /&gt;
The milestone will contain the osisID from the verse and also a valid sID or eID. The sID/eID indicates the start of end of the verse.&lt;br /&gt;
&lt;br /&gt;
Note: the -d 2 flag might change at any time, or may even be removed.&lt;br /&gt;
&lt;br /&gt;
==Messages==&lt;br /&gt;
Osis2mod has robust, mind-boggling messages. These are provided here in hopes that it will help problem diagnosis.&lt;br /&gt;
&lt;br /&gt;
===Exit Status===&lt;br /&gt;
When an error occurs that causes osis2mod to exit without processing the entire input file, a non-zero exit status is supplied to the caller. Here are the codes that osis2mod uses:&lt;br /&gt;
 const int EXIT_BAD_ARG     =   1; // Bad parameter given for program&lt;br /&gt;
 const int EXIT_NO_WRITE    =   2; // Could not open the module for writing&lt;br /&gt;
 const int EXIT_NO_CREATE   =   3; // Could not create the module&lt;br /&gt;
 const int EXIT_NO_READ     =   4; // Could not open the input file for reading.&lt;br /&gt;
 const int EXIT_BAD_NESTING =   5; // BSP or BCV nesting is bad or improper XML comment&lt;br /&gt;
&lt;br /&gt;
===Diagnostic Messages===&lt;br /&gt;
In the following, example values are given in '''[...]'''. The brackets do not actually appear in the message. Also, the messages are a bit prettier here than in reality.&lt;br /&gt;
 WARNING(UTF8):     '''[ osisID ]''': Should be converted to UTF-8 ('''[ text ]''')&lt;br /&gt;
The program will always check for text that is not UTF-8.&lt;br /&gt;
&lt;br /&gt;
 INFO(UTF8):        '''[ osisID ]''': Converting to UTF-8 ('''[ text before conversion ]''')&lt;br /&gt;
Text that is converted to UTF-8 is noted.&lt;br /&gt;
&lt;br /&gt;
 ERROR(UTF8):       '''[ osisID ]''': Converting to UTF-8 ('''[ text after first conversion ]''')&lt;br /&gt;
It is an error if after a conversion it still is not UTF-8.&lt;br /&gt;
&lt;br /&gt;
 WARNING(UTF8):     osis2mod is not compiled with support for ICU. Ignoring -n flag.&lt;br /&gt;
Normalization was requested, but since osis2mod was not compiled for it, it cannot honor the default request.&lt;br /&gt;
&lt;br /&gt;
 INFO(V11N):        '''[ osisID ]''' is not in the '''[ v11n ]''' versification.&lt;br /&gt;
Indicates that a verse is not in the versification.&lt;br /&gt;
&lt;br /&gt;
 INFO(V11N):        '''[ osisID ]''' is not in the '''[ v11n ]''' versification. Appending content to '''[ osisID ]'''&lt;br /&gt;
This like the other indicates a versification problem, but shows where the text will be found. Osis2mod preserves all module content for supported books.&lt;br /&gt;
&lt;br /&gt;
 WARNING(V11N): New book is '''[ name ]'''  and is not in '''[ v11n ]''' versification, ignoring&lt;br /&gt;
The name of the book was not recognized as belonging to the chosen versification, it and all of it's content is ignored.&lt;br /&gt;
&lt;br /&gt;
 INFO(WRITE):       Appending entry: '''[ osisID ]''': '''[ text so far ]'''&lt;br /&gt;
If osis2mod encounters text that needs to be appended to a verse that is already in the module. This could indicate that&lt;br /&gt;
* the reference is in the input twice. This typically indicates a problem.&lt;br /&gt;
* more text was found that needs to be added to the prior verse.&lt;br /&gt;
* osis2mod is being run in append mode to fix a verse in the module.&lt;br /&gt;
&lt;br /&gt;
 INFO(LINK):        Linking '''[ osisID ]''' to '''[ osisID ]'''&lt;br /&gt;
An osisID such as &amp;quot;Gen.1.1 Gen.1.2 Gen.1.3&amp;quot; was used and the latter are linked to the first.&lt;br /&gt;
&lt;br /&gt;
 ERROR(REF):        Invalid osisID/annotateRef: '''[ invalid attribute value ]'''&lt;br /&gt;
This indicates that the SWORD library was unable to parse the osisID or annotateRef.&lt;br /&gt;
&lt;br /&gt;
 FATAL(NESTING):    '''[ currentOsisID ]''': tag expected&lt;br /&gt;
This indicates that the specified verse is not balanced with regard to its tags. Building a raw text module, looking in the module for the verse and pairing begin/end tags will help find the problem. Typically, this indicates an end tag that did not have a matching begin tag and all tags before it were properly paired.&lt;br /&gt;
&lt;br /&gt;
 FATAL(NESTING):    '''[ currentOsisID ]''': Expected '''[ topToken.getName() ]''' found '''[ tokenName ]'''&lt;br /&gt;
This also indicates that the specified verse is not balanced with regard to its tags. Building a raw text module, looking in the module for the verse and pairing begin/end tags will help find the problem. It could be either a begin or an end tag problem.&lt;br /&gt;
&lt;br /&gt;
 WARNING(NESTING):  verse '''[ currentOsisID ]''' is not well formed:('''[ verseDepth ]''','''[ tagDepth ]''')&lt;br /&gt;
This indicates that the verse probably will not show properly in some front-ends in some circumstances. Typically, it shows the problem if the verse is shown in isolation.&lt;br /&gt;
&lt;br /&gt;
 ERROR(NESTING):    improper nesting '''[ currentOsisID ]''': matching (sID,eID) not found. Looking at ('''[ sID ]''','''[ eID ]''')&lt;br /&gt;
OSIS specifies that every sID has a matching eID. Osis2mod is checking that BSP elements are properly nested.&lt;br /&gt;
&lt;br /&gt;
 FATAL(COMMENTS): unknown commentstate on comment start: [ comment state ]&lt;br /&gt;
This indicates that the comment is not of the form &amp;amp;lt;!-- ... --&amp;amp;gt;.&lt;br /&gt;
&lt;br /&gt;
 FATAL(COMMENTS): unknown commentstate on comment end:  [ comment state ]&lt;br /&gt;
This indicates that the comment is not of the form &amp;amp;lt;!-- ... --&amp;amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Debug Messages===&lt;br /&gt;
The following are shown in the same form as the diagnostic messages above. They are given without comment.&lt;br /&gt;
&lt;br /&gt;
'''-d 1'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Output of what is being written to the module. The two osisIDs should always be the same.&lt;br /&gt;
 DEBUG(WRITE):      '''[ osisID ]''':'''[ osisID ]''': '''[ text so far ]'''&lt;br /&gt;
&lt;br /&gt;
'''-d 4'''&amp;lt;br/&amp;gt;&lt;br /&gt;
A stack is maintained to represent the Words of Christ on a per verse basis. This is internal diagnostic of that stack&lt;br /&gt;
 DEBUG(QUOTE):      '''[ currentOsisID ]''': quote top('''[ quote stack size ]''') '''[ token ]'''&lt;br /&gt;
 DEBUG(QUOTE):      '''[ currentOsisID ]''': quote pop('''[ quote stack size ]''') '''[ topToken ]''' -- '''[ token ]'''&lt;br /&gt;
 DEBUG(QUOTE):      '''[ currentOsisID ]''': ('''[ quote stack size ]''') '''[ topToken ]''' -- '''[ token ]'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''-d 8'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Identifies when book and chapter introductions are being determined.&lt;br /&gt;
 DEBUG(TITLE):      '''[ currentOsisID ]''': OOPS INTRO&lt;br /&gt;
         inChapterIntro = '''[ inChapterIntro ]'''&lt;br /&gt;
         inBookIntro    = '''[ inBookIntro ]'''&lt;br /&gt;
 DEBUG(TITLE):      '''[ currentOsisID ]''': Looking for book introduction&lt;br /&gt;
 DEBUG(TITLE):      '''[ currentOsisID ]''': Done looking for book introduction&lt;br /&gt;
 DEBUG(TITLE):      '''[ currentOsisID ]''': BOOK INTRO '''[ beading ]'''&lt;br /&gt;
 DEBUG(TITLE):      '''[ currentOsisID ]''': Looking for chapter introduction&lt;br /&gt;
 DEBUG(TITLE):      '''[ currentOsisID ]''': Done looking for chapter introduction&lt;br /&gt;
 DEBUG(TITLE):      '''[ currentOsisID ]''': CHAPTER INTRO '''[ heading ]'''&lt;br /&gt;
&lt;br /&gt;
'''-d 16'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Inter-verse material either goes with the prior &amp;quot;verse&amp;quot; or the next. This help diagnose problems related to that split.&lt;br /&gt;
 DEBUG(INTERVERSE): '''[ currentOsisID ]''': interverse start token '''[ token ]''':'''[ text ]'''&lt;br /&gt;
 DEBUG(INTERVERSE): '''[ currentOsisID ]''': interverse end tag: '''[ tokenName ]'''('''[ tagDepth ]''','''[ chapterDepth ]''','''[ bookDepth ]''')&lt;br /&gt;
 DEBUG(INTERVERSE): '''[ currentOsisID ]''': appending interverse end tag: '''[tokenName ]'''('''[ tagDepth ]''','''[ chapterDepth ]''','''[ bookDepth ]''')&lt;br /&gt;
&lt;br /&gt;
'''-d 32'''&amp;lt;br/&amp;gt;&lt;br /&gt;
The following messages relate to the transformations of containers to milestones.&lt;br /&gt;
 DEBUG(XFORM):      '''[ currentOsisID ]''': xform empty '''[ token ]'''&lt;br /&gt;
 DEBUG(XFORM):      '''[ currentOsisID ]''': xform push ('''[ bspTagStack.size() ]''') '''[ token ]''' (tagname='''[ tagName ]''')&lt;br /&gt;
 DEBUG(XFORM):      '''[ currentOsisID ]''': xform top('''[ bsp stack size ]''') '''[ topToken ]'''&lt;br /&gt;
 DEBUG(XFORM):      '''[ currentOsisID ]''': xform pop('''[ bsp stack size ]''') '''[ topToken ]'''&lt;br /&gt;
&lt;br /&gt;
'''-d 64'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Occasionally a verse reference is outside of the chosen versification. These messages help to understand difficulties that osis2mod has in storing extra-canonical material in the module.&lt;br /&gt;
 DEBUG(V11N):       '''[ currentOsisID ]''' normalizes to '''[ after ]'''&lt;br /&gt;
 DEBUG(V11N):       Chapter max:'''[ chapterMax ]''', Verse Max:'''[ verseMax ]'''&lt;br /&gt;
&lt;br /&gt;
'''-d 128'''&amp;lt;br/&amp;gt;&lt;br /&gt;
OSIS ids and references can be of a form that SWORD cannot parse. Osis2mod contains a routine that munges these into a form that SWORD can understand.&lt;br /&gt;
 DEBUG(REF):        Copy range marker: '''[ marker ]'''&lt;br /&gt;
 DEBUG(REF):        Found a work prefix '''[ workPrefix ]'''&lt;br /&gt;
 DEBUG(REF):        Copy osisID:'''[ osisID ]'''&lt;br /&gt;
 DEBUG(REF):        Found a grain suffix '''[ grain ]'''&lt;br /&gt;
 DEBUG(REF):        Found a range&lt;br /&gt;
 DEBUG(REF):        replacing space with ;. Remaining: '''[ text ]'''&lt;br /&gt;
 DEBUG(REF):        shortended keyVal to`'''[ text ]'''`&lt;br /&gt;
&lt;br /&gt;
'''-d 256'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Osis2mod contains two stacks to validate proper nesting of BSP and BCV, respectively. This is an internal representation of the BCV stacks. It provides additional information to understand the diagnostic nesting messages.&lt;br /&gt;
 DEBUG(STACK):      '''[ currentOsisID ]''': push ('''[ stack size]''') '''[ tokenName ]'''&lt;br /&gt;
 DEBUG(STACK):      '''[ currentOsisID ]''': pop('''[ tagDepth ]''') '''[ topToken.getName() ]'''&lt;br /&gt;
&lt;br /&gt;
'''-d 512'''&amp;lt;br/&amp;gt;&lt;br /&gt;
These are general debug messages.&lt;br /&gt;
 DEBUG(FOUND):        Found first div and pitching prior material: '''[ text ]'''&lt;br /&gt;
 DEBUG(FOUND):        New book is '''[ currentOsisID ]'''&lt;br /&gt;
 DEBUG(FOUND):        Current chapter is '''[ currentOsisID ]''' ('''[ osisID attribute value ]''')&lt;br /&gt;
 DEBUG(FOUND):        Entering verse&lt;br /&gt;
 DEBUG(FOUND):        New current verse is '''[ currentOsisID ]'''&lt;br /&gt;
 DEBUG(FOUND):        osisID/annotateRef is adjusted to: '''[ simpler osisID or osisRef ]'''&lt;br /&gt;
 DEBUG(COMMENTS): in comment&lt;br /&gt;
 DEBUG(COMMENTS): out of comment&lt;br /&gt;
&lt;br /&gt;
'''-d 512'''&amp;lt;br/&amp;gt;&lt;br /&gt;
The following gives the input arguments.&lt;br /&gt;
 DEBUG(ARGS):&lt;br /&gt;
         path:         '''[ path ]'''&lt;br /&gt;
         osisDoc:      '''[ osisDoc ]'''&lt;br /&gt;
         create:       '''[ append ]'''&lt;br /&gt;
         compressType: '''[ compType ]'''&lt;br /&gt;
         blockType:    '''[ iType ]'''&lt;br /&gt;
         cipherKey:    '''[ cipherKey ]'''&lt;br /&gt;
         normalize:    '''[ normalize ]'''&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Osis2mod testcases]]&lt;br /&gt;
* [[OSIS]] &amp;amp;ndash; a partial list of other OSIS related pages and external links.&lt;br /&gt;
* [[Mod2osis]]&lt;br /&gt;
* [[Mod2zmod]]&lt;br /&gt;
&lt;br /&gt;
[[Category:OSIS]]&lt;br /&gt;
[[Category:Utilities]]&lt;br /&gt;
[[Category:Versification]]&lt;/div&gt;</summary>
		<author><name>Dmsmith</name></author>	</entry>

	<entry>
		<id>https://wiki.crosswire.org/index.php?title=Osis2mod&amp;diff=14759</id>
		<title>Osis2mod</title>
		<link rel="alternate" type="text/html" href="https://wiki.crosswire.org/index.php?title=Osis2mod&amp;diff=14759"/>
				<updated>2016-02-06T17:28:13Z</updated>
		
		<summary type="html">&lt;p&gt;Dmsmith: /* History of Changes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Introduction==&lt;br /&gt;
osis2mod transforms an OSIS encoded [[OSIS Bibles|Bible]] or [[OSIS_Commentaries|commentary]] into a SWORD module.&lt;br /&gt;
&lt;br /&gt;
== Current status ==&lt;br /&gt;
&lt;br /&gt;
Software bugs relating to osis2mod should be reported in http://www.crosswire.org/bugs/browse/API&lt;br /&gt;
&lt;br /&gt;
:''Please describe current status of osis2mod, including a list of any outstanding issues or unsolved difficulties''.&lt;br /&gt;
&lt;br /&gt;
==History of Changes==&lt;br /&gt;
The following outlines in reverse chronological order the major changes to osis2mod. When several changes were made over the span of a few days, they are lumped into the most recent date. Bug fixes are not mentioned.&lt;br /&gt;
&lt;br /&gt;
{|width=&amp;quot;100%&amp;quot; border=&amp;quot;0&amp;quot; class=&amp;quot;sortable&amp;quot;&lt;br /&gt;
!width=&amp;quot;10%&amp;quot;|Date&lt;br /&gt;
!Revision&lt;br /&gt;
!Feature&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2016-02-06'''&lt;br /&gt;
|&lt;br /&gt;
r3401&lt;br /&gt;
|&lt;br /&gt;
* Changed the handling of &amp;amp;lt;div type=&amp;quot;colophon&amp;quot;&amp;amp;gt; to not convert it to milestones.&lt;br /&gt;
* Added reporting of unhandled entities. (An OSIS document should not have entities other than the canonical 4 entities.)&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2014-01-21'''&lt;br /&gt;
|&lt;br /&gt;
r3011&lt;br /&gt;
|&lt;br /&gt;
* Changed the transformation of &amp;amp;lt;p&amp;amp;gt; from &amp;amp;lt;div type=&amp;quot;paragraph&amp;quot; sID=&amp;quot;xxx&amp;quot;/&amp;amp;gt; to &amp;amp;lt;div type=&amp;quot;x-p&amp;quot; sID=&amp;quot;xxx&amp;quot;/&amp;amp;gt; This is a semantic change that brings osis2mod into alignment with the OSIS specification.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2012-03-24'''&lt;br /&gt;
|&lt;br /&gt;
r2693&lt;br /&gt;
|&lt;br /&gt;
* Allow for XML comments to be in the document, but stripped from the module. This allows for large parts of a document to be commented out, which is especially important during development.&lt;br /&gt;
* Allow for &amp;amp;lt;p&amp;amp;gt; elements to be in the &amp;amp;lt;header&amp;amp;gt; element but ignored. Previously, the p in a header, having been transformed to a div, was taken to be the start of the module's content.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2011-11-12'''&lt;br /&gt;
|&lt;br /&gt;
r2671&lt;br /&gt;
|&lt;br /&gt;
* Restored pre-verse handling. Titles no longer need to be specially specified in OSIS.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2010-06-04'''&lt;br /&gt;
|&lt;br /&gt;
r2519&lt;br /&gt;
|&lt;br /&gt;
* Removed pre-verse handling. Titles now have to be specially specified in OSIS. In OSIS there should also be no tags between verse elements except title and those marking book and chapter.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-06-06'''&lt;br /&gt;
|&lt;br /&gt;
r2435&lt;br /&gt;
|&lt;br /&gt;
* Improved handling of chapter introductions.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-05-30'''&lt;br /&gt;
|&lt;br /&gt;
r2421&lt;br /&gt;
|&lt;br /&gt;
* '''-d flags''' now always available.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-05-14'''&lt;br /&gt;
|&lt;br /&gt;
r2413&lt;br /&gt;
|&lt;br /&gt;
*Added '''-d flags''' as a compile time option.&lt;br /&gt;
*Improved exit codes and documented them here.&lt;br /&gt;
*Labeled all diagnostic and debug output.&lt;br /&gt;
*Can now read from standard input.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-04-28'''&lt;br /&gt;
|&lt;br /&gt;
r2358&lt;br /&gt;
|&lt;br /&gt;
*Predictable handling of inter-verse material.&lt;br /&gt;
*All tags, except verse, included in the module.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2009-04-26'''&lt;br /&gt;
|&lt;br /&gt;
r2345&lt;br /&gt;
|&lt;br /&gt;
*'''-v v11n''' added to support [[Alternate Versification]].&lt;br /&gt;
*'''-s &amp;lt;2|4&amp;gt;''' added to support uncompressed commentaries with large entries (exceeding 64K bytes).&lt;br /&gt;
*Replace paragraph hack with milestoned paragraphs: &amp;amp;lt;div type=&amp;quot;paragraph&amp;quot; sID=&amp;quot;xxx&amp;quot;/&amp;gt; ... &amp;amp;lt;div type=&amp;quot;paragraph&amp;quot; eID=&amp;quot;xxx&amp;quot;/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2008-09-11'''&lt;br /&gt;
|&lt;br /&gt;
r2196&lt;br /&gt;
|&lt;br /&gt;
*Words of Christ (WoC) can be marked up naturally. osis2mod does the right thing.&lt;br /&gt;
*Container elements converted to their milestoned form.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2008-02-29'''&lt;br /&gt;
|&lt;br /&gt;
r2141&lt;br /&gt;
|&lt;br /&gt;
*Now supports commentaries in addition to Bibles.&lt;br /&gt;
*Added utf-8 detection and automatic conversion from cp1252 and iso8859-1 to utf-8, making that the default behavior&lt;br /&gt;
*Added NFC [[Encoding#Normalization|normalization]], making it the default&lt;br /&gt;
*Now handles the full definition of an osisID and an osisRef, including workID and grain.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2007-09-27'''&lt;br /&gt;
|&lt;br /&gt;
r2090&lt;br /&gt;
|&lt;br /&gt;
*Changed command-line parsing from positional parameters to flags.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2007-05-13'''&lt;br /&gt;
|&lt;br /&gt;
r2050&lt;br /&gt;
|&lt;br /&gt;
*All whitespace tokens are converted into blanks and adjacent spaces are merged into one. Leading whitespace on each verse is still removed.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2007-05-01'''&lt;br /&gt;
|&lt;br /&gt;
r2044&lt;br /&gt;
|&lt;br /&gt;
*Added version identification to the running of osis2mod.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2007-04-24'''&lt;br /&gt;
|&lt;br /&gt;
r2038&lt;br /&gt;
|&lt;br /&gt;
*Added ignoring of unknown books&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2006-07-15'''&lt;br /&gt;
|&lt;br /&gt;
r1948&lt;br /&gt;
|&lt;br /&gt;
*Optimized writing to module.&lt;br /&gt;
*Added simple transformations of &amp;amp;lt;q&amp;gt; and &amp;amp;lt;p&amp;gt; into milestones.&lt;br /&gt;
*Now allow empty attributes, such as marker=&amp;quot;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2006-07-04'''&lt;br /&gt;
|&lt;br /&gt;
r1914&lt;br /&gt;
|&lt;br /&gt;
*Updated to support OSIS 2.1&lt;br /&gt;
*Added validation that verses in isolation are well formed&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2005-12-22'''&lt;br /&gt;
|&lt;br /&gt;
r1876&lt;br /&gt;
|&lt;br /&gt;
*Added command-line options for compress and encipher.&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2005-05-02'''&lt;br /&gt;
|&lt;br /&gt;
r1790&lt;br /&gt;
|&lt;br /&gt;
*Removed &amp;amp;lt;verse&amp;gt; and &amp;amp;lt;/verse&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2005-02-03'''&lt;br /&gt;
|&lt;br /&gt;
r1707&lt;br /&gt;
|&lt;br /&gt;
*Reverted pre-verse title handling&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2004-06-12'''&lt;br /&gt;
|&lt;br /&gt;
r1620&lt;br /&gt;
|&lt;br /&gt;
*Removed pre-verse title handling&lt;br /&gt;
*Added &amp;amp;lt;verse&amp;gt; and &amp;amp;lt;/verse&amp;gt;&lt;br /&gt;
*Added support for milestoned version of some OSIS elements&lt;br /&gt;
*Added support for verses that are not in the KJV versification by appending them to the closest prior verse.&lt;br /&gt;
*Added support for osisIDs with sub-verse references (i.e. osisID grains)&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2004-05-19'''&lt;br /&gt;
|&lt;br /&gt;
r1597&lt;br /&gt;
|&lt;br /&gt;
*Added support for linked verses&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2003-11-21'''&lt;br /&gt;
|&lt;br /&gt;
r1407&lt;br /&gt;
|&lt;br /&gt;
*Added recognition for &amp;lt;chapter&amp;gt; element&lt;br /&gt;
&lt;br /&gt;
|-valign=&amp;quot;top&amp;quot; &lt;br /&gt;
|&lt;br /&gt;
'''2003-05-26'''&lt;br /&gt;
|&lt;br /&gt;
r1183&lt;br /&gt;
|&lt;br /&gt;
*Initial version&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Transformations==&lt;br /&gt;
Osis2mod performs the following transformations&amp;lt;ref&amp;gt;These transformations are all performed &amp;quot;under the hood&amp;quot; as it were. Tweaking OSIS XML files to fix problems with pre-verse titles, etc., was never intended to be done by module developers as part of the preprocessing before using osis2mod.&amp;lt;/ref&amp;gt;:&lt;br /&gt;
* '''Whitespace''' -- Allows for human-readable OSIS files.&lt;br /&gt;
**Leading whitespace on books, chapters and verses is removed&lt;br /&gt;
**Whitespace is normalized into blanks&lt;br /&gt;
**Multiple adjacent whitespace is reduced to a single space&lt;br /&gt;
* '''Unicode handling''' - All modules should be UTF-8, NFC.&lt;br /&gt;
**Latin-1 (cp1252 and iso8859-1) are converted into UTF-8&lt;br /&gt;
**UTF-8 is normalized into NFC, unless specified otherwise.&lt;br /&gt;
* '''Milestone conversion''' - necessary for frontends to show a verse at a time.&amp;lt;br/&amp;gt;(note: genX is unique for an sID/eID pair, where X is a number.)&lt;br /&gt;
** &amp;amp;lt;q ...&amp;gt;...&amp;amp;lt;/q&amp;gt; is converted into &amp;amp;lt;q sID=&amp;quot;genX&amp;quot; .../&amp;gt;...&amp;amp;lt;q eID=&amp;quot;genX&amp;quot; .../&amp;gt;. Note: Quotes with who=&amp;quot;Jesus&amp;quot; are not transformed at this time.&lt;br /&gt;
** &amp;amp;lt;p ...&amp;gt;...&amp;amp;lt;/p&amp;gt; becomes &amp;amp;lt;div type=&amp;quot;paragraph&amp;quot; sID=&amp;quot;genX&amp;quot; .../&amp;gt;... &amp;amp;lt;div type=&amp;quot;paragraph&amp;quot; eID=&amp;quot;genX&amp;quot; ...&amp;gt;.&lt;br /&gt;
** &amp;amp;lt;chapter ...&amp;gt;...&amp;amp;lt;/chapter&amp;gt; becomes &amp;amp;lt;chapter sID=&amp;quot;genX&amp;quot; .../&amp;gt;...&amp;amp;lt;chapter eID=&amp;quot;genX&amp;quot; .../&amp;gt;&lt;br /&gt;
** &amp;amp;lt;closer ...&amp;gt;...&amp;amp;lt;/closer&amp;gt; becomes &amp;amp;lt;closer sID=&amp;quot;genX&amp;quot; .../&amp;gt;...&amp;amp;lt;closer eID=&amp;quot;genX&amp;quot; .../&amp;gt;&lt;br /&gt;
** &amp;amp;lt;div ...&amp;gt;...&amp;amp;lt;/div&amp;gt; becomes &amp;amp;lt;div sID=&amp;quot;genX&amp;quot; .../&amp;gt;...&amp;amp;lt;div eID=&amp;quot;genX&amp;quot; .../&amp;gt;&lt;br /&gt;
** &amp;amp;lt;l ...&amp;gt;...&amp;amp;lt;/l&amp;gt; becomes &amp;amp;lt;l sID=&amp;quot;genX&amp;quot; .../&amp;gt;...&amp;amp;lt;l eID=&amp;quot;genX&amp;quot; .../&amp;gt;&lt;br /&gt;
** &amp;amp;lt;lg ...&amp;gt;...&amp;amp;lt;/lg&amp;gt; becomes &amp;amp;lt;lg sID=&amp;quot;genX&amp;quot; .../&amp;gt;...&amp;amp;lt;lg eID=&amp;quot;genX&amp;quot; .../&amp;gt;&lt;br /&gt;
** &amp;amp;lt;salute ...&amp;gt;...&amp;amp;lt;/salute&amp;gt; becomes &amp;amp;lt;salute sID=&amp;quot;genX&amp;quot; .../&amp;gt;...&amp;amp;lt;salute eID=&amp;quot;genX&amp;quot; .../&amp;gt;&lt;br /&gt;
** &amp;amp;lt;signed ...&amp;gt;...&amp;amp;lt;/signed&amp;gt; becomes &amp;amp;lt;signed sID=&amp;quot;genX&amp;quot; .../&amp;gt;...&amp;amp;lt;signed eID=&amp;quot;genX&amp;quot; .../&amp;gt;&lt;br /&gt;
** &amp;amp;lt;speech ...&amp;gt;...&amp;amp;lt;/speech&amp;gt; becomes &amp;amp;lt;speech sID=&amp;quot;genX&amp;quot; .../&amp;gt;...&amp;amp;lt;speech eID=&amp;quot;genX&amp;quot; .../&amp;gt;&lt;br /&gt;
** &amp;amp;lt;verse ...&amp;gt;...&amp;amp;lt;/verse&amp;gt; becomes (when using -d 2 for debugging.) &amp;amp;lt;milestone resp=&amp;quot;v&amp;quot; sID=&amp;quot;genX&amp;quot; ... /&amp;gt;...&amp;amp;lt;milestone resp=&amp;quot;v&amp;quot; eID=&amp;quot;genX&amp;quot; ... /&amp;gt;&lt;br /&gt;
* '''Words of Christ''' - necessary for front-ends to appropriately highlight the WOC, a verse at a time.&lt;br /&gt;
** &amp;amp;lt;q sID=&amp;quot;XXX&amp;quot; who=&amp;quot;Jesus&amp;quot; .../&amp;gt;...&amp;amp;lt;eID=&amp;quot;XXX&amp;quot; who=&amp;quot;Jesus&amp;quot; .../&amp;gt; becomes &amp;amp;lt;q who=&amp;quot;Jesus&amp;quot; marker=&amp;quot;&amp;quot;&amp;gt;&amp;amp;lt;q sID=&amp;quot;XXX&amp;quot; .../&amp;gt;...&amp;amp;lt;q eID=&amp;quot;XXX&amp;quot; .../&amp;gt;&amp;amp;lt;/q&amp;gt;&lt;br /&gt;
** &amp;amp;lt;q who=&amp;quot;Jesus&amp;quot; ...&amp;gt;...&amp;amp;lt;/q&amp;gt; becomes &amp;amp;lt;q who=&amp;quot;Jesus&amp;quot; marker=&amp;quot;&amp;quot;&amp;gt;&amp;amp;lt;q sID=&amp;quot;genX&amp;quot; .../&amp;gt;...&amp;amp;lt;q eID=&amp;quot;genX&amp;quot; .../&amp;gt;&amp;amp;lt;/q&amp;gt;&lt;br /&gt;
** Within the following construct, &amp;amp;lt;q who=&amp;quot;Jesus&amp;quot; marker=&amp;quot;&amp;quot;&amp;gt;...&amp;lt;/q&amp;gt; will surround verse text.&lt;br /&gt;
* '''Pre-Verse Titles''' (obsolete with SVN revision 2358 for the SWORD 1.6.0 release and replaced with '''InterVerse Content''')&lt;br /&gt;
** Titles immediately preceeding a verse are converted into &amp;amp;lt;title type=&amp;quot;section&amp;quot; subType=&amp;quot;x-preverse&amp;gt;...&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
** Interverse tags not in titles are appended to prior verse.&lt;br /&gt;
* '''InterVerse Content''' (introduced with SVN revision 2358 for the SWORD 1.6.0 release)&lt;br /&gt;
** InterVerse Content refers to all content not contained by the verse element.&amp;lt;ref&amp;gt;For OSIS files derived from USFM files, the implication of this requirement is the following rule:&amp;lt;BR&amp;gt;Do not place a title (or similar element) between a matching pair of verse milestones&lt;br /&gt;
except where the translation places the title somewhere within the verse text in the USFM file.&amp;lt;/ref&amp;gt;&lt;br /&gt;
** Such content is divided between the prior and the current verse.&lt;br /&gt;
** Content appended to the prior verse is not marked in any special way.&lt;br /&gt;
** Content prepended to the current verse is marked with &amp;amp;lt;div sID=&amp;quot;pvX&amp;quot; type=&amp;quot;x-milestone&amp;quot; subType=&amp;quot;x-preverse&amp;quot;/&amp;gt;...&amp;amp;lt;div eID=&amp;quot;pvX&amp;quot; type=&amp;quot;x-milestone&amp;quot; subType=&amp;quot;x-preverse&amp;quot;/&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Handling of Introductions, Titles and Inter-Verse Material==&lt;br /&gt;
SWORD for module, testament, book and chapter introductory material. Those introductions can have appropriate titles as well. &lt;br /&gt;
In SWORD 1.6.0 the handling of this material has changed.&lt;br /&gt;
&lt;br /&gt;
'''Note:'''&lt;br /&gt;
# In the following, the effects of the above transformations are not shown. The tagging of the pre-verse material is also not shown.&lt;br /&gt;
&lt;br /&gt;
===Module and Testament Introductions===&lt;br /&gt;
&lt;br /&gt;
At this time, osis2mod does not fully support module and testament introductions. A module introduction should be place into testament 0, book 0, chapter 0, verse 0. A testament introduction should be placed into testament 1 or 2, book 0, chapter 0, verse 0. Currently, these are placed into Genesis 0:0 or Matthew 0:0.&lt;br /&gt;
&lt;br /&gt;
===Book Introductions and Titles===&lt;br /&gt;
Book introductions and titles are straight forward. It includes the start of the book and everything following it up to, but not including the start of the chapter. See [[OSIS Bibles]] for best practices in marking up titles and introductions.&lt;br /&gt;
&lt;br /&gt;
For example:&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;book&amp;quot; ...&amp;gt;&lt;br /&gt;
 ... introductory material ...&lt;br /&gt;
 &amp;amp;lt;chapter&amp;quot;...&amp;gt;&lt;br /&gt;
will put the following into the book introduction:&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;book&amp;quot; ...&amp;gt;&lt;br /&gt;
 ... introductory material ...&lt;br /&gt;
&lt;br /&gt;
===Chapter Introductions===&lt;br /&gt;
Chapter introductions and titles are a bit problematic. Between the start of a chapter and its first verse, we could have a chapter title, a chapter introduction and/or a start of a section of verses or a titled verse. Osis2mod now handles this in a predictable fashion. From the start of the chapter up to and not including a section div or a title that has a type that is not ''main'', ''chapter'' or ''sub'', the content is chapter introduction. After that, it is part of the verse.&lt;br /&gt;
&lt;br /&gt;
Specifically, the following list gives the possible first elements following the chapter introduction.:&lt;br /&gt;
*&amp;amp;lt;div type=&amp;quot;section&amp;quot; ...&amp;gt;&lt;br /&gt;
*&amp;amp;lt;title type=&amp;quot;yyy&amp;quot; ...&amp;gt; where yyy is not ''main'', ''chapter'' or ''sub''.&lt;br /&gt;
&lt;br /&gt;
For example,&lt;br /&gt;
 &amp;amp;lt;chapter ...&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;Chapter Title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title type=&amp;quot;sub&amp;quot;&amp;gt;Chapter Subtitle&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;introduction&amp;quot;&amp;gt;... intro ...&amp;amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;section&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;A section title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;verse ...&amp;gt;...verse content...&amp;amp;lt;/verse&amp;gt;&lt;br /&gt;
will put the following into the chapter introduction:&lt;br /&gt;
 &amp;amp;lt;chapter ...&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;Chapter Title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title type=&amp;quot;sub&amp;quot;&amp;gt;Chapter Subtitle&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;introduction&amp;quot;&amp;gt;... intro ...&amp;amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
will put the following into verse 1 of that chapter&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;section&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;A section title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;verse ...&amp;gt;...verse content...&amp;amp;lt;/verse&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Between Verses===&lt;br /&gt;
Between verses we may have closing tags to finish off what was started earlier, structural opening tags (e.g. line groups, divisions, paragraphs, ...), titles and/or introductory material.&lt;br /&gt;
&lt;br /&gt;
Upon finding the close of a verse, osis2mod will append all adjacent closing tags to it. Once it finds a start tag, it will attach that to the following verse.&lt;br /&gt;
&lt;br /&gt;
For example, suppose the following is between &amp;amp;lt;/verse&amp;gt; and &amp;amp;lt;verse ...&amp;gt;:&lt;br /&gt;
 &amp;amp;lt;/lg&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;section&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;Section title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;lg&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
then it will append the following to the prior verse:&lt;br /&gt;
 &amp;amp;lt;/lg&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and will prepend the following to the current verse:&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;section&amp;quot;&amp;gt;&lt;br /&gt;
 &amp;amp;lt;title&amp;gt;Section title&amp;amp;lt;/title&amp;gt;&lt;br /&gt;
 &amp;amp;lt;p&amp;gt;&lt;br /&gt;
 &amp;amp;lt;lg&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Last Verse===&lt;br /&gt;
The material following the last verse of a chapter is appended to that verse. You might find:&lt;br /&gt;
 ... verse content ...&lt;br /&gt;
 &amp;amp;lt;/chapter&amp;gt;&lt;br /&gt;
 &amp;amp;lt;div type=&amp;quot;colophon&amp;quot;&amp;gt;... colophon text ...&amp;amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/div&amp;gt;&lt;br /&gt;
 &amp;amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Exclusions==&lt;br /&gt;
Only content starting the first &amp;amp;lt;div&amp;gt; to the last &amp;amp;lt;/div&amp;gt; is retained. All other is excluded. From a practical perspective, this excludes the OSIS header information.&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
It is always preferable to use the most recent version of osis2mod and compiling it from SVN is best. &lt;br /&gt;
&lt;br /&gt;
'''Note:'''&lt;br /&gt;
# After the SWORD 1.5.9 release, osis2mod was changed to take flags rather than positional arguments.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
You are running osis2mod: $Rev: 2562 $&lt;br /&gt;
OSIS Bible/commentary module creation tool for The SWORD Project&lt;br /&gt;
&lt;br /&gt;
usage: utils\osis2mod &amp;lt;output/path&amp;gt; &amp;lt;osisDoc&amp;gt; [OPTIONS]&lt;br /&gt;
  &amp;lt;output/path&amp;gt;		 an existing folder that the module will be written&lt;br /&gt;
  &amp;lt;osisDoc&amp;gt;		 path to the validated OSIS document, or '-' to&lt;br /&gt;
				 read from standard input&lt;br /&gt;
  -a			 augment module if exists (default is to create new)&lt;br /&gt;
  -z			 use ZIP compression (default no compression)&lt;br /&gt;
  -Z			 use LZSS compression (default no compression)&lt;br /&gt;
  -b &amp;lt;2|3|4&amp;gt;		 compression block size (default 4):&lt;br /&gt;
				 2 - verse; 3 - chapter; 4 - book&lt;br /&gt;
  -c &amp;lt;cipher_key&amp;gt;	 encipher module using supplied key&lt;br /&gt;
				 (default no enciphering)&lt;br /&gt;
  -N			 do not convert UTF-8 or normalize UTF-8 to NFC&lt;br /&gt;
				 (default is to convert to UTF-8, if needed,&lt;br /&gt;
				  and then normalize to NFC)&lt;br /&gt;
				 Note: UTF-8 texts should be normalized to NFC.&lt;br /&gt;
  -s &amp;lt;2|4&amp;gt;		 bytes used to store entry size (default is 2).&lt;br /&gt;
				 Note: useful for commentaries with very large&lt;br /&gt;
				 entries in uncompressed modules&lt;br /&gt;
				 (2 bytes to store size equal 65535 characters)&lt;br /&gt;
  -v &amp;lt;v11n&amp;gt;		 specify a versification scheme to use (default is KJV)&lt;br /&gt;
				 Note: The following are valid values for v11n:&lt;br /&gt;
					Catholic&lt;br /&gt;
					Catholic2&lt;br /&gt;
					German&lt;br /&gt;
					KJV&lt;br /&gt;
					KJVA&lt;br /&gt;
					Leningrad&lt;br /&gt;
					Luther&lt;br /&gt;
					MT&lt;br /&gt;
					NRSV&lt;br /&gt;
					NRSVA&lt;br /&gt;
					Synodal&lt;br /&gt;
					SynodalP&lt;br /&gt;
					Vulg&lt;br /&gt;
  -d &amp;lt;flags&amp;gt;		 turn on debugging (default is 0)&lt;br /&gt;
				 Note: This flag may change in the future.&lt;br /&gt;
				 Flags: The following are valid values:&lt;br /&gt;
					0   - no debugging&lt;br /&gt;
					1   - writes to module, very verbose&lt;br /&gt;
					2   - verse start and end&lt;br /&gt;
					4   - quotes, esp. Words of Christ&lt;br /&gt;
					8   - titles&lt;br /&gt;
					16  - inter-verse material&lt;br /&gt;
					32  - BSP to BCV transformations&lt;br /&gt;
					64  - v11n exceptions&lt;br /&gt;
					128 - parsing of osisID and osisRef&lt;br /&gt;
					256 - internal stack&lt;br /&gt;
					512 - miscellaneous&lt;br /&gt;
				 This argument can be used more than once. (Or&lt;br /&gt;
				 the flags may be added together.)&lt;br /&gt;
&lt;br /&gt;
See http://www.crosswire.org/wiki/osis2mod for more details.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
=== Parameters and Options ===&lt;br /&gt;
'''&amp;amp;lt;output/path&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This a path to any existing directory. It is best for it to be empty.&lt;br /&gt;
&lt;br /&gt;
'''&amp;amp;lt;osisDoc&amp;amp;gt;'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This is a single, well-formed, valid OSIS document.&lt;br /&gt;
&lt;br /&gt;
If '''-''' is used instead of a file name, the document will be read from standard input. This allows for two constructs:&lt;br /&gt;
* Redirection&lt;br /&gt;
 osis2mod ./modules/texts/ztext/KJV - &amp;lt; kjv.xml&lt;br /&gt;
* Piping&lt;br /&gt;
 cat kjv.xml | osis2mod ./modules/texts/ztext/KJV -&lt;br /&gt;
&lt;br /&gt;
'''-a'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Osis2mod can create a Bible all at once or incrementally, depending on the presence of the -a flag. This&lt;br /&gt;
provides for two abilities,&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;Assembling a Bible from book files:&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir /tmp/mymodule&lt;br /&gt;
osis2mod /tmp/mymodule  matt.xml&lt;br /&gt;
osis2mod /tmp/mymodule -a mark.xml&lt;br /&gt;
...&lt;br /&gt;
osis2mod /tmp/mymodule -a rev.xml&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
'''Note:''' The book files can be in any order. SWORD will order them correctly in the index.&lt;br /&gt;
&amp;lt;li&amp;gt;Adding corrections to a Bible:&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
osis2mod /tmp/mymodule -a fixes.xml&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
'''Note:''' When fixes are put into the module they are appended to the data file and do not actually replace the verses. The index file is adjusted to point to the new place in the data file.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''-z|-Z'''&amp;lt;br/&amp;gt;&lt;br /&gt;
A SWORD Bible can be compressed with Zip (-z) '''or''' LZSS (-Z). All of SWORD's Bible modules are compressed with Zip. This saves significant space over an uncompressed module. Uncompressed modules are useful for debugging.&lt;br /&gt;
&lt;br /&gt;
'''-b 2|3|4'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This setting is only useful for a compressed module. The choice as to whether to use Verse (2), Chapter (3) or Book (4, the default) level compression depends upon the amount of data in the block. A typical Bible is best compressed book by book. A commentary, chapter by chapter. If the commentary is very robust and the amount of text per verse is really huge, then verse compression might make sense.&lt;br /&gt;
&lt;br /&gt;
All of SWORD's compressed Bible modules are compressed by book. Basically, all of the verses in a block are compressed and appended to the data file. For this reason, the datafile cannot be uncompressed by anything other than the SWORD and JSword libraries.&lt;br /&gt;
&lt;br /&gt;
When creating the module by appending it is important to do so by whole compression block. That is, if blockType is Chapter, then the osisDoc needs to contain one or more whole chapters.&lt;br /&gt;
&lt;br /&gt;
'''-c cipherKey'''&amp;lt;br/&amp;gt;&lt;br /&gt;
This is typically 16 characters in length, having no leading or trailing spaces, consisting of alternating sets of 4 alpha and 4 numeric characters, such as Aduf0274PjNq0328. The key is case-sensitive.&lt;br /&gt;
&lt;br /&gt;
'''-N'''&amp;lt;br/&amp;gt;&lt;br /&gt;
All OSIS modules should be UTF-8 and all that are UTF-8 are also to be NFC. The default is to automatically detect the presense of Latin-1 (either cp1252 or iso8859-1) and convert it to UTF-8 and to normalize UTF-8 to NFC. This flag will turn off this behavior and is useful for creating Latin-1 modules or for modules for which the source text is already UTF-8 and NFC. It is also advised for Biblical Hebrew modules for which the source text (with accents and cantillation points) is intentionally not normalized, as &amp;quot;Unicode normalization can easily break Biblical Hebrew&amp;quot;. Quoted from page 9 of the SBL Hebrew Font Manual.&lt;br /&gt;
&lt;br /&gt;
Note: this was added late Feb 2008 and requires [[DevTools:ICU|ICU]] support when compiling.&lt;br /&gt;
&lt;br /&gt;
'''-s 2|4'''&amp;lt;br/&amp;gt;&lt;br /&gt;
A value of 2, the default, restricts raw, uncompressed modules to 64K bytes per entry. A value of 4, breaks this barrier. This is needed for Bibles, having large introductory materials, and for commentaries with large entries. All compressed OSIS modules can handle large entries.&lt;br /&gt;
&lt;br /&gt;
Note: this was added late Apr 2009 and will be part of the SWORD 1.6.0 release (formerly known as 1.5.11).&lt;br /&gt;
&lt;br /&gt;
'''-v v11n'''&amp;lt;br/&amp;gt;&lt;br /&gt;
By default, osis2mod uses the KJV versification. The practical implication of this is that only books in the KJV canon are allowed and any text in an allowed book are retained. However, if the verse reference of a supported book falls outside of the versification it is appended to the prior verse in the canon. This flag allows for an [[Alternate Versification|alternate versification]].&lt;br /&gt;
&lt;br /&gt;
'''Note:''' This option was added in April 2009 as part of the SWORD 1.6.0 release.&lt;br /&gt;
&lt;br /&gt;
'''-d flags'''&amp;lt;br/&amp;gt;&lt;br /&gt;
The flag can be used more than once or the flags can be added together. For example,&lt;br /&gt;
 -d 2 -d 4&lt;br /&gt;
is the same as&lt;br /&gt;
 -d 6&lt;br /&gt;
&lt;br /&gt;
To do verbose debugging use:&lt;br /&gt;
 -d -1&lt;br /&gt;
&lt;br /&gt;
For the most part these flags are not intended for debugging modules, but rather for debugging problems in osis2mod.&lt;br /&gt;
&lt;br /&gt;
The -d 2 flag produces no output but puts milestones into the module where verses start and end. The form of the milestone is:&lt;br /&gt;
 &amp;amp;lt;milestone resp=&amp;quot;v&amp;quot; [attributes from verse] /&amp;gt;&lt;br /&gt;
The milestone will contain the osisID from the verse and also a valid sID or eID. The sID/eID indicates the start of end of the verse.&lt;br /&gt;
&lt;br /&gt;
Note: the -d 2 flag might change at any time, or may even be removed.&lt;br /&gt;
&lt;br /&gt;
==Messages==&lt;br /&gt;
Osis2mod has robust, mind-boggling messages. These are provided here in hopes that it will help problem diagnosis.&lt;br /&gt;
&lt;br /&gt;
===Exit Status===&lt;br /&gt;
When an error occurs that causes osis2mod to exit without processing the entire input file, a non-zero exit status is supplied to the caller. Here are the codes that osis2mod uses:&lt;br /&gt;
 const int EXIT_BAD_ARG     =   1; // Bad parameter given for program&lt;br /&gt;
 const int EXIT_NO_WRITE    =   2; // Could not open the module for writing&lt;br /&gt;
 const int EXIT_NO_CREATE   =   3; // Could not create the module&lt;br /&gt;
 const int EXIT_NO_READ     =   4; // Could not open the input file for reading.&lt;br /&gt;
 const int EXIT_BAD_NESTING =   5; // BSP or BCV nesting is bad or improper XML comment&lt;br /&gt;
&lt;br /&gt;
===Diagnostic Messages===&lt;br /&gt;
In the following, example values are given in '''[...]'''. The brackets do not actually appear in the message. Also, the messages are a bit prettier here than in reality.&lt;br /&gt;
 WARNING(UTF8):     '''[ osisID ]''': Should be converted to UTF-8 ('''[ text ]''')&lt;br /&gt;
The program will always check for text that is not UTF-8.&lt;br /&gt;
&lt;br /&gt;
 INFO(UTF8):        '''[ osisID ]''': Converting to UTF-8 ('''[ text before conversion ]''')&lt;br /&gt;
Text that is converted to UTF-8 is noted.&lt;br /&gt;
&lt;br /&gt;
 ERROR(UTF8):       '''[ osisID ]''': Converting to UTF-8 ('''[ text after first conversion ]''')&lt;br /&gt;
It is an error if after a conversion it still is not UTF-8.&lt;br /&gt;
&lt;br /&gt;
 WARNING(UTF8):     osis2mod is not compiled with support for ICU. Ignoring -n flag.&lt;br /&gt;
Normalization was requested, but since osis2mod was not compiled for it, it cannot honor the default request.&lt;br /&gt;
&lt;br /&gt;
 INFO(V11N):        '''[ osisID ]''' is not in the '''[ v11n ]''' versification.&lt;br /&gt;
Indicates that a verse is not in the versification.&lt;br /&gt;
&lt;br /&gt;
 INFO(V11N):        '''[ osisID ]''' is not in the '''[ v11n ]''' versification. Appending content to '''[ osisID ]'''&lt;br /&gt;
This like the other indicates a versification problem, but shows where the text will be found. Osis2mod preserves all module content for supported books.&lt;br /&gt;
&lt;br /&gt;
 WARNING(V11N): New book is '''[ name ]'''  and is not in '''[ v11n ]''' versification, ignoring&lt;br /&gt;
The name of the book was not recognized as belonging to the chosen versification, it and all of it's content is ignored.&lt;br /&gt;
&lt;br /&gt;
 INFO(WRITE):       Appending entry: '''[ osisID ]''': '''[ text so far ]'''&lt;br /&gt;
If osis2mod encounters text that needs to be appended to a verse that is already in the module. This could indicate that&lt;br /&gt;
* the reference is in the input twice. This typically indicates a problem.&lt;br /&gt;
* more text was found that needs to be added to the prior verse.&lt;br /&gt;
* osis2mod is being run in append mode to fix a verse in the module.&lt;br /&gt;
&lt;br /&gt;
 INFO(LINK):        Linking '''[ osisID ]''' to '''[ osisID ]'''&lt;br /&gt;
An osisID such as &amp;quot;Gen.1.1 Gen.1.2 Gen.1.3&amp;quot; was used and the latter are linked to the first.&lt;br /&gt;
&lt;br /&gt;
 ERROR(REF):        Invalid osisID/annotateRef: '''[ invalid attribute value ]'''&lt;br /&gt;
This indicates that the SWORD library was unable to parse the osisID or annotateRef.&lt;br /&gt;
&lt;br /&gt;
 FATAL(NESTING):    '''[ currentOsisID ]''': tag expected&lt;br /&gt;
This indicates that the specified verse is not balanced with regard to its tags. Building a raw text module, looking in the module for the verse and pairing begin/end tags will help find the problem. Typically, this indicates an end tag that did not have a matching begin tag and all tags before it were properly paired.&lt;br /&gt;
&lt;br /&gt;
 FATAL(NESTING):    '''[ currentOsisID ]''': Expected '''[ topToken.getName() ]''' found '''[ tokenName ]'''&lt;br /&gt;
This also indicates that the specified verse is not balanced with regard to its tags. Building a raw text module, looking in the module for the verse and pairing begin/end tags will help find the problem. It could be either a begin or an end tag problem.&lt;br /&gt;
&lt;br /&gt;
 WARNING(NESTING):  verse '''[ currentOsisID ]''' is not well formed:('''[ verseDepth ]''','''[ tagDepth ]''')&lt;br /&gt;
This indicates that the verse probably will not show properly in some front-ends in some circumstances. Typically, it shows the problem if the verse is shown in isolation.&lt;br /&gt;
&lt;br /&gt;
 ERROR(NESTING):    improper nesting '''[ currentOsisID ]''': matching (sID,eID) not found. Looking at ('''[ sID ]''','''[ eID ]''')&lt;br /&gt;
OSIS specifies that every sID has a matching eID. Osis2mod is checking that BSP elements are properly nested.&lt;br /&gt;
&lt;br /&gt;
 FATAL(COMMENTS): unknown commentstate on comment start: [ comment state ]&lt;br /&gt;
This indicates that the comment is not of the form &amp;amp;lt;!-- ... --&amp;amp;gt;.&lt;br /&gt;
&lt;br /&gt;
 FATAL(COMMENTS): unknown commentstate on comment end:  [ comment state ]&lt;br /&gt;
This indicates that the comment is not of the form &amp;amp;lt;!-- ... --&amp;amp;gt;.&lt;br /&gt;
&lt;br /&gt;
===Debug Messages===&lt;br /&gt;
The following are shown in the same form as the diagnostic messages above. They are given without comment.&lt;br /&gt;
&lt;br /&gt;
'''-d 1'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Output of what is being written to the module. The two osisIDs should always be the same.&lt;br /&gt;
 DEBUG(WRITE):      '''[ osisID ]''':'''[ osisID ]''': '''[ text so far ]'''&lt;br /&gt;
&lt;br /&gt;
'''-d 4'''&amp;lt;br/&amp;gt;&lt;br /&gt;
A stack is maintained to represent the Words of Christ on a per verse basis. This is internal diagnostic of that stack&lt;br /&gt;
 DEBUG(QUOTE):      '''[ currentOsisID ]''': quote top('''[ quote stack size ]''') '''[ token ]'''&lt;br /&gt;
 DEBUG(QUOTE):      '''[ currentOsisID ]''': quote pop('''[ quote stack size ]''') '''[ topToken ]''' -- '''[ token ]'''&lt;br /&gt;
 DEBUG(QUOTE):      '''[ currentOsisID ]''': ('''[ quote stack size ]''') '''[ topToken ]''' -- '''[ token ]'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''-d 8'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Identifies when book and chapter introductions are being determined.&lt;br /&gt;
 DEBUG(TITLE):      '''[ currentOsisID ]''': OOPS INTRO&lt;br /&gt;
         inChapterIntro = '''[ inChapterIntro ]'''&lt;br /&gt;
         inBookIntro    = '''[ inBookIntro ]'''&lt;br /&gt;
 DEBUG(TITLE):      '''[ currentOsisID ]''': Looking for book introduction&lt;br /&gt;
 DEBUG(TITLE):      '''[ currentOsisID ]''': Done looking for book introduction&lt;br /&gt;
 DEBUG(TITLE):      '''[ currentOsisID ]''': BOOK INTRO '''[ beading ]'''&lt;br /&gt;
 DEBUG(TITLE):      '''[ currentOsisID ]''': Looking for chapter introduction&lt;br /&gt;
 DEBUG(TITLE):      '''[ currentOsisID ]''': Done looking for chapter introduction&lt;br /&gt;
 DEBUG(TITLE):      '''[ currentOsisID ]''': CHAPTER INTRO '''[ heading ]'''&lt;br /&gt;
&lt;br /&gt;
'''-d 16'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Inter-verse material either goes with the prior &amp;quot;verse&amp;quot; or the next. This help diagnose problems related to that split.&lt;br /&gt;
 DEBUG(INTERVERSE): '''[ currentOsisID ]''': interverse start token '''[ token ]''':'''[ text ]'''&lt;br /&gt;
 DEBUG(INTERVERSE): '''[ currentOsisID ]''': interverse end tag: '''[ tokenName ]'''('''[ tagDepth ]''','''[ chapterDepth ]''','''[ bookDepth ]''')&lt;br /&gt;
 DEBUG(INTERVERSE): '''[ currentOsisID ]''': appending interverse end tag: '''[tokenName ]'''('''[ tagDepth ]''','''[ chapterDepth ]''','''[ bookDepth ]''')&lt;br /&gt;
&lt;br /&gt;
'''-d 32'''&amp;lt;br/&amp;gt;&lt;br /&gt;
The following messages relate to the transformations of containers to milestones.&lt;br /&gt;
 DEBUG(XFORM):      '''[ currentOsisID ]''': xform empty '''[ token ]'''&lt;br /&gt;
 DEBUG(XFORM):      '''[ currentOsisID ]''': xform push ('''[ bspTagStack.size() ]''') '''[ token ]''' (tagname='''[ tagName ]''')&lt;br /&gt;
 DEBUG(XFORM):      '''[ currentOsisID ]''': xform top('''[ bsp stack size ]''') '''[ topToken ]'''&lt;br /&gt;
 DEBUG(XFORM):      '''[ currentOsisID ]''': xform pop('''[ bsp stack size ]''') '''[ topToken ]'''&lt;br /&gt;
&lt;br /&gt;
'''-d 64'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Occasionally a verse reference is outside of the chosen versification. These messages help to understand difficulties that osis2mod has in storing extra-canonical material in the module.&lt;br /&gt;
 DEBUG(V11N):       '''[ currentOsisID ]''' normalizes to '''[ after ]'''&lt;br /&gt;
 DEBUG(V11N):       Chapter max:'''[ chapterMax ]''', Verse Max:'''[ verseMax ]'''&lt;br /&gt;
&lt;br /&gt;
'''-d 128'''&amp;lt;br/&amp;gt;&lt;br /&gt;
OSIS ids and references can be of a form that SWORD cannot parse. Osis2mod contains a routine that munges these into a form that SWORD can understand.&lt;br /&gt;
 DEBUG(REF):        Copy range marker: '''[ marker ]'''&lt;br /&gt;
 DEBUG(REF):        Found a work prefix '''[ workPrefix ]'''&lt;br /&gt;
 DEBUG(REF):        Copy osisID:'''[ osisID ]'''&lt;br /&gt;
 DEBUG(REF):        Found a grain suffix '''[ grain ]'''&lt;br /&gt;
 DEBUG(REF):        Found a range&lt;br /&gt;
 DEBUG(REF):        replacing space with ;. Remaining: '''[ text ]'''&lt;br /&gt;
 DEBUG(REF):        shortended keyVal to`'''[ text ]'''`&lt;br /&gt;
&lt;br /&gt;
'''-d 256'''&amp;lt;br/&amp;gt;&lt;br /&gt;
Osis2mod contains two stacks to validate proper nesting of BSP and BCV, respectively. This is an internal representation of the BCV stacks. It provides additional information to understand the diagnostic nesting messages.&lt;br /&gt;
 DEBUG(STACK):      '''[ currentOsisID ]''': push ('''[ stack size]''') '''[ tokenName ]'''&lt;br /&gt;
 DEBUG(STACK):      '''[ currentOsisID ]''': pop('''[ tagDepth ]''') '''[ topToken.getName() ]'''&lt;br /&gt;
&lt;br /&gt;
'''-d 512'''&amp;lt;br/&amp;gt;&lt;br /&gt;
These are general debug messages.&lt;br /&gt;
 DEBUG(FOUND):        Found first div and pitching prior material: '''[ text ]'''&lt;br /&gt;
 DEBUG(FOUND):        New book is '''[ currentOsisID ]'''&lt;br /&gt;
 DEBUG(FOUND):        Current chapter is '''[ currentOsisID ]''' ('''[ osisID attribute value ]''')&lt;br /&gt;
 DEBUG(FOUND):        Entering verse&lt;br /&gt;
 DEBUG(FOUND):        New current verse is '''[ currentOsisID ]'''&lt;br /&gt;
 DEBUG(FOUND):        osisID/annotateRef is adjusted to: '''[ simpler osisID or osisRef ]'''&lt;br /&gt;
 DEBUG(COMMENTS): in comment&lt;br /&gt;
 DEBUG(COMMENTS): out of comment&lt;br /&gt;
&lt;br /&gt;
'''-d 512'''&amp;lt;br/&amp;gt;&lt;br /&gt;
The following gives the input arguments.&lt;br /&gt;
 DEBUG(ARGS):&lt;br /&gt;
         path:         '''[ path ]'''&lt;br /&gt;
         osisDoc:      '''[ osisDoc ]'''&lt;br /&gt;
         create:       '''[ append ]'''&lt;br /&gt;
         compressType: '''[ compType ]'''&lt;br /&gt;
         blockType:    '''[ iType ]'''&lt;br /&gt;
         cipherKey:    '''[ cipherKey ]'''&lt;br /&gt;
         normalize:    '''[ normalize ]'''&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Osis2mod testcases]]&lt;br /&gt;
* [[OSIS]] &amp;amp;ndash; a partial list of other OSIS related pages and external links.&lt;br /&gt;
* [[Mod2osis]]&lt;br /&gt;
* [[Mod2zmod]]&lt;br /&gt;
&lt;br /&gt;
[[Category:OSIS]]&lt;br /&gt;
[[Category:Utilities]]&lt;br /&gt;
[[Category:Versification]]&lt;/div&gt;</summary>
		<author><name>Dmsmith</name></author>	</entry>

	<entry>
		<id>https://wiki.crosswire.org/index.php?title=CrossWire_KJV&amp;diff=14748</id>
		<title>CrossWire KJV</title>
		<link rel="alternate" type="text/html" href="https://wiki.crosswire.org/index.php?title=CrossWire_KJV&amp;diff=14748"/>
				<updated>2016-02-05T17:52:56Z</updated>
		
		<summary type="html">&lt;p&gt;Dmsmith: /* Introduction */ re-ordered sentences.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;:''This page is a work in progress''.&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
The KJV module was one of the earliest to be released and distributed by CrossWire after '''The SWORD Project''' was launched. It remains one of the most frequently downloaded modules in all our repositories.&lt;br /&gt;
&lt;br /&gt;
The KJV module text is based substantially on the '''1769 Oxford Edition''' (the basis for all modern editions), not the original 1611 first edition. See our [[EnduserFAQ#Do_you_have_the_original_King_James.2FAuthorized_Version.3F|FAQ]].&lt;br /&gt;
&lt;br /&gt;
This is the only module maintained by CrossWire volunteers. It is marked up in OSIS XML. All other modules are based on source text from external providers.&lt;br /&gt;
&lt;br /&gt;
== Provenance and Acknowledgements ==&lt;br /&gt;
Strong's numbers provide a useful means for looking up the exact original language word in a lexicon that is keyed to [http://en.wikipedia.org/wiki/Strong's_Concordance Strong's Concordance].&lt;br /&gt;
&lt;br /&gt;
[http://en.wikipedia.org/wiki/Morphology_%28linguistics%29 Morphology] data provides a means to understand the structure of the original language's morphemes and other linguistic units.&lt;br /&gt;
&lt;br /&gt;
* The Strong's numbers in the OT were obtained from [http://www.bf.org/ The Bible Foundation]&lt;br /&gt;
* The Strong's data in the NT was obtained from the [[CrossWire_KJV#Text_Development_Stages|KJV2003 Project]] at CrossWire.&lt;br /&gt;
&lt;br /&gt;
Special thanks to the volunteers at Bible Foundation for keying the Hebrew/English data and of Project KJV2003 for working toward the completion of synchronizing the English phrases to the Stephanas [http://en.wikipedia.org/wiki/Textus_Receptus Textus Receptus], and to Dr. Maurice Robinson for providing the base Greek text with Strong's and Morphology.&lt;br /&gt;
&lt;br /&gt;
We are also appreciative of formatting markup that was provided by [http://www.ebible.org Michael Paul Johnson]. &lt;br /&gt;
&lt;br /&gt;
Their time and generosity to contribute such for the free use of the Body of Christ is a great blessing and this derivitive work could not have been possible without these efforts of so many individuals.  It is in this spirit that we in turn offer the KJV2003 Project text and its successors freely for any purpose.&lt;br /&gt;
&lt;br /&gt;
We are also appreciative for the feedback reports over the years from several individuals that have enabled us to fix minor text and markup issues by comparison with the reference texts.&lt;br /&gt;
&lt;br /&gt;
== Reference Text ==&lt;br /&gt;
The CrossWire KJV is meant to be the faithful e-text edition&amp;lt;ref&amp;gt;With added features suited to the digital age we live in.&amp;lt;/ref&amp;gt; of the Benjamin Blayney's 1769 Oxford edition of the KJV&amp;lt;ref&amp;gt;Excluding the Apocrypha.&amp;lt;/ref&amp;gt; (hereafter called 1769 KJV). To that end we required it to be diligently checked against a reference standard for accuracy. Finding a reference text was a daunting task. What is known today as the KJV has been changed on a regular basis since it's first publication to today.&amp;lt;ref&amp;gt;Refer to [http://en.wikipedia.org/wiki/Frederick_Henry_Ambrose_Scrivener F H A Scrivener] and to the [http://en.wikipedia.org/wiki/New_Cambridge_Paragraph_Bible New Cambridge Paragraph Bible].&amp;lt;/ref&amp;gt; Some of these changes are well known; others are quietly done by publishers.&lt;br /&gt;
&lt;br /&gt;
There also was a need to have a reference for red-letter text. This too varied from one modern KJV to another.&lt;br /&gt;
&lt;br /&gt;
:''See also [[User:Dmsmith/KJV_2.6#Reference_text_policy]]''.&lt;br /&gt;
&lt;br /&gt;
===Need for a reference text===&lt;br /&gt;
Ideally, the reference standard would be a faithful electronic copy of 1769 KJV. When CrossWire's KJV2006 Project was started there was no such text either as a facsimile or eText. In lieu of that, finding an acceptable text was needed to arbitrate the claims that &amp;quot;my KJV is right and it is different from what you have.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
We compared our text with two independent 1769 KJV eTexts (CCEL and InterLeaf). All of the other eTexts we found seemed to be one of these three. Those comparisons yielded differences that needed to be verified in an independent text. Thus the need for *a* dead tree text. While working on the KJV2006 release, several websites that were dedicated to producing a &amp;quot;true&amp;quot; text were abandoned with chagrin that it is not a doable task apart from having a facsimile of the 1769 KJV, which was not known.&lt;br /&gt;
&lt;br /&gt;
One criteria was finding a text that the [http://en.wikipedia.org/wiki/King_James_Only_movement KJV-only] adherents felt was more accurate 1769 KJV text. Using various listings of differences between current and &amp;quot;true&amp;quot;, dozens of dead tree texts in several stores were examined. Also, it was important to avoid copyright claims based upon minor changes in the text. Both combined to come up with the Public Domain [http://en.wikipedia.org/wiki/Scofield_Reference_Bible Old Scofield Study Bible]&amp;lt;ref&amp;gt;The use of the Scofield in no way implies our endorsement of the extensive non-canonical study notes therein.&amp;lt;/ref&amp;gt;. The Biblical text was thought to be one of the most faithful copies of the 1769 Oxford Edition.&amp;lt;ref&amp;gt;i.e. Even by those in the KJV Only movement.&amp;lt;/ref&amp;gt; It was published in 1917, which was important in terms of USA copyright law. It was also considered to be a faithful red-letter text.&lt;br /&gt;
&lt;br /&gt;
We are in the process of obtaining a hard copy facsimile of the &amp;quot;Blayney&amp;quot; 1769 KJV text. This will be the reference text going forward.&lt;br /&gt;
&lt;br /&gt;
===Need for a reference red-letter text===&lt;br /&gt;
Red-Letter text is a fairly recent addition to the 1769 KJV. In 1899, Louis Klopsch proposed rendering the words of Christ in red letters. His work was published in 1901. Recently (2016-01-28), we've obtained Louis Klopsch's 1901 edition of the KJV and will use that as the future reference for red-letter text.&lt;br /&gt;
&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Chosen Texts===&lt;br /&gt;
The public domain Old Scofield Study Bible was used for version 2.3 to 2.10 for text and for version 2.3 to 2.9 for red-letter markup.&lt;br /&gt;
&lt;br /&gt;
The Louis Klopsch 1901 KJV is used for red-letter markup for 2.10 and later.&lt;br /&gt;
&lt;br /&gt;
The 1769 KJV facsimile is used for text, front-matter, notes, cross-references, titles, .... for versions after 2.11.&lt;br /&gt;
* The Holy Bible, Containing the Old and New Testaments: Volume 1 of 4, ISBN: 9781171169826&lt;br /&gt;
* The Holy Bible, Containing the Old and New Testaments: Volume 2 of 4, ISBN: 9781171169819&lt;br /&gt;
* The Holy Bible, Containing the Old and New Testaments: Volume 3 of 4, ISBN: 9781171169802&lt;br /&gt;
* The New Testament of Our Lord and Saviour Jesus Christ,&amp;lt;br/&amp;gt;Translated Out of the Original Greek:&amp;lt;br/&amp;gt;And with the Former Translations Diligently Compared and Revised,&amp;lt;br/&amp;gt;by His Majesty's Special Command. Appointed to by Read in Churches.&amp;lt;br/&amp;gt;Volume 4 of 4, ISBN: 9781171169796&lt;br /&gt;
&lt;br /&gt;
== Copyright ==&lt;br /&gt;
Any copyright that might be obtained for this effort is held by the CrossWire Bible Society © 2003-2016 and the CrossWire Bible Society hereby grants a general public license to use this text for any purpose.&lt;br /&gt;
&lt;br /&gt;
CrossWire's KJV module is an amalgamation of different source material. Each has its own copyright or is in the public domain.&lt;br /&gt;
* The actual text validated against 2 independent eTexts and found differences against our hard-copy reference for such.&lt;br /&gt;
* The [http://en.wikipedia.org/wiki/Red_letter_edition Red Letter] markup of the words of Christ have been validated against our hard-copy reference for such.&lt;br /&gt;
* The Strong's numbers in the OT are from [http://www.bf.org/ The Bible Foundation].&lt;br /&gt;
* The Strong's numbers in the NT are from [http://apps.sebts.edu/FacultyUploads/Maurice%20Robinson%20CV.pdf Dr Maurice A. Robinson], Senior Professor of New Testament and Greek at [http://en.wikipedia.org/wiki/Southeastern_Baptist_Theological_Seminary Southeastern Baptist Theological Seminary] in North Carolina.&lt;br /&gt;
* The OSIS XML markup is a unique effort that began with our KJV2003 project &amp;amp;ndash; Copyright © 2003-2016 The CrossWire Bible Society.&lt;br /&gt;
* The tagging of Strong's numbers to the NT text is a unique effort of our KJV2003 project &amp;amp;ndash;  Copyright © 2003-2016 The CrossWire Bible Society.&lt;br /&gt;
&lt;br /&gt;
=== Crown copyright, Letters Patent and the KJV ===&lt;br /&gt;
In the United Kingdom, the text of the [http://en.wikipedia.org/wiki/King_James_Version Authorized King James Version] of the Bible is protected by '''royal prerogative'''. &amp;quot;There is a small class of materials where the Crown claims the right to control reproduction outside normal copyright law due to '''Letters Patent''' issued under the royal prerogative. This material includes the '''King James Bible''', and the '''Book of Common Prayer'''.&amp;quot; See [http://en.wikipedia.org/wiki/Crown_copyright#United_Kingdom Crown copyright].&lt;br /&gt;
&lt;br /&gt;
In most of the world, the Authorized Version has passed out of copyright and is freely reproduced. In the United Kingdom, the British Crown restricts production of the Authorized Version per transitional exemptions from the Copyright Act 1775 (which implemented this clause) in the Copyright, Designs and patents Act 1988 (Schedule I, section 13(1)), which expire in 2039. [http://en.wikipedia.org/wiki/Cambridge_University_Press Cambridge University Press]&amp;lt;ref&amp;gt;Cambridge University Press wrote to [[Projects:Go_Bible|Go Bible]] several years ago, acting as agents of Crown copyright. Their request was simple and straightforward, viz., that we include a clear statement about Crown copyright for the KJV. After we did that, and informed them, they seem to have been satisfied.&amp;lt;/ref&amp;gt;, [http://en.wikipedia.org/wiki/Oxford_University_Press Oxford University Press], [http://en.wikipedia.org/wiki/HarperCollins HarperCollins] and the [http://en.wikipedia.org/wiki/Queen's_Printer Queen's Printers] have the right to produce the Authorized Version. See [http://en.wikipedia.org/wiki/King_James_Bible King James Bible].&lt;br /&gt;
&lt;br /&gt;
The [http://en.wikipedia.org/wiki/British_and_Foreign_Bible_Society British &amp;amp; Foreign Bible Society] (based in the UK) respects this copyright status, although many American organisations do not respect it and treat it wrongly as if it were public domain.  In reality, the many editions of the KJV used in the USA are a revision of the text made by the [http://en.wikipedia.org/wiki/American_Bible_Society American Bible Society] and the rights for this revision are still held by ABS.&lt;br /&gt;
&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Margin Notes ==&lt;br /&gt;
In a study of the marginal notes in the 1611 KJV, Scrivener&amp;lt;ref&amp;gt;Scrivener, F. H. A. ,''The Authorized Edition of the English Bible'', p. 56.&amp;lt;/ref&amp;gt; counted:&lt;br /&gt;
* 6637 in the OT&lt;br /&gt;
* 1018 in the Apocrypha&lt;br /&gt;
* 0767 in the NT&lt;br /&gt;
* 8422 in total&lt;br /&gt;
Of the 767 notes in the NT, 35 are explanatory notes or brief ex­positions, 582 give alternative translations, 112 give a more literal ren­dering of the Greek than the translators judged suitable for the text, and 37 give readings of different manuscripts.&lt;br /&gt;
&lt;br /&gt;
The KJV module (2.10 wip) currently has the following study notes:&lt;br /&gt;
* 6959 in the OT of which a few are duplicates on the same &amp;quot;page&amp;quot; for similar verses.&amp;lt;ref&amp;gt;Performing a sort operation to remove all duplicates reduces the total by 617 to 6342, though some of those removed would not be close to each other before the sort.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Literatura Bautista have an article entitled [http://en.literaturabautista.com/exhaustive-listing-marginal-notes-1611-edition-king-james-bible An exhaustive listing of the marginal notes of the 1611 edition of the King James Bible]. This is a very useful resource for checking our module and comparing with the 1769 Reference Text. [[User:David Haslam|David Haslam]] has created an Excel worksheet for this purpose. We have identified up to 22 places where an OT note may be missing from the KJV module.&lt;br /&gt;
&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Road Map ==&lt;br /&gt;
First we must decide how to markup the observed differences between Old Scofield and Louis Klopsch with regard to red letter words, as well as the observed differences betweem the present text and the Blayney 1769 Oxford edition.&lt;br /&gt;
:''List briefly the further enhancements we would like to make in the future beyond the next release''.&lt;br /&gt;
'''KJV module:'''&lt;br /&gt;
* Add AV front matter, dedicatory and preface.&lt;br /&gt;
* Judiciously update Words of Christ (''aka'' red letter markup) to match Louis Klopsch's 1901 edition.&lt;br /&gt;
* Update Strong's numbers and lemma.TR to the latest TR from Maurice Robinson. (3.0) As a side benefit, update CrossWire's TR module to match.&lt;br /&gt;
* Add Greek equivalent to Strong's numbers. (3.0)&lt;br /&gt;
* Mark all proper names with the '''name''' element; with type '''person''', '''geographic''', etc.&lt;br /&gt;
* ''Tentative''. Split KJV into KJV and AV where AV is an orthographic representation of the 1769 KJV. E.g. long s, ae, oe, fl, ffl, ....&lt;br /&gt;
&lt;br /&gt;
Further thoughts based upon having the Blayney edition:&lt;br /&gt;
* Audit OT notes and make any necessary corrections.&lt;br /&gt;
* Add front-matter: dedicatory and preface, OT intro, NT intro, ....&lt;br /&gt;
* Add print page breaks. Tying to the dead-tree edition. These would be internal markers.&lt;br /&gt;
* Add chronology (found at the top of page margins) as note to chapter starts (probably in first verse or verse 0.)&lt;br /&gt;
* Add NT chapter descriptions.&lt;br /&gt;
* Add OT chapter descriptions.&lt;br /&gt;
* Add xrefs and notes to NT.&lt;br /&gt;
* Add xrefs to OT.&lt;br /&gt;
&lt;br /&gt;
'''KJVA module:''' &lt;br /&gt;
:''KJVA is not being rebuilt when KJV is updated. It should be.''&lt;br /&gt;
* Build KJVA and KJV from same XML file.&lt;br /&gt;
* Move the main title for EsthAdd to chapter 10&lt;br /&gt;
* Insert a horizontal ellipsis in the 12 empty verses before EsthAdd.10.4&lt;br /&gt;
* Review book titles. Two books (Susanna &amp;amp; Bel) have text between the title and chapter 1.&lt;br /&gt;
* Audit DC (deuterocanonical) books text and markup.&amp;lt;BR&amp;gt;There are only 36 instances in the DC books that use the '''transChange''' element.&lt;br /&gt;
* Check a printed edition for any Pilcrows and add them if found.&lt;br /&gt;
* Add DC study notes. There are none in the existing module!&lt;br /&gt;
* Add DC chapter descriptions.&lt;br /&gt;
* Add the two prologues to Sirach: one &amp;quot;made by an uncertain Author&amp;quot;; the other &amp;quot;of the Wisdom of Jesus the Son of Sirach.&amp;quot;&lt;br /&gt;
* Add DC xrefs. cf. Blayney's Bible included DC xrefs in the PC (protocanonical) OT &amp;amp; NT books.&lt;br /&gt;
&lt;br /&gt;
== History ==&lt;br /&gt;
=== Text Development Stages ===&lt;br /&gt;
From the time the KJV module was first released, text and markup development has been done in several major stages:&lt;br /&gt;
* The original '''KJV2003''' Project &amp;amp;ndash; ''user page no longer exists''&lt;br /&gt;
* The [http://www.crosswire.org/~dmsmith/kjv2006/ KJV2006] Project&lt;br /&gt;
* The [[User:Dmsmith/KJV2011|KJV2011]] Effort&lt;br /&gt;
* The [[User:Dmsmith/KJV 2.6|KJV 2.6]] Effort &amp;amp;ndash; begun in 2013 and ongoing...&lt;br /&gt;
&lt;br /&gt;
=== Module Versions ===&lt;br /&gt;
While the KJV was a module at CrossWire prior to version 2.0, this is the earliest for which dates can be determined.&amp;lt;BR&amp;gt;Dates prior to version 2.3 are best estimates. (For changes in versions 1.x, refer to the file kjv.conf)&lt;br /&gt;
{|  width=&amp;quot;100%&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;sortable&amp;quot;&lt;br /&gt;
! width=&amp;quot;5%&amp;quot;|Revision&lt;br /&gt;
! width=&amp;quot;10%&amp;quot;|Date&lt;br /&gt;
! width=&amp;quot;85%&amp;quot;|Description&lt;br /&gt;
|- &lt;br /&gt;
| 2.10&lt;br /&gt;
| Future&lt;br /&gt;
| Improved OSIS markup.&lt;br /&gt;
Details: (''with progress marker'')&lt;br /&gt;
* Update our custom [[OSIS 211 CR|OSIS schema]] to properly validate '''type''' values in '''rdg''' element.&lt;br /&gt;
* Correct type=&amp;quot;alternative&amp;quot; (2.9) to &amp;quot;alternate&amp;quot;.&lt;br /&gt;
* Move '''sID''' before '''osisID''' in verse elements.&lt;br /&gt;
* Add a final full-stop to all notes previously lacking one.&lt;br /&gt;
* Add a final full-stop to each book title, as observed in the Blayney edition.&lt;br /&gt;
* Mark all the abbreviations for &amp;quot;LXX&amp;quot;, &amp;quot;Gr.&amp;quot; &amp;amp; &amp;quot;Heb.&amp;quot; found in notes using the '''abbr''' element.&lt;br /&gt;
* Add a space after the ¶ in the milestone marker.&lt;br /&gt;
* Add the hitherto missing ¶ in NT books: Romans&amp;amp;mdash;Revelation.&lt;br /&gt;
* Change red ¶ to black (i.e. within text marked as &amp;quot;words of Jesus&amp;quot;)&lt;br /&gt;
* Make minor corrections to a few notes.&lt;br /&gt;
* Add the comma after &amp;quot;: or&amp;quot; and &amp;quot;: that is&amp;quot; that was missing from some notes. &lt;br /&gt;
* Add '''osisRef''' to '''catchWord''' (for now at least, mainly for single keywords).&lt;br /&gt;
* Improve markup for colophon div in each Pauline epistle&lt;br /&gt;
* Add '''osisID''' to the canonical Psalm titles.&lt;br /&gt;
-----&lt;br /&gt;
* Mark up the '''title''' element for each chapter to mimic the way that Blayney did it.&lt;br /&gt;
* Remove the redundant '''chapterTitle''' attribute from the '''chapter''' element&lt;br /&gt;
* Add some few notes missing from the OT (less than 22).&lt;br /&gt;
* Add '''osisID''' &amp;amp; '''n''' attributes to '''note''' element.&lt;br /&gt;
* Move some notes from Psalms verse 1 to the canonical '''title''' element.&lt;br /&gt;
* Review and update conf file where required.&lt;br /&gt;
|- &lt;br /&gt;
| 2.9&lt;br /&gt;
| 2016-01-21&lt;br /&gt;
| Improved OSIS markup.&lt;br /&gt;
Details:&lt;br /&gt;
* Added '''catchWord''' and reading ('''rdg''') markup to notes.&lt;br /&gt;
* Improved markup placement for ''Selah'' in 13 places.&lt;br /&gt;
|- &lt;br /&gt;
| 2.8&lt;br /&gt;
| 2015-12-20&lt;br /&gt;
| Improved OSIS markup.&lt;br /&gt;
Details:&lt;br /&gt;
* Moved Ps 119 acrostic titles before verse number.&lt;br /&gt;
* Changed double spaces to a single space.&lt;br /&gt;
* Changed &amp;quot;Heb &amp;quot; to &amp;quot;Heb. &amp;quot; in notes.&lt;br /&gt;
* Added Feature=NoParagraphs.&lt;br /&gt;
|- &lt;br /&gt;
| 2.7&lt;br /&gt;
| 2015-08-09&lt;br /&gt;
| Fixed bugs preventing the display of some Strong's Numbers in the Old Testament.&lt;br /&gt;
Improved markup of Strong's numbers in 2 Cor 15.&lt;br /&gt;
|- &lt;br /&gt;
| 2.6.1&lt;br /&gt;
| 2014-02-15&lt;br /&gt;
| Added GlobalOptionFilter for OSISLemma&lt;br /&gt;
|- &lt;br /&gt;
| 2.6&lt;br /&gt;
| 2013-10-05&lt;br /&gt;
| Fixed bugs. Added Greek from TR.&lt;br /&gt;
|- &lt;br /&gt;
| 2.5&lt;br /&gt;
| 2013-02-02&lt;br /&gt;
| Fixed bugs. See: [[User:Dmsmith/KJV2011|KJV2011]]&lt;br /&gt;
Details:&lt;br /&gt;
* Fixed markup of added words.&lt;br /&gt;
* Fixed more Words of Christ markup.&lt;br /&gt;
* Fixed punctuation, apostrophes, dashes and placement of spaces.&lt;br /&gt;
* Fixed the markup of a word that was split into two parts.&lt;br /&gt;
* Other bug fixes.&lt;br /&gt;
|- &lt;br /&gt;
| 2.4&lt;br /&gt;
| 2009-05-29&lt;br /&gt;
| Fixed bugs. Updated red-letter markup of Words of Christ.&lt;br /&gt;
|- &lt;br /&gt;
| 2.3&lt;br /&gt;
| 2006-10-09&lt;br /&gt;
| Fixed bugs. See: [http://crosswire.org/~dmsmith/kjv2006/ Project KJV2006]&lt;br /&gt;
Goals:&lt;br /&gt;
* Faithful representation of the KJV.&lt;br /&gt;
* Each book of the Bible is well-formed xml.&lt;br /&gt;
* Each book of the Bible is valid OSIS xml according to the 2.1.1 schema.&lt;br /&gt;
* The markup conforms to OSIS best practices as mentioned on the Sword-devel mailing list and the OSIS 2.1.1 user's manual&lt;br /&gt;
* Strong's markup normalized.&lt;br /&gt;
&lt;br /&gt;
Details:&lt;br /&gt;
* The xml is now well-formed.&lt;br /&gt;
* The xml is now valid OSIS 2.1.1&lt;br /&gt;
* Strong's numbers have been normalized.&lt;br /&gt;
* Fixed the missing 's in the OT&lt;br /&gt;
* Moved whitespace and puncutation to a more sensible location and fixed whitespace problems.&lt;br /&gt;
* Positioned the [http://en.wikipedia.org/wiki/Pilcrow pilcrow symbol] ¶ at the start of verses.&lt;br /&gt;
* Validated against Old Scofield Study Bible for all differences found by comparing against the KJV encoded by Tim Lanfear for CCEL.&lt;br /&gt;
* Validated against Old Scofield Study Bible for all differences found by comparing against the KJV encoded Interleaf Bible.&lt;br /&gt;
* Fixed all existing titles and added missing ones.&lt;br /&gt;
* Fixed paragraphing&lt;br /&gt;
* Tagged all inscriptions&lt;br /&gt;
* Fixed and tagged all divine names&lt;br /&gt;
* Added xlit to w elements for the acrostic in Psalm 119&lt;br /&gt;
* Hyphenated names&lt;br /&gt;
* Fixed names with Æ and æ&lt;br /&gt;
* Fixed a bug in osis2mod that incorrectly encoded the last verse of each book&lt;br /&gt;
* Removed Strong's number H00 as it does not exist.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 2.2&lt;br /&gt;
| 2004-07-25&lt;br /&gt;
| Updated to 20040121 snapshot of KJV2003.&lt;br /&gt;
|- &lt;br /&gt;
| 2.1&lt;br /&gt;
| 2003-06-24&lt;br /&gt;
| Changed Old Testament to use OSIS tags, removing the last of the GBF markup.&amp;lt;BR&amp;gt;Also updated to 20030624 snapshot of KJV2003.  Compressed.&lt;br /&gt;
|- &lt;br /&gt;
| 2.0&lt;br /&gt;
| 2003-01-08&lt;br /&gt;
| Changed New Testament to use a snapshot of the KJV2003 Project&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Help:Contents#Modules|Reporting module issues]]&lt;br /&gt;
* [[CrossWire KJVA|English: KJVA]] module &amp;amp;ndash; KJV with Apocrypha&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
* [http://www.crossway.org/blog/2006/03/red-letter-origin/ Origin of Red-Letter Bibles] &amp;amp;ndash; CrossWay blog,  March 23, 2006. Somewhat more informative than the Wikipedia [http://en.wikipedia.org/wiki/Red_letter_edition page].&lt;br /&gt;
* [http://books.google.co.uk/books?vid=BL:A0017123081&amp;amp;hl=en Fenwick, George (1759), ''Thoughts on the Hebrew titles of the Psalms : and on some of those in the Septuagint, endeavouring to discover the meaning, and point out the use of them'']&lt;br /&gt;
&lt;br /&gt;
[[Category:Modules|CrossWire KJV]]&lt;br /&gt;
[[Category:English Bibles|CrossWire KJV]]&lt;br /&gt;
[[Category:OSIS|CrossWire KJV]]&lt;br /&gt;
[[Category:Copyright|CrossWire KJV]]&lt;/div&gt;</summary>
		<author><name>Dmsmith</name></author>	</entry>

	<entry>
		<id>https://wiki.crosswire.org/index.php?title=CrossWire_KJV&amp;diff=14747</id>
		<title>CrossWire KJV</title>
		<link rel="alternate" type="text/html" href="https://wiki.crosswire.org/index.php?title=CrossWire_KJV&amp;diff=14747"/>
				<updated>2016-02-05T17:30:02Z</updated>
		
		<summary type="html">&lt;p&gt;Dmsmith: /* Reference Text */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;:''This page is a work in progress''.&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
This page is intended to provide a more detailed background and description for the one module for which the OSIS XML source text is maintained by CrossWire volunteers. All other modules are based on source text from external providers.&lt;br /&gt;
&lt;br /&gt;
The KJV module was one of the earliest to be released and distributed by CrossWire after '''The SWORD Project''' was launched. It remains one of the most frequently downloaded modules in all our repositories.&lt;br /&gt;
&lt;br /&gt;
The KJV module text is based substantially on the '''1769 Oxford Edition''' (the basis for all modern editions), not the original 1611 first edition. See our [[EnduserFAQ#Do_you_have_the_original_King_James.2FAuthorized_Version.3F|FAQ]].&lt;br /&gt;
&lt;br /&gt;
== Provenance and Acknowledgements ==&lt;br /&gt;
Strong's numbers provide a useful means for looking up the exact original language word in a lexicon that is keyed to [http://en.wikipedia.org/wiki/Strong's_Concordance Strong's Concordance].&lt;br /&gt;
&lt;br /&gt;
[http://en.wikipedia.org/wiki/Morphology_%28linguistics%29 Morphology] data provides a means to understand the structure of the original language's morphemes and other linguistic units.&lt;br /&gt;
&lt;br /&gt;
* The Strong's numbers in the OT were obtained from [http://www.bf.org/ The Bible Foundation]&lt;br /&gt;
* The Strong's data in the NT was obtained from the [[CrossWire_KJV#Text_Development_Stages|KJV2003 Project]] at CrossWire.&lt;br /&gt;
&lt;br /&gt;
Special thanks to the volunteers at Bible Foundation for keying the Hebrew/English data and of Project KJV2003 for working toward the completion of synchronizing the English phrases to the Stephanas [http://en.wikipedia.org/wiki/Textus_Receptus Textus Receptus], and to Dr. Maurice Robinson for providing the base Greek text with Strong's and Morphology.&lt;br /&gt;
&lt;br /&gt;
We are also appreciative of formatting markup that was provided by [http://www.ebible.org Michael Paul Johnson]. &lt;br /&gt;
&lt;br /&gt;
Their time and generosity to contribute such for the free use of the Body of Christ is a great blessing and this derivitive work could not have been possible without these efforts of so many individuals.  It is in this spirit that we in turn offer the KJV2003 Project text and its successors freely for any purpose.&lt;br /&gt;
&lt;br /&gt;
We are also appreciative for the feedback reports over the years from several individuals that have enabled us to fix minor text and markup issues by comparison with the reference texts.&lt;br /&gt;
&lt;br /&gt;
== Reference Text ==&lt;br /&gt;
The CrossWire KJV is meant to be the faithful e-text edition&amp;lt;ref&amp;gt;With added features suited to the digital age we live in.&amp;lt;/ref&amp;gt; of the Benjamin Blayney's 1769 Oxford edition of the KJV&amp;lt;ref&amp;gt;Excluding the Apocrypha.&amp;lt;/ref&amp;gt; (hereafter called 1769 KJV). To that end we required it to be diligently checked against a reference standard for accuracy. Finding a reference text was a daunting task. What is known today as the KJV has been changed on a regular basis since it's first publication to today.&amp;lt;ref&amp;gt;Refer to [http://en.wikipedia.org/wiki/Frederick_Henry_Ambrose_Scrivener F H A Scrivener] and to the [http://en.wikipedia.org/wiki/New_Cambridge_Paragraph_Bible New Cambridge Paragraph Bible].&amp;lt;/ref&amp;gt; Some of these changes are well known; others are quietly done by publishers.&lt;br /&gt;
&lt;br /&gt;
There also was a need to have a reference for red-letter text. This too varied from one modern KJV to another.&lt;br /&gt;
&lt;br /&gt;
:''See also [[User:Dmsmith/KJV_2.6#Reference_text_policy]]''.&lt;br /&gt;
&lt;br /&gt;
===Need for a reference text===&lt;br /&gt;
Ideally, the reference standard would be a faithful electronic copy of 1769 KJV. When CrossWire's KJV2006 Project was started there was no such text either as a facsimile or eText. In lieu of that, finding an acceptable text was needed to arbitrate the claims that &amp;quot;my KJV is right and it is different from what you have.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
We compared our text with two independent 1769 KJV eTexts (CCEL and InterLeaf). All of the other eTexts we found seemed to be one of these three. Those comparisons yielded differences that needed to be verified in an independent text. Thus the need for *a* dead tree text. While working on the KJV2006 release, several websites that were dedicated to producing a &amp;quot;true&amp;quot; text were abandoned with chagrin that it is not a doable task apart from having a facsimile of the 1769 KJV, which was not known.&lt;br /&gt;
&lt;br /&gt;
One criteria was finding a text that the [http://en.wikipedia.org/wiki/King_James_Only_movement KJV-only] adherents felt was more accurate 1769 KJV text. Using various listings of differences between current and &amp;quot;true&amp;quot;, dozens of dead tree texts in several stores were examined. Also, it was important to avoid copyright claims based upon minor changes in the text. Both combined to come up with the Public Domain [http://en.wikipedia.org/wiki/Scofield_Reference_Bible Old Scofield Study Bible]&amp;lt;ref&amp;gt;The use of the Scofield in no way implies our endorsement of the extensive non-canonical study notes therein.&amp;lt;/ref&amp;gt;. The Biblical text was thought to be one of the most faithful copies of the 1769 Oxford Edition.&amp;lt;ref&amp;gt;i.e. Even by those in the KJV Only movement.&amp;lt;/ref&amp;gt; It was published in 1917, which was important in terms of USA copyright law. It was also considered to be a faithful red-letter text.&lt;br /&gt;
&lt;br /&gt;
We are in the process of obtaining a hard copy facsimile of the &amp;quot;Blayney&amp;quot; 1769 KJV text. This will be the reference text going forward.&lt;br /&gt;
&lt;br /&gt;
===Need for a reference red-letter text===&lt;br /&gt;
Red-Letter text is a fairly recent addition to the 1769 KJV. In 1899, Louis Klopsch proposed rendering the words of Christ in red letters. His work was published in 1901. Recently (2016-01-28), we've obtained Louis Klopsch's 1901 edition of the KJV and will use that as the future reference for red-letter text.&lt;br /&gt;
&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Chosen Texts===&lt;br /&gt;
The public domain Old Scofield Study Bible was used for version 2.3 to 2.10 for text and for version 2.3 to 2.9 for red-letter markup.&lt;br /&gt;
&lt;br /&gt;
The Louis Klopsch 1901 KJV is used for red-letter markup for 2.10 and later.&lt;br /&gt;
&lt;br /&gt;
The 1769 KJV facsimile is used for text, front-matter, notes, cross-references, titles, .... for versions after 2.11.&lt;br /&gt;
* The Holy Bible, Containing the Old and New Testaments: Volume 1 of 4, ISBN: 9781171169826&lt;br /&gt;
* The Holy Bible, Containing the Old and New Testaments: Volume 2 of 4, ISBN: 9781171169819&lt;br /&gt;
* The Holy Bible, Containing the Old and New Testaments: Volume 3 of 4, ISBN: 9781171169802&lt;br /&gt;
* The New Testament of Our Lord and Saviour Jesus Christ,&amp;lt;br/&amp;gt;Translated Out of the Original Greek:&amp;lt;br/&amp;gt;And with the Former Translations Diligently Compared and Revised,&amp;lt;br/&amp;gt;by His Majesty's Special Command. Appointed to by Read in Churches.&amp;lt;br/&amp;gt;Volume 4 of 4, ISBN: 9781171169796&lt;br /&gt;
&lt;br /&gt;
== Copyright ==&lt;br /&gt;
Any copyright that might be obtained for this effort is held by the CrossWire Bible Society © 2003-2016 and the CrossWire Bible Society hereby grants a general public license to use this text for any purpose.&lt;br /&gt;
&lt;br /&gt;
CrossWire's KJV module is an amalgamation of different source material. Each has its own copyright or is in the public domain.&lt;br /&gt;
* The actual text validated against 2 independent eTexts and found differences against our hard-copy reference for such.&lt;br /&gt;
* The [http://en.wikipedia.org/wiki/Red_letter_edition Red Letter] markup of the words of Christ have been validated against our hard-copy reference for such.&lt;br /&gt;
* The Strong's numbers in the OT are from [http://www.bf.org/ The Bible Foundation].&lt;br /&gt;
* The Strong's numbers in the NT are from [http://apps.sebts.edu/FacultyUploads/Maurice%20Robinson%20CV.pdf Dr Maurice A. Robinson], Senior Professor of New Testament and Greek at [http://en.wikipedia.org/wiki/Southeastern_Baptist_Theological_Seminary Southeastern Baptist Theological Seminary] in North Carolina.&lt;br /&gt;
* The OSIS XML markup is a unique effort that began with our KJV2003 project &amp;amp;ndash; Copyright © 2003-2016 The CrossWire Bible Society.&lt;br /&gt;
* The tagging of Strong's numbers to the NT text is a unique effort of our KJV2003 project &amp;amp;ndash;  Copyright © 2003-2016 The CrossWire Bible Society.&lt;br /&gt;
&lt;br /&gt;
=== Crown copyright, Letters Patent and the KJV ===&lt;br /&gt;
In the United Kingdom, the text of the [http://en.wikipedia.org/wiki/King_James_Version Authorized King James Version] of the Bible is protected by '''royal prerogative'''. &amp;quot;There is a small class of materials where the Crown claims the right to control reproduction outside normal copyright law due to '''Letters Patent''' issued under the royal prerogative. This material includes the '''King James Bible''', and the '''Book of Common Prayer'''.&amp;quot; See [http://en.wikipedia.org/wiki/Crown_copyright#United_Kingdom Crown copyright].&lt;br /&gt;
&lt;br /&gt;
In most of the world, the Authorized Version has passed out of copyright and is freely reproduced. In the United Kingdom, the British Crown restricts production of the Authorized Version per transitional exemptions from the Copyright Act 1775 (which implemented this clause) in the Copyright, Designs and patents Act 1988 (Schedule I, section 13(1)), which expire in 2039. [http://en.wikipedia.org/wiki/Cambridge_University_Press Cambridge University Press]&amp;lt;ref&amp;gt;Cambridge University Press wrote to [[Projects:Go_Bible|Go Bible]] several years ago, acting as agents of Crown copyright. Their request was simple and straightforward, viz., that we include a clear statement about Crown copyright for the KJV. After we did that, and informed them, they seem to have been satisfied.&amp;lt;/ref&amp;gt;, [http://en.wikipedia.org/wiki/Oxford_University_Press Oxford University Press], [http://en.wikipedia.org/wiki/HarperCollins HarperCollins] and the [http://en.wikipedia.org/wiki/Queen's_Printer Queen's Printers] have the right to produce the Authorized Version. See [http://en.wikipedia.org/wiki/King_James_Bible King James Bible].&lt;br /&gt;
&lt;br /&gt;
The [http://en.wikipedia.org/wiki/British_and_Foreign_Bible_Society British &amp;amp; Foreign Bible Society] (based in the UK) respects this copyright status, although many American organisations do not respect it and treat it wrongly as if it were public domain.  In reality, the many editions of the KJV used in the USA are a revision of the text made by the [http://en.wikipedia.org/wiki/American_Bible_Society American Bible Society] and the rights for this revision are still held by ABS.&lt;br /&gt;
&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Margin Notes ==&lt;br /&gt;
In a study of the marginal notes in the 1611 KJV, Scrivener&amp;lt;ref&amp;gt;Scrivener, F. H. A. ,''The Authorized Edition of the English Bible'', p. 56.&amp;lt;/ref&amp;gt; counted:&lt;br /&gt;
* 6637 in the OT&lt;br /&gt;
* 1018 in the Apocrypha&lt;br /&gt;
* 0767 in the NT&lt;br /&gt;
* 8422 in total&lt;br /&gt;
Of the 767 notes in the NT, 35 are explanatory notes or brief ex­positions, 582 give alternative translations, 112 give a more literal ren­dering of the Greek than the translators judged suitable for the text, and 37 give readings of different manuscripts.&lt;br /&gt;
&lt;br /&gt;
The KJV module (2.10 wip) currently has the following study notes:&lt;br /&gt;
* 6959 in the OT of which a few are duplicates on the same &amp;quot;page&amp;quot; for similar verses.&amp;lt;ref&amp;gt;Performing a sort operation to remove all duplicates reduces the total by 617 to 6342, though some of those removed would not be close to each other before the sort.&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Literatura Bautista have an article entitled [http://en.literaturabautista.com/exhaustive-listing-marginal-notes-1611-edition-king-james-bible An exhaustive listing of the marginal notes of the 1611 edition of the King James Bible]. This is a very useful resource for checking our module and comparing with the 1769 Reference Text. [[User:David Haslam|David Haslam]] has created an Excel worksheet for this purpose. We have identified up to 22 places where an OT note may be missing from the KJV module.&lt;br /&gt;
&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Road Map ==&lt;br /&gt;
First we must decide how to markup the observed differences between Old Scofield and Louis Klopsch with regard to red letter words, as well as the observed differences betweem the present text and the Blayney 1769 Oxford edition.&lt;br /&gt;
:''List briefly the further enhancements we would like to make in the future beyond the next release''.&lt;br /&gt;
'''KJV module:'''&lt;br /&gt;
* Add AV front matter, dedicatory and preface.&lt;br /&gt;
* Judiciously update Words of Christ (''aka'' red letter markup) to match Louis Klopsch's 1901 edition.&lt;br /&gt;
* Update Strong's numbers and lemma.TR to the latest TR from Maurice Robinson. (3.0) As a side benefit, update CrossWire's TR module to match.&lt;br /&gt;
* Add Greek equivalent to Strong's numbers. (3.0)&lt;br /&gt;
* Mark all proper names with the '''name''' element; with type '''person''', '''geographic''', etc.&lt;br /&gt;
* ''Tentative''. Split KJV into KJV and AV where AV is an orthographic representation of the 1769 KJV. E.g. long s, ae, oe, fl, ffl, ....&lt;br /&gt;
&lt;br /&gt;
Further thoughts based upon having the Blayney edition:&lt;br /&gt;
* Audit OT notes and make any necessary corrections.&lt;br /&gt;
* Add front-matter: dedicatory and preface, OT intro, NT intro, ....&lt;br /&gt;
* Add print page breaks. Tying to the dead-tree edition. These would be internal markers.&lt;br /&gt;
* Add chronology (found at the top of page margins) as note to chapter starts (probably in first verse or verse 0.)&lt;br /&gt;
* Add NT chapter descriptions.&lt;br /&gt;
* Add OT chapter descriptions.&lt;br /&gt;
* Add xrefs and notes to NT.&lt;br /&gt;
* Add xrefs to OT.&lt;br /&gt;
&lt;br /&gt;
'''KJVA module:''' &lt;br /&gt;
:''KJVA is not being rebuilt when KJV is updated. It should be.''&lt;br /&gt;
* Build KJVA and KJV from same XML file.&lt;br /&gt;
* Move the main title for EsthAdd to chapter 10&lt;br /&gt;
* Insert a horizontal ellipsis in the 12 empty verses before EsthAdd.10.4&lt;br /&gt;
* Review book titles. Two books (Susanna &amp;amp; Bel) have text between the title and chapter 1.&lt;br /&gt;
* Audit DC (deuterocanonical) books text and markup.&amp;lt;BR&amp;gt;There are only 36 instances in the DC books that use the '''transChange''' element.&lt;br /&gt;
* Check a printed edition for any Pilcrows and add them if found.&lt;br /&gt;
* Add DC study notes. There are none in the existing module!&lt;br /&gt;
* Add DC chapter descriptions.&lt;br /&gt;
* Add the two prologues to Sirach: one &amp;quot;made by an uncertain Author&amp;quot;; the other &amp;quot;of the Wisdom of Jesus the Son of Sirach.&amp;quot;&lt;br /&gt;
* Add DC xrefs. cf. Blayney's Bible included DC xrefs in the PC (protocanonical) OT &amp;amp; NT books.&lt;br /&gt;
&lt;br /&gt;
== History ==&lt;br /&gt;
=== Text Development Stages ===&lt;br /&gt;
From the time the KJV module was first released, text and markup development has been done in several major stages:&lt;br /&gt;
* The original '''KJV2003''' Project &amp;amp;ndash; ''user page no longer exists''&lt;br /&gt;
* The [http://www.crosswire.org/~dmsmith/kjv2006/ KJV2006] Project&lt;br /&gt;
* The [[User:Dmsmith/KJV2011|KJV2011]] Effort&lt;br /&gt;
* The [[User:Dmsmith/KJV 2.6|KJV 2.6]] Effort &amp;amp;ndash; begun in 2013 and ongoing...&lt;br /&gt;
&lt;br /&gt;
=== Module Versions ===&lt;br /&gt;
While the KJV was a module at CrossWire prior to version 2.0, this is the earliest for which dates can be determined.&amp;lt;BR&amp;gt;Dates prior to version 2.3 are best estimates. (For changes in versions 1.x, refer to the file kjv.conf)&lt;br /&gt;
{|  width=&amp;quot;100%&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;sortable&amp;quot;&lt;br /&gt;
! width=&amp;quot;5%&amp;quot;|Revision&lt;br /&gt;
! width=&amp;quot;10%&amp;quot;|Date&lt;br /&gt;
! width=&amp;quot;85%&amp;quot;|Description&lt;br /&gt;
|- &lt;br /&gt;
| 2.10&lt;br /&gt;
| Future&lt;br /&gt;
| Improved OSIS markup.&lt;br /&gt;
Details: (''with progress marker'')&lt;br /&gt;
* Update our custom [[OSIS 211 CR|OSIS schema]] to properly validate '''type''' values in '''rdg''' element.&lt;br /&gt;
* Correct type=&amp;quot;alternative&amp;quot; (2.9) to &amp;quot;alternate&amp;quot;.&lt;br /&gt;
* Move '''sID''' before '''osisID''' in verse elements.&lt;br /&gt;
* Add a final full-stop to all notes previously lacking one.&lt;br /&gt;
* Add a final full-stop to each book title, as observed in the Blayney edition.&lt;br /&gt;
* Mark all the abbreviations for &amp;quot;LXX&amp;quot;, &amp;quot;Gr.&amp;quot; &amp;amp; &amp;quot;Heb.&amp;quot; found in notes using the '''abbr''' element.&lt;br /&gt;
* Add a space after the ¶ in the milestone marker.&lt;br /&gt;
* Add the hitherto missing ¶ in NT books: Romans&amp;amp;mdash;Revelation.&lt;br /&gt;
* Change red ¶ to black (i.e. within text marked as &amp;quot;words of Jesus&amp;quot;)&lt;br /&gt;
* Make minor corrections to a few notes.&lt;br /&gt;
* Add the comma after &amp;quot;: or&amp;quot; and &amp;quot;: that is&amp;quot; that was missing from some notes. &lt;br /&gt;
* Add '''osisRef''' to '''catchWord''' (for now at least, mainly for single keywords).&lt;br /&gt;
* Improve markup for colophon div in each Pauline epistle&lt;br /&gt;
* Add '''osisID''' to the canonical Psalm titles.&lt;br /&gt;
-----&lt;br /&gt;
* Mark up the '''title''' element for each chapter to mimic the way that Blayney did it.&lt;br /&gt;
* Remove the redundant '''chapterTitle''' attribute from the '''chapter''' element&lt;br /&gt;
* Add some few notes missing from the OT (less than 22).&lt;br /&gt;
* Add '''osisID''' &amp;amp; '''n''' attributes to '''note''' element.&lt;br /&gt;
* Move some notes from Psalms verse 1 to the canonical '''title''' element.&lt;br /&gt;
* Review and update conf file where required.&lt;br /&gt;
|- &lt;br /&gt;
| 2.9&lt;br /&gt;
| 2016-01-21&lt;br /&gt;
| Improved OSIS markup.&lt;br /&gt;
Details:&lt;br /&gt;
* Added '''catchWord''' and reading ('''rdg''') markup to notes.&lt;br /&gt;
* Improved markup placement for ''Selah'' in 13 places.&lt;br /&gt;
|- &lt;br /&gt;
| 2.8&lt;br /&gt;
| 2015-12-20&lt;br /&gt;
| Improved OSIS markup.&lt;br /&gt;
Details:&lt;br /&gt;
* Moved Ps 119 acrostic titles before verse number.&lt;br /&gt;
* Changed double spaces to a single space.&lt;br /&gt;
* Changed &amp;quot;Heb &amp;quot; to &amp;quot;Heb. &amp;quot; in notes.&lt;br /&gt;
* Added Feature=NoParagraphs.&lt;br /&gt;
|- &lt;br /&gt;
| 2.7&lt;br /&gt;
| 2015-08-09&lt;br /&gt;
| Fixed bugs preventing the display of some Strong's Numbers in the Old Testament.&lt;br /&gt;
Improved markup of Strong's numbers in 2 Cor 15.&lt;br /&gt;
|- &lt;br /&gt;
| 2.6.1&lt;br /&gt;
| 2014-02-15&lt;br /&gt;
| Added GlobalOptionFilter for OSISLemma&lt;br /&gt;
|- &lt;br /&gt;
| 2.6&lt;br /&gt;
| 2013-10-05&lt;br /&gt;
| Fixed bugs. Added Greek from TR.&lt;br /&gt;
|- &lt;br /&gt;
| 2.5&lt;br /&gt;
| 2013-02-02&lt;br /&gt;
| Fixed bugs. See: [[User:Dmsmith/KJV2011|KJV2011]]&lt;br /&gt;
Details:&lt;br /&gt;
* Fixed markup of added words.&lt;br /&gt;
* Fixed more Words of Christ markup.&lt;br /&gt;
* Fixed punctuation, apostrophes, dashes and placement of spaces.&lt;br /&gt;
* Fixed the markup of a word that was split into two parts.&lt;br /&gt;
* Other bug fixes.&lt;br /&gt;
|- &lt;br /&gt;
| 2.4&lt;br /&gt;
| 2009-05-29&lt;br /&gt;
| Fixed bugs. Updated red-letter markup of Words of Christ.&lt;br /&gt;
|- &lt;br /&gt;
| 2.3&lt;br /&gt;
| 2006-10-09&lt;br /&gt;
| Fixed bugs. See: [http://crosswire.org/~dmsmith/kjv2006/ Project KJV2006]&lt;br /&gt;
Goals:&lt;br /&gt;
* Faithful representation of the KJV.&lt;br /&gt;
* Each book of the Bible is well-formed xml.&lt;br /&gt;
* Each book of the Bible is valid OSIS xml according to the 2.1.1 schema.&lt;br /&gt;
* The markup conforms to OSIS best practices as mentioned on the Sword-devel mailing list and the OSIS 2.1.1 user's manual&lt;br /&gt;
* Strong's markup normalized.&lt;br /&gt;
&lt;br /&gt;
Details:&lt;br /&gt;
* The xml is now well-formed.&lt;br /&gt;
* The xml is now valid OSIS 2.1.1&lt;br /&gt;
* Strong's numbers have been normalized.&lt;br /&gt;
* Fixed the missing 's in the OT&lt;br /&gt;
* Moved whitespace and puncutation to a more sensible location and fixed whitespace problems.&lt;br /&gt;
* Positioned the [http://en.wikipedia.org/wiki/Pilcrow pilcrow symbol] ¶ at the start of verses.&lt;br /&gt;
* Validated against Old Scofield Study Bible for all differences found by comparing against the KJV encoded by Tim Lanfear for CCEL.&lt;br /&gt;
* Validated against Old Scofield Study Bible for all differences found by comparing against the KJV encoded Interleaf Bible.&lt;br /&gt;
* Fixed all existing titles and added missing ones.&lt;br /&gt;
* Fixed paragraphing&lt;br /&gt;
* Tagged all inscriptions&lt;br /&gt;
* Fixed and tagged all divine names&lt;br /&gt;
* Added xlit to w elements for the acrostic in Psalm 119&lt;br /&gt;
* Hyphenated names&lt;br /&gt;
* Fixed names with Æ and æ&lt;br /&gt;
* Fixed a bug in osis2mod that incorrectly encoded the last verse of each book&lt;br /&gt;
* Removed Strong's number H00 as it does not exist.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 2.2&lt;br /&gt;
| 2004-07-25&lt;br /&gt;
| Updated to 20040121 snapshot of KJV2003.&lt;br /&gt;
|- &lt;br /&gt;
| 2.1&lt;br /&gt;
| 2003-06-24&lt;br /&gt;
| Changed Old Testament to use OSIS tags, removing the last of the GBF markup.&amp;lt;BR&amp;gt;Also updated to 20030624 snapshot of KJV2003.  Compressed.&lt;br /&gt;
|- &lt;br /&gt;
| 2.0&lt;br /&gt;
| 2003-01-08&lt;br /&gt;
| Changed New Testament to use a snapshot of the KJV2003 Project&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Help:Contents#Modules|Reporting module issues]]&lt;br /&gt;
* [[CrossWire KJVA|English: KJVA]] module &amp;amp;ndash; KJV with Apocrypha&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
* [http://www.crossway.org/blog/2006/03/red-letter-origin/ Origin of Red-Letter Bibles] &amp;amp;ndash; CrossWay blog,  March 23, 2006. Somewhat more informative than the Wikipedia [http://en.wikipedia.org/wiki/Red_letter_edition page].&lt;br /&gt;
* [http://books.google.co.uk/books?vid=BL:A0017123081&amp;amp;hl=en Fenwick, George (1759), ''Thoughts on the Hebrew titles of the Psalms : and on some of those in the Septuagint, endeavouring to discover the meaning, and point out the use of them'']&lt;br /&gt;
&lt;br /&gt;
[[Category:Modules|CrossWire KJV]]&lt;br /&gt;
[[Category:English Bibles|CrossWire KJV]]&lt;br /&gt;
[[Category:OSIS|CrossWire KJV]]&lt;br /&gt;
[[Category:Copyright|CrossWire KJV]]&lt;/div&gt;</summary>
		<author><name>Dmsmith</name></author>	</entry>

	<entry>
		<id>https://wiki.crosswire.org/index.php?title=CrossWire_KJV&amp;diff=14693</id>
		<title>CrossWire KJV</title>
		<link rel="alternate" type="text/html" href="https://wiki.crosswire.org/index.php?title=CrossWire_KJV&amp;diff=14693"/>
				<updated>2016-01-30T13:46:27Z</updated>
		
		<summary type="html">&lt;p&gt;Dmsmith: /* External links */ then -&amp;gt; than&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;:''This page is a work in progress''.&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
This page is intended to provide a more detailed background and description for the one module for which the OSIS XML source text is maintained by CrossWire volunteers. All other modules are based on source text from external providers.&lt;br /&gt;
&lt;br /&gt;
The KJV module was one of the earliest to be released and distributed by CrossWire after '''The SWORD Project''' was launched. It remains one of the most frequently downloaded modules in all our repositories.&lt;br /&gt;
&lt;br /&gt;
The KJV module text is based substantially on the '''1769 Oxford Edition''' (the basis for all modern editions), not the original 1611 first edition. See our [[EnduserFAQ#Do_you_have_the_original_King_James.2FAuthorized_Version.3F|FAQ]].&lt;br /&gt;
&lt;br /&gt;
== Provenance and Acknowledgements ==&lt;br /&gt;
Strong's numbers provide a useful means for looking up the exact original language word in a lexicon that is keyed to [http://en.wikipedia.org/wiki/Strong's_Concordance Strong's Concordance].&lt;br /&gt;
&lt;br /&gt;
[http://en.wikipedia.org/wiki/Morphology_%28linguistics%29 Morphology] data provides a means to understand the structure of the original language's morphemes and other linguistic units.&lt;br /&gt;
&lt;br /&gt;
* The Strong's numbers in the OT were obtained from [http://www.bf.org/ The Bible Foundation]&lt;br /&gt;
* The Strong's data in the NT was obtained from the [[CrossWire_KJV#Text_Development_Stages|KJV2003 Project]] at CrossWire.&lt;br /&gt;
&lt;br /&gt;
Special thanks to the volunteers at Bible Foundation for keying the Hebrew/English data and of Project KJV2003 for working toward the completion of synchronizing the English phrases to the Stephanas [http://en.wikipedia.org/wiki/Textus_Receptus Textus Receptus], and to Dr. Maurice Robinson for providing the base Greek text with Strong's and Morphology.&lt;br /&gt;
&lt;br /&gt;
We are also appreciative of formatting markup that was provided by [http://www.ebible.org Michael Paul Johnson]. &lt;br /&gt;
&lt;br /&gt;
Their time and generosity to contribute such for the free use of the Body of Christ is a great blessing and this derivitive work could not have been possible without these efforts of so many individuals.  It is in this spirit that we in turn offer the KJV2003 Project text and its successors freely for any purpose.&lt;br /&gt;
&lt;br /&gt;
We are also appreciative for the feedback reports over the years from several individuals that have enabled us to fix minor text and markup issues by comparison with the reference texts.&lt;br /&gt;
&lt;br /&gt;
== Reference Text ==&lt;br /&gt;
The CrossWire KJV is meant to be the faithful e-text edition&amp;lt;ref&amp;gt;With added features suited to the digital age we live in.&amp;lt;/ref&amp;gt; of the Benjamin Blayney's 1769 Oxford edition of the KJV&amp;lt;ref&amp;gt;Excluding the Apocrypha.&amp;lt;/ref&amp;gt; (hereafter called 1769 KJV). To that end we required it to be diligently checked against a reference standard for accuracy. Finding a reference text was a daunting task. What is known today as the KJV has been changed on a regular basis since it's first publication to today.&amp;lt;ref&amp;gt;Refer to [http://en.wikipedia.org/wiki/Frederick_Henry_Ambrose_Scrivener F H A Scrivener] and to the [http://en.wikipedia.org/wiki/New_Cambridge_Paragraph_Bible New Cambridge Paragraph Bible].&amp;lt;/ref&amp;gt; Some of these changes are well known others are quietly done by publishers.&lt;br /&gt;
&lt;br /&gt;
There also was a need to have a reference for red-letter text. This too varied from one KJV to another.&lt;br /&gt;
&lt;br /&gt;
:''See also [[User:Dmsmith/KJV_2.6#Reference_text_policy]]''.&lt;br /&gt;
&lt;br /&gt;
===Need for a reference text===&lt;br /&gt;
Ideally, the reference standard would be a faithful electronic copy of 1769 KJV. When CrossWire's KJV2006 Project was started there was no such text either as a facsimile or eText. In lieu of that, finding an acceptable text was needed to arbitrate the claims that &amp;quot;my KJV is right and it is different from what you have.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
We compared our text with two independent 1769 KJV eTexts (CCEL and InterLeaf). All of the other eTexts we found seemed to be one of these three. Those comparisons yielded differences that needed to be verified in an independent text. Thus the need for *a* dead tree text. While working on the KJV2006 release, several websites that were dedicated to producing a &amp;quot;true&amp;quot; text were abandoned with chagrin that it is not a doable task apart from having a facsimile of the 1769 KJV, which was not known.&lt;br /&gt;
&lt;br /&gt;
One criteria was finding a text that the [http://en.wikipedia.org/wiki/King_James_Only_movement KJV-only] adherents felt was more accurate 1769 KJV text. Using various listings of differences between current and &amp;quot;true&amp;quot;, dozens of dead tree texts in several stores were examined. Also, it was important to avoid copyright claims based upon minor changes in the text. Both combined to come up with the Public Domain [http://en.wikipedia.org/wiki/Scofield_Reference_Bible Old Scofield Study Bible]&amp;lt;ref&amp;gt;The use of the Scofield in no way implies our endorsement of the extensive non-canonical study notes therein.&amp;lt;/ref&amp;gt;. The Biblical text was thought to be one of the most faithful copies of the 1769 Oxford Edition.&amp;lt;ref&amp;gt;i.e. Even by those in the KJV Only movement.&amp;lt;/ref&amp;gt; It was published in 1917, which was important in terms of USA copyright law. It was also considered to be a faithful red-letter text.&lt;br /&gt;
&lt;br /&gt;
We are in the process of obtaining a hard copy facsimile of the &amp;quot;Blayney&amp;quot; 1769 KJV text. This will be the reference text going forward.&lt;br /&gt;
&lt;br /&gt;
===Need for a reference red-letter text===&lt;br /&gt;
Red-Letter text is a fairly recent addition to the 1769 KJV. In 1899, Louis Klopsch proposed rendering the words of Christ in red letters. His work was published in 1901. Recently (2016-01-28), we've obtained Louis Klopsch's 1901 edition of the KJV and will use that as the future reference for red-letter text.&lt;br /&gt;
&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Chosen Texts===&lt;br /&gt;
The public domain Old Scofield Study Bible was used for version 2.3 to 2.10 for text and for version 2.3 to 2.9 for red-letter markup.&lt;br /&gt;
&lt;br /&gt;
The Louis Klopsch 1901 KJV is used for red-letter markup for 2.10 and later.&lt;br /&gt;
&lt;br /&gt;
The 1769 KJV facsimile is used for text, front-matter, notes, cross-references, titles, .... for versions after 2.11.&lt;br /&gt;
* The Holy Bible, Containing the Old and New Testaments: Volume 1 of 4, ISBN: 9781171169826&lt;br /&gt;
* The Holy Bible, Containing the Old and New Testaments: Volume 2 of 4, ISBN: 9781171169819&lt;br /&gt;
* The Holy Bible, Containing the Old and New Testaments: Volume 3 of 4, ISBN: 9781171169802&lt;br /&gt;
* The New Testament of Our Lord and Saviour Jesus Christ,&amp;lt;br/&amp;gt;Translated Out of the Original Greek:&amp;lt;br/&amp;gt;And with the Former Translations Diligently Compared and Revised,&amp;lt;br/&amp;gt;by His Majesty's Special Command. Appointed to by Read in Churches.&amp;lt;br/&amp;gt;Volume 4 of 4, ISBN: 9781171169796&lt;br /&gt;
&lt;br /&gt;
== Copyright ==&lt;br /&gt;
Any copyright that might be obtained for this effort is held by the CrossWire Bible Society © 2003-2016 and the CrossWire Bible Society hereby grants a general public license to use this text for any purpose.&lt;br /&gt;
&lt;br /&gt;
CrossWire's KJV module is an amalgamation of different source material. Each has its own copyright or is in the public domain.&lt;br /&gt;
* The actual text validated against 2 independent eTexts and found differences against our hard-copy reference for such.&lt;br /&gt;
* The [http://en.wikipedia.org/wiki/Red_letter_edition Red Letter] markup of the words of Christ have been validated against our hard-copy reference for such.&lt;br /&gt;
* The Strong's numbers in the OT are from [http://www.bf.org/ The Bible Foundation].&lt;br /&gt;
* The Strong's numbers in the NT are from [http://apps.sebts.edu/FacultyUploads/Maurice%20Robinson%20CV.pdf Dr Maurice A. Robinson], Senior Professor of New Testament and Greek at [http://en.wikipedia.org/wiki/Southeastern_Baptist_Theological_Seminary Southeastern Baptist Theological Seminary] in North Carolina.&lt;br /&gt;
* The OSIS XML markup is a unique effort that began with our KJV2003 project &amp;amp;ndash; Copyright © 2003-2016 The CrossWire Bible Society.&lt;br /&gt;
* The tagging of Strong's numbers to the NT text is a unique effort of our KJV2003 project &amp;amp;ndash;  Copyright © 2003-2016 The CrossWire Bible Society.&lt;br /&gt;
&lt;br /&gt;
=== Crown copyright, Letters Patent and the KJV ===&lt;br /&gt;
In the United Kingdom, the text of the [http://en.wikipedia.org/wiki/King_James_Version Authorized King James Version] of the Bible is protected by '''royal prerogative'''. &amp;quot;There is a small class of materials where the Crown claims the right to control reproduction outside normal copyright law due to '''Letters Patent''' issued under the royal prerogative. This material includes the '''King James Bible''', and the '''Book of Common Prayer'''.&amp;quot; See [http://en.wikipedia.org/wiki/Crown_copyright#United_Kingdom Crown copyright].&lt;br /&gt;
&lt;br /&gt;
In most of the world, the Authorized Version has passed out of copyright and is freely reproduced. In the United Kingdom, the British Crown restricts production of the Authorized Version per transitional exemptions from the Copyright Act 1775 (which implemented this clause) in the Copyright, Designs and patents Act 1988 (Schedule I, section 13(1)), which expire in 2039. [http://en.wikipedia.org/wiki/Cambridge_University_Press Cambridge University Press]&amp;lt;ref&amp;gt;Cambridge University Press wrote to [[Projects:Go_Bible|Go Bible]] several years ago, acting as agents of Crown copyright. Their request was simple and straightforward, viz., that we include a clear statement about Crown copyright for the KJV. After we did that, and informed them, they seem to have been satisfied.&amp;lt;/ref&amp;gt;, [http://en.wikipedia.org/wiki/Oxford_University_Press Oxford University Press], [http://en.wikipedia.org/wiki/HarperCollins HarperCollins] and the [http://en.wikipedia.org/wiki/Queen's_Printer Queen's Printers] have the right to produce the Authorized Version. See [http://en.wikipedia.org/wiki/King_James_Bible King James Bible].&lt;br /&gt;
&lt;br /&gt;
The [http://en.wikipedia.org/wiki/British_and_Foreign_Bible_Society British &amp;amp; Foreign Bible Society] (based in the UK) respects this copyright status, although many American organisations do not respect it and treat it wrongly as if it were public domain.  In reality, the many editions of the KJV used in the USA are a revision of the text made by the [http://en.wikipedia.org/wiki/American_Bible_Society American Bible Society] and the rights for this revision are still held by ABS.&lt;br /&gt;
&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Road Map ==&lt;br /&gt;
:''List briefly the further enhancements we would like to make in the future beyond the next release''.&lt;br /&gt;
'''KJV module:'''&lt;br /&gt;
* Update Strong's numbers and lemma.TR to the latest TR from Maurice Robinson. (3.0) As a side benefit, update CrossWire's TR module to match.&lt;br /&gt;
* Add Greek equivalent to Strong's numbers. (3.0)&lt;br /&gt;
* Update to match Louis Klopsch's 1901 red-letter markup. (2.10) ''Note differences wrt Old Scofield''.&lt;br /&gt;
* ''Tentative''. Split KJV into KJV and AV where AV is an orthographic representation of the 1769 KJV. E.g. long s, ae, oe, fl, ffl, ....&lt;br /&gt;
&lt;br /&gt;
Further thoughts based upon having the Blayney edition:&lt;br /&gt;
* Audit OT notes and make any necessary corrections.&lt;br /&gt;
* Add front-matter: dedicatory and preface, OT intro, NT intro, ....&lt;br /&gt;
* Add print page breaks. Tying to the dead-tree edition. These would be internal markers.&lt;br /&gt;
* Add chronology (found at the top of page margins) as note to chapter starts (probably in first verse or verse 0.)&lt;br /&gt;
* Add NT chapter descriptions.&lt;br /&gt;
* Add OT chapter descriptions.&lt;br /&gt;
* Add xrefs and notes to NT.&lt;br /&gt;
* Add xrefs to OT.&lt;br /&gt;
&lt;br /&gt;
'''KJVA module:''' &lt;br /&gt;
:''KJVA is not being rebuilt when KJV is updated. It should be.''&lt;br /&gt;
* Build KJVA and KJV from same XML file.&lt;br /&gt;
* Audit DC (deuterocanonical) books text and markup.&lt;br /&gt;
* Add DC study notes. There are none in the existing module!&lt;br /&gt;
* Add DC chapter descriptions.&lt;br /&gt;
* Add DC xrefs. cf. Blayney's Bible included DC xrefs in the PC (protocanonical) OT &amp;amp; NT books.&lt;br /&gt;
&lt;br /&gt;
== History ==&lt;br /&gt;
=== Text Development Stages ===&lt;br /&gt;
From the time the KJV module was first released, text and markup development has been done in several major stages:&lt;br /&gt;
* The original '''KJV2003''' Project &amp;amp;ndash; ''user page no longer exists''&lt;br /&gt;
* The [http://www.crosswire.org/~dmsmith/kjv2006/ KJV2006] Project&lt;br /&gt;
* The [[User:Dmsmith/KJV2011|KJV2011]] Effort&lt;br /&gt;
* The [[User:Dmsmith/KJV 2.6|KJV 2.6]] Effort &amp;amp;ndash; begun in 2013 and ongoing...&lt;br /&gt;
&lt;br /&gt;
=== Module Versions ===&lt;br /&gt;
While the KJV was a module at CrossWire prior to version 2.0, this is the earliest for which dates can be determined.&amp;lt;BR&amp;gt;Dates prior to version 2.3 are best estimates. (For changes in versions 1.x, refer to the file kjv.conf)&lt;br /&gt;
{|  width=&amp;quot;100%&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;sortable&amp;quot;&lt;br /&gt;
! width=&amp;quot;5%&amp;quot;|Revision&lt;br /&gt;
! width=&amp;quot;10%&amp;quot;|Date&lt;br /&gt;
! width=&amp;quot;85%&amp;quot;|Description&lt;br /&gt;
|- &lt;br /&gt;
| 2.10&lt;br /&gt;
| Future&lt;br /&gt;
| Improved OSIS markup.&lt;br /&gt;
Details: (''with progress marker'')&lt;br /&gt;
* Update our custom [[OSIS 211 CR|OSIS schema]] to properly validate '''type''' values in '''rdg''' element.&lt;br /&gt;
* Correct type=&amp;quot;alternative&amp;quot; (2.9) to &amp;quot;alternate&amp;quot;.&lt;br /&gt;
* Move '''sID''' before '''osisID''' in verse elements.&lt;br /&gt;
* Add a final full-stop to all notes previously lacking one.&lt;br /&gt;
* Add a space after the ¶ in the milestone marker.&lt;br /&gt;
* Add the hitherto missing ¶ in NT books: Romans&amp;amp;mdash;Revelation.&lt;br /&gt;
* Change red ¶ to black (i.e. within text marked as &amp;quot;words of Jesus&amp;quot;)&lt;br /&gt;
* Make minor corrections to a few notes.&lt;br /&gt;
-----&lt;br /&gt;
* Improve markup for colophon div in each Pauline epistle&lt;br /&gt;
* Add '''osisID''' &amp;amp; '''n''' attributes to '''note''' element.&lt;br /&gt;
* Move some notes from Psalms verse 1 to the canonical '''title''' element.&lt;br /&gt;
* Add AV front matter, dedicatory and preface.&lt;br /&gt;
* Update Words of Christ (aka red letter text) to match Louis Klopsch's original work.&lt;br /&gt;
|- &lt;br /&gt;
| 2.9&lt;br /&gt;
| 2016-01-21&lt;br /&gt;
| Improved OSIS markup.&lt;br /&gt;
Details:&lt;br /&gt;
* Added '''catchWord''' and reading ('''rdg''') markup to notes.&lt;br /&gt;
* Improved markup placement for ''Selah'' in 13 places.&lt;br /&gt;
|- &lt;br /&gt;
| 2.8&lt;br /&gt;
| 2015-12-20&lt;br /&gt;
| Improved OSIS markup.&lt;br /&gt;
Details:&lt;br /&gt;
* Moved Ps 119 acrostic titles before verse number.&lt;br /&gt;
* Changed double spaces to a single space.&lt;br /&gt;
* Changed &amp;quot;Heb &amp;quot; to &amp;quot;Heb. &amp;quot; in notes.&lt;br /&gt;
* Added Feature=NoParagraphs.&lt;br /&gt;
|- &lt;br /&gt;
| 2.7&lt;br /&gt;
| 2015-08-09&lt;br /&gt;
| Fixed bugs preventing the display of some Strong's Numbers in the Old Testament.&lt;br /&gt;
Improved markup of Strong's numbers in 2 Cor 15.&lt;br /&gt;
|- &lt;br /&gt;
| 2.6.1&lt;br /&gt;
| 2014-02-15&lt;br /&gt;
| Added GlobalOptionFilter for OSISLemma&lt;br /&gt;
|- &lt;br /&gt;
| 2.6&lt;br /&gt;
| 2013-10-05&lt;br /&gt;
| Fixed bugs. Added Greek from TR.&lt;br /&gt;
|- &lt;br /&gt;
| 2.5&lt;br /&gt;
| 2013-02-02&lt;br /&gt;
| Fixed bugs. See: [[User:Dmsmith/KJV2011|KJV2011]]&lt;br /&gt;
Details:&lt;br /&gt;
* Fixed markup of added words.&lt;br /&gt;
* Fixed more Words of Christ markup.&lt;br /&gt;
* Fixed punctuation, apostrophes, dashes and placement of spaces.&lt;br /&gt;
* Fixed the markup of a word that was split into two parts.&lt;br /&gt;
* Other bug fixes.&lt;br /&gt;
|- &lt;br /&gt;
| 2.4&lt;br /&gt;
| 2009-05-29&lt;br /&gt;
| Fixed bugs. Updated red-letter markup of Words of Christ.&lt;br /&gt;
|- &lt;br /&gt;
| 2.3&lt;br /&gt;
| 2006-10-09&lt;br /&gt;
| Fixed bugs. See: [http://crosswire.org/~dmsmith/kjv2006/ Project KJV2006]&lt;br /&gt;
Goals:&lt;br /&gt;
* Faithful representation of the KJV.&lt;br /&gt;
* Each book of the Bible is well-formed xml.&lt;br /&gt;
* Each book of the Bible is valid OSIS xml according to the 2.1.1 schema.&lt;br /&gt;
* The markup conforms to OSIS best practices as mentioned on the Sword-devel mailing list and the OSIS 2.1.1 user's manual&lt;br /&gt;
* Strong's markup normalized.&lt;br /&gt;
&lt;br /&gt;
Details:&lt;br /&gt;
* The xml is now well-formed.&lt;br /&gt;
* The xml is now valid OSIS 2.1.1&lt;br /&gt;
* Strong's numbers have been normalized.&lt;br /&gt;
* Fixed the missing 's in the OT&lt;br /&gt;
* Moved whitespace and puncutation to a more sensible location and fixed whitespace problems.&lt;br /&gt;
* Positioned the [http://en.wikipedia.org/wiki/Pilcrow pilcrow symbol] ¶ at the start of verses.&lt;br /&gt;
* Validated against Old Scofield Study Bible for all differences found by comparing against the KJV encoded by Tim Lanfear for CCEL.&lt;br /&gt;
* Validated against Old Scofield Study Bible for all differences found by comparing against the KJV encoded Interleaf Bible.&lt;br /&gt;
* Fixed all existing titles and added missing ones.&lt;br /&gt;
* Fixed paragraphing&lt;br /&gt;
* Tagged all inscriptions&lt;br /&gt;
* Fixed and tagged all divine names&lt;br /&gt;
* Added xlit to w elements for the acrostic in Psalm 119&lt;br /&gt;
* Hyphenated names&lt;br /&gt;
* Fixed names with Æ and æ&lt;br /&gt;
* Fixed a bug in osis2mod that incorrectly encoded the last verse of each book&lt;br /&gt;
* Removed Strong's number H00 as it does not exist.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 2.2&lt;br /&gt;
| 2004-07-25&lt;br /&gt;
| Updated to 20040121 snapshot of KJV2003.&lt;br /&gt;
|- &lt;br /&gt;
| 2.1&lt;br /&gt;
| 2003-06-24&lt;br /&gt;
| Changed Old Testament to use OSIS tags, removing the last of the GBF markup.&amp;lt;BR&amp;gt;Also updated to 20030624 snapshot of KJV2003.  Compressed.&lt;br /&gt;
|- &lt;br /&gt;
| 2.0&lt;br /&gt;
| 2003-01-08&lt;br /&gt;
| Changed New Testament to use a snapshot of the KJV2003 Project&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Help:Contents#Modules|Reporting module issues]]&lt;br /&gt;
* [[CrossWire KJVA|English: KJVA]] module &amp;amp;ndash; KJV with Apocrypha&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
* [http://www.crossway.org/blog/2006/03/red-letter-origin/ Origin of Red-Letter Bibles] &amp;amp;ndash; CrossWay blog,  March 23, 2006. Somewhat more informative than the Wikipedia [http://en.wikipedia.org/wiki/Red_letter_edition page].&lt;br /&gt;
&lt;br /&gt;
[[Category:Modules|CrossWire KJV]]&lt;br /&gt;
[[Category:English Bibles|CrossWire KJV]]&lt;br /&gt;
[[Category:OSIS|CrossWire KJV]]&lt;br /&gt;
[[Category:Copyright|CrossWire KJV]]&lt;/div&gt;</summary>
		<author><name>Dmsmith</name></author>	</entry>

	<entry>
		<id>https://wiki.crosswire.org/index.php?title=CrossWire_KJV&amp;diff=14662</id>
		<title>CrossWire KJV</title>
		<link rel="alternate" type="text/html" href="https://wiki.crosswire.org/index.php?title=CrossWire_KJV&amp;diff=14662"/>
				<updated>2016-01-28T22:32:57Z</updated>
		
		<summary type="html">&lt;p&gt;Dmsmith: /* Chosen Texts */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;:''This page is a work in progress''.&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
This page is intended to provide a more detailed background and description for the one module for which the OSIS XML source text is maintained by CrossWire volunteers. All other modules are based on source text from external providers.&lt;br /&gt;
&lt;br /&gt;
The KJV module was one of the earliest to be released and distributed by CrossWire after '''The SWORD Project''' was launched. It remains one of the most frequently downloaded modules in all our repositories.&lt;br /&gt;
&lt;br /&gt;
The KJV module text is based substantially on the '''1769 Oxford Edition''' (the basis for all modern editions), not the original 1611 first edition. See our [[EnduserFAQ#Do_you_have_the_original_King_James.2FAuthorized_Version.3F|FAQ]].&lt;br /&gt;
&lt;br /&gt;
== Provenance and Acknowledgements ==&lt;br /&gt;
Strong's numbers provide a useful means for looking up the exact original language word in a lexicon that is keyed to [http://en.wikipedia.org/wiki/Strong's_Concordance Strong's Concordance].&lt;br /&gt;
&lt;br /&gt;
[http://en.wikipedia.org/wiki/Morphology_%28linguistics%29 Morphology] data provides a means to understand the structure of the original language's morphemes and other linguistic units.&lt;br /&gt;
&lt;br /&gt;
* The Strong's numbers in the OT were obtained from [http://www.bf.org/ The Bible Foundation]&lt;br /&gt;
* The Strong's data in the NT was obtained from the [[CrossWire_KJV#Text_Development_Stages|KJV2003 Project]] at CrossWire.&lt;br /&gt;
&lt;br /&gt;
Special thanks to the volunteers at Bible Foundation for keying the Hebrew/English data and of Project KJV2003 for working toward the completion of synchronizing the English phrases to the Stephanas [http://en.wikipedia.org/wiki/Textus_Receptus Textus Receptus], and to Dr. Maurice Robinson for providing the base Greek text with Strong's and Morphology.&lt;br /&gt;
&lt;br /&gt;
We are also appreciative of formatting markup that was provided by [http://www.ebible.org Michael Paul Johnson]. &lt;br /&gt;
&lt;br /&gt;
Their time and generosity to contribute such for the free use of the Body of Christ is a great blessing and this derivitive work could not have been possible without these efforts of so many individuals.  It is in this spirit that we in turn offer the KJV2003 Project text and its successors freely for any purpose.&lt;br /&gt;
&lt;br /&gt;
We are also appreciative for the feedback reports over the years from several individuals that have enabled us to fix minor text and markup issues by comparison with the reference texts.&lt;br /&gt;
&lt;br /&gt;
== Reference Text ==&lt;br /&gt;
The CrossWire KJV is meant to be the faithful e-text edition&amp;lt;ref&amp;gt;With added features suited to the digital age we live in.&amp;lt;/ref&amp;gt; of the Benjamin Blayney's 1769 Oxford edition of the KJV&amp;lt;ref&amp;gt;Excluding the Apocrypha.&amp;lt;/ref&amp;gt; (hereafter called 1769 KJV). To that end we required it to be diligently checked against a reference standard for accuracy. Finding a reference text was a daunting task. What is known today as the KJV has been changed on a regular basis since it's first publication to today.&amp;lt;ref&amp;gt;Refer to [http://en.wikipedia.org/wiki/Frederick_Henry_Ambrose_Scrivener F H A Scrivener] and to the [http://en.wikipedia.org/wiki/New_Cambridge_Paragraph_Bible New Cambridge Paragraph Bible].&amp;lt;/ref&amp;gt; Some of these changes are well known others are quietly done by publishers.&lt;br /&gt;
&lt;br /&gt;
There also was a need to have a reference for red-letter text. This too varied from one KJV to another.&lt;br /&gt;
&lt;br /&gt;
:''See also [[User:Dmsmith/KJV_2.6#Reference_text_policy]]''.&lt;br /&gt;
&lt;br /&gt;
===Need for a reference text===&lt;br /&gt;
Ideally, the reference standard would be a faithful electronic copy of 1769 KJV. When CrossWire's KJV2006 Project was started there was no such text either as a facsimile or eText. In lieu of that, finding an acceptable text was needed to arbitrate the claims that &amp;quot;my KJV is right and it is different from what you have.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
We compared our text with two independent 1769 KJV eTexts (CCEL and InterLeaf). All of the other eTexts we found seemed to be one of these three. Those comparisons yielded differences that needed to be verified in an independent text. Thus the need for *a* dead tree text. While working on the KJV2006 release, several websites that were dedicated to producing a &amp;quot;true&amp;quot; text were abandoned with chagrin that it is not a doable task apart from having a facsimile of the 1769 KJV, which was not known.&lt;br /&gt;
&lt;br /&gt;
One criteria was finding a text that the [http://en.wikipedia.org/wiki/King_James_Only_movement KJV-only] adherents felt was more accurate 1769 KJV text. Using various listings of differences between current and &amp;quot;true&amp;quot;, dozens of dead tree texts in several stores were examined. Also, it was important to avoid copyright claims based upon minor changes in the text. Both combined to come up with the Public Domain [http://en.wikipedia.org/wiki/Scofield_Reference_Bible Old Scofield Study Bible]&amp;lt;ref&amp;gt;The use of the Scofield in no way implies our endorsement of the extensive non-canonical study notes therein.&amp;lt;/ref&amp;gt;. The Biblical text was thought to be one of the most faithful copies of the 1769 Oxford Edition.&amp;lt;ref&amp;gt;i.e. Even by those in the KJV Only movement.&amp;lt;/ref&amp;gt; It was published in 1917, which was important in terms of USA copyright law. It was also considered to be a faithful red-letter text.&lt;br /&gt;
&lt;br /&gt;
We are in the process of obtaining a hard copy facsimile of the &amp;quot;Blayney&amp;quot; 1769 KJV text. This will be the reference text going forward.&lt;br /&gt;
&lt;br /&gt;
===Need for a reference red-letter text===&lt;br /&gt;
Red-Letter text is a fairly recent addition to the 1769 KJV. In 1899, Louis Klopsch proposed rendering the words of Christ in red letters. His work was published in 1901. Recently (2016-01-28), we've obtained Louis Klopsch's 1901 edition of the KJV and will use that as the future reference for red-letter text.&lt;br /&gt;
&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Chosen Texts===&lt;br /&gt;
The public domain Old Scofield Study Bible was used for version 2.3 to 2.10 for text and for version 2.3 to 2.9 for red-letter markup.&lt;br /&gt;
&lt;br /&gt;
The Louis Klopsch 1901 KJV is used for red-letter markup for 2.10 and later.&lt;br /&gt;
&lt;br /&gt;
The 1769 KJV facsimile is used for text, front-matter, notes, cross-references, titles, .... for versions after 2.11.&lt;br /&gt;
* The Holy Bible, Containing the Old and New Testaments: Volume 1 of 4, ISBN: 9781171169826&lt;br /&gt;
* The Holy Bible, Containing the Old and New Testaments: Volume 2 of 4, ISBN: 9781171169819&lt;br /&gt;
* The Holy Bible, Containing the Old and New Testaments: Volume 3 of 4, ISBN: 9781171169802&lt;br /&gt;
* The New Testament of Our Lord and Saviour Jesus Christ,&amp;lt;br/&amp;gt;Translated Out of the Original Greek:&amp;lt;br/&amp;gt;And with the Former Translations Diligently Compared and Revised,&amp;lt;br/&amp;gt;by His Majesty's Special Command. Appointed to by Read in Churches.&amp;lt;br/&amp;gt;Volume 4 of 4, ISBN: 9781171169796&lt;br /&gt;
&lt;br /&gt;
== Copyright ==&lt;br /&gt;
Any copyright that might be obtained for this effort is held by the CrossWire Bible Society © 2003-2016 and the CrossWire Bible Society hereby grants a general public license to use this text for any purpose.&lt;br /&gt;
&lt;br /&gt;
CrossWire's KJV module is an amalgamation of different source material. Each has its own copyright or is in the public domain.&lt;br /&gt;
* The actual text validated against 2 independent eTexts and found differences against our hard-copy reference for such.&lt;br /&gt;
* The [http://en.wikipedia.org/wiki/Red_letter_edition Red Letter] markup of the words of Christ have been validated against our hard-copy reference for such.&lt;br /&gt;
* The Strong's numbers in the OT are from [http://www.bf.org/ The Bible Foundation].&lt;br /&gt;
* The Strong's numbers in the NT are from [http://apps.sebts.edu/FacultyUploads/Maurice%20Robinson%20CV.pdf Dr Maurice A. Robinson], Senior Professor of New Testament and Greek at [http://en.wikipedia.org/wiki/Southeastern_Baptist_Theological_Seminary Southeastern Baptist Theological Seminary] in North Carolina.&lt;br /&gt;
* The OSIS XML markup is a unique effort that began with our KJV2003 project &amp;amp;ndash; Copyright © 2003-2016 The CrossWire Bible Society.&lt;br /&gt;
* The tagging of Strong's numbers to the NT text is a unique effort of our KJV2003 project &amp;amp;ndash;  Copyright © 2003-2016 The CrossWire Bible Society.&lt;br /&gt;
&lt;br /&gt;
=== Crown copyright, Letters Patent and the KJV ===&lt;br /&gt;
In the United Kingdom, the text of the [http://en.wikipedia.org/wiki/King_James_Version Authorized King James Version] of the Bible is protected by '''royal prerogative'''. &amp;quot;There is a small class of materials where the Crown claims the right to control reproduction outside normal copyright law due to '''Letters Patent''' issued under the royal prerogative. This material includes the '''King James Bible''', and the '''Book of Common Prayer'''.&amp;quot; See [http://en.wikipedia.org/wiki/Crown_copyright#United_Kingdom Crown copyright].&lt;br /&gt;
&lt;br /&gt;
In most of the world, the Authorized Version has passed out of copyright and is freely reproduced. In the United Kingdom, the British Crown restricts production of the Authorized Version per transitional exemptions from the Copyright Act 1775 (which implemented this clause) in the Copyright, Designs and patents Act 1988 (Schedule I, section 13(1)), which expire in 2039. [http://en.wikipedia.org/wiki/Cambridge_University_Press Cambridge University Press]&amp;lt;ref&amp;gt;Cambridge University Press wrote to [[Projects:Go_Bible|Go Bible]] several years ago, acting as agents of Crown copyright. Their request was simple and straightforward, viz., that we include a clear statement about Crown copyright for the KJV. After we did that, and informed them, they seem to have been satisfied.&amp;lt;/ref&amp;gt;, [http://en.wikipedia.org/wiki/Oxford_University_Press Oxford University Press], [http://en.wikipedia.org/wiki/HarperCollins HarperCollins] and the [http://en.wikipedia.org/wiki/Queen's_Printer Queen's Printers] have the right to produce the Authorized Version. See [http://en.wikipedia.org/wiki/King_James_Bible King James Bible].&lt;br /&gt;
&lt;br /&gt;
The [http://en.wikipedia.org/wiki/British_and_Foreign_Bible_Society British &amp;amp; Foreign Bible Society] (based in the UK) respects this copyright status, although many American organisations do not respect it and treat it wrongly as if it were public domain.  In reality, the many editions of the KJV used in the USA are a revision of the text made by the [http://en.wikipedia.org/wiki/American_Bible_Society American Bible Society] and the rights for this revision are still held by ABS.&lt;br /&gt;
&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Road Map ==&lt;br /&gt;
:''List briefly the further enhancements we would like to make in the future beyond the next release''.&lt;br /&gt;
* Update Strong's numbers and lemma.TR to the latest TR from Maurice Robinson. (3.0) As a side benefit, update CrossWire's TR module to match.&lt;br /&gt;
* Add Greek equivalent to Strong's numbers. (3.0)&lt;br /&gt;
* Update to match Louis Klopsch's 1901 red-letter markup. (2.10)&lt;br /&gt;
* Build KJV and KJVA from same kjvfull.xml file. (The KJVA is not being rebuilt when the KJV is updated. It should.)&lt;br /&gt;
* Split KJV into KJV and AV where AV is an orthographic representation of the 1769 KJV. E.g. long s, ae, oe, fl, ffl, ....&lt;br /&gt;
&lt;br /&gt;
Other thoughts based upon having the Blayney edition:&lt;br /&gt;
* Add front-matter: dedicatory and preface, OT intro, NT intro, ....&lt;br /&gt;
* Add print page breaks. Tying to the dead-tree edition. These would be internal markers.&lt;br /&gt;
* Add chronology as note to chapter starts (probably in first verse or verse 0.)&lt;br /&gt;
* Add NT chapter descriptions.&lt;br /&gt;
* Add OT chapter descriptions.&lt;br /&gt;
* Add xrefs and notes to NT.&lt;br /&gt;
* Validate OT notes.&lt;br /&gt;
* Add xrefs to OT.&lt;br /&gt;
&lt;br /&gt;
== History ==&lt;br /&gt;
=== Text Development Stages ===&lt;br /&gt;
From the time the KJV module was first released, text and markup development has been done in several major stages:&lt;br /&gt;
* The original '''KJV2003''' Project &amp;amp;ndash; ''user page no longer exists''&lt;br /&gt;
* The [http://www.crosswire.org/~dmsmith/kjv2006/ KJV2006] Project&lt;br /&gt;
* The [[User:Dmsmith/KJV2011|KJV2011]] Effort&lt;br /&gt;
* The [[User:Dmsmith/KJV 2.6|KJV 2.6]] Effort &amp;amp;ndash; begun in 2013 and ongoing...&lt;br /&gt;
&lt;br /&gt;
=== Module Versions ===&lt;br /&gt;
While the KJV was a module at CrossWire prior to version 2.0, this is the earliest for which dates can be determined.&amp;lt;BR&amp;gt;Dates prior to version 2.3 are best estimates. (For changes in versions 1.x, refer to the file kjv.conf)&lt;br /&gt;
{|  width=&amp;quot;100%&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;sortable&amp;quot;&lt;br /&gt;
! width=&amp;quot;5%&amp;quot;|Revision&lt;br /&gt;
! width=&amp;quot;10%&amp;quot;|Date&lt;br /&gt;
! width=&amp;quot;85%&amp;quot;|Description&lt;br /&gt;
|- &lt;br /&gt;
| 2.10&lt;br /&gt;
| Future&lt;br /&gt;
| Improved OSIS markup.&lt;br /&gt;
Details: (''with progress marker'')&lt;br /&gt;
* Update our custom [[OSIS 211 CR|OSIS schema]] to properly validate '''type''' values in '''rdg''' element.&lt;br /&gt;
* Correct type=&amp;quot;alternative&amp;quot; (2.9) to &amp;quot;alternate&amp;quot;.&lt;br /&gt;
* Move '''sID''' before '''osisID''' in verse elements.&lt;br /&gt;
* Add a final full-stop to all notes previously lacking one.&lt;br /&gt;
* Add a space after the ¶ in the milestone marker.&lt;br /&gt;
* Add the hitherto missing ¶ in NT books: Romans&amp;amp;mdash;Revelation.&lt;br /&gt;
* Change red ¶ to black (i.e. within text marked as &amp;quot;words of Jesus&amp;quot;)&lt;br /&gt;
* Add '''osisRef''' to '''catchWord''' (for now at least, mainly for single keywords).&lt;br /&gt;
-----&lt;br /&gt;
* Add '''n''' attribute to '''note''' element.&lt;br /&gt;
* Move some notes from Psalms verse 1 to the canonical '''title''' element.&lt;br /&gt;
* Make minor corrections to a few notes.&lt;br /&gt;
* Add AV front matter, dedicatory and preface.&lt;br /&gt;
* Update Words of Christ (aka red letter text) to match Louis Klopsch's original work.&lt;br /&gt;
|- &lt;br /&gt;
| 2.9&lt;br /&gt;
| 2016-01-21&lt;br /&gt;
| Improved OSIS markup.&lt;br /&gt;
Details:&lt;br /&gt;
* Added '''catchWord''' and reading ('''rdg''') markup to notes.&lt;br /&gt;
* Improved markup placement for ''Selah'' in 13 places.&lt;br /&gt;
|- &lt;br /&gt;
| 2.8&lt;br /&gt;
| 2015-12-20&lt;br /&gt;
| Improved OSIS markup.&lt;br /&gt;
Details:&lt;br /&gt;
* Moved Ps 119 acrostic titles before verse number.&lt;br /&gt;
* Changed double spaces to a single space.&lt;br /&gt;
* Changed &amp;quot;Heb &amp;quot; to &amp;quot;Heb. &amp;quot; in notes.&lt;br /&gt;
* Added Feature=NoParagraphs.&lt;br /&gt;
|- &lt;br /&gt;
| 2.7&lt;br /&gt;
| 2015-08-09&lt;br /&gt;
| Fixed bugs preventing the display of some Strong's Numbers in the Old Testament.&lt;br /&gt;
Improved markup of Strong's numbers in 2 Cor 15.&lt;br /&gt;
|- &lt;br /&gt;
| 2.6.1&lt;br /&gt;
| 2014-02-15&lt;br /&gt;
| Added GlobalOptionFilter for OSISLemma&lt;br /&gt;
|- &lt;br /&gt;
| 2.6&lt;br /&gt;
| 2013-10-05&lt;br /&gt;
| Fixed bugs. Added Greek from TR.&lt;br /&gt;
|- &lt;br /&gt;
| 2.5&lt;br /&gt;
| 2013-02-02&lt;br /&gt;
| Fixed bugs. See: [[User:Dmsmith/KJV2011|KJV2011]]&lt;br /&gt;
Details:&lt;br /&gt;
* Fixed markup of added words.&lt;br /&gt;
* Fixed more Words of Christ markup.&lt;br /&gt;
* Fixed punctuation, apostrophes, dashes and placement of spaces.&lt;br /&gt;
* Fixed the markup of a word that was split into two parts.&lt;br /&gt;
* Other bug fixes.&lt;br /&gt;
|- &lt;br /&gt;
| 2.4&lt;br /&gt;
| 2009-05-29&lt;br /&gt;
| Fixed bugs. Updated red-letter markup of Words of Christ.&lt;br /&gt;
|- &lt;br /&gt;
| 2.3&lt;br /&gt;
| 2006-10-09&lt;br /&gt;
| Fixed bugs. See: [http://crosswire.org/~dmsmith/kjv2006/ Project KJV2006]&lt;br /&gt;
Goals:&lt;br /&gt;
* Faithful representation of the KJV.&lt;br /&gt;
* Each book of the Bible is well-formed xml.&lt;br /&gt;
* Each book of the Bible is valid OSIS xml according to the 2.1.1 schema.&lt;br /&gt;
* The markup conforms to OSIS best practices as mentioned on the Sword-devel mailing list and the OSIS 2.1.1 user's manual&lt;br /&gt;
* Strong's markup normalized.&lt;br /&gt;
&lt;br /&gt;
Details:&lt;br /&gt;
* The xml is now well-formed.&lt;br /&gt;
* The xml is now valid OSIS 2.1.1&lt;br /&gt;
* Strong's numbers have been normalized.&lt;br /&gt;
* Fixed the missing 's in the OT&lt;br /&gt;
* Moved whitespace and puncutation to a more sensible location and fixed whitespace problems.&lt;br /&gt;
* Positioned the [http://en.wikipedia.org/wiki/Pilcrow pilcrow symbol] ¶ at the start of verses.&lt;br /&gt;
* Validated against Old Scofield Study Bible for all differences found by comparing against the KJV encoded by Tim Lanfear for CCEL.&lt;br /&gt;
* Validated against Old Scofield Study Bible for all differences found by comparing against the KJV encoded Interleaf Bible.&lt;br /&gt;
* Fixed all existing titles and added missing ones.&lt;br /&gt;
* Fixed paragraphing&lt;br /&gt;
* Tagged all inscriptions&lt;br /&gt;
* Fixed and tagged all divine names&lt;br /&gt;
* Added xlit to w elements for the acrostic in Psalm 119&lt;br /&gt;
* Hyphenated names&lt;br /&gt;
* Fixed names with Æ and æ&lt;br /&gt;
* Fixed a bug in osis2mod that incorrectly encoded the last verse of each book&lt;br /&gt;
* Removed Strong's number H00 as it does not exist.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 2.2&lt;br /&gt;
| 2004-07-25&lt;br /&gt;
| Updated to 20040121 snapshot of KJV2003.&lt;br /&gt;
|- &lt;br /&gt;
| 2.1&lt;br /&gt;
| 2003-06-24&lt;br /&gt;
| Changed Old Testament to use OSIS tags, removing the last of the GBF markup.&amp;lt;BR&amp;gt;Also updated to 20030624 snapshot of KJV2003.  Compressed.&lt;br /&gt;
|- &lt;br /&gt;
| 2.0&lt;br /&gt;
| 2003-01-08&lt;br /&gt;
| Changed New Testament to use a snapshot of the KJV2003 Project&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Help:Contents#Modules|Reporting module issues]]&lt;br /&gt;
* [[CrossWire KJVA|English: KJVA]] module &amp;amp;ndash; KJV with Apocrypha&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
&lt;br /&gt;
[[Category:Modules|CrossWire KJV]]&lt;br /&gt;
[[Category:English Bibles|CrossWire KJV]]&lt;br /&gt;
[[Category:OSIS|CrossWire KJV]]&lt;br /&gt;
[[Category:Copyright|CrossWire KJV]]&lt;/div&gt;</summary>
		<author><name>Dmsmith</name></author>	</entry>

	<entry>
		<id>https://wiki.crosswire.org/index.php?title=CrossWire_KJV&amp;diff=14661</id>
		<title>CrossWire KJV</title>
		<link rel="alternate" type="text/html" href="https://wiki.crosswire.org/index.php?title=CrossWire_KJV&amp;diff=14661"/>
				<updated>2016-01-28T17:56:42Z</updated>
		
		<summary type="html">&lt;p&gt;Dmsmith: /* Module Versions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;:''This page is a work in progress''.&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
This page is intended to provide a more detailed background and description for the one module for which the OSIS XML source text is maintained by CrossWire volunteers. All other modules are based on source text from external providers.&lt;br /&gt;
&lt;br /&gt;
The KJV module was one of the earliest to be released and distributed by CrossWire after '''The SWORD Project''' was launched. It remains one of the most frequently downloaded modules in all our repositories.&lt;br /&gt;
&lt;br /&gt;
The KJV module text is based substantially on the '''1769 Oxford Edition''' (the basis for all modern editions), not the original 1611 first edition. See our [[EnduserFAQ#Do_you_have_the_original_King_James.2FAuthorized_Version.3F|FAQ]].&lt;br /&gt;
&lt;br /&gt;
== Provenance and Acknowledgements ==&lt;br /&gt;
Strong's numbers provide a useful means for looking up the exact original language word in a lexicon that is keyed to [http://en.wikipedia.org/wiki/Strong's_Concordance Strong's Concordance].&lt;br /&gt;
&lt;br /&gt;
[http://en.wikipedia.org/wiki/Morphology_%28linguistics%29 Morphology] data provides a means to understand the structure of the original language's morphemes and other linguistic units.&lt;br /&gt;
&lt;br /&gt;
* The Strong's numbers in the OT were obtained from [http://www.bf.org/ The Bible Foundation]&lt;br /&gt;
* The Strong's data in the NT was obtained from the [[CrossWire_KJV#Text_Development_Stages|KJV2003 Project]] at CrossWire.&lt;br /&gt;
&lt;br /&gt;
Special thanks to the volunteers at Bible Foundation for keying the Hebrew/English data and of Project KJV2003 for working toward the completion of synchronizing the English phrases to the Stephanas [http://en.wikipedia.org/wiki/Textus_Receptus Textus Receptus], and to Dr. Maurice Robinson for providing the base Greek text with Strong's and Morphology.&lt;br /&gt;
&lt;br /&gt;
We are also appreciative of formatting markup that was provided by [http://www.ebible.org Michael Paul Johnson]. &lt;br /&gt;
&lt;br /&gt;
Their time and generosity to contribute such for the free use of the Body of Christ is a great blessing and this derivitive work could not have been possible without these efforts of so many individuals.  It is in this spirit that we in turn offer the KJV2003 Project text and its successors freely for any purpose.&lt;br /&gt;
&lt;br /&gt;
We are also appreciative for the feedback reports over the years from several individuals that have enabled us to fix minor text and markup issues by comparison with the reference texts.&lt;br /&gt;
&lt;br /&gt;
== Reference Text ==&lt;br /&gt;
The CrossWire KJV is meant to be the faithful e-text edition&amp;lt;ref&amp;gt;With added features suited to the digital age we live in.&amp;lt;/ref&amp;gt; of the Benjamin Blayney's 1769 Oxford edition of the KJV&amp;lt;ref&amp;gt;Excluding the Apocrypha.&amp;lt;/ref&amp;gt; (hereafter called 1769 KJV). To that end we required it to be diligently checked against a reference standard for accuracy. Finding a reference text was a daunting task. What is known today as the KJV has been changed on a regular basis since it's first publication to today.&amp;lt;ref&amp;gt;Refer to [http://en.wikipedia.org/wiki/Frederick_Henry_Ambrose_Scrivener F H A Scrivener] and to the [http://en.wikipedia.org/wiki/New_Cambridge_Paragraph_Bible New Cambridge Paragraph Bible].&amp;lt;/ref&amp;gt; Some of these changes are well known others are quietly done by publishers.&lt;br /&gt;
&lt;br /&gt;
There also was a need to have a reference for red-letter text. This too varied from one KJV to another.&lt;br /&gt;
&lt;br /&gt;
:''See also [[User:Dmsmith/KJV_2.6#Reference_text_policy]]''.&lt;br /&gt;
&lt;br /&gt;
===Need for a reference text===&lt;br /&gt;
Ideally, the reference standard would be a faithful electronic copy of 1769 KJV. When CrossWire's KJV2006 Project was started there was no such text either as a facsimile or eText. In lieu of that, finding an acceptable text was needed to arbitrate the claims that &amp;quot;my KJV is right and it is different from what you have.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
We compared our text with two independent 1769 KJV eTexts (CCEL and InterLeaf). All of the other eTexts we found seemed to be one of these three. Those comparisons yielded differences that needed to be verified in an independent text. Thus the need for *a* dead tree text. While working on the KJV2006 release, several websites that were dedicated to producing a &amp;quot;true&amp;quot; text were abandoned with chagrin that it is not a doable task apart from having a facsimile of the 1769 KJV, which was not known.&lt;br /&gt;
&lt;br /&gt;
One criteria was finding a text that the [http://en.wikipedia.org/wiki/King_James_Only_movement KJV-only] adherents felt was more accurate 1769 KJV text. Using various listings of differences between current and &amp;quot;true&amp;quot;, dozens of dead tree texts in several stores were examined. Also, it was important to avoid copyright claims based upon minor changes in the text. Both combined to come up with the Public Domain [http://en.wikipedia.org/wiki/Scofield_Reference_Bible Old Scofield Study Bible]&amp;lt;ref&amp;gt;The use of the Scofield in no way implies our endorsement of the extensive non-canonical study notes therein.&amp;lt;/ref&amp;gt;. The Biblical text was thought to be one of the most faithful copies of the 1769 Oxford Edition.&amp;lt;ref&amp;gt;i.e. Even by those in the KJV Only movement.&amp;lt;/ref&amp;gt; It was published in 1917, which was important in terms of USA copyright law. It was also considered to be a faithful red-letter text.&lt;br /&gt;
&lt;br /&gt;
We are in the process of obtaining a hard copy facsimile of the &amp;quot;Blayney&amp;quot; 1769 KJV text. This will be the reference text going forward.&lt;br /&gt;
&lt;br /&gt;
===Need for a reference red-letter text===&lt;br /&gt;
Red-Letter text is a fairly recent addition to the 1769 KJV. In 1899, Louis Klopsch proposed rendering the words of Christ in red letters. His work was published in 1901. Recently (2016-01-28), we've obtained Louis Klopsch's 1901 edition of the KJV and will use that as the future reference for red-letter text.&lt;br /&gt;
&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Chosen Texts===&lt;br /&gt;
The public domain Old Scofield Study Bible was used for version 2.3 to 2.10 for text and for version 2.3 to 2.9 for red-letter markup.&lt;br /&gt;
The Louis Klopsch 1901 KJV is used for red-letter markup for 2.10 and later.&lt;br /&gt;
The 1769 KJV facsimile is used for text, front-matter, notes, cross-references, titles, .... for versions after 2.11.&lt;br /&gt;
&lt;br /&gt;
== Copyright ==&lt;br /&gt;
Any copyright that might be obtained for this effort is held by the CrossWire Bible Society © 2003-2016 and the CrossWire Bible Society hereby grants a general public license to use this text for any purpose.&lt;br /&gt;
&lt;br /&gt;
CrossWire's KJV module is an amalgamation of different source material. Each has its own copyright or is in the public domain.&lt;br /&gt;
* The actual text validated against 2 independent eTexts and found differences against our hard-copy reference for such.&lt;br /&gt;
* The [http://en.wikipedia.org/wiki/Red_letter_edition Red Letter] markup of the words of Christ have been validated against our hard-copy reference for such.&lt;br /&gt;
* The Strong's numbers in the OT are from [http://www.bf.org/ The Bible Foundation].&lt;br /&gt;
* The Strong's numbers in the NT are from [http://apps.sebts.edu/FacultyUploads/Maurice%20Robinson%20CV.pdf Dr Maurice A. Robinson], Senior Professor of New Testament and Greek at [http://en.wikipedia.org/wiki/Southeastern_Baptist_Theological_Seminary Southeastern Baptist Theological Seminary] in North Carolina.&lt;br /&gt;
* The OSIS XML markup is a unique effort that began with our KJV2003 project &amp;amp;ndash; Copyright © 2003-2016 The CrossWire Bible Society.&lt;br /&gt;
* The tagging of Strong's numbers to the NT text is a unique effort of our KJV2003 project &amp;amp;ndash;  Copyright © 2003-2016 The CrossWire Bible Society.&lt;br /&gt;
&lt;br /&gt;
=== Crown copyright, Letters Patent and the KJV ===&lt;br /&gt;
In the United Kingdom, the text of the [http://en.wikipedia.org/wiki/King_James_Version Authorized King James Version] of the Bible is protected by '''royal prerogative'''. &amp;quot;There is a small class of materials where the Crown claims the right to control reproduction outside normal copyright law due to '''Letters Patent''' issued under the royal prerogative. This material includes the '''King James Bible''', and the '''Book of Common Prayer'''.&amp;quot; See [http://en.wikipedia.org/wiki/Crown_copyright#United_Kingdom Crown copyright].&lt;br /&gt;
&lt;br /&gt;
In most of the world, the Authorized Version has passed out of copyright and is freely reproduced. In the United Kingdom, the British Crown restricts production of the Authorized Version per transitional exemptions from the Copyright Act 1775 (which implemented this clause) in the Copyright, Designs and patents Act 1988 (Schedule I, section 13(1)), which expire in 2039. [http://en.wikipedia.org/wiki/Cambridge_University_Press Cambridge University Press]&amp;lt;ref&amp;gt;Cambridge University Press wrote to [[Projects:Go_Bible|Go Bible]] several years ago, acting as agents of Crown copyright. Their request was simple and straightforward, viz., that we include a clear statement about Crown copyright for the KJV. After we did that, and informed them, they seem to have been satisfied.&amp;lt;/ref&amp;gt;, [http://en.wikipedia.org/wiki/Oxford_University_Press Oxford University Press], [http://en.wikipedia.org/wiki/HarperCollins HarperCollins] and the [http://en.wikipedia.org/wiki/Queen's_Printer Queen's Printers] have the right to produce the Authorized Version. See [http://en.wikipedia.org/wiki/King_James_Bible King James Bible].&lt;br /&gt;
&lt;br /&gt;
The [http://en.wikipedia.org/wiki/British_and_Foreign_Bible_Society British &amp;amp; Foreign Bible Society] (based in the UK) respects this copyright status, although many American organisations do not respect it and treat it wrongly as if it were public domain.  In reality, the many editions of the KJV used in the USA are a revision of the text made by the [http://en.wikipedia.org/wiki/American_Bible_Society American Bible Society] and the rights for this revision are still held by ABS.&lt;br /&gt;
&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Road Map ==&lt;br /&gt;
:''List briefly the further enhancements we would like to make in the future beyond the next release''.&lt;br /&gt;
* Update Strong's numbers and lemma.TR to the latest TR from Maurice Robinson. (3.0) As a side benefit, update CrossWire's TR module to match.&lt;br /&gt;
* Add Greek equivalent to Strong's numbers. (3.0)&lt;br /&gt;
* Update to match Louis Klopsch's 1901 red-letter markup. (2.10)&lt;br /&gt;
* Build KJV and KJVA from same kjvfull.xml file. (The KJVA is not being rebuilt when the KJV is updated. It should.)&lt;br /&gt;
* Split KJV into KJV and AV where AV is an orthographic representation of the 1769 KJV. E.g. long s, ae, oe, fl, ffl, ....&lt;br /&gt;
&lt;br /&gt;
Other thoughts based upon having the Blayney edition:&lt;br /&gt;
* Add front-matter: dedicatory and preface, OT intro, NT intro, ....&lt;br /&gt;
* Add print page breaks. Tying to the dead-tree edition. These would be internal markers.&lt;br /&gt;
* Add chronology as note to chapter starts (probably in first verse or verse 0.)&lt;br /&gt;
* Add NT chapter descriptions.&lt;br /&gt;
* Add OT chapter descriptions.&lt;br /&gt;
* Add xrefs and notes to NT.&lt;br /&gt;
* Validate OT notes.&lt;br /&gt;
* Add xrefs to OT.&lt;br /&gt;
&lt;br /&gt;
== History ==&lt;br /&gt;
=== Text Development Stages ===&lt;br /&gt;
From the time the KJV module was first released, text and markup development has been done in several major stages:&lt;br /&gt;
* The original '''KJV2003''' Project &amp;amp;ndash; ''user page no longer exists''&lt;br /&gt;
* The [http://www.crosswire.org/~dmsmith/kjv2006/ KJV2006] Project&lt;br /&gt;
* The [[User:Dmsmith/KJV2011|KJV2011]] Effort&lt;br /&gt;
* The [[User:Dmsmith/KJV 2.6|KJV 2.6]] Effort &amp;amp;ndash; begun in 2013 and ongoing...&lt;br /&gt;
&lt;br /&gt;
=== Module Versions ===&lt;br /&gt;
While the KJV was a module at CrossWire prior to version 2.0, this is the earliest for which dates can be determined.&amp;lt;BR&amp;gt;Dates prior to version 2.3 are best estimates. (For changes in versions 1.x, refer to the file kjv.conf)&lt;br /&gt;
{|  width=&amp;quot;100%&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;sortable&amp;quot;&lt;br /&gt;
! width=&amp;quot;5%&amp;quot;|Revision&lt;br /&gt;
! width=&amp;quot;10%&amp;quot;|Date&lt;br /&gt;
! width=&amp;quot;85%&amp;quot;|Description&lt;br /&gt;
|- &lt;br /&gt;
| 2.10&lt;br /&gt;
| Future&lt;br /&gt;
| Improved OSIS markup.&lt;br /&gt;
Details: (''with progress marker'')&lt;br /&gt;
* Update our custom [[OSIS 211 CR|OSIS schema]] to properly validate '''type''' values in '''rdg''' element.&lt;br /&gt;
* Correct type=&amp;quot;alternative&amp;quot; (2.9) to &amp;quot;alternate&amp;quot;.&lt;br /&gt;
* Move '''sID''' before '''osisID''' in verse elements.&lt;br /&gt;
* Add a final full-stop to all notes previously lacking one.&lt;br /&gt;
* Add a space after the ¶ in the milestone marker.&lt;br /&gt;
* Add the hitherto missing ¶ in NT books: Romans&amp;amp;mdash;Revelation.&lt;br /&gt;
* Change red ¶ to black (i.e. within text marked as &amp;quot;words of Jesus&amp;quot;)&lt;br /&gt;
* Add '''osisRef''' to '''catchWord''' (for now at least, mainly for single keywords).&lt;br /&gt;
-----&lt;br /&gt;
* Add '''n''' attribute to '''note''' element.&lt;br /&gt;
* Move some notes from Psalms verse 1 to the canonical '''title''' element.&lt;br /&gt;
* Make minor corrections to a few notes.&lt;br /&gt;
* Add AV front matter, dedicatory and preface.&lt;br /&gt;
* Update Words of Christ (aka red letter text) to match Louis Klopsch's original work.&lt;br /&gt;
|- &lt;br /&gt;
| 2.9&lt;br /&gt;
| 2016-01-21&lt;br /&gt;
| Improved OSIS markup.&lt;br /&gt;
Details:&lt;br /&gt;
* Added '''catchWord''' and reading ('''rdg''') markup to notes.&lt;br /&gt;
* Improved markup placement for ''Selah'' in 13 places.&lt;br /&gt;
|- &lt;br /&gt;
| 2.8&lt;br /&gt;
| 2015-12-20&lt;br /&gt;
| Improved OSIS markup.&lt;br /&gt;
Details:&lt;br /&gt;
* Moved Ps 119 acrostic titles before verse number.&lt;br /&gt;
* Changed double spaces to a single space.&lt;br /&gt;
* Changed &amp;quot;Heb &amp;quot; to &amp;quot;Heb. &amp;quot; in notes.&lt;br /&gt;
* Added Feature=NoParagraphs.&lt;br /&gt;
|- &lt;br /&gt;
| 2.7&lt;br /&gt;
| 2015-08-09&lt;br /&gt;
| Fixed bugs preventing the display of some Strong's Numbers in the Old Testament.&lt;br /&gt;
Improved markup of Strong's numbers in 2 Cor 15.&lt;br /&gt;
|- &lt;br /&gt;
| 2.6.1&lt;br /&gt;
| 2014-02-15&lt;br /&gt;
| Added GlobalOptionFilter for OSISLemma&lt;br /&gt;
|- &lt;br /&gt;
| 2.6&lt;br /&gt;
| 2013-10-05&lt;br /&gt;
| Fixed bugs. Added Greek from TR.&lt;br /&gt;
|- &lt;br /&gt;
| 2.5&lt;br /&gt;
| 2013-02-02&lt;br /&gt;
| Fixed bugs. See: [[User:Dmsmith/KJV2011|KJV2011]]&lt;br /&gt;
Details:&lt;br /&gt;
* Fixed markup of added words.&lt;br /&gt;
* Fixed more Words of Christ markup.&lt;br /&gt;
* Fixed punctuation, apostrophes, dashes and placement of spaces.&lt;br /&gt;
* Fixed the markup of a word that was split into two parts.&lt;br /&gt;
* Other bug fixes.&lt;br /&gt;
|- &lt;br /&gt;
| 2.4&lt;br /&gt;
| 2009-05-29&lt;br /&gt;
| Fixed bugs. Updated red-letter markup of Words of Christ.&lt;br /&gt;
|- &lt;br /&gt;
| 2.3&lt;br /&gt;
| 2006-10-09&lt;br /&gt;
| Fixed bugs. See: [http://crosswire.org/~dmsmith/kjv2006/ Project KJV2006]&lt;br /&gt;
Goals:&lt;br /&gt;
* Faithful representation of the KJV.&lt;br /&gt;
* Each book of the Bible is well-formed xml.&lt;br /&gt;
* Each book of the Bible is valid OSIS xml according to the 2.1.1 schema.&lt;br /&gt;
* The markup conforms to OSIS best practices as mentioned on the Sword-devel mailing list and the OSIS 2.1.1 user's manual&lt;br /&gt;
* Strong's markup normalized.&lt;br /&gt;
&lt;br /&gt;
Details:&lt;br /&gt;
* The xml is now well-formed.&lt;br /&gt;
* The xml is now valid OSIS 2.1.1&lt;br /&gt;
* Strong's numbers have been normalized.&lt;br /&gt;
* Fixed the missing 's in the OT&lt;br /&gt;
* Moved whitespace and puncutation to a more sensible location and fixed whitespace problems.&lt;br /&gt;
* Positioned the [http://en.wikipedia.org/wiki/Pilcrow pilcrow symbol] ¶ at the start of verses.&lt;br /&gt;
* Validated against Old Scofield Study Bible for all differences found by comparing against the KJV encoded by Tim Lanfear for CCEL.&lt;br /&gt;
* Validated against Old Scofield Study Bible for all differences found by comparing against the KJV encoded Interleaf Bible.&lt;br /&gt;
* Fixed all existing titles and added missing ones.&lt;br /&gt;
* Fixed paragraphing&lt;br /&gt;
* Tagged all inscriptions&lt;br /&gt;
* Fixed and tagged all divine names&lt;br /&gt;
* Added xlit to w elements for the acrostic in Psalm 119&lt;br /&gt;
* Hyphenated names&lt;br /&gt;
* Fixed names with Æ and æ&lt;br /&gt;
* Fixed a bug in osis2mod that incorrectly encoded the last verse of each book&lt;br /&gt;
* Removed Strong's number H00 as it does not exist.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 2.2&lt;br /&gt;
| 2004-07-25&lt;br /&gt;
| Updated to 20040121 snapshot of KJV2003.&lt;br /&gt;
|- &lt;br /&gt;
| 2.1&lt;br /&gt;
| 2003-06-24&lt;br /&gt;
| Changed Old Testament to use OSIS tags, removing the last of the GBF markup.&amp;lt;BR&amp;gt;Also updated to 20030624 snapshot of KJV2003.  Compressed.&lt;br /&gt;
|- &lt;br /&gt;
| 2.0&lt;br /&gt;
| 2003-01-08&lt;br /&gt;
| Changed New Testament to use a snapshot of the KJV2003 Project&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Help:Contents#Modules|Reporting module issues]]&lt;br /&gt;
* [[CrossWire KJVA|English: KJVA]] module &amp;amp;ndash; KJV with Apocrypha&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
&lt;br /&gt;
[[Category:Modules|CrossWire KJV]]&lt;br /&gt;
[[Category:English Bibles|CrossWire KJV]]&lt;br /&gt;
[[Category:OSIS|CrossWire KJV]]&lt;br /&gt;
[[Category:Copyright|CrossWire KJV]]&lt;/div&gt;</summary>
		<author><name>Dmsmith</name></author>	</entry>

	<entry>
		<id>https://wiki.crosswire.org/index.php?title=CrossWire_KJV&amp;diff=14660</id>
		<title>CrossWire KJV</title>
		<link rel="alternate" type="text/html" href="https://wiki.crosswire.org/index.php?title=CrossWire_KJV&amp;diff=14660"/>
				<updated>2016-01-28T17:42:12Z</updated>
		
		<summary type="html">&lt;p&gt;Dmsmith: /* Road Map */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;:''This page is a work in progress''.&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
This page is intended to provide a more detailed background and description for the one module for which the OSIS XML source text is maintained by CrossWire volunteers. All other modules are based on source text from external providers.&lt;br /&gt;
&lt;br /&gt;
The KJV module was one of the earliest to be released and distributed by CrossWire after '''The SWORD Project''' was launched. It remains one of the most frequently downloaded modules in all our repositories.&lt;br /&gt;
&lt;br /&gt;
The KJV module text is based substantially on the '''1769 Oxford Edition''' (the basis for all modern editions), not the original 1611 first edition. See our [[EnduserFAQ#Do_you_have_the_original_King_James.2FAuthorized_Version.3F|FAQ]].&lt;br /&gt;
&lt;br /&gt;
== Provenance and Acknowledgements ==&lt;br /&gt;
Strong's numbers provide a useful means for looking up the exact original language word in a lexicon that is keyed to [http://en.wikipedia.org/wiki/Strong's_Concordance Strong's Concordance].&lt;br /&gt;
&lt;br /&gt;
[http://en.wikipedia.org/wiki/Morphology_%28linguistics%29 Morphology] data provides a means to understand the structure of the original language's morphemes and other linguistic units.&lt;br /&gt;
&lt;br /&gt;
* The Strong's numbers in the OT were obtained from [http://www.bf.org/ The Bible Foundation]&lt;br /&gt;
* The Strong's data in the NT was obtained from the [[CrossWire_KJV#Text_Development_Stages|KJV2003 Project]] at CrossWire.&lt;br /&gt;
&lt;br /&gt;
Special thanks to the volunteers at Bible Foundation for keying the Hebrew/English data and of Project KJV2003 for working toward the completion of synchronizing the English phrases to the Stephanas [http://en.wikipedia.org/wiki/Textus_Receptus Textus Receptus], and to Dr. Maurice Robinson for providing the base Greek text with Strong's and Morphology.&lt;br /&gt;
&lt;br /&gt;
We are also appreciative of formatting markup that was provided by [http://www.ebible.org Michael Paul Johnson]. &lt;br /&gt;
&lt;br /&gt;
Their time and generosity to contribute such for the free use of the Body of Christ is a great blessing and this derivitive work could not have been possible without these efforts of so many individuals.  It is in this spirit that we in turn offer the KJV2003 Project text and its successors freely for any purpose.&lt;br /&gt;
&lt;br /&gt;
We are also appreciative for the feedback reports over the years from several individuals that have enabled us to fix minor text and markup issues by comparison with the reference texts.&lt;br /&gt;
&lt;br /&gt;
== Reference Text ==&lt;br /&gt;
The CrossWire KJV is meant to be the faithful e-text edition&amp;lt;ref&amp;gt;With added features suited to the digital age we live in.&amp;lt;/ref&amp;gt; of the Benjamin Blayney's 1769 Oxford edition of the KJV&amp;lt;ref&amp;gt;Excluding the Apocrypha.&amp;lt;/ref&amp;gt; (hereafter called 1769 KJV). To that end we required it to be diligently checked against a reference standard for accuracy. Finding a reference text was a daunting task. What is known today as the KJV has been changed on a regular basis since it's first publication to today.&amp;lt;ref&amp;gt;Refer to [http://en.wikipedia.org/wiki/Frederick_Henry_Ambrose_Scrivener F H A Scrivener] and to the [http://en.wikipedia.org/wiki/New_Cambridge_Paragraph_Bible New Cambridge Paragraph Bible].&amp;lt;/ref&amp;gt; Some of these changes are well known others are quietly done by publishers.&lt;br /&gt;
&lt;br /&gt;
There also was a need to have a reference for red-letter text. This too varied from one KJV to another.&lt;br /&gt;
&lt;br /&gt;
:''See also [[User:Dmsmith/KJV_2.6#Reference_text_policy]]''.&lt;br /&gt;
&lt;br /&gt;
===Need for a reference text===&lt;br /&gt;
Ideally, the reference standard would be a faithful electronic copy of 1769 KJV. When CrossWire's KJV2006 Project was started there was no such text either as a facsimile or eText. In lieu of that, finding an acceptable text was needed to arbitrate the claims that &amp;quot;my KJV is right and it is different from what you have.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
We compared our text with two independent 1769 KJV eTexts (CCEL and InterLeaf). All of the other eTexts we found seemed to be one of these three. Those comparisons yielded differences that needed to be verified in an independent text. Thus the need for *a* dead tree text. While working on the KJV2006 release, several websites that were dedicated to producing a &amp;quot;true&amp;quot; text were abandoned with chagrin that it is not a doable task apart from having a facsimile of the 1769 KJV, which was not known.&lt;br /&gt;
&lt;br /&gt;
One criteria was finding a text that the [http://en.wikipedia.org/wiki/King_James_Only_movement KJV-only] adherents felt was more accurate 1769 KJV text. Using various listings of differences between current and &amp;quot;true&amp;quot;, dozens of dead tree texts in several stores were examined. Also, it was important to avoid copyright claims based upon minor changes in the text. Both combined to come up with the Public Domain [http://en.wikipedia.org/wiki/Scofield_Reference_Bible Old Scofield Study Bible]&amp;lt;ref&amp;gt;The use of the Scofield in no way implies our endorsement of the extensive non-canonical study notes therein.&amp;lt;/ref&amp;gt;. The Biblical text was thought to be one of the most faithful copies of the 1769 Oxford Edition.&amp;lt;ref&amp;gt;i.e. Even by those in the KJV Only movement.&amp;lt;/ref&amp;gt; It was published in 1917, which was important in terms of USA copyright law. It was also considered to be a faithful red-letter text.&lt;br /&gt;
&lt;br /&gt;
We are in the process of obtaining a hard copy facsimile of the &amp;quot;Blayney&amp;quot; 1769 KJV text. This will be the reference text going forward.&lt;br /&gt;
&lt;br /&gt;
===Need for a reference red-letter text===&lt;br /&gt;
Red-Letter text is a fairly recent addition to the 1769 KJV. In 1899, Louis Klopsch proposed rendering the words of Christ in red letters. His work was published in 1901. Recently (2016-01-28), we've obtained Louis Klopsch's 1901 edition of the KJV and will use that as the future reference for red-letter text.&lt;br /&gt;
&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Chosen Texts===&lt;br /&gt;
The public domain Old Scofield Study Bible was used for version 2.3 to 2.10 for text and for version 2.3 to 2.9 for red-letter markup.&lt;br /&gt;
The Louis Klopsch 1901 KJV is used for red-letter markup for 2.10 and later.&lt;br /&gt;
The 1769 KJV facsimile is used for text, front-matter, notes, cross-references, titles, .... for versions after 2.11.&lt;br /&gt;
&lt;br /&gt;
== Copyright ==&lt;br /&gt;
Any copyright that might be obtained for this effort is held by the CrossWire Bible Society © 2003-2016 and the CrossWire Bible Society hereby grants a general public license to use this text for any purpose.&lt;br /&gt;
&lt;br /&gt;
CrossWire's KJV module is an amalgamation of different source material. Each has its own copyright or is in the public domain.&lt;br /&gt;
* The actual text validated against 2 independent eTexts and found differences against our hard-copy reference for such.&lt;br /&gt;
* The [http://en.wikipedia.org/wiki/Red_letter_edition Red Letter] markup of the words of Christ have been validated against our hard-copy reference for such.&lt;br /&gt;
* The Strong's numbers in the OT are from [http://www.bf.org/ The Bible Foundation].&lt;br /&gt;
* The Strong's numbers in the NT are from [http://apps.sebts.edu/FacultyUploads/Maurice%20Robinson%20CV.pdf Dr Maurice A. Robinson], Senior Professor of New Testament and Greek at [http://en.wikipedia.org/wiki/Southeastern_Baptist_Theological_Seminary Southeastern Baptist Theological Seminary] in North Carolina.&lt;br /&gt;
* The OSIS XML markup is a unique effort that began with our KJV2003 project &amp;amp;ndash; Copyright © 2003-2016 The CrossWire Bible Society.&lt;br /&gt;
* The tagging of Strong's numbers to the NT text is a unique effort of our KJV2003 project &amp;amp;ndash;  Copyright © 2003-2016 The CrossWire Bible Society.&lt;br /&gt;
&lt;br /&gt;
=== Crown copyright, Letters Patent and the KJV ===&lt;br /&gt;
In the United Kingdom, the text of the [http://en.wikipedia.org/wiki/King_James_Version Authorized King James Version] of the Bible is protected by '''royal prerogative'''. &amp;quot;There is a small class of materials where the Crown claims the right to control reproduction outside normal copyright law due to '''Letters Patent''' issued under the royal prerogative. This material includes the '''King James Bible''', and the '''Book of Common Prayer'''.&amp;quot; See [http://en.wikipedia.org/wiki/Crown_copyright#United_Kingdom Crown copyright].&lt;br /&gt;
&lt;br /&gt;
In most of the world, the Authorized Version has passed out of copyright and is freely reproduced. In the United Kingdom, the British Crown restricts production of the Authorized Version per transitional exemptions from the Copyright Act 1775 (which implemented this clause) in the Copyright, Designs and patents Act 1988 (Schedule I, section 13(1)), which expire in 2039. [http://en.wikipedia.org/wiki/Cambridge_University_Press Cambridge University Press]&amp;lt;ref&amp;gt;Cambridge University Press wrote to [[Projects:Go_Bible|Go Bible]] several years ago, acting as agents of Crown copyright. Their request was simple and straightforward, viz., that we include a clear statement about Crown copyright for the KJV. After we did that, and informed them, they seem to have been satisfied.&amp;lt;/ref&amp;gt;, [http://en.wikipedia.org/wiki/Oxford_University_Press Oxford University Press], [http://en.wikipedia.org/wiki/HarperCollins HarperCollins] and the [http://en.wikipedia.org/wiki/Queen's_Printer Queen's Printers] have the right to produce the Authorized Version. See [http://en.wikipedia.org/wiki/King_James_Bible King James Bible].&lt;br /&gt;
&lt;br /&gt;
The [http://en.wikipedia.org/wiki/British_and_Foreign_Bible_Society British &amp;amp; Foreign Bible Society] (based in the UK) respects this copyright status, although many American organisations do not respect it and treat it wrongly as if it were public domain.  In reality, the many editions of the KJV used in the USA are a revision of the text made by the [http://en.wikipedia.org/wiki/American_Bible_Society American Bible Society] and the rights for this revision are still held by ABS.&lt;br /&gt;
&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Road Map ==&lt;br /&gt;
:''List briefly the further enhancements we would like to make in the future beyond the next release''.&lt;br /&gt;
* Update Strong's numbers and lemma.TR to the latest TR from Maurice Robinson. (3.0) As a side benefit, update CrossWire's TR module to match.&lt;br /&gt;
* Add Greek equivalent to Strong's numbers. (3.0)&lt;br /&gt;
* Update to match Louis Klopsch's 1901 red-letter markup. (2.10)&lt;br /&gt;
* Build KJV and KJVA from same kjvfull.xml file. (The KJVA is not being rebuilt when the KJV is updated. It should.)&lt;br /&gt;
* Split KJV into KJV and AV where AV is an orthographic representation of the 1769 KJV. E.g. long s, ae, oe, fl, ffl, ....&lt;br /&gt;
&lt;br /&gt;
Other thoughts based upon having the Blayney edition:&lt;br /&gt;
* Add front-matter: dedicatory and preface, OT intro, NT intro, ....&lt;br /&gt;
* Add print page breaks. Tying to the dead-tree edition. These would be internal markers.&lt;br /&gt;
* Add chronology as note to chapter starts (probably in first verse or verse 0.)&lt;br /&gt;
* Add NT chapter descriptions.&lt;br /&gt;
* Add OT chapter descriptions.&lt;br /&gt;
* Add xrefs and notes to NT.&lt;br /&gt;
* Validate OT notes.&lt;br /&gt;
* Add xrefs to OT.&lt;br /&gt;
&lt;br /&gt;
== History ==&lt;br /&gt;
=== Text Development Stages ===&lt;br /&gt;
From the time the KJV module was first released, text and markup development has been done in several major stages:&lt;br /&gt;
* The original '''KJV2003''' Project &amp;amp;ndash; ''user page no longer exists''&lt;br /&gt;
* The [http://www.crosswire.org/~dmsmith/kjv2006/ KJV2006] Project&lt;br /&gt;
* The [[User:Dmsmith/KJV2011|KJV2011]] Effort&lt;br /&gt;
* The [[User:Dmsmith/KJV 2.6|KJV 2.6]] Effort &amp;amp;ndash; begun in 2013 and ongoing...&lt;br /&gt;
&lt;br /&gt;
=== Module Versions ===&lt;br /&gt;
While the KJV was a module at CrossWire prior to version 2.0, this is the earliest for which dates can be determined.&amp;lt;BR&amp;gt;Dates prior to version 2.3 are best estimates. (For changes in versions 1.x, refer to the file kjv.conf)&lt;br /&gt;
{|  width=&amp;quot;100%&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;sortable&amp;quot;&lt;br /&gt;
! width=&amp;quot;5%&amp;quot;|Revision&lt;br /&gt;
! width=&amp;quot;10%&amp;quot;|Date&lt;br /&gt;
! width=&amp;quot;85%&amp;quot;|Description&lt;br /&gt;
|- &lt;br /&gt;
| 2.10&lt;br /&gt;
| Future&lt;br /&gt;
| Improved OSIS markup.&lt;br /&gt;
Details: (''with progress marker'')&lt;br /&gt;
* Update our custom [[OSIS 211 CR|OSIS schema]] to properly validate '''type''' values in '''rdg''' element.&lt;br /&gt;
* Correct type=&amp;quot;alternative&amp;quot; (2.9) to &amp;quot;alternate&amp;quot;.&lt;br /&gt;
* Move '''sID''' before '''osisID''' in verse elements.&lt;br /&gt;
* Add a final full-stop to all notes previously lacking one.&lt;br /&gt;
* Add a space after the ¶ in the milestone marker.&lt;br /&gt;
* Add the hitherto missing ¶ in NT books: Romans&amp;amp;mdash;Revelation.&lt;br /&gt;
* Change red ¶ to black (i.e. within text marked as &amp;quot;words of Jesus&amp;quot;)&lt;br /&gt;
* Add '''osisRef''' to '''catchWord''' (for now at least, mainly for single keywords).&lt;br /&gt;
-----&lt;br /&gt;
* Add '''n''' attribute to '''note''' element.&lt;br /&gt;
* Move some notes from Psalms verse 1 to the canonical '''title''' element.&lt;br /&gt;
* Make minor corrections to a few notes.&lt;br /&gt;
* Add AV front matter, dedicatory and preface.&lt;br /&gt;
* Update Words of Christ (aka red letter text) to match Louis Klopsch's original work.&lt;br /&gt;
|- &lt;br /&gt;
| 2.9&lt;br /&gt;
| 2016-01-21&lt;br /&gt;
| Improved OSIS markup.&lt;br /&gt;
Details:&lt;br /&gt;
* Added '''catchWord''' and reading ('''rdg''') markup to notes.&lt;br /&gt;
* Improved markup placement for ''Selah'' in 13 places.&lt;br /&gt;
|- &lt;br /&gt;
| 2.8&lt;br /&gt;
| 2015-12-20&lt;br /&gt;
| Improved OSIS markup.&lt;br /&gt;
Details:&lt;br /&gt;
* Moved Ps 119 acrostic titles before verse number.&lt;br /&gt;
* Changed double spaces to a single space.&lt;br /&gt;
* Changed &amp;quot;Heb &amp;quot; to &amp;quot;Heb. &amp;quot; in notes.&lt;br /&gt;
* Added Feature=NoParagraphs.&lt;br /&gt;
|- &lt;br /&gt;
| 2.7&lt;br /&gt;
| 2015-08-09&lt;br /&gt;
| Fixed bugs preventing the display of some Strong's Numbers in the Old Testament.&lt;br /&gt;
Improved markup of Strong's numbers in 2 Cor 15.&lt;br /&gt;
|- &lt;br /&gt;
| 2.6.1&lt;br /&gt;
| 2014-02-15&lt;br /&gt;
| Added GlobalOptionFilter for OSISLemma&lt;br /&gt;
|- &lt;br /&gt;
| 2.6&lt;br /&gt;
| 2013-10-05&lt;br /&gt;
| Fixed bugs. Added Greek from TR.&lt;br /&gt;
|- &lt;br /&gt;
| 2.5&lt;br /&gt;
| 2013-02-02&lt;br /&gt;
| Fixed bugs.&lt;br /&gt;
|- &lt;br /&gt;
| 2.4&lt;br /&gt;
| 2009-05-29&lt;br /&gt;
| Fixed bugs. Updated red-letter markup of Words of Christ.&lt;br /&gt;
|- &lt;br /&gt;
| 2.3&lt;br /&gt;
| 2006-10-09&lt;br /&gt;
| Fixed bugs. See: [http://crosswire.org/~dmsmith/kjv2006/ Project KJV2006]&lt;br /&gt;
Goals:&lt;br /&gt;
* Faithful representation of the KJV.&lt;br /&gt;
* Each book of the Bible is well-formed xml.&lt;br /&gt;
* Each book of the Bible is valid OSIS xml according to the 2.1.1 schema.&lt;br /&gt;
* The markup conforms to OSIS best practices as mentioned on the Sword-devel mailing list and the OSIS 2.1.1 user's manual&lt;br /&gt;
* Strong's markup normalized.&lt;br /&gt;
&lt;br /&gt;
Details:&lt;br /&gt;
* The xml is now well-formed.&lt;br /&gt;
* The xml is now valid OSIS 2.1.1&lt;br /&gt;
* Strong's numbers have been normalized.&lt;br /&gt;
* Fixed the missing 's in the OT&lt;br /&gt;
* Moved whitespace and puncutation to a more sensible location and fixed whitespace problems.&lt;br /&gt;
* Positioned the [http://en.wikipedia.org/wiki/Pilcrow pilcrow symbol] ¶ at the start of verses.&lt;br /&gt;
* Validated against Old Scofield Study Bible for all differences found by comparing against the KJV encoded by Tim Lanfear for CCEL.&lt;br /&gt;
* Validated against Old Scofield Study Bible for all differences found by comparing against the KJV encoded Interleaf Bible.&lt;br /&gt;
* Fixed all existing titles and added missing ones.&lt;br /&gt;
* Fixed paragraphing&lt;br /&gt;
* Tagged all inscriptions&lt;br /&gt;
* Fixed and tagged all divine names&lt;br /&gt;
* Added xlit to w elements for the acrostic in Psalm 119&lt;br /&gt;
* Hyphenated names&lt;br /&gt;
* Fixed names with Æ and æ&lt;br /&gt;
* Fixed a bug in osis2mod that incorrectly encoded the last verse of each book&lt;br /&gt;
* Removed Strong's number H00 as it does not exist.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 2.2&lt;br /&gt;
| 2004-07-25&lt;br /&gt;
| Updated to 20040121 snapshot of KJV2003.&lt;br /&gt;
|- &lt;br /&gt;
| 2.1&lt;br /&gt;
| 2003-06-24&lt;br /&gt;
| Changed Old Testament to use OSIS tags, removing the last of the GBF markup.&amp;lt;BR&amp;gt;Also updated to 20030624 snapshot of KJV2003.  Compressed.&lt;br /&gt;
|- &lt;br /&gt;
| 2.0&lt;br /&gt;
| 2003-01-08&lt;br /&gt;
| Changed New Testament to use a snapshot of the KJV2003 Project&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Help:Contents#Modules|Reporting module issues]]&lt;br /&gt;
* [[CrossWire KJVA|English: KJVA]] module &amp;amp;ndash; KJV with Apocrypha&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
&lt;br /&gt;
[[Category:Modules|CrossWire KJV]]&lt;br /&gt;
[[Category:English Bibles|CrossWire KJV]]&lt;br /&gt;
[[Category:OSIS|CrossWire KJV]]&lt;br /&gt;
[[Category:Copyright|CrossWire KJV]]&lt;/div&gt;</summary>
		<author><name>Dmsmith</name></author>	</entry>

	<entry>
		<id>https://wiki.crosswire.org/index.php?title=CrossWire_KJV&amp;diff=14659</id>
		<title>CrossWire KJV</title>
		<link rel="alternate" type="text/html" href="https://wiki.crosswire.org/index.php?title=CrossWire_KJV&amp;diff=14659"/>
				<updated>2016-01-28T17:37:39Z</updated>
		
		<summary type="html">&lt;p&gt;Dmsmith: /* Reference Text */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;:''This page is a work in progress''.&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
This page is intended to provide a more detailed background and description for the one module for which the OSIS XML source text is maintained by CrossWire volunteers. All other modules are based on source text from external providers.&lt;br /&gt;
&lt;br /&gt;
The KJV module was one of the earliest to be released and distributed by CrossWire after '''The SWORD Project''' was launched. It remains one of the most frequently downloaded modules in all our repositories.&lt;br /&gt;
&lt;br /&gt;
The KJV module text is based substantially on the '''1769 Oxford Edition''' (the basis for all modern editions), not the original 1611 first edition. See our [[EnduserFAQ#Do_you_have_the_original_King_James.2FAuthorized_Version.3F|FAQ]].&lt;br /&gt;
&lt;br /&gt;
== Provenance and Acknowledgements ==&lt;br /&gt;
Strong's numbers provide a useful means for looking up the exact original language word in a lexicon that is keyed to [http://en.wikipedia.org/wiki/Strong's_Concordance Strong's Concordance].&lt;br /&gt;
&lt;br /&gt;
[http://en.wikipedia.org/wiki/Morphology_%28linguistics%29 Morphology] data provides a means to understand the structure of the original language's morphemes and other linguistic units.&lt;br /&gt;
&lt;br /&gt;
* The Strong's numbers in the OT were obtained from [http://www.bf.org/ The Bible Foundation]&lt;br /&gt;
* The Strong's data in the NT was obtained from the [[CrossWire_KJV#Text_Development_Stages|KJV2003 Project]] at CrossWire.&lt;br /&gt;
&lt;br /&gt;
Special thanks to the volunteers at Bible Foundation for keying the Hebrew/English data and of Project KJV2003 for working toward the completion of synchronizing the English phrases to the Stephanas [http://en.wikipedia.org/wiki/Textus_Receptus Textus Receptus], and to Dr. Maurice Robinson for providing the base Greek text with Strong's and Morphology.&lt;br /&gt;
&lt;br /&gt;
We are also appreciative of formatting markup that was provided by [http://www.ebible.org Michael Paul Johnson]. &lt;br /&gt;
&lt;br /&gt;
Their time and generosity to contribute such for the free use of the Body of Christ is a great blessing and this derivitive work could not have been possible without these efforts of so many individuals.  It is in this spirit that we in turn offer the KJV2003 Project text and its successors freely for any purpose.&lt;br /&gt;
&lt;br /&gt;
We are also appreciative for the feedback reports over the years from several individuals that have enabled us to fix minor text and markup issues by comparison with the reference texts.&lt;br /&gt;
&lt;br /&gt;
== Reference Text ==&lt;br /&gt;
The CrossWire KJV is meant to be the faithful e-text edition&amp;lt;ref&amp;gt;With added features suited to the digital age we live in.&amp;lt;/ref&amp;gt; of the Benjamin Blayney's 1769 Oxford edition of the KJV&amp;lt;ref&amp;gt;Excluding the Apocrypha.&amp;lt;/ref&amp;gt; (hereafter called 1769 KJV). To that end we required it to be diligently checked against a reference standard for accuracy. Finding a reference text was a daunting task. What is known today as the KJV has been changed on a regular basis since it's first publication to today.&amp;lt;ref&amp;gt;Refer to [http://en.wikipedia.org/wiki/Frederick_Henry_Ambrose_Scrivener F H A Scrivener] and to the [http://en.wikipedia.org/wiki/New_Cambridge_Paragraph_Bible New Cambridge Paragraph Bible].&amp;lt;/ref&amp;gt; Some of these changes are well known others are quietly done by publishers.&lt;br /&gt;
&lt;br /&gt;
There also was a need to have a reference for red-letter text. This too varied from one KJV to another.&lt;br /&gt;
&lt;br /&gt;
:''See also [[User:Dmsmith/KJV_2.6#Reference_text_policy]]''.&lt;br /&gt;
&lt;br /&gt;
===Need for a reference text===&lt;br /&gt;
Ideally, the reference standard would be a faithful electronic copy of 1769 KJV. When CrossWire's KJV2006 Project was started there was no such text either as a facsimile or eText. In lieu of that, finding an acceptable text was needed to arbitrate the claims that &amp;quot;my KJV is right and it is different from what you have.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
We compared our text with two independent 1769 KJV eTexts (CCEL and InterLeaf). All of the other eTexts we found seemed to be one of these three. Those comparisons yielded differences that needed to be verified in an independent text. Thus the need for *a* dead tree text. While working on the KJV2006 release, several websites that were dedicated to producing a &amp;quot;true&amp;quot; text were abandoned with chagrin that it is not a doable task apart from having a facsimile of the 1769 KJV, which was not known.&lt;br /&gt;
&lt;br /&gt;
One criteria was finding a text that the [http://en.wikipedia.org/wiki/King_James_Only_movement KJV-only] adherents felt was more accurate 1769 KJV text. Using various listings of differences between current and &amp;quot;true&amp;quot;, dozens of dead tree texts in several stores were examined. Also, it was important to avoid copyright claims based upon minor changes in the text. Both combined to come up with the Public Domain [http://en.wikipedia.org/wiki/Scofield_Reference_Bible Old Scofield Study Bible]&amp;lt;ref&amp;gt;The use of the Scofield in no way implies our endorsement of the extensive non-canonical study notes therein.&amp;lt;/ref&amp;gt;. The Biblical text was thought to be one of the most faithful copies of the 1769 Oxford Edition.&amp;lt;ref&amp;gt;i.e. Even by those in the KJV Only movement.&amp;lt;/ref&amp;gt; It was published in 1917, which was important in terms of USA copyright law. It was also considered to be a faithful red-letter text.&lt;br /&gt;
&lt;br /&gt;
We are in the process of obtaining a hard copy facsimile of the &amp;quot;Blayney&amp;quot; 1769 KJV text. This will be the reference text going forward.&lt;br /&gt;
&lt;br /&gt;
===Need for a reference red-letter text===&lt;br /&gt;
Red-Letter text is a fairly recent addition to the 1769 KJV. In 1899, Louis Klopsch proposed rendering the words of Christ in red letters. His work was published in 1901. Recently (2016-01-28), we've obtained Louis Klopsch's 1901 edition of the KJV and will use that as the future reference for red-letter text.&lt;br /&gt;
&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Chosen Texts===&lt;br /&gt;
The public domain Old Scofield Study Bible was used for version 2.3 to 2.10 for text and for version 2.3 to 2.9 for red-letter markup.&lt;br /&gt;
The Louis Klopsch 1901 KJV is used for red-letter markup for 2.10 and later.&lt;br /&gt;
The 1769 KJV facsimile is used for text, front-matter, notes, cross-references, titles, .... for versions after 2.11.&lt;br /&gt;
&lt;br /&gt;
== Copyright ==&lt;br /&gt;
Any copyright that might be obtained for this effort is held by the CrossWire Bible Society © 2003-2016 and the CrossWire Bible Society hereby grants a general public license to use this text for any purpose.&lt;br /&gt;
&lt;br /&gt;
CrossWire's KJV module is an amalgamation of different source material. Each has its own copyright or is in the public domain.&lt;br /&gt;
* The actual text validated against 2 independent eTexts and found differences against our hard-copy reference for such.&lt;br /&gt;
* The [http://en.wikipedia.org/wiki/Red_letter_edition Red Letter] markup of the words of Christ have been validated against our hard-copy reference for such.&lt;br /&gt;
* The Strong's numbers in the OT are from [http://www.bf.org/ The Bible Foundation].&lt;br /&gt;
* The Strong's numbers in the NT are from [http://apps.sebts.edu/FacultyUploads/Maurice%20Robinson%20CV.pdf Dr Maurice A. Robinson], Senior Professor of New Testament and Greek at [http://en.wikipedia.org/wiki/Southeastern_Baptist_Theological_Seminary Southeastern Baptist Theological Seminary] in North Carolina.&lt;br /&gt;
* The OSIS XML markup is a unique effort that began with our KJV2003 project &amp;amp;ndash; Copyright © 2003-2016 The CrossWire Bible Society.&lt;br /&gt;
* The tagging of Strong's numbers to the NT text is a unique effort of our KJV2003 project &amp;amp;ndash;  Copyright © 2003-2016 The CrossWire Bible Society.&lt;br /&gt;
&lt;br /&gt;
=== Crown copyright, Letters Patent and the KJV ===&lt;br /&gt;
In the United Kingdom, the text of the [http://en.wikipedia.org/wiki/King_James_Version Authorized King James Version] of the Bible is protected by '''royal prerogative'''. &amp;quot;There is a small class of materials where the Crown claims the right to control reproduction outside normal copyright law due to '''Letters Patent''' issued under the royal prerogative. This material includes the '''King James Bible''', and the '''Book of Common Prayer'''.&amp;quot; See [http://en.wikipedia.org/wiki/Crown_copyright#United_Kingdom Crown copyright].&lt;br /&gt;
&lt;br /&gt;
In most of the world, the Authorized Version has passed out of copyright and is freely reproduced. In the United Kingdom, the British Crown restricts production of the Authorized Version per transitional exemptions from the Copyright Act 1775 (which implemented this clause) in the Copyright, Designs and patents Act 1988 (Schedule I, section 13(1)), which expire in 2039. [http://en.wikipedia.org/wiki/Cambridge_University_Press Cambridge University Press]&amp;lt;ref&amp;gt;Cambridge University Press wrote to [[Projects:Go_Bible|Go Bible]] several years ago, acting as agents of Crown copyright. Their request was simple and straightforward, viz., that we include a clear statement about Crown copyright for the KJV. After we did that, and informed them, they seem to have been satisfied.&amp;lt;/ref&amp;gt;, [http://en.wikipedia.org/wiki/Oxford_University_Press Oxford University Press], [http://en.wikipedia.org/wiki/HarperCollins HarperCollins] and the [http://en.wikipedia.org/wiki/Queen's_Printer Queen's Printers] have the right to produce the Authorized Version. See [http://en.wikipedia.org/wiki/King_James_Bible King James Bible].&lt;br /&gt;
&lt;br /&gt;
The [http://en.wikipedia.org/wiki/British_and_Foreign_Bible_Society British &amp;amp; Foreign Bible Society] (based in the UK) respects this copyright status, although many American organisations do not respect it and treat it wrongly as if it were public domain.  In reality, the many editions of the KJV used in the USA are a revision of the text made by the [http://en.wikipedia.org/wiki/American_Bible_Society American Bible Society] and the rights for this revision are still held by ABS.&lt;br /&gt;
&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Road Map ==&lt;br /&gt;
:''List briefly the further enhancements we would like to make in the future beyond the next release''.&lt;br /&gt;
* Update underlying TR to the latest from Maurice Robinson. (3.0)&lt;br /&gt;
* Update to match Louis Klopsch's 1901 red-letter markup. (2.10)&lt;br /&gt;
* Build KJV and KJVA from same kjvfull.xml file. (The KJVA is not being rebuilt when the KJV is updated).&lt;br /&gt;
* Split KJV into KJV and AV where AV is an orthographic representation of the 1769 KJV. E.g. long s, ae, oe, fl, ffl, ....&lt;br /&gt;
&lt;br /&gt;
Other thoughts based upon having the Blayney edition:&lt;br /&gt;
* Add front-matter: dedicatory and preface, OT intro, NT intro, ....&lt;br /&gt;
* Add print page breaks. Tying to the dead-tree edition. These would be internal markers.&lt;br /&gt;
* Add chronology as note to chapter starts (probably in first verse or verse 0.)&lt;br /&gt;
* Add NT chapter descriptions.&lt;br /&gt;
* Add OT chapter descriptions.&lt;br /&gt;
* Add xrefs and notes to NT.&lt;br /&gt;
* Validate OT notes.&lt;br /&gt;
* Add xrefs to OT.&lt;br /&gt;
&lt;br /&gt;
== History ==&lt;br /&gt;
=== Text Development Stages ===&lt;br /&gt;
From the time the KJV module was first released, text and markup development has been done in several major stages:&lt;br /&gt;
* The original '''KJV2003''' Project &amp;amp;ndash; ''user page no longer exists''&lt;br /&gt;
* The [http://www.crosswire.org/~dmsmith/kjv2006/ KJV2006] Project&lt;br /&gt;
* The [[User:Dmsmith/KJV2011|KJV2011]] Effort&lt;br /&gt;
* The [[User:Dmsmith/KJV 2.6|KJV 2.6]] Effort &amp;amp;ndash; begun in 2013 and ongoing...&lt;br /&gt;
&lt;br /&gt;
=== Module Versions ===&lt;br /&gt;
While the KJV was a module at CrossWire prior to version 2.0, this is the earliest for which dates can be determined.&amp;lt;BR&amp;gt;Dates prior to version 2.3 are best estimates. (For changes in versions 1.x, refer to the file kjv.conf)&lt;br /&gt;
{|  width=&amp;quot;100%&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;sortable&amp;quot;&lt;br /&gt;
! width=&amp;quot;5%&amp;quot;|Revision&lt;br /&gt;
! width=&amp;quot;10%&amp;quot;|Date&lt;br /&gt;
! width=&amp;quot;85%&amp;quot;|Description&lt;br /&gt;
|- &lt;br /&gt;
| 2.10&lt;br /&gt;
| Future&lt;br /&gt;
| Improved OSIS markup.&lt;br /&gt;
Details: (''with progress marker'')&lt;br /&gt;
* Update our custom [[OSIS 211 CR|OSIS schema]] to properly validate '''type''' values in '''rdg''' element.&lt;br /&gt;
* Correct type=&amp;quot;alternative&amp;quot; (2.9) to &amp;quot;alternate&amp;quot;.&lt;br /&gt;
* Move '''sID''' before '''osisID''' in verse elements.&lt;br /&gt;
* Add a final full-stop to all notes previously lacking one.&lt;br /&gt;
* Add a space after the ¶ in the milestone marker.&lt;br /&gt;
* Add the hitherto missing ¶ in NT books: Romans&amp;amp;mdash;Revelation.&lt;br /&gt;
* Change red ¶ to black (i.e. within text marked as &amp;quot;words of Jesus&amp;quot;)&lt;br /&gt;
* Add '''osisRef''' to '''catchWord''' (for now at least, mainly for single keywords).&lt;br /&gt;
-----&lt;br /&gt;
* Add '''n''' attribute to '''note''' element.&lt;br /&gt;
* Move some notes from Psalms verse 1 to the canonical '''title''' element.&lt;br /&gt;
* Make minor corrections to a few notes.&lt;br /&gt;
* Add AV front matter, dedicatory and preface.&lt;br /&gt;
* Update Words of Christ (aka red letter text) to match Louis Klopsch's original work.&lt;br /&gt;
|- &lt;br /&gt;
| 2.9&lt;br /&gt;
| 2016-01-21&lt;br /&gt;
| Improved OSIS markup.&lt;br /&gt;
Details:&lt;br /&gt;
* Added '''catchWord''' and reading ('''rdg''') markup to notes.&lt;br /&gt;
* Improved markup placement for ''Selah'' in 13 places.&lt;br /&gt;
|- &lt;br /&gt;
| 2.8&lt;br /&gt;
| 2015-12-20&lt;br /&gt;
| Improved OSIS markup.&lt;br /&gt;
Details:&lt;br /&gt;
* Moved Ps 119 acrostic titles before verse number.&lt;br /&gt;
* Changed double spaces to a single space.&lt;br /&gt;
* Changed &amp;quot;Heb &amp;quot; to &amp;quot;Heb. &amp;quot; in notes.&lt;br /&gt;
* Added Feature=NoParagraphs.&lt;br /&gt;
|- &lt;br /&gt;
| 2.7&lt;br /&gt;
| 2015-08-09&lt;br /&gt;
| Fixed bugs preventing the display of some Strong's Numbers in the Old Testament.&lt;br /&gt;
Improved markup of Strong's numbers in 2 Cor 15.&lt;br /&gt;
|- &lt;br /&gt;
| 2.6.1&lt;br /&gt;
| 2014-02-15&lt;br /&gt;
| Added GlobalOptionFilter for OSISLemma&lt;br /&gt;
|- &lt;br /&gt;
| 2.6&lt;br /&gt;
| 2013-10-05&lt;br /&gt;
| Fixed bugs. Added Greek from TR.&lt;br /&gt;
|- &lt;br /&gt;
| 2.5&lt;br /&gt;
| 2013-02-02&lt;br /&gt;
| Fixed bugs.&lt;br /&gt;
|- &lt;br /&gt;
| 2.4&lt;br /&gt;
| 2009-05-29&lt;br /&gt;
| Fixed bugs. Updated red-letter markup of Words of Christ.&lt;br /&gt;
|- &lt;br /&gt;
| 2.3&lt;br /&gt;
| 2006-10-09&lt;br /&gt;
| Fixed bugs. See: [http://crosswire.org/~dmsmith/kjv2006/ Project KJV2006]&lt;br /&gt;
Goals:&lt;br /&gt;
* Faithful representation of the KJV.&lt;br /&gt;
* Each book of the Bible is well-formed xml.&lt;br /&gt;
* Each book of the Bible is valid OSIS xml according to the 2.1.1 schema.&lt;br /&gt;
* The markup conforms to OSIS best practices as mentioned on the Sword-devel mailing list and the OSIS 2.1.1 user's manual&lt;br /&gt;
* Strong's markup normalized.&lt;br /&gt;
&lt;br /&gt;
Details:&lt;br /&gt;
* The xml is now well-formed.&lt;br /&gt;
* The xml is now valid OSIS 2.1.1&lt;br /&gt;
* Strong's numbers have been normalized.&lt;br /&gt;
* Fixed the missing 's in the OT&lt;br /&gt;
* Moved whitespace and puncutation to a more sensible location and fixed whitespace problems.&lt;br /&gt;
* Positioned the [http://en.wikipedia.org/wiki/Pilcrow pilcrow symbol] ¶ at the start of verses.&lt;br /&gt;
* Validated against Old Scofield Study Bible for all differences found by comparing against the KJV encoded by Tim Lanfear for CCEL.&lt;br /&gt;
* Validated against Old Scofield Study Bible for all differences found by comparing against the KJV encoded Interleaf Bible.&lt;br /&gt;
* Fixed all existing titles and added missing ones.&lt;br /&gt;
* Fixed paragraphing&lt;br /&gt;
* Tagged all inscriptions&lt;br /&gt;
* Fixed and tagged all divine names&lt;br /&gt;
* Added xlit to w elements for the acrostic in Psalm 119&lt;br /&gt;
* Hyphenated names&lt;br /&gt;
* Fixed names with Æ and æ&lt;br /&gt;
* Fixed a bug in osis2mod that incorrectly encoded the last verse of each book&lt;br /&gt;
* Removed Strong's number H00 as it does not exist.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 2.2&lt;br /&gt;
| 2004-07-25&lt;br /&gt;
| Updated to 20040121 snapshot of KJV2003.&lt;br /&gt;
|- &lt;br /&gt;
| 2.1&lt;br /&gt;
| 2003-06-24&lt;br /&gt;
| Changed Old Testament to use OSIS tags, removing the last of the GBF markup.&amp;lt;BR&amp;gt;Also updated to 20030624 snapshot of KJV2003.  Compressed.&lt;br /&gt;
|- &lt;br /&gt;
| 2.0&lt;br /&gt;
| 2003-01-08&lt;br /&gt;
| Changed New Testament to use a snapshot of the KJV2003 Project&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Help:Contents#Modules|Reporting module issues]]&lt;br /&gt;
* [[CrossWire KJVA|English: KJVA]] module &amp;amp;ndash; KJV with Apocrypha&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
&lt;br /&gt;
[[Category:Modules|CrossWire KJV]]&lt;br /&gt;
[[Category:English Bibles|CrossWire KJV]]&lt;br /&gt;
[[Category:OSIS|CrossWire KJV]]&lt;br /&gt;
[[Category:Copyright|CrossWire KJV]]&lt;/div&gt;</summary>
		<author><name>Dmsmith</name></author>	</entry>

	<entry>
		<id>https://wiki.crosswire.org/index.php?title=CrossWire_KJV&amp;diff=14658</id>
		<title>CrossWire KJV</title>
		<link rel="alternate" type="text/html" href="https://wiki.crosswire.org/index.php?title=CrossWire_KJV&amp;diff=14658"/>
				<updated>2016-01-28T17:23:18Z</updated>
		
		<summary type="html">&lt;p&gt;Dmsmith: /* Need for a reference text */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;:''This page is a work in progress''.&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
This page is intended to provide a more detailed background and description for the one module for which the OSIS XML source text is maintained by CrossWire volunteers. All other modules are based on source text from external providers.&lt;br /&gt;
&lt;br /&gt;
The KJV module was one of the earliest to be released and distributed by CrossWire after '''The SWORD Project''' was launched. It remains one of the most frequently downloaded modules in all our repositories.&lt;br /&gt;
&lt;br /&gt;
The KJV module text is based substantially on the '''1769 Oxford Edition''' (the basis for all modern editions), not the original 1611 first edition. See our [[EnduserFAQ#Do_you_have_the_original_King_James.2FAuthorized_Version.3F|FAQ]].&lt;br /&gt;
&lt;br /&gt;
== Provenance and Acknowledgements ==&lt;br /&gt;
Strong's numbers provide a useful means for looking up the exact original language word in a lexicon that is keyed to [http://en.wikipedia.org/wiki/Strong's_Concordance Strong's Concordance].&lt;br /&gt;
&lt;br /&gt;
[http://en.wikipedia.org/wiki/Morphology_%28linguistics%29 Morphology] data provides a means to understand the structure of the original language's morphemes and other linguistic units.&lt;br /&gt;
&lt;br /&gt;
* The Strong's numbers in the OT were obtained from [http://www.bf.org/ The Bible Foundation]&lt;br /&gt;
* The Strong's data in the NT was obtained from the [[CrossWire_KJV#Text_Development_Stages|KJV2003 Project]] at CrossWire.&lt;br /&gt;
&lt;br /&gt;
Special thanks to the volunteers at Bible Foundation for keying the Hebrew/English data and of Project KJV2003 for working toward the completion of synchronizing the English phrases to the Stephanas [http://en.wikipedia.org/wiki/Textus_Receptus Textus Receptus], and to Dr. Maurice Robinson for providing the base Greek text with Strong's and Morphology.&lt;br /&gt;
&lt;br /&gt;
We are also appreciative of formatting markup that was provided by [http://www.ebible.org Michael Paul Johnson]. &lt;br /&gt;
&lt;br /&gt;
Their time and generosity to contribute such for the free use of the Body of Christ is a great blessing and this derivitive work could not have been possible without these efforts of so many individuals.  It is in this spirit that we in turn offer the KJV2003 Project text and its successors freely for any purpose.&lt;br /&gt;
&lt;br /&gt;
We are also appreciative for the feedback reports over the years from several individuals that have enabled us to fix minor text and markup issues by comparison with the reference texts.&lt;br /&gt;
&lt;br /&gt;
== Reference Text ==&lt;br /&gt;
:''See also [[User:Dmsmith/KJV_2.6#Reference_text_policy]]''.&lt;br /&gt;
&lt;br /&gt;
===Need for a reference text===&lt;br /&gt;
The CrossWire KJV is meant to be the faithful e-text edition&amp;lt;ref&amp;gt;With added features suited to the digital age we live in.&amp;lt;/ref&amp;gt; of the Benjamin Blayney's 1769 Oxford edition of the KJV&amp;lt;ref&amp;gt;Excluding the Apocrypha.&amp;lt;/ref&amp;gt; (hereafter called 1769 KJV). To that end we required it to be diligently checked against a reference standard for accuracy. Finding a reference text was a daunting task. What is known today as the KJV has been changed on a regular basis since it's first publication to today.&amp;lt;ref&amp;gt;Refer to [http://en.wikipedia.org/wiki/Frederick_Henry_Ambrose_Scrivener F H A Scrivener] and to the [http://en.wikipedia.org/wiki/New_Cambridge_Paragraph_Bible New Cambridge Paragraph Bible].&amp;lt;/ref&amp;gt; Some of these changes are well known others are quietly done by publishers.&lt;br /&gt;
&lt;br /&gt;
Ideally, the reference standard would be a faithful electronic copy of 1769 KJV. When CrossWire's KJV2006 Project was started there was no such text either as a facsimile or eText. In lieu of that, finding an acceptable text was needed to arbitrate the claims that &amp;quot;my KJV is right and it is different from what you have.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
We compared our text with two independent 1769 KJV eTexts (CCEL and InterLeaf). All of the other eTexts we found seemed to be one of these three. Those comparisons yielded differences that needed to be verified in an independent text. Thus the need for *a* dead tree text. While working on the KJV2006 release, several websites that were dedicated to producing a &amp;quot;true&amp;quot; text were abandoned with chagrin that it is not a doable task apart from having a facsimile of the 1769 KJV, which was not known.&lt;br /&gt;
&lt;br /&gt;
One criteria was finding a text that the [http://en.wikipedia.org/wiki/King_James_Only_movement KJV-only] adherents felt was more accurate 1769 KJV text. Using various listings of differences between current and &amp;quot;true&amp;quot;, dozens of dead tree texts in several stores were examined. Both combined to come up with the Old Scofield. Also, it was important to avoid copyright claims based upon minor changes in the text. The text and the red-letter markup were clearly in the Public Domain.&lt;br /&gt;
&lt;br /&gt;
We are in the process of obtaining a hard copy facsimile of the &amp;quot;Blayney&amp;quot; 1769 KJV text. This will be the reference text going forward.&lt;br /&gt;
&lt;br /&gt;
Red-Letter text is a fairly recent addition to the 1769 KJV. In 1899, Louis Klopsch proposed rendering the words of Christ in red letters. His work was published in 1901. Recently (2016-01-28), we've obtained Louis Klopsch's 1901 edition of the KJV and will use that as the future reference for red-letter text.&lt;br /&gt;
&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Chosen Text===&lt;br /&gt;
The public domain [http://en.wikipedia.org/wiki/Scofield_Reference_Bible Old Scofield Study Bible]&amp;lt;ref&amp;gt;The use of the Scofield in no way implies our endorsement of the extensive non-canonical study notes therein.&lt;br /&gt;
&amp;lt;/ref&amp;gt; was used for version 2.3 to 2.10 and was chosen for the following reasons:&lt;br /&gt;
* The Biblical text was thought to be one of the most faithful copies of the 1769 Oxford Edition.&amp;lt;ref&amp;gt;i.e. Even by those in the KJV Only movement.&amp;lt;/ref&amp;gt;&lt;br /&gt;
* It was published in 1917, which was important in terms of USA copyright law.&lt;br /&gt;
* It was a red letter edition.&lt;br /&gt;
'''Notes:''' &lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Copyright ==&lt;br /&gt;
Any copyright that might be obtained for this effort is held by the CrossWire Bible Society © 2003-2016 and the CrossWire Bible Society hereby grants a general public license to use this text for any purpose.&lt;br /&gt;
&lt;br /&gt;
CrossWire's KJV module is an amalgamation of different source material. Each has its own copyright or is in the public domain.&lt;br /&gt;
* The actual text validated against 2 independent eTexts and found differences against our hard-copy reference for such.&lt;br /&gt;
* The [http://en.wikipedia.org/wiki/Red_letter_edition Red Letter] markup of the words of Christ have been validated against our hard-copy reference for such.&lt;br /&gt;
* The Strong's numbers in the OT are from [http://www.bf.org/ The Bible Foundation].&lt;br /&gt;
* The Strong's numbers in the NT are from [http://apps.sebts.edu/FacultyUploads/Maurice%20Robinson%20CV.pdf Dr Maurice A. Robinson], Senior Professor of New Testament and Greek at [http://en.wikipedia.org/wiki/Southeastern_Baptist_Theological_Seminary Southeastern Baptist Theological Seminary] in North Carolina.&lt;br /&gt;
* The OSIS XML markup is a unique effort that began with our KJV2003 project &amp;amp;ndash; Copyright © 2003-2016 The CrossWire Bible Society.&lt;br /&gt;
* The tagging of Strong's numbers to the NT text is a unique effort of our KJV2003 project &amp;amp;ndash;  Copyright © 2003-2016 The CrossWire Bible Society.&lt;br /&gt;
&lt;br /&gt;
=== Crown copyright, Letters Patent and the KJV ===&lt;br /&gt;
In the United Kingdom, the text of the [http://en.wikipedia.org/wiki/King_James_Version Authorized King James Version] of the Bible is protected by '''royal prerogative'''. &amp;quot;There is a small class of materials where the Crown claims the right to control reproduction outside normal copyright law due to '''Letters Patent''' issued under the royal prerogative. This material includes the '''King James Bible''', and the '''Book of Common Prayer'''.&amp;quot; See [http://en.wikipedia.org/wiki/Crown_copyright#United_Kingdom Crown copyright].&lt;br /&gt;
&lt;br /&gt;
In most of the world, the Authorized Version has passed out of copyright and is freely reproduced. In the United Kingdom, the British Crown restricts production of the Authorized Version per transitional exemptions from the Copyright Act 1775 (which implemented this clause) in the Copyright, Designs and patents Act 1988 (Schedule I, section 13(1)), which expire in 2039. [http://en.wikipedia.org/wiki/Cambridge_University_Press Cambridge University Press]&amp;lt;ref&amp;gt;Cambridge University Press wrote to [[Projects:Go_Bible|Go Bible]] several years ago, acting as agents of Crown copyright. Their request was simple and straightforward, viz., that we include a clear statement about Crown copyright for the KJV. After we did that, and informed them, they seem to have been satisfied.&amp;lt;/ref&amp;gt;, [http://en.wikipedia.org/wiki/Oxford_University_Press Oxford University Press], [http://en.wikipedia.org/wiki/HarperCollins HarperCollins] and the [http://en.wikipedia.org/wiki/Queen's_Printer Queen's Printers] have the right to produce the Authorized Version. See [http://en.wikipedia.org/wiki/King_James_Bible King James Bible].&lt;br /&gt;
&lt;br /&gt;
The [http://en.wikipedia.org/wiki/British_and_Foreign_Bible_Society British &amp;amp; Foreign Bible Society] (based in the UK) respects this copyright status, although many American organisations do not respect it and treat it wrongly as if it were public domain.  In reality, the many editions of the KJV used in the USA are a revision of the text made by the [http://en.wikipedia.org/wiki/American_Bible_Society American Bible Society] and the rights for this revision are still held by ABS.&lt;br /&gt;
&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Road Map ==&lt;br /&gt;
:''List briefly the further enhancements we would like to make in the future beyond the next release''.&lt;br /&gt;
* Update underlying TR to the latest from Maurice Robinson. (3.0)&lt;br /&gt;
* Update to match Louis Klopsch's 1901 red-letter markup. (2.10)&lt;br /&gt;
* Build KJV and KJVA from same kjvfull.xml file. (The KJVA is not being rebuilt when the KJV is updated).&lt;br /&gt;
* Split KJV into KJV and AV where AV is an orthographic representation of the 1769 KJV. E.g. long s, ae, oe, fl, ffl, ....&lt;br /&gt;
&lt;br /&gt;
Other thoughts based upon having the Blayney edition:&lt;br /&gt;
* Add front-matter: dedicatory and preface, OT intro, NT intro, ....&lt;br /&gt;
* Add print page breaks. Tying to the dead-tree edition. These would be internal markers.&lt;br /&gt;
* Add chronology as note to chapter starts (probably in first verse or verse 0.)&lt;br /&gt;
* Add NT chapter descriptions.&lt;br /&gt;
* Add OT chapter descriptions.&lt;br /&gt;
* Add xrefs and notes to NT.&lt;br /&gt;
* Validate OT notes.&lt;br /&gt;
* Add xrefs to OT.&lt;br /&gt;
&lt;br /&gt;
== History ==&lt;br /&gt;
=== Text Development Stages ===&lt;br /&gt;
From the time the KJV module was first released, text and markup development has been done in several major stages:&lt;br /&gt;
* The original '''KJV2003''' Project &amp;amp;ndash; ''user page no longer exists''&lt;br /&gt;
* The [http://www.crosswire.org/~dmsmith/kjv2006/ KJV2006] Project&lt;br /&gt;
* The [[User:Dmsmith/KJV2011|KJV2011]] Effort&lt;br /&gt;
* The [[User:Dmsmith/KJV 2.6|KJV 2.6]] Effort &amp;amp;ndash; begun in 2013 and ongoing...&lt;br /&gt;
&lt;br /&gt;
=== Module Versions ===&lt;br /&gt;
While the KJV was a module at CrossWire prior to version 2.0, this is the earliest for which dates can be determined.&amp;lt;BR&amp;gt;Dates prior to version 2.3 are best estimates. (For changes in versions 1.x, refer to the file kjv.conf)&lt;br /&gt;
{|  width=&amp;quot;100%&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;sortable&amp;quot;&lt;br /&gt;
! width=&amp;quot;5%&amp;quot;|Revision&lt;br /&gt;
! width=&amp;quot;10%&amp;quot;|Date&lt;br /&gt;
! width=&amp;quot;85%&amp;quot;|Description&lt;br /&gt;
|- &lt;br /&gt;
| 2.10&lt;br /&gt;
| Future&lt;br /&gt;
| Improved OSIS markup.&lt;br /&gt;
Details: (''with progress marker'')&lt;br /&gt;
* Update our custom [[OSIS 211 CR|OSIS schema]] to properly validate '''type''' values in '''rdg''' element.&lt;br /&gt;
* Correct type=&amp;quot;alternative&amp;quot; (2.9) to &amp;quot;alternate&amp;quot;.&lt;br /&gt;
* Move '''sID''' before '''osisID''' in verse elements.&lt;br /&gt;
* Add a final full-stop to all notes previously lacking one.&lt;br /&gt;
* Add a space after the ¶ in the milestone marker.&lt;br /&gt;
* Add the hitherto missing ¶ in NT books: Romans&amp;amp;mdash;Revelation.&lt;br /&gt;
* Change red ¶ to black (i.e. within text marked as &amp;quot;words of Jesus&amp;quot;)&lt;br /&gt;
* Add '''osisRef''' to '''catchWord''' (for now at least, mainly for single keywords).&lt;br /&gt;
-----&lt;br /&gt;
* Add '''n''' attribute to '''note''' element.&lt;br /&gt;
* Move some notes from Psalms verse 1 to the canonical '''title''' element.&lt;br /&gt;
* Make minor corrections to a few notes.&lt;br /&gt;
* Add AV front matter, dedicatory and preface.&lt;br /&gt;
* Update Words of Christ (aka red letter text) to match Louis Klopsch's original work.&lt;br /&gt;
|- &lt;br /&gt;
| 2.9&lt;br /&gt;
| 2016-01-21&lt;br /&gt;
| Improved OSIS markup.&lt;br /&gt;
Details:&lt;br /&gt;
* Added '''catchWord''' and reading ('''rdg''') markup to notes.&lt;br /&gt;
* Improved markup placement for ''Selah'' in 13 places.&lt;br /&gt;
|- &lt;br /&gt;
| 2.8&lt;br /&gt;
| 2015-12-20&lt;br /&gt;
| Improved OSIS markup.&lt;br /&gt;
Details:&lt;br /&gt;
* Moved Ps 119 acrostic titles before verse number.&lt;br /&gt;
* Changed double spaces to a single space.&lt;br /&gt;
* Changed &amp;quot;Heb &amp;quot; to &amp;quot;Heb. &amp;quot; in notes.&lt;br /&gt;
* Added Feature=NoParagraphs.&lt;br /&gt;
|- &lt;br /&gt;
| 2.7&lt;br /&gt;
| 2015-08-09&lt;br /&gt;
| Fixed bugs preventing the display of some Strong's Numbers in the Old Testament.&lt;br /&gt;
Improved markup of Strong's numbers in 2 Cor 15.&lt;br /&gt;
|- &lt;br /&gt;
| 2.6.1&lt;br /&gt;
| 2014-02-15&lt;br /&gt;
| Added GlobalOptionFilter for OSISLemma&lt;br /&gt;
|- &lt;br /&gt;
| 2.6&lt;br /&gt;
| 2013-10-05&lt;br /&gt;
| Fixed bugs. Added Greek from TR.&lt;br /&gt;
|- &lt;br /&gt;
| 2.5&lt;br /&gt;
| 2013-02-02&lt;br /&gt;
| Fixed bugs.&lt;br /&gt;
|- &lt;br /&gt;
| 2.4&lt;br /&gt;
| 2009-05-29&lt;br /&gt;
| Fixed bugs. Updated red-letter markup of Words of Christ.&lt;br /&gt;
|- &lt;br /&gt;
| 2.3&lt;br /&gt;
| 2006-10-09&lt;br /&gt;
| Fixed bugs. See: [http://crosswire.org/~dmsmith/kjv2006/ Project KJV2006]&lt;br /&gt;
Goals:&lt;br /&gt;
* Faithful representation of the KJV.&lt;br /&gt;
* Each book of the Bible is well-formed xml.&lt;br /&gt;
* Each book of the Bible is valid OSIS xml according to the 2.1.1 schema.&lt;br /&gt;
* The markup conforms to OSIS best practices as mentioned on the Sword-devel mailing list and the OSIS 2.1.1 user's manual&lt;br /&gt;
* Strong's markup normalized.&lt;br /&gt;
&lt;br /&gt;
Details:&lt;br /&gt;
* The xml is now well-formed.&lt;br /&gt;
* The xml is now valid OSIS 2.1.1&lt;br /&gt;
* Strong's numbers have been normalized.&lt;br /&gt;
* Fixed the missing 's in the OT&lt;br /&gt;
* Moved whitespace and puncutation to a more sensible location and fixed whitespace problems.&lt;br /&gt;
* Positioned the [http://en.wikipedia.org/wiki/Pilcrow pilcrow symbol] ¶ at the start of verses.&lt;br /&gt;
* Validated against Old Scofield Study Bible for all differences found by comparing against the KJV encoded by Tim Lanfear for CCEL.&lt;br /&gt;
* Validated against Old Scofield Study Bible for all differences found by comparing against the KJV encoded Interleaf Bible.&lt;br /&gt;
* Fixed all existing titles and added missing ones.&lt;br /&gt;
* Fixed paragraphing&lt;br /&gt;
* Tagged all inscriptions&lt;br /&gt;
* Fixed and tagged all divine names&lt;br /&gt;
* Added xlit to w elements for the acrostic in Psalm 119&lt;br /&gt;
* Hyphenated names&lt;br /&gt;
* Fixed names with Æ and æ&lt;br /&gt;
* Fixed a bug in osis2mod that incorrectly encoded the last verse of each book&lt;br /&gt;
* Removed Strong's number H00 as it does not exist.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 2.2&lt;br /&gt;
| 2004-07-25&lt;br /&gt;
| Updated to 20040121 snapshot of KJV2003.&lt;br /&gt;
|- &lt;br /&gt;
| 2.1&lt;br /&gt;
| 2003-06-24&lt;br /&gt;
| Changed Old Testament to use OSIS tags, removing the last of the GBF markup.&amp;lt;BR&amp;gt;Also updated to 20030624 snapshot of KJV2003.  Compressed.&lt;br /&gt;
|- &lt;br /&gt;
| 2.0&lt;br /&gt;
| 2003-01-08&lt;br /&gt;
| Changed New Testament to use a snapshot of the KJV2003 Project&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Help:Contents#Modules|Reporting module issues]]&lt;br /&gt;
* [[CrossWire KJVA|English: KJVA]] module &amp;amp;ndash; KJV with Apocrypha&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
&lt;br /&gt;
[[Category:Modules|CrossWire KJV]]&lt;br /&gt;
[[Category:English Bibles|CrossWire KJV]]&lt;br /&gt;
[[Category:OSIS|CrossWire KJV]]&lt;br /&gt;
[[Category:Copyright|CrossWire KJV]]&lt;/div&gt;</summary>
		<author><name>Dmsmith</name></author>	</entry>

	<entry>
		<id>https://wiki.crosswire.org/index.php?title=CrossWire_KJV&amp;diff=14657</id>
		<title>CrossWire KJV</title>
		<link rel="alternate" type="text/html" href="https://wiki.crosswire.org/index.php?title=CrossWire_KJV&amp;diff=14657"/>
				<updated>2016-01-28T16:42:50Z</updated>
		
		<summary type="html">&lt;p&gt;Dmsmith: /* Module Versions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;:''This page is a work in progress''.&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
This page is intended to provide a more detailed background and description for the one module for which the OSIS XML source text is maintained by CrossWire volunteers. All other modules are based on source text from external providers.&lt;br /&gt;
&lt;br /&gt;
The KJV module was one of the earliest to be released and distributed by CrossWire after '''The SWORD Project''' was launched. It remains one of the most frequently downloaded modules in all our repositories.&lt;br /&gt;
&lt;br /&gt;
The KJV module text is based substantially on the '''1769 Oxford Edition''' (the basis for all modern editions), not the original 1611 first edition. See our [[EnduserFAQ#Do_you_have_the_original_King_James.2FAuthorized_Version.3F|FAQ]].&lt;br /&gt;
&lt;br /&gt;
== Provenance and Acknowledgements ==&lt;br /&gt;
Strong's numbers provide a useful means for looking up the exact original language word in a lexicon that is keyed to [http://en.wikipedia.org/wiki/Strong's_Concordance Strong's Concordance].&lt;br /&gt;
&lt;br /&gt;
[http://en.wikipedia.org/wiki/Morphology_%28linguistics%29 Morphology] data provides a means to understand the structure of the original language's morphemes and other linguistic units.&lt;br /&gt;
&lt;br /&gt;
* The Strong's numbers in the OT were obtained from [http://www.bf.org/ The Bible Foundation]&lt;br /&gt;
* The Strong's data in the NT was obtained from the [[CrossWire_KJV#Text_Development_Stages|KJV2003 Project]] at CrossWire.&lt;br /&gt;
&lt;br /&gt;
Special thanks to the volunteers at Bible Foundation for keying the Hebrew/English data and of Project KJV2003 for working toward the completion of synchronizing the English phrases to the Stephanas [http://en.wikipedia.org/wiki/Textus_Receptus Textus Receptus], and to Dr. Maurice Robinson for providing the base Greek text with Strong's and Morphology.&lt;br /&gt;
&lt;br /&gt;
We are also appreciative of formatting markup that was provided by [http://www.ebible.org Michael Paul Johnson]. &lt;br /&gt;
&lt;br /&gt;
Their time and generosity to contribute such for the free use of the Body of Christ is a great blessing and this derivitive work could not have been possible without these efforts of so many individuals.  It is in this spirit that we in turn offer the KJV2003 Project text and its successors freely for any purpose.&lt;br /&gt;
&lt;br /&gt;
We are also appreciative for the feedback reports over the years from several individuals that have enabled us to fix minor text and markup issues by comparison with the reference texts.&lt;br /&gt;
&lt;br /&gt;
== Reference Text ==&lt;br /&gt;
:''See also [[User:Dmsmith/KJV_2.6#Reference_text_policy]]''.&lt;br /&gt;
&lt;br /&gt;
===Need for a reference text===&lt;br /&gt;
The CrossWire KJV is meant to be the faithful e-text edition&amp;lt;ref&amp;gt;With added features suited to the digital age we live in.&amp;lt;/ref&amp;gt; of the 1769 KJV&amp;lt;ref&amp;gt;Excluding the Apocrypha.&amp;lt;/ref&amp;gt;. To that end we required it to be diligently checked against a reference standard for accuracy.&lt;br /&gt;
&lt;br /&gt;
Briefly describe:&lt;br /&gt;
* the confusion regarding the text of the KJV.&lt;br /&gt;
* the documented textual changes from 1611 to the present day&amp;lt;ref&amp;gt;Refer to [http://en.wikipedia.org/wiki/Frederick_Henry_Ambrose_Scrivener F H A Scrivener] and to the [http://en.wikipedia.org/wiki/New_Cambridge_Paragraph_Bible New Cambridge Paragraph Bible].&amp;lt;/ref&amp;gt;&lt;br /&gt;
* how the 1769 KJV differs in relation to other editions.&lt;br /&gt;
* the variations found in modern KJV printed editions.&lt;br /&gt;
* the [http://en.wikipedia.org/wiki/King_James_Only_movement KJV-only movement].&lt;br /&gt;
&lt;br /&gt;
When Project KJV2006 was started, there was no authoritative electronic copy of Benjamin Blayney's 1769 Oxford edition of the KJV.&amp;lt;BR&amp;gt;All the modern versions available differed in various ways to some extent.&lt;br /&gt;
&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Chosen Text===&lt;br /&gt;
The public domain [http://en.wikipedia.org/wiki/Scofield_Reference_Bible Old Scofield Study Bible]&amp;lt;ref&amp;gt;The use of the Scofield in no way implies our endorsement of the extensive non-canonical study notes therein.&lt;br /&gt;
&amp;lt;/ref&amp;gt; was used for version 2.3 to 2.10 and was chosen for the following reasons:&lt;br /&gt;
* The Biblical text was thought to be one of the most faithful copies of the 1769 Oxford Edition.&amp;lt;ref&amp;gt;i.e. Even by those in the KJV Only movement.&amp;lt;/ref&amp;gt;&lt;br /&gt;
* It was published in 1917, which was important in terms of USA copyright law.&lt;br /&gt;
* It was a red letter edition.&lt;br /&gt;
'''Notes:''' &lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Copyright ==&lt;br /&gt;
Any copyright that might be obtained for this effort is held by the CrossWire Bible Society © 2003-2016 and the CrossWire Bible Society hereby grants a general public license to use this text for any purpose.&lt;br /&gt;
&lt;br /&gt;
CrossWire's KJV module is an amalgamation of different source material. Each has its own copyright or is in the public domain.&lt;br /&gt;
* The actual text validated against 2 independent eTexts and found differences against our hard-copy reference for such.&lt;br /&gt;
* The [http://en.wikipedia.org/wiki/Red_letter_edition Red Letter] markup of the words of Christ have been validated against our hard-copy reference for such.&lt;br /&gt;
* The Strong's numbers in the OT are from [http://www.bf.org/ The Bible Foundation].&lt;br /&gt;
* The Strong's numbers in the NT are from [http://apps.sebts.edu/FacultyUploads/Maurice%20Robinson%20CV.pdf Dr Maurice A. Robinson], Senior Professor of New Testament and Greek at [http://en.wikipedia.org/wiki/Southeastern_Baptist_Theological_Seminary Southeastern Baptist Theological Seminary] in North Carolina.&lt;br /&gt;
* The OSIS XML markup is a unique effort that began with our KJV2003 project &amp;amp;ndash; Copyright © 2003-2016 The CrossWire Bible Society.&lt;br /&gt;
* The tagging of Strong's numbers to the NT text is a unique effort of our KJV2003 project &amp;amp;ndash;  Copyright © 2003-2016 The CrossWire Bible Society.&lt;br /&gt;
&lt;br /&gt;
=== Crown copyright, Letters Patent and the KJV ===&lt;br /&gt;
In the United Kingdom, the text of the [http://en.wikipedia.org/wiki/King_James_Version Authorized King James Version] of the Bible is protected by '''royal prerogative'''. &amp;quot;There is a small class of materials where the Crown claims the right to control reproduction outside normal copyright law due to '''Letters Patent''' issued under the royal prerogative. This material includes the '''King James Bible''', and the '''Book of Common Prayer'''.&amp;quot; See [http://en.wikipedia.org/wiki/Crown_copyright#United_Kingdom Crown copyright].&lt;br /&gt;
&lt;br /&gt;
In most of the world, the Authorized Version has passed out of copyright and is freely reproduced. In the United Kingdom, the British Crown restricts production of the Authorized Version per transitional exemptions from the Copyright Act 1775 (which implemented this clause) in the Copyright, Designs and patents Act 1988 (Schedule I, section 13(1)), which expire in 2039. [http://en.wikipedia.org/wiki/Cambridge_University_Press Cambridge University Press]&amp;lt;ref&amp;gt;Cambridge University Press wrote to [[Projects:Go_Bible|Go Bible]] several years ago, acting as agents of Crown copyright. Their request was simple and straightforward, viz., that we include a clear statement about Crown copyright for the KJV. After we did that, and informed them, they seem to have been satisfied.&amp;lt;/ref&amp;gt;, [http://en.wikipedia.org/wiki/Oxford_University_Press Oxford University Press], [http://en.wikipedia.org/wiki/HarperCollins HarperCollins] and the [http://en.wikipedia.org/wiki/Queen's_Printer Queen's Printers] have the right to produce the Authorized Version. See [http://en.wikipedia.org/wiki/King_James_Bible King James Bible].&lt;br /&gt;
&lt;br /&gt;
The [http://en.wikipedia.org/wiki/British_and_Foreign_Bible_Society British &amp;amp; Foreign Bible Society] (based in the UK) respects this copyright status, although many American organisations do not respect it and treat it wrongly as if it were public domain.  In reality, the many editions of the KJV used in the USA are a revision of the text made by the [http://en.wikipedia.org/wiki/American_Bible_Society American Bible Society] and the rights for this revision are still held by ABS.&lt;br /&gt;
&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Road Map ==&lt;br /&gt;
:''List briefly the further enhancements we would like to make in the future beyond the next release''.&lt;br /&gt;
* Update underlying TR to the latest from Maurice Robinson. (3.0)&lt;br /&gt;
* Update to match Louis Klopsch's 1901 red-letter markup. (2.10)&lt;br /&gt;
* Build KJV and KJVA from same kjvfull.xml file. (The KJVA is not being rebuilt when the KJV is updated).&lt;br /&gt;
* Split KJV into KJV and AV where AV is an orthographic representation of the 1769 KJV. E.g. long s, ae, oe, fl, ffl, ....&lt;br /&gt;
&lt;br /&gt;
Other thoughts based upon having the Blayney edition:&lt;br /&gt;
* Add front-matter: dedicatory and preface, OT intro, NT intro, ....&lt;br /&gt;
* Add print page breaks. Tying to the dead-tree edition. These would be internal markers.&lt;br /&gt;
* Add chronology as note to chapter starts (probably in first verse or verse 0.)&lt;br /&gt;
* Add NT chapter descriptions.&lt;br /&gt;
* Add OT chapter descriptions.&lt;br /&gt;
* Add xrefs and notes to NT.&lt;br /&gt;
* Validate OT notes.&lt;br /&gt;
* Add xrefs to OT.&lt;br /&gt;
&lt;br /&gt;
== History ==&lt;br /&gt;
=== Text Development Stages ===&lt;br /&gt;
From the time the KJV module was first released, text and markup development has been done in several major stages:&lt;br /&gt;
* The original '''KJV2003''' Project &amp;amp;ndash; ''user page no longer exists''&lt;br /&gt;
* The [http://www.crosswire.org/~dmsmith/kjv2006/ KJV2006] Project&lt;br /&gt;
* The [[User:Dmsmith/KJV2011|KJV2011]] Effort&lt;br /&gt;
* The [[User:Dmsmith/KJV 2.6|KJV 2.6]] Effort &amp;amp;ndash; begun in 2013 and ongoing...&lt;br /&gt;
&lt;br /&gt;
=== Module Versions ===&lt;br /&gt;
While the KJV was a module at CrossWire prior to version 2.0, this is the earliest for which dates can be determined.&amp;lt;BR&amp;gt;Dates prior to version 2.3 are best estimates. (For changes in versions 1.x, refer to the file kjv.conf)&lt;br /&gt;
{|  width=&amp;quot;100%&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;sortable&amp;quot;&lt;br /&gt;
! width=&amp;quot;5%&amp;quot;|Revision&lt;br /&gt;
! width=&amp;quot;10%&amp;quot;|Date&lt;br /&gt;
! width=&amp;quot;85%&amp;quot;|Description&lt;br /&gt;
|- &lt;br /&gt;
| 2.10&lt;br /&gt;
| Future&lt;br /&gt;
| Improved OSIS markup.&lt;br /&gt;
Details: (''with progress marker'')&lt;br /&gt;
* Update our custom [[OSIS 211 CR|OSIS schema]] to properly validate '''type''' values in '''rdg''' element.&lt;br /&gt;
* Correct type=&amp;quot;alternative&amp;quot; (2.9) to &amp;quot;alternate&amp;quot;.&lt;br /&gt;
* Move '''sID''' before '''osisID''' in verse elements.&lt;br /&gt;
* Add a final full-stop to all notes previously lacking one.&lt;br /&gt;
* Add a space after the ¶ in the milestone marker.&lt;br /&gt;
* Add the hitherto missing ¶ in NT books: Romans&amp;amp;mdash;Revelation.&lt;br /&gt;
* Change red ¶ to black (i.e. within text marked as &amp;quot;words of Jesus&amp;quot;)&lt;br /&gt;
* Add '''osisRef''' to '''catchWord''' (for now at least, mainly for single keywords).&lt;br /&gt;
-----&lt;br /&gt;
* Add '''n''' attribute to '''note''' element.&lt;br /&gt;
* Move some notes from Psalms verse 1 to the canonical '''title''' element.&lt;br /&gt;
* Make minor corrections to a few notes.&lt;br /&gt;
* Add AV front matter, dedicatory and preface.&lt;br /&gt;
* Update Words of Christ (aka red letter text) to match Louis Klopsch's original work.&lt;br /&gt;
|- &lt;br /&gt;
| 2.9&lt;br /&gt;
| 2016-01-21&lt;br /&gt;
| Improved OSIS markup.&lt;br /&gt;
Details:&lt;br /&gt;
* Added '''catchWord''' and reading ('''rdg''') markup to notes.&lt;br /&gt;
* Improved markup placement for ''Selah'' in 13 places.&lt;br /&gt;
|- &lt;br /&gt;
| 2.8&lt;br /&gt;
| 2015-12-20&lt;br /&gt;
| Improved OSIS markup.&lt;br /&gt;
Details:&lt;br /&gt;
* Moved Ps 119 acrostic titles before verse number.&lt;br /&gt;
* Changed double spaces to a single space.&lt;br /&gt;
* Changed &amp;quot;Heb &amp;quot; to &amp;quot;Heb. &amp;quot; in notes.&lt;br /&gt;
* Added Feature=NoParagraphs.&lt;br /&gt;
|- &lt;br /&gt;
| 2.7&lt;br /&gt;
| 2015-08-09&lt;br /&gt;
| Fixed bugs preventing the display of some Strong's Numbers in the Old Testament.&lt;br /&gt;
Improved markup of Strong's numbers in 2 Cor 15.&lt;br /&gt;
|- &lt;br /&gt;
| 2.6.1&lt;br /&gt;
| 2014-02-15&lt;br /&gt;
| Added GlobalOptionFilter for OSISLemma&lt;br /&gt;
|- &lt;br /&gt;
| 2.6&lt;br /&gt;
| 2013-10-05&lt;br /&gt;
| Fixed bugs. Added Greek from TR.&lt;br /&gt;
|- &lt;br /&gt;
| 2.5&lt;br /&gt;
| 2013-02-02&lt;br /&gt;
| Fixed bugs.&lt;br /&gt;
|- &lt;br /&gt;
| 2.4&lt;br /&gt;
| 2009-05-29&lt;br /&gt;
| Fixed bugs. Updated red-letter markup of Words of Christ.&lt;br /&gt;
|- &lt;br /&gt;
| 2.3&lt;br /&gt;
| 2006-10-09&lt;br /&gt;
| Fixed bugs. See: [http://crosswire.org/~dmsmith/kjv2006/ Project KJV2006]&lt;br /&gt;
Goals:&lt;br /&gt;
* Faithful representation of the KJV.&lt;br /&gt;
* Each book of the Bible is well-formed xml.&lt;br /&gt;
* Each book of the Bible is valid OSIS xml according to the 2.1.1 schema.&lt;br /&gt;
* The markup conforms to OSIS best practices as mentioned on the Sword-devel mailing list and the OSIS 2.1.1 user's manual&lt;br /&gt;
* Strong's markup normalized.&lt;br /&gt;
&lt;br /&gt;
Details:&lt;br /&gt;
* The xml is now well-formed.&lt;br /&gt;
* The xml is now valid OSIS 2.1.1&lt;br /&gt;
* Strong's numbers have been normalized.&lt;br /&gt;
* Fixed the missing 's in the OT&lt;br /&gt;
* Moved whitespace and puncutation to a more sensible location and fixed whitespace problems.&lt;br /&gt;
* Positioned the [http://en.wikipedia.org/wiki/Pilcrow pilcrow symbol] ¶ at the start of verses.&lt;br /&gt;
* Validated against Old Scofield Study Bible for all differences found by comparing against the KJV encoded by Tim Lanfear for CCEL.&lt;br /&gt;
* Validated against Old Scofield Study Bible for all differences found by comparing against the KJV encoded Interleaf Bible.&lt;br /&gt;
* Fixed all existing titles and added missing ones.&lt;br /&gt;
* Fixed paragraphing&lt;br /&gt;
* Tagged all inscriptions&lt;br /&gt;
* Fixed and tagged all divine names&lt;br /&gt;
* Added xlit to w elements for the acrostic in Psalm 119&lt;br /&gt;
* Hyphenated names&lt;br /&gt;
* Fixed names with Æ and æ&lt;br /&gt;
* Fixed a bug in osis2mod that incorrectly encoded the last verse of each book&lt;br /&gt;
* Removed Strong's number H00 as it does not exist.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 2.2&lt;br /&gt;
| 2004-07-25&lt;br /&gt;
| Updated to 20040121 snapshot of KJV2003.&lt;br /&gt;
|- &lt;br /&gt;
| 2.1&lt;br /&gt;
| 2003-06-24&lt;br /&gt;
| Changed Old Testament to use OSIS tags, removing the last of the GBF markup.&amp;lt;BR&amp;gt;Also updated to 20030624 snapshot of KJV2003.  Compressed.&lt;br /&gt;
|- &lt;br /&gt;
| 2.0&lt;br /&gt;
| 2003-01-08&lt;br /&gt;
| Changed New Testament to use a snapshot of the KJV2003 Project&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Help:Contents#Modules|Reporting module issues]]&lt;br /&gt;
* [[CrossWire KJVA|English: KJVA]] module &amp;amp;ndash; KJV with Apocrypha&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
&lt;br /&gt;
[[Category:Modules|CrossWire KJV]]&lt;br /&gt;
[[Category:English Bibles|CrossWire KJV]]&lt;br /&gt;
[[Category:OSIS|CrossWire KJV]]&lt;br /&gt;
[[Category:Copyright|CrossWire KJV]]&lt;/div&gt;</summary>
		<author><name>Dmsmith</name></author>	</entry>

	<entry>
		<id>https://wiki.crosswire.org/index.php?title=CrossWire_KJV&amp;diff=14655</id>
		<title>CrossWire KJV</title>
		<link rel="alternate" type="text/html" href="https://wiki.crosswire.org/index.php?title=CrossWire_KJV&amp;diff=14655"/>
				<updated>2016-01-28T16:39:26Z</updated>
		
		<summary type="html">&lt;p&gt;Dmsmith: /* Road Map */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;:''This page is a work in progress''.&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
This page is intended to provide a more detailed background and description for the one module for which the OSIS XML source text is maintained by CrossWire volunteers. All other modules are based on source text from external providers.&lt;br /&gt;
&lt;br /&gt;
The KJV module was one of the earliest to be released and distributed by CrossWire after '''The SWORD Project''' was launched. It remains one of the most frequently downloaded modules in all our repositories.&lt;br /&gt;
&lt;br /&gt;
The KJV module text is based substantially on the '''1769 Oxford Edition''' (the basis for all modern editions), not the original 1611 first edition. See our [[EnduserFAQ#Do_you_have_the_original_King_James.2FAuthorized_Version.3F|FAQ]].&lt;br /&gt;
&lt;br /&gt;
== Provenance and Acknowledgements ==&lt;br /&gt;
Strong's numbers provide a useful means for looking up the exact original language word in a lexicon that is keyed to [http://en.wikipedia.org/wiki/Strong's_Concordance Strong's Concordance].&lt;br /&gt;
&lt;br /&gt;
[http://en.wikipedia.org/wiki/Morphology_%28linguistics%29 Morphology] data provides a means to understand the structure of the original language's morphemes and other linguistic units.&lt;br /&gt;
&lt;br /&gt;
* The Strong's numbers in the OT were obtained from [http://www.bf.org/ The Bible Foundation]&lt;br /&gt;
* The Strong's data in the NT was obtained from the [[CrossWire_KJV#Text_Development_Stages|KJV2003 Project]] at CrossWire.&lt;br /&gt;
&lt;br /&gt;
Special thanks to the volunteers at Bible Foundation for keying the Hebrew/English data and of Project KJV2003 for working toward the completion of synchronizing the English phrases to the Stephanas [http://en.wikipedia.org/wiki/Textus_Receptus Textus Receptus], and to Dr. Maurice Robinson for providing the base Greek text with Strong's and Morphology.&lt;br /&gt;
&lt;br /&gt;
We are also appreciative of formatting markup that was provided by [http://www.ebible.org Michael Paul Johnson]. &lt;br /&gt;
&lt;br /&gt;
Their time and generosity to contribute such for the free use of the Body of Christ is a great blessing and this derivitive work could not have been possible without these efforts of so many individuals.  It is in this spirit that we in turn offer the KJV2003 Project text and its successors freely for any purpose.&lt;br /&gt;
&lt;br /&gt;
We are also appreciative for the feedback reports over the years from several individuals that have enabled us to fix minor text and markup issues by comparison with the reference texts.&lt;br /&gt;
&lt;br /&gt;
== Reference Text ==&lt;br /&gt;
:''See also [[User:Dmsmith/KJV_2.6#Reference_text_policy]]''.&lt;br /&gt;
&lt;br /&gt;
===Need for a reference text===&lt;br /&gt;
The CrossWire KJV is meant to be the faithful e-text edition&amp;lt;ref&amp;gt;With added features suited to the digital age we live in.&amp;lt;/ref&amp;gt; of the 1769 KJV&amp;lt;ref&amp;gt;Excluding the Apocrypha.&amp;lt;/ref&amp;gt;. To that end we required it to be diligently checked against a reference standard for accuracy.&lt;br /&gt;
&lt;br /&gt;
Briefly describe:&lt;br /&gt;
* the confusion regarding the text of the KJV.&lt;br /&gt;
* the documented textual changes from 1611 to the present day&amp;lt;ref&amp;gt;Refer to [http://en.wikipedia.org/wiki/Frederick_Henry_Ambrose_Scrivener F H A Scrivener] and to the [http://en.wikipedia.org/wiki/New_Cambridge_Paragraph_Bible New Cambridge Paragraph Bible].&amp;lt;/ref&amp;gt;&lt;br /&gt;
* how the 1769 KJV differs in relation to other editions.&lt;br /&gt;
* the variations found in modern KJV printed editions.&lt;br /&gt;
* the [http://en.wikipedia.org/wiki/King_James_Only_movement KJV-only movement].&lt;br /&gt;
&lt;br /&gt;
When Project KJV2006 was started, there was no authoritative electronic copy of Benjamin Blayney's 1769 Oxford edition of the KJV.&amp;lt;BR&amp;gt;All the modern versions available differed in various ways to some extent.&lt;br /&gt;
&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Chosen Text===&lt;br /&gt;
The public domain [http://en.wikipedia.org/wiki/Scofield_Reference_Bible Old Scofield Study Bible]&amp;lt;ref&amp;gt;The use of the Scofield in no way implies our endorsement of the extensive non-canonical study notes therein.&lt;br /&gt;
&amp;lt;/ref&amp;gt; was used for version 2.3 to 2.10 and was chosen for the following reasons:&lt;br /&gt;
* The Biblical text was thought to be one of the most faithful copies of the 1769 Oxford Edition.&amp;lt;ref&amp;gt;i.e. Even by those in the KJV Only movement.&amp;lt;/ref&amp;gt;&lt;br /&gt;
* It was published in 1917, which was important in terms of USA copyright law.&lt;br /&gt;
* It was a red letter edition.&lt;br /&gt;
'''Notes:''' &lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Copyright ==&lt;br /&gt;
Any copyright that might be obtained for this effort is held by the CrossWire Bible Society © 2003-2016 and the CrossWire Bible Society hereby grants a general public license to use this text for any purpose.&lt;br /&gt;
&lt;br /&gt;
CrossWire's KJV module is an amalgamation of different source material. Each has its own copyright or is in the public domain.&lt;br /&gt;
* The actual text validated against 2 independent eTexts and found differences against our hard-copy reference for such.&lt;br /&gt;
* The [http://en.wikipedia.org/wiki/Red_letter_edition Red Letter] markup of the words of Christ have been validated against our hard-copy reference for such.&lt;br /&gt;
* The Strong's numbers in the OT are from [http://www.bf.org/ The Bible Foundation].&lt;br /&gt;
* The Strong's numbers in the NT are from [http://apps.sebts.edu/FacultyUploads/Maurice%20Robinson%20CV.pdf Dr Maurice A. Robinson], Senior Professor of New Testament and Greek at [http://en.wikipedia.org/wiki/Southeastern_Baptist_Theological_Seminary Southeastern Baptist Theological Seminary] in North Carolina.&lt;br /&gt;
* The OSIS XML markup is a unique effort that began with our KJV2003 project &amp;amp;ndash; Copyright © 2003-2016 The CrossWire Bible Society.&lt;br /&gt;
* The tagging of Strong's numbers to the NT text is a unique effort of our KJV2003 project &amp;amp;ndash;  Copyright © 2003-2016 The CrossWire Bible Society.&lt;br /&gt;
&lt;br /&gt;
=== Crown copyright, Letters Patent and the KJV ===&lt;br /&gt;
In the United Kingdom, the text of the [http://en.wikipedia.org/wiki/King_James_Version Authorized King James Version] of the Bible is protected by '''royal prerogative'''. &amp;quot;There is a small class of materials where the Crown claims the right to control reproduction outside normal copyright law due to '''Letters Patent''' issued under the royal prerogative. This material includes the '''King James Bible''', and the '''Book of Common Prayer'''.&amp;quot; See [http://en.wikipedia.org/wiki/Crown_copyright#United_Kingdom Crown copyright].&lt;br /&gt;
&lt;br /&gt;
In most of the world, the Authorized Version has passed out of copyright and is freely reproduced. In the United Kingdom, the British Crown restricts production of the Authorized Version per transitional exemptions from the Copyright Act 1775 (which implemented this clause) in the Copyright, Designs and patents Act 1988 (Schedule I, section 13(1)), which expire in 2039. [http://en.wikipedia.org/wiki/Cambridge_University_Press Cambridge University Press]&amp;lt;ref&amp;gt;Cambridge University Press wrote to [[Projects:Go_Bible|Go Bible]] several years ago, acting as agents of Crown copyright. Their request was simple and straightforward, viz., that we include a clear statement about Crown copyright for the KJV. After we did that, and informed them, they seem to have been satisfied.&amp;lt;/ref&amp;gt;, [http://en.wikipedia.org/wiki/Oxford_University_Press Oxford University Press], [http://en.wikipedia.org/wiki/HarperCollins HarperCollins] and the [http://en.wikipedia.org/wiki/Queen's_Printer Queen's Printers] have the right to produce the Authorized Version. See [http://en.wikipedia.org/wiki/King_James_Bible King James Bible].&lt;br /&gt;
&lt;br /&gt;
The [http://en.wikipedia.org/wiki/British_and_Foreign_Bible_Society British &amp;amp; Foreign Bible Society] (based in the UK) respects this copyright status, although many American organisations do not respect it and treat it wrongly as if it were public domain.  In reality, the many editions of the KJV used in the USA are a revision of the text made by the [http://en.wikipedia.org/wiki/American_Bible_Society American Bible Society] and the rights for this revision are still held by ABS.&lt;br /&gt;
&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Road Map ==&lt;br /&gt;
:''List briefly the further enhancements we would like to make in the future beyond the next release''.&lt;br /&gt;
* Update underlying TR to the latest from Maurice Robinson. (3.0)&lt;br /&gt;
* Update to match Louis Klopsch's 1901 red-letter markup. (2.10)&lt;br /&gt;
* Build KJV and KJVA from same kjvfull.xml file. (The KJVA is not being rebuilt when the KJV is updated).&lt;br /&gt;
* Split KJV into KJV and AV where AV is an orthographic representation of the 1769 KJV. E.g. long s, ae, oe, fl, ffl, ....&lt;br /&gt;
&lt;br /&gt;
Other thoughts based upon having the Blayney edition:&lt;br /&gt;
* Add front-matter: dedicatory and preface, OT intro, NT intro, ....&lt;br /&gt;
* Add print page breaks. Tying to the dead-tree edition. These would be internal markers.&lt;br /&gt;
* Add chronology as note to chapter starts (probably in first verse or verse 0.)&lt;br /&gt;
* Add NT chapter descriptions.&lt;br /&gt;
* Add OT chapter descriptions.&lt;br /&gt;
* Add xrefs and notes to NT.&lt;br /&gt;
* Validate OT notes.&lt;br /&gt;
* Add xrefs to OT.&lt;br /&gt;
&lt;br /&gt;
== History ==&lt;br /&gt;
=== Text Development Stages ===&lt;br /&gt;
From the time the KJV module was first released, text and markup development has been done in several major stages:&lt;br /&gt;
* The original '''KJV2003''' Project &amp;amp;ndash; ''user page no longer exists''&lt;br /&gt;
* The [http://www.crosswire.org/~dmsmith/kjv2006/ KJV2006] Project&lt;br /&gt;
* The [[User:Dmsmith/KJV2011|KJV2011]] Effort&lt;br /&gt;
* The [[User:Dmsmith/KJV 2.6|KJV 2.6]] Effort &amp;amp;ndash; begun in 2013 and ongoing...&lt;br /&gt;
&lt;br /&gt;
=== Module Versions ===&lt;br /&gt;
While the KJV was a module at CrossWire prior to version 2.0, this is the earliest for which dates can be determined.&amp;lt;BR&amp;gt;Dates prior to version 2.3 are best estimates. (For changes in versions 1.x, refer to the file kjv.conf)&lt;br /&gt;
{|  width=&amp;quot;100%&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;sortable&amp;quot;&lt;br /&gt;
! width=&amp;quot;5%&amp;quot;|Revision&lt;br /&gt;
! width=&amp;quot;10%&amp;quot;|Date&lt;br /&gt;
! width=&amp;quot;85%&amp;quot;|Description&lt;br /&gt;
|- &lt;br /&gt;
| 2.10&lt;br /&gt;
| Future&lt;br /&gt;
| Improved OSIS markup.&lt;br /&gt;
Details:&lt;br /&gt;
* Update our custom [[OSIS 211 CR|OSIS schema]] to properly validate '''type''' values in '''rdg''' element.&lt;br /&gt;
* Correct type=&amp;quot;alternative&amp;quot; (2.9) to &amp;quot;alternate&amp;quot;.&lt;br /&gt;
* Move '''sID''' before '''osisID''' in verse elements.&lt;br /&gt;
* Add a final full-stop to all notes previously lacking one.&lt;br /&gt;
* Add a space after the ¶ in the milestone marker.&lt;br /&gt;
* Add the hitherto missing ¶ in NT books: Romans&amp;amp;mdash;Revelation.&lt;br /&gt;
* Change red ¶ to black (i.e. within text marked as &amp;quot;words of Jesus&amp;quot;)&lt;br /&gt;
* Add '''osisRef''' to '''catchWord''' (for now at least, mainly for single keywords).&lt;br /&gt;
* Add '''n''' attribute to '''note''' element.&lt;br /&gt;
* Move some notes from Psalms verse 1 to the canonical '''title''' element.&lt;br /&gt;
* Make minor corrections to a few notes.&lt;br /&gt;
* Add AV front matter, dedicatory and preface.&lt;br /&gt;
|- &lt;br /&gt;
| 2.9&lt;br /&gt;
| 2016-01-21&lt;br /&gt;
| Improved OSIS markup.&lt;br /&gt;
Details:&lt;br /&gt;
* Added '''catchWord''' and reading ('''rdg''') markup to notes.&lt;br /&gt;
* Improved markup placement for ''Selah'' in 13 places.&lt;br /&gt;
|- &lt;br /&gt;
| 2.8&lt;br /&gt;
| 2015-12-20&lt;br /&gt;
| Improved OSIS markup.&lt;br /&gt;
Details:&lt;br /&gt;
* Moved Ps 119 acrostic titles before verse number.&lt;br /&gt;
* Changed double spaces to a single space.&lt;br /&gt;
* Changed &amp;quot;Heb &amp;quot; to &amp;quot;Heb. &amp;quot; in notes.&lt;br /&gt;
* Added Feature=NoParagraphs.&lt;br /&gt;
|- &lt;br /&gt;
| 2.7&lt;br /&gt;
| 2015-08-09&lt;br /&gt;
| Fixed bugs preventing the display of some Strong's Numbers in the Old Testament.&lt;br /&gt;
Improved markup of Strong's numbers in 2 Cor 15.&lt;br /&gt;
|- &lt;br /&gt;
| 2.6.1&lt;br /&gt;
| 2014-02-15&lt;br /&gt;
| Added GlobalOptionFilter for OSISLemma&lt;br /&gt;
|- &lt;br /&gt;
| 2.6&lt;br /&gt;
| 2013-10-05&lt;br /&gt;
| Fixed bugs. Added Greek from TR.&lt;br /&gt;
|- &lt;br /&gt;
| 2.5&lt;br /&gt;
| 2013-02-02&lt;br /&gt;
| Fixed bugs.&lt;br /&gt;
|- &lt;br /&gt;
| 2.4&lt;br /&gt;
| 2009-05-29&lt;br /&gt;
| Fixed bugs. Updated red-letter markup of Words of Christ.&lt;br /&gt;
|- &lt;br /&gt;
| 2.3&lt;br /&gt;
| 2006-10-09&lt;br /&gt;
| Fixed bugs. See: [http://crosswire.org/~dmsmith/kjv2006/ Project KJV2006]&lt;br /&gt;
Goals:&lt;br /&gt;
* Faithful representation of the KJV.&lt;br /&gt;
* Each book of the Bible is well-formed xml.&lt;br /&gt;
* Each book of the Bible is valid OSIS xml according to the 2.1.1 schema.&lt;br /&gt;
* The markup conforms to OSIS best practices as mentioned on the Sword-devel mailing list and the OSIS 2.1.1 user's manual&lt;br /&gt;
* Strong's markup normalized.&lt;br /&gt;
&lt;br /&gt;
Details:&lt;br /&gt;
* The xml is now well-formed.&lt;br /&gt;
* The xml is now valid OSIS 2.1.1&lt;br /&gt;
* Strong's numbers have been normalized.&lt;br /&gt;
* Fixed the missing 's in the OT&lt;br /&gt;
* Moved whitespace and puncutation to a more sensible location and fixed whitespace problems.&lt;br /&gt;
* Positioned the [http://en.wikipedia.org/wiki/Pilcrow pilcrow symbol] ¶ at the start of verses.&lt;br /&gt;
* Validated against Old Scofield Study Bible for all differences found by comparing against the KJV encoded by Tim Lanfear for CCEL.&lt;br /&gt;
* Validated against Old Scofield Study Bible for all differences found by comparing against the KJV encoded Interleaf Bible.&lt;br /&gt;
* Fixed all existing titles and added missing ones.&lt;br /&gt;
* Fixed paragraphing&lt;br /&gt;
* Tagged all inscriptions&lt;br /&gt;
* Fixed and tagged all divine names&lt;br /&gt;
* Added xlit to w elements for the acrostic in Psalm 119&lt;br /&gt;
* Hyphenated names&lt;br /&gt;
* Fixed names with Æ and æ&lt;br /&gt;
* Fixed a bug in osis2mod that incorrectly encoded the last verse of each book&lt;br /&gt;
* Removed Strong's number H00 as it does not exist.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 2.2&lt;br /&gt;
| 2004-07-25&lt;br /&gt;
| Updated to 20040121 snapshot of KJV2003.&lt;br /&gt;
|- &lt;br /&gt;
| 2.1&lt;br /&gt;
| 2003-06-24&lt;br /&gt;
| Changed Old Testament to use OSIS tags, removing the last of the GBF markup.&amp;lt;BR&amp;gt;Also updated to 20030624 snapshot of KJV2003.  Compressed.&lt;br /&gt;
|- &lt;br /&gt;
| 2.0&lt;br /&gt;
| 2003-01-08&lt;br /&gt;
| Changed New Testament to use a snapshot of the KJV2003 Project&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Help:Contents#Modules|Reporting module issues]]&lt;br /&gt;
* [[CrossWire KJVA|English: KJVA]] module &amp;amp;ndash; KJV with Apocrypha&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
&lt;br /&gt;
[[Category:Modules|CrossWire KJV]]&lt;br /&gt;
[[Category:English Bibles|CrossWire KJV]]&lt;br /&gt;
[[Category:OSIS|CrossWire KJV]]&lt;br /&gt;
[[Category:Copyright|CrossWire KJV]]&lt;/div&gt;</summary>
		<author><name>Dmsmith</name></author>	</entry>

	<entry>
		<id>https://wiki.crosswire.org/index.php?title=CrossWire_KJV&amp;diff=14508</id>
		<title>CrossWire KJV</title>
		<link rel="alternate" type="text/html" href="https://wiki.crosswire.org/index.php?title=CrossWire_KJV&amp;diff=14508"/>
				<updated>2016-01-25T22:00:42Z</updated>
		
		<summary type="html">&lt;p&gt;Dmsmith: /* History */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page is a work in progress.&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
This page is intended to provide a more detailed background and description for the one module for which the OSIS XML source text is maintained by CrossWire volunteers. All other modules are based on source text from external providers.&lt;br /&gt;
&lt;br /&gt;
The KJV module was one of the earliest to be released and distributed by CrossWire after '''The SWORD Project''' was launched. It remains one of the most frequently downloaded modules in all our repositories.&lt;br /&gt;
&lt;br /&gt;
== Text Provenance and Acknowledgments ==&lt;br /&gt;
&lt;br /&gt;
== Reference Text ==&lt;br /&gt;
===Need for a reference text===&lt;br /&gt;
The CrossWire KJV is meant to be the faithful e-text edition&amp;lt;ref&amp;gt;With added features suited to the digital age we live in.&amp;lt;/ref&amp;gt; of the 1769 KJV&amp;lt;ref&amp;gt;Excluding the Apocrypha.&amp;lt;/ref&amp;gt;. To that end it needs to be diligently checked against a reference standard for accuracy.&lt;br /&gt;
&lt;br /&gt;
Briefly describe:&lt;br /&gt;
* the confusion regarding the text of the KJV.&lt;br /&gt;
* how the 1769 KJV in relation to other editions.&lt;br /&gt;
* the variations found in modern KJV.&lt;br /&gt;
* the KJV-only movement.&lt;br /&gt;
&lt;br /&gt;
When Project KJV2006 was started, there was no authoritative edition of Benjamin Blayney's 1769 Oxford edition of the KJV. All the modern versions available differed substantially.&lt;br /&gt;
&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Chosen Text===&lt;br /&gt;
The Old Scofield Study Bible was used for version 2.3 to 2.10 and was chosen for the following reasons:&lt;br /&gt;
*&lt;br /&gt;
*&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
== Copyright ==&lt;br /&gt;
The following probably belongs in Provenance at least in part.&lt;br /&gt;
&lt;br /&gt;
The CrossWire's KJV module is an amalgamation of different source material. Each has its own copyright or is in the public domain.&lt;br /&gt;
* The actual text validated against 2 independent eTexts and found differences against our hard-copy reference for such. See discussion below.&lt;br /&gt;
* The &amp;quot;Red Letter&amp;quot; markup of the words of Christ have been validated against our hard-copy reference for such.&lt;br /&gt;
* The Strong's numbers in the NT are from Maurice Robinson. ... Give his info here.&lt;br /&gt;
* The Strong's numbers in the OT are from... (this is discussed in the conf).&lt;br /&gt;
* The tagging of Strong's numbers to the NT text is a unique effort of The CrossWire Bible Society KJV2003 effort. It is copyright CrossWire, 2003-2016.&lt;br /&gt;
* The OSIS markup is a unique effort of The CrossWire Bible Society, starting with the KJV2003 effort. It is copyright CrossWire, 2003-2016.&lt;br /&gt;
&lt;br /&gt;
=== Crown copyright, Letters Patent and the KJV ===&lt;br /&gt;
In the United Kingdom, the text of the Authorized King James Version of the Bible is protected by '''royal prerogative'''. &amp;quot;There is a small class of materials where the Crown claims the right to control reproduction outside normal copyright law due to '''Letters Patent''' issued under the royal prerogative. This material includes the '''King James Bible''', and the '''Book of Common Prayer'''.&amp;quot; See [http://en.wikipedia.org/wiki/Crown_copyright#United_Kingdom Crown copyright].&lt;br /&gt;
&lt;br /&gt;
In most of the world, the Authorized Version has passed out of copyright and is freely reproduced. In the United Kingdom, the British Crown restricts production of the Authorized Version per transitional exemptions from the Copyright Act 1775 (which implemented this clause) in the Copyright, Designs and patents Act 1988 (Schedule I, section 13(1)), which expire in 2039. Cambridge University Press, Oxford University Press, HarperCollins and the Queen's Printers have the right to produce the Authorized Version. See [http://en.wikipedia.org/wiki/King_James_Bible King James Bible].&lt;br /&gt;
&lt;br /&gt;
== History ==&lt;br /&gt;
While the KJV was a module at CrossWire prior to version 2.0, this is the earliest for which dates can be determined. Dates prior to version 2.3 are best estimates.&lt;br /&gt;
{|  width=&amp;quot;100%&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;sortable&amp;quot;&lt;br /&gt;
! width=&amp;quot;5%&amp;quot;|Revision&lt;br /&gt;
! width=&amp;quot;10%&amp;quot;|Date&lt;br /&gt;
! width=&amp;quot;85%&amp;quot;|Description&lt;br /&gt;
|- &lt;br /&gt;
| 2.10&lt;br /&gt;
| Future&lt;br /&gt;
| Improved OSIS markup.&lt;br /&gt;
Details:&lt;br /&gt;
* Add space after ¶.&lt;br /&gt;
* Move sID before osisID in verse elements.&lt;br /&gt;
* Fix OSIS schema to properly validate types on rdg element, changed alternative to alternate.&lt;br /&gt;
* Add osisRef to catchWord.&lt;br /&gt;
* Add n attribute to note element.&lt;br /&gt;
* Add front matter to KJV, dedicatory and preface.&lt;br /&gt;
|- &lt;br /&gt;
| 2.9&lt;br /&gt;
| 2016-01-21&lt;br /&gt;
| Improved OSIS markup.&lt;br /&gt;
Details:&lt;br /&gt;
* Added catch word and reading markup to notes.&lt;br /&gt;
* Improved markup of Selah.&lt;br /&gt;
|- &lt;br /&gt;
| 2.8&lt;br /&gt;
| 2015-12-20&lt;br /&gt;
| Improved OSIS markup.&lt;br /&gt;
Details:&lt;br /&gt;
* Moved Ps 119 acrostic titles before verse number.&lt;br /&gt;
* Changed double spaces to a single space.&lt;br /&gt;
* Changed Heb to Heb. in notes.&lt;br /&gt;
* Added Feature=NoParagraphs.&lt;br /&gt;
|- &lt;br /&gt;
| 2.7&lt;br /&gt;
| 2015-08-09&lt;br /&gt;
| Fixed bugs preventing the display of some Strong's Numbers in the Old Testament.&lt;br /&gt;
Improved markup of Strong's numbers in 2 Cor 15.&lt;br /&gt;
|- &lt;br /&gt;
| 2.6.1&lt;br /&gt;
| 2014-02-15&lt;br /&gt;
| Added GlobalOptionFilter for OSISLemma&lt;br /&gt;
|- &lt;br /&gt;
| 2.6&lt;br /&gt;
| 2013-10-05&lt;br /&gt;
| Fixed bugs. Added Greek from TR.&lt;br /&gt;
|- &lt;br /&gt;
| 2.5&lt;br /&gt;
| 2013-02-02&lt;br /&gt;
| Fixed bugs.&lt;br /&gt;
|- &lt;br /&gt;
| 2.4&lt;br /&gt;
| 2009-05-29&lt;br /&gt;
| Fixed bugs. Updated red-letter markup of Word of Christ.&lt;br /&gt;
|- &lt;br /&gt;
| 2.3&lt;br /&gt;
| 2006-10-09&lt;br /&gt;
| Fixed bugs. See: [http://crosswire.org/~dmsmith/kjv2006/ Project KJV2006]&lt;br /&gt;
Goals:&lt;br /&gt;
* Faithful representation of the KJV.&lt;br /&gt;
* Each book of the Bible is well-formed xml.&lt;br /&gt;
* Each book of the Bible is valid OSIS xml according to the 2.1.1 schema.&lt;br /&gt;
* The markup conforms to OSIS best practices as mentioned on the Sword-devel mailing list and the OSIS 2.1.1 user's manual&lt;br /&gt;
* Strong's markup normalized.&lt;br /&gt;
&lt;br /&gt;
Details:&lt;br /&gt;
* The xml is now well-formed.&lt;br /&gt;
* The xml is now valid OSIS 2.1.1&lt;br /&gt;
* Strong's numbers have been normalized.&lt;br /&gt;
* Fixed the missing 's in the OT&lt;br /&gt;
* Moved whitespace and puncutation to a more sensible location and fixed whitespace problems.&lt;br /&gt;
* Positioned the ¶ at the start of verses.&lt;br /&gt;
* Validated against Old Scofield Study Bible for all differences found by comparing against the KJV encoded by Tim Lanfear for CCEL.&lt;br /&gt;
* Validated against Old Scofield Study Bible for all differences found by comparing against the KJV encoded Interleaf Bible.&lt;br /&gt;
* Fixed all existing titles and added missing ones.&lt;br /&gt;
* Fixed paragraphing&lt;br /&gt;
* Tagged all inscriptions&lt;br /&gt;
* Fixed and tagged all divine names&lt;br /&gt;
* Added xlit to w elements for the acrostic in Psalm 119&lt;br /&gt;
* Hyphenated names&lt;br /&gt;
* Fixed names with Æ and æ&lt;br /&gt;
* Fixed a bug in osis2mod that incorrectly encoded the last verse of each book&lt;br /&gt;
* Removed Strong's number H00 as it does not exist.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 2.2&lt;br /&gt;
| 2004-07-25&lt;br /&gt;
| Updated to 20040121 snapshot of KJV2003.&lt;br /&gt;
|- &lt;br /&gt;
| 2.1&lt;br /&gt;
| 2003-06-24&lt;br /&gt;
| Changed Old Testament to use OSIS tags, removing the last of the GBF markup.&amp;lt;BR&amp;gt;Also updated to 20030624 snapshot of KJV2003.  Compressed.&lt;br /&gt;
|- &lt;br /&gt;
| 2.0&lt;br /&gt;
| 2003-01-08&lt;br /&gt;
| Changed New Testament to use a snapshot of the KJV2003 Project&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
&lt;br /&gt;
[[Category:Modules|CrossWire KJV]]&lt;br /&gt;
[[Category:English Bibles|CrossWire KJV]]&lt;/div&gt;</summary>
		<author><name>Dmsmith</name></author>	</entry>

	<entry>
		<id>https://wiki.crosswire.org/index.php?title=CrossWire_KJV&amp;diff=14507</id>
		<title>CrossWire KJV</title>
		<link rel="alternate" type="text/html" href="https://wiki.crosswire.org/index.php?title=CrossWire_KJV&amp;diff=14507"/>
				<updated>2016-01-25T21:59:03Z</updated>
		
		<summary type="html">&lt;p&gt;Dmsmith: /* History */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page is a work in progress.&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
This page is intended to provide a more detailed background and description for the one module for which the OSIS XML source text is maintained by CrossWire volunteers. All other modules are based on source text from external providers.&lt;br /&gt;
&lt;br /&gt;
The KJV module was one of the earliest to be released and distributed by CrossWire after '''The SWORD Project''' was launched. It remains one of the most frequently downloaded modules in all our repositories.&lt;br /&gt;
&lt;br /&gt;
== Text Provenance and Acknowledgments ==&lt;br /&gt;
&lt;br /&gt;
== Reference Text ==&lt;br /&gt;
===Need for a reference text===&lt;br /&gt;
The CrossWire KJV is meant to be the faithful e-text edition&amp;lt;ref&amp;gt;With added features suited to the digital age we live in.&amp;lt;/ref&amp;gt; of the 1769 KJV&amp;lt;ref&amp;gt;Excluding the Apocrypha.&amp;lt;/ref&amp;gt;. To that end it needs to be diligently checked against a reference standard for accuracy.&lt;br /&gt;
&lt;br /&gt;
Briefly describe:&lt;br /&gt;
* the confusion regarding the text of the KJV.&lt;br /&gt;
* how the 1769 KJV in relation to other editions.&lt;br /&gt;
* the variations found in modern KJV.&lt;br /&gt;
* the KJV-only movement.&lt;br /&gt;
&lt;br /&gt;
When Project KJV2006 was started, there was no authoritative edition of Benjamin Blayney's 1769 Oxford edition of the KJV. All the modern versions available differed substantially.&lt;br /&gt;
&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Chosen Text===&lt;br /&gt;
The Old Scofield Study Bible was used for version 2.3 to 2.10 and was chosen for the following reasons:&lt;br /&gt;
*&lt;br /&gt;
*&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
== Copyright ==&lt;br /&gt;
The following probably belongs in Provenance at least in part.&lt;br /&gt;
&lt;br /&gt;
The CrossWire's KJV module is an amalgamation of different source material. Each has its own copyright or is in the public domain.&lt;br /&gt;
* The actual text validated against 2 independent eTexts and found differences against our hard-copy reference for such. See discussion below.&lt;br /&gt;
* The &amp;quot;Red Letter&amp;quot; markup of the words of Christ have been validated against our hard-copy reference for such.&lt;br /&gt;
* The Strong's numbers in the NT are from Maurice Robinson. ... Give his info here.&lt;br /&gt;
* The Strong's numbers in the OT are from... (this is discussed in the conf).&lt;br /&gt;
* The tagging of Strong's numbers to the NT text is a unique effort of The CrossWire Bible Society KJV2003 effort. It is copyright CrossWire, 2003-2016.&lt;br /&gt;
* The OSIS markup is a unique effort of The CrossWire Bible Society, starting with the KJV2003 effort. It is copyright CrossWire, 2003-2016.&lt;br /&gt;
&lt;br /&gt;
=== Crown copyright, Letters Patent and the KJV ===&lt;br /&gt;
In the United Kingdom, the text of the Authorized King James Version of the Bible is protected by '''royal prerogative'''. &amp;quot;There is a small class of materials where the Crown claims the right to control reproduction outside normal copyright law due to '''Letters Patent''' issued under the royal prerogative. This material includes the '''King James Bible''', and the '''Book of Common Prayer'''.&amp;quot; See [http://en.wikipedia.org/wiki/Crown_copyright#United_Kingdom Crown copyright].&lt;br /&gt;
&lt;br /&gt;
In most of the world, the Authorized Version has passed out of copyright and is freely reproduced. In the United Kingdom, the British Crown restricts production of the Authorized Version per transitional exemptions from the Copyright Act 1775 (which implemented this clause) in the Copyright, Designs and patents Act 1988 (Schedule I, section 13(1)), which expire in 2039. Cambridge University Press, Oxford University Press, HarperCollins and the Queen's Printers have the right to produce the Authorized Version. See [http://en.wikipedia.org/wiki/King_James_Bible King James Bible].&lt;br /&gt;
&lt;br /&gt;
== History ==&lt;br /&gt;
While the KJV was a module at CrossWire prior to version 2.0, this is the earliest for which dates can be determined. Dates prior to version 2.3 are best estimates.&lt;br /&gt;
{|  width=&amp;quot;100%&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;sortable&amp;quot;&lt;br /&gt;
! width=&amp;quot;5%&amp;quot;|Revision&lt;br /&gt;
! width=&amp;quot;10%&amp;quot;|Date&lt;br /&gt;
! width=&amp;quot;85%&amp;quot;|Description&lt;br /&gt;
|- &lt;br /&gt;
| 2.10&lt;br /&gt;
| Future&lt;br /&gt;
| Improved OSIS markup.&lt;br /&gt;
Details:&lt;br /&gt;
* Add space after ¶.&lt;br /&gt;
* Move sID before osisID in verse elements.&lt;br /&gt;
* Fix OSIS schema to properly validate types on rdg element, changed alternative to alternate.&lt;br /&gt;
* Add osisRef to catchWord.&lt;br /&gt;
* Add n attribute to note element.&lt;br /&gt;
* Add front matter to KJV, dedicatory and preface.&lt;br /&gt;
|- &lt;br /&gt;
| 2.9&lt;br /&gt;
| 2016-01-21&lt;br /&gt;
| Improved OSIS markup.&lt;br /&gt;
Details:&lt;br /&gt;
* Added catch word and reading markup to notes.&lt;br /&gt;
* Improved markup of Selah.&lt;br /&gt;
|- &lt;br /&gt;
| 2.8&lt;br /&gt;
| 2015-12-20&lt;br /&gt;
| Improved OSIS markup.&lt;br /&gt;
Details:&lt;br /&gt;
* Moved Ps 119 acrostic titles before verse number.&lt;br /&gt;
* Changed double spaces to a single space.&lt;br /&gt;
* Changed Heb to Heb. in notes.&lt;br /&gt;
* Added Feature=NoParagraphs.&lt;br /&gt;
|- &lt;br /&gt;
| 2.7&lt;br /&gt;
| 2015-08-09&lt;br /&gt;
| Fixed bugs preventing the display of some Strong's Numbers in the Old Testament.&lt;br /&gt;
|- &lt;br /&gt;
| 2.6.1&lt;br /&gt;
| 2014-02-15&lt;br /&gt;
| Added GlobalOptionFilter for OSISLemma&lt;br /&gt;
|- &lt;br /&gt;
| 2.6&lt;br /&gt;
| 2013-10-05&lt;br /&gt;
| Fixed bugs. Added Greek from TR.&lt;br /&gt;
|- &lt;br /&gt;
| 2.5&lt;br /&gt;
| 2013-02-02&lt;br /&gt;
| Fixed bugs.&lt;br /&gt;
|- &lt;br /&gt;
| 2.4&lt;br /&gt;
| 2009-05-29&lt;br /&gt;
| Fixed bugs. Updated red-letter markup of Word of Christ.&lt;br /&gt;
|- &lt;br /&gt;
| 2.3&lt;br /&gt;
| 2006-10-09&lt;br /&gt;
| Fixed bugs. See: [http://crosswire.org/~dmsmith/kjv2006/ Project KJV2006]&lt;br /&gt;
Goals:&lt;br /&gt;
* Faithful representation of the KJV.&lt;br /&gt;
* Each book of the Bible is well-formed xml.&lt;br /&gt;
* Each book of the Bible is valid OSIS xml according to the 2.1.1 schema.&lt;br /&gt;
* The markup conforms to OSIS best practices as mentioned on the Sword-devel mailing list and the OSIS 2.1.1 user's manual&lt;br /&gt;
* Strong's markup normalized.&lt;br /&gt;
&lt;br /&gt;
Details:&lt;br /&gt;
* The xml is now well-formed.&lt;br /&gt;
* The xml is now valid OSIS 2.1.1&lt;br /&gt;
* Strong's numbers have been normalized.&lt;br /&gt;
* Fixed the missing 's in the OT&lt;br /&gt;
* Moved whitespace and puncutation to a more sensible location and fixed whitespace problems.&lt;br /&gt;
* Positioned the ¶ at the start of verses.&lt;br /&gt;
* Validated against Old Scofield Study Bible for all differences found by comparing against the KJV encoded by Tim Lanfear for CCEL.&lt;br /&gt;
* Validated against Old Scofield Study Bible for all differences found by comparing against the KJV encoded Interleaf Bible.&lt;br /&gt;
* Fixed all existing titles and added missing ones.&lt;br /&gt;
* Fixed paragraphing&lt;br /&gt;
* Tagged all inscriptions&lt;br /&gt;
* Fixed and tagged all divine names&lt;br /&gt;
* Added xlit to w elements for the acrostic in Psalm 119&lt;br /&gt;
* Hyphenated names&lt;br /&gt;
* Fixed names with Æ and æ&lt;br /&gt;
* Fixed a bug in osis2mod that incorrectly encoded the last verse of each book&lt;br /&gt;
* Removed Strong's number H00 as it does not exist.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 2.2&lt;br /&gt;
| 2004-07-25&lt;br /&gt;
| Updated to 20040121 snapshot of KJV2003.&lt;br /&gt;
|- &lt;br /&gt;
| 2.1&lt;br /&gt;
| 2003-06-24&lt;br /&gt;
| Changed Old Testament to use OSIS tags, removing the last of the GBF markup.&amp;lt;BR&amp;gt;Also updated to 20030624 snapshot of KJV2003.  Compressed.&lt;br /&gt;
|- &lt;br /&gt;
| 2.0&lt;br /&gt;
| 2003-01-08&lt;br /&gt;
| Changed New Testament to use a snapshot of the KJV2003 Project&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
&lt;br /&gt;
[[Category:Modules|CrossWire KJV]]&lt;br /&gt;
[[Category:English Bibles|CrossWire KJV]]&lt;/div&gt;</summary>
		<author><name>Dmsmith</name></author>	</entry>

	<entry>
		<id>https://wiki.crosswire.org/index.php?title=CrossWire_KJV&amp;diff=14506</id>
		<title>CrossWire KJV</title>
		<link rel="alternate" type="text/html" href="https://wiki.crosswire.org/index.php?title=CrossWire_KJV&amp;diff=14506"/>
				<updated>2016-01-25T21:55:10Z</updated>
		
		<summary type="html">&lt;p&gt;Dmsmith: /* History */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page is a work in progress.&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
This page is intended to provide a more detailed background and description for the one module for which the OSIS XML source text is maintained by CrossWire volunteers. All other modules are based on source text from external providers.&lt;br /&gt;
&lt;br /&gt;
The KJV module was one of the earliest to be released and distributed by CrossWire after '''The SWORD Project''' was launched. It remains one of the most frequently downloaded modules in all our repositories.&lt;br /&gt;
&lt;br /&gt;
== Text Provenance and Acknowledgments ==&lt;br /&gt;
&lt;br /&gt;
== Reference Text ==&lt;br /&gt;
===Need for a reference text===&lt;br /&gt;
The CrossWire KJV is meant to be the faithful e-text edition&amp;lt;ref&amp;gt;With added features suited to the digital age we live in.&amp;lt;/ref&amp;gt; of the 1769 KJV&amp;lt;ref&amp;gt;Excluding the Apocrypha.&amp;lt;/ref&amp;gt;. To that end it needs to be diligently checked against a reference standard for accuracy.&lt;br /&gt;
&lt;br /&gt;
Briefly describe:&lt;br /&gt;
* the confusion regarding the text of the KJV.&lt;br /&gt;
* how the 1769 KJV in relation to other editions.&lt;br /&gt;
* the variations found in modern KJV.&lt;br /&gt;
* the KJV-only movement.&lt;br /&gt;
&lt;br /&gt;
When Project KJV2006 was started, there was no authoritative edition of Benjamin Blayney's 1769 Oxford edition of the KJV. All the modern versions available differed substantially.&lt;br /&gt;
&lt;br /&gt;
'''Notes:'''&lt;br /&gt;
&amp;lt;references/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Chosen Text===&lt;br /&gt;
The Old Scofield Study Bible was used for version 2.3 to 2.10 and was chosen for the following reasons:&lt;br /&gt;
*&lt;br /&gt;
*&lt;br /&gt;
*&lt;br /&gt;
&lt;br /&gt;
== Copyright ==&lt;br /&gt;
The following probably belongs in Provenance at least in part.&lt;br /&gt;
&lt;br /&gt;
The CrossWire's KJV module is an amalgamation of different source material. Each has its own copyright or is in the public domain.&lt;br /&gt;
* The actual text validated against 2 independent eTexts and found differences against our hard-copy reference for such. See discussion below.&lt;br /&gt;
* The &amp;quot;Red Letter&amp;quot; markup of the words of Christ have been validated against our hard-copy reference for such.&lt;br /&gt;
* The Strong's numbers in the NT are from Maurice Robinson. ... Give his info here.&lt;br /&gt;
* The Strong's numbers in the OT are from... (this is discussed in the conf).&lt;br /&gt;
* The tagging of Strong's numbers to the NT text is a unique effort of The CrossWire Bible Society KJV2003 effort. It is copyright CrossWire, 2003-2016.&lt;br /&gt;
* The OSIS markup is a unique effort of The CrossWire Bible Society, starting with the KJV2003 effort. It is copyright CrossWire, 2003-2016.&lt;br /&gt;
&lt;br /&gt;
=== Crown copyright, Letters Patent and the KJV ===&lt;br /&gt;
In the United Kingdom, the text of the Authorized King James Version of the Bible is protected by '''royal prerogative'''. &amp;quot;There is a small class of materials where the Crown claims the right to control reproduction outside normal copyright law due to '''Letters Patent''' issued under the royal prerogative. This material includes the '''King James Bible''', and the '''Book of Common Prayer'''.&amp;quot; See [http://en.wikipedia.org/wiki/Crown_copyright#United_Kingdom Crown copyright].&lt;br /&gt;
&lt;br /&gt;
In most of the world, the Authorized Version has passed out of copyright and is freely reproduced. In the United Kingdom, the British Crown restricts production of the Authorized Version per transitional exemptions from the Copyright Act 1775 (which implemented this clause) in the Copyright, Designs and patents Act 1988 (Schedule I, section 13(1)), which expire in 2039. Cambridge University Press, Oxford University Press, HarperCollins and the Queen's Printers have the right to produce the Authorized Version. See [http://en.wikipedia.org/wiki/King_James_Bible King James Bible].&lt;br /&gt;
&lt;br /&gt;
== History ==&lt;br /&gt;
While the KJV was a module at CrossWire prior to version 2.0, this is the earliest for which dates can be determined. Dates prior to version 2.3 are best estimates.&lt;br /&gt;
{|  width=&amp;quot;100%&amp;quot; border=&amp;quot;1&amp;quot; class=&amp;quot;sortable&amp;quot;&lt;br /&gt;
! width=&amp;quot;5%&amp;quot;|Revision&lt;br /&gt;
! width=&amp;quot;10%&amp;quot;|Date&lt;br /&gt;
! width=&amp;quot;85%&amp;quot;|Description&lt;br /&gt;
|- &lt;br /&gt;
| 2.10&lt;br /&gt;
| Future&lt;br /&gt;
| Improved OSIS markup.&lt;br /&gt;
Details:&lt;br /&gt;
* Add space after ¶.&lt;br /&gt;
* Move sID before osisID in verse elements.&lt;br /&gt;
* Fix OSIS schema to properly validate types on rdg element, changed alternative to alternate.&lt;br /&gt;
* Add osisRef to catchWord.&lt;br /&gt;
* Add n attribute to note element.&lt;br /&gt;
* Add front matter to KJV, dedicatory and preface.&lt;br /&gt;
|- &lt;br /&gt;
| 2.9&lt;br /&gt;
| 2016-01-21&lt;br /&gt;
| Improved OSIS markup.&lt;br /&gt;
Details:&lt;br /&gt;
* Added catch word and reading markup to notes.&lt;br /&gt;
* Improved markup of Selah.&lt;br /&gt;
|- &lt;br /&gt;
| 2.8&lt;br /&gt;
| 2015-12-20&lt;br /&gt;
| Improved OSIS markup.&lt;br /&gt;
Details:&lt;br /&gt;
* Moved Ps 119 acrostic titles before verse number.&lt;br /&gt;
* Changed double spaces to a single space.&lt;br /&gt;
* Added Feature=NoParagraphs.&lt;br /&gt;
|- &lt;br /&gt;
| 2.7&lt;br /&gt;
| 2015-08-09&lt;br /&gt;
| Fixed bugs preventing the display of some Strong's Numbers in the Old Testament.&lt;br /&gt;
|- &lt;br /&gt;
| 2.6.1&lt;br /&gt;
| 2014-02-15&lt;br /&gt;
| Added GlobalOptionFilter for OSISLemma&lt;br /&gt;
|- &lt;br /&gt;
| 2.6&lt;br /&gt;
| 2013-10-05&lt;br /&gt;
| Fixed bugs. Added Greek from TR.&lt;br /&gt;
|- &lt;br /&gt;
| 2.5&lt;br /&gt;
| 2013-02-02&lt;br /&gt;
| Fixed bugs.&lt;br /&gt;
|- &lt;br /&gt;
| 2.4&lt;br /&gt;
| 2009-05-29&lt;br /&gt;
| Fixed bugs. Updated red-letter markup of Word of Christ.&lt;br /&gt;
|- &lt;br /&gt;
| 2.3&lt;br /&gt;
| 2006-10-09&lt;br /&gt;
| Fixed bugs. See: [http://crosswire.org/~dmsmith/kjv2006/ Project KJV2006]&lt;br /&gt;
Goals:&lt;br /&gt;
* Faithful representation of the KJV.&lt;br /&gt;
* Each book of the Bible is well-formed xml.&lt;br /&gt;
* Each book of the Bible is valid OSIS xml according to the 2.1.1 schema.&lt;br /&gt;
* The markup conforms to OSIS best practices as mentioned on the Sword-devel mailing list and the OSIS 2.1.1 user's manual&lt;br /&gt;
* Strong's markup normalized.&lt;br /&gt;
&lt;br /&gt;
Details:&lt;br /&gt;
* The xml is now well-formed.&lt;br /&gt;
* The xml is now valid OSIS 2.1.1&lt;br /&gt;
* Strong's numbers have been normalized.&lt;br /&gt;
* Fixed the missing 's in the OT&lt;br /&gt;
* Moved whitespace and puncutation to a more sensible location and fixed whitespace problems.&lt;br /&gt;
* Positioned the ¶ at the start of verses.&lt;br /&gt;
* Validated against Old Scofield Study Bible for all differences found by comparing against the KJV encoded by Tim Lanfear for CCEL.&lt;br /&gt;
* Validated against Old Scofield Study Bible for all differences found by comparing against the KJV encoded Interleaf Bible.&lt;br /&gt;
* Fixed all existing titles and added missing ones.&lt;br /&gt;
* Fixed paragraphing&lt;br /&gt;
* Tagged all inscriptions&lt;br /&gt;
* Fixed and tagged all divine names&lt;br /&gt;
* Added xlit to w elements for the acrostic in Psalm 119&lt;br /&gt;
* Hyphenated names&lt;br /&gt;
* Fixed names with Æ and æ&lt;br /&gt;
* Fixed a bug in osis2mod that incorrectly encoded the last verse of each book&lt;br /&gt;
* Removed Strong's number H00 as it does not exist.&lt;br /&gt;
&lt;br /&gt;
|- &lt;br /&gt;
| 2.2&lt;br /&gt;
| 2004-07-25&lt;br /&gt;
| Updated to 20040121 snapshot of KJV2003.&lt;br /&gt;
|- &lt;br /&gt;
| 2.1&lt;br /&gt;
| 2003-06-24&lt;br /&gt;
| Changed Old Testament to use OSIS tags, removing the last of the GBF markup.&amp;lt;BR&amp;gt;Also updated to 20030624 snapshot of KJV2003.  Compressed.&lt;br /&gt;
|- &lt;br /&gt;
| 2.0&lt;br /&gt;
| 2003-01-08&lt;br /&gt;
| Changed New Testament to use a snapshot of the KJV2003 Project&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;references /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
&lt;br /&gt;
[[Category:Modules|CrossWire KJV]]&lt;br /&gt;
[[Category:English Bibles|CrossWire KJV]]&lt;/div&gt;</summary>
		<author><name>Dmsmith</name></author>	</entry>

	</feed>