<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Good idea. I’ll look into how we can markup an OSIS text with a mapping to the KJV. If we can do that, then the form that SWORD/JSword needs is merely a form that the two can agree upon.<div class=""><br class=""></div><div class="">DM Smith</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Jun 18, 2017, at 3:45 PM, Костя Маслюк <<a href="mailto:kostyamaslyuk@gmail.com" class="">kostyamaslyuk@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="auto" class=""><div class="">Having one file for canon defnition and mappings is preffered in my point. Having source(reference) text in that file as well is best.<div dir="auto" class=""><br class=""></div><div dir="auto" class="">So would OSIS gurus say whether it is possible to store all data required to build canon and mappings in valid OSIS document?</div><div dir="auto" class=""><br class=""></div><div dir="auto" class="">As i realize convenience of readable formats my point is still the same. So i count on some sort of authoritative desision. </div><br class=""><div class="gmail_extra"><br class=""><div class="gmail_quote">10 июня 2017 г. 5:31 PM пользователь "DM Smith" <<a href="mailto:dmsmith@crosswire.org" class="">dmsmith@crosswire.org</a>> написал:<br type="attribution" class=""><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class="">Circling back around to this.<div class="">There are two parts to the problem:</div><div class="">1) AV11N</div><div class="">2) Mapping to KJV</div><div class=""><br class=""></div><div class="">AV11N:</div><div class="">In JSword, we don’t yet have a form for external AV11N. There are two parts to this: Books and Verse/Chapter counts. Books have presence and ordering. Chapters have verse counts, answering "What is the highest verse number in the chapter?” JSword and SWORD differ a bit on internal representation of chapter counts, but the biggest difference is that we have one representation for the OT and one for the NT, allowing reuse of a testament’s chapter counts. The other is a slight difference where we don’t have a separate array of the counts of chapters.</div><div class=""><br class=""></div><div class="">In canon.h there is:</div><div class=""><div style="margin:0px;font-size:18px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)" class=""><span style="font-variant-ligatures:no-common-ligatures;color:#34bc26" class="">struct</span><span style="font-variant-ligatures:no-common-ligatures" class=""> sbook ntbooks[] = {</span></div><div style="margin:0px;font-size:18px;line-height:normal;font-family:Menlo;color:rgb(195,55,32);background-color:rgb(255,255,255)" class=""><span style="font-variant-ligatures: no-common-ligatures;" class=""> {</span><span style="font-variant-ligatures:no-common-ligatures" class="">"Matthew"</span><span style="font-variant-ligatures: no-common-ligatures;" class="">, </span><span style="font-variant-ligatures:no-common-ligatures" class="">"Matt"</span><span style="font-variant-ligatures: no-common-ligatures;" class="">, </span><span style="font-variant-ligatures:no-common-ligatures" class="">"Matt"</span><span style="font-variant-ligatures: no-common-ligatures;" class="">, </span><span style="font-variant-ligatures:no-common-ligatures" class="">28</span><span style="font-variant-ligatures: no-common-ligatures;" class="">},</span></div></div><div class="">JSword doesn’t have the chapter count, 28, present in its book order array.</div><div class=""><br class=""></div><div class="">The canon.h vm[] array is:</div><div class=""><div style="margin:0px;font-size:18px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)" class=""><span style="font-variant-ligatures:no-common-ligatures;color:#34bc26" class="">int</span><span style="font-variant-ligatures:no-common-ligatures" class=""> vm[] = {</span></div><div style="margin:0px;font-size:18px;line-height:normal;font-family:Menlo;color:rgb(82,48,225);background-color:rgb(255,255,255)" class=""><span style="font-variant-ligatures: no-common-ligatures;" class=""> </span><span style="font-variant-ligatures:no-common-ligatures" class="">// Genesis</span></div><div style="margin:0px;font-size:18px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)" class=""><span style="font-variant-ligatures:no-common-ligatures" class=""> </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">31</span><span style="font-variant-ligatures:no-common-ligatures" class="">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">25</span><span style="font-variant-ligatures:no-common-ligatures" class="">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">24</span><span style="font-variant-ligatures:no-common-ligatures" class="">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">26</span><span style="font-variant-ligatures:no-common-ligatures" class="">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">32</span><span style="font-variant-ligatures:no-common-ligatures" class="">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">22</span><span style="font-variant-ligatures:no-common-ligatures" class="">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">24</span><span style="font-variant-ligatures:no-common-ligatures" class="">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">22</span><span style="font-variant-ligatures:no-common-ligatures" class="">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">29</span><span style="font-variant-ligatures:no-common-ligatures" class="">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">32</span><span style="font-variant-ligatures:no-common-ligatures" class="">,</span></div><div style="margin:0px;font-size:18px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)" class=""><span style="font-variant-ligatures:no-common-ligatures" class=""> </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">32</span><span style="font-variant-ligatures:no-common-ligatures" class="">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">20</span><span style="font-variant-ligatures:no-common-ligatures" class="">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">18</span><span style="font-variant-ligatures:no-common-ligatures" class="">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">24</span><span style="font-variant-ligatures:no-common-ligatures" class="">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">21</span><span style="font-variant-ligatures:no-common-ligatures" class="">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">16</span><span style="font-variant-ligatures:no-common-ligatures" class="">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">27</span><span style="font-variant-ligatures:no-common-ligatures" class="">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">33</span><span style="font-variant-ligatures:no-common-ligatures" class="">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">38</span><span style="font-variant-ligatures:no-common-ligatures" class="">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">18</span><span style="font-variant-ligatures:no-common-ligatures" class="">,</span></div><div style="margin:0px;font-size:18px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)" class=""><span style="font-variant-ligatures:no-common-ligatures" class=""> </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">34</span><span style="font-variant-ligatures:no-common-ligatures" class="">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">24</span><span style="font-variant-ligatures:no-common-ligatures" class="">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">20</span><span style="font-variant-ligatures:no-common-ligatures" class="">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">67</span><span style="font-variant-ligatures:no-common-ligatures" class="">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">34</span><span style="font-variant-ligatures:no-common-ligatures" class="">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">35</span><span style="font-variant-ligatures:no-common-ligatures" class="">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">46</span><span style="font-variant-ligatures:no-common-ligatures" class="">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">22</span><span style="font-variant-ligatures:no-common-ligatures" class="">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">35</span><span style="font-variant-ligatures:no-common-ligatures" class="">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">43</span><span style="font-variant-ligatures:no-common-ligatures" class="">,</span></div><div style="margin:0px;font-size:18px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)" class=""><span style="font-variant-ligatures:no-common-ligatures" class=""> </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">55</span><span style="font-variant-ligatures:no-common-ligatures" class="">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">32</span><span style="font-variant-ligatures:no-common-ligatures" class="">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">20</span><span style="font-variant-ligatures:no-common-ligatures" class="">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">31</span><span style="font-variant-ligatures:no-common-ligatures" class="">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">29</span><span style="font-variant-ligatures:no-common-ligatures" class="">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">43</span><span style="font-variant-ligatures:no-common-ligatures" class="">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">36</span><span style="font-variant-ligatures:no-common-ligatures" class="">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">30</span><span style="font-variant-ligatures:no-common-ligatures" class="">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">23</span><span style="font-variant-ligatures:no-common-ligatures" class="">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">23</span><span style="font-variant-ligatures:no-common-ligatures" class="">,</span></div><div style="margin:0px;font-size:18px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)" class=""><span style="font-variant-ligatures:no-common-ligatures" class=""> </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">57</span><span style="font-variant-ligatures:no-common-ligatures" class="">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">38</span><span style="font-variant-ligatures:no-common-ligatures" class="">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">34</span><span style="font-variant-ligatures:no-common-ligatures" class="">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">34</span><span style="font-variant-ligatures:no-common-ligatures" class="">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">28</span><span style="font-variant-ligatures:no-common-ligatures" class="">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">34</span><span style="font-variant-ligatures:no-common-ligatures" class="">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">31</span><span style="font-variant-ligatures:no-common-ligatures" class="">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">22</span><span style="font-variant-ligatures:no-common-ligatures" class="">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">33</span><span style="font-variant-ligatures:no-common-ligatures" class="">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">26</span><span style="font-variant-ligatures:no-common-ligatures" class="">,</span></div><div style="margin:0px;font-size:18px;line-height:normal;font-family:Menlo;color:rgb(82,48,225);background-color:rgb(255,255,255)" class=""><span style="font-variant-ligatures: no-common-ligatures;" class=""> </span><span style="font-variant-ligatures:no-common-ligatures" class="">// Exodus</span></div><div style="margin:0px;font-size:18px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)" class=""><span style="font-variant-ligatures:no-common-ligatures" class=""> </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">22</span><span style="font-variant-ligatures:no-common-ligatures" class="">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">25</span><span style="font-variant-ligatures:no-common-ligatures" class="">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">22</span><span style="font-variant-ligatures:no-common-ligatures" class="">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">31</span><span style="font-variant-ligatures:no-common-ligatures" class="">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">23</span><span style="font-variant-ligatures:no-common-ligatures" class="">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">30</span><span style="font-variant-ligatures:no-common-ligatures" class="">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">25</span><span style="font-variant-ligatures:no-common-ligatures" class="">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">32</span><span style="font-variant-ligatures:no-common-ligatures" class="">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">35</span><span style="font-variant-ligatures:no-common-ligatures" class="">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">29</span><span style="font-variant-ligatures:no-common-ligatures" class="">,</span></div><div style="margin:0px;font-size:18px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)" class=""><span style="font-variant-ligatures:no-common-ligatures" class=""> </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">10</span><span style="font-variant-ligatures:no-common-ligatures" class="">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">51</span><span style="font-variant-ligatures:no-common-ligatures" class="">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">22</span><span style="font-variant-ligatures:no-common-ligatures" class="">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">31</span><span style="font-variant-ligatures:no-common-ligatures" class="">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">27</span><span style="font-variant-ligatures:no-common-ligatures" class="">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">36</span><span style="font-variant-ligatures:no-common-ligatures" class="">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">16</span><span style="font-variant-ligatures:no-common-ligatures" class="">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">27</span><span style="font-variant-ligatures:no-common-ligatures" class="">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">25</span><span style="font-variant-ligatures:no-common-ligatures" class="">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">26</span><span style="font-variant-ligatures:no-common-ligatures" class="">,</span></div><div style="margin:0px;font-size:18px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)" class=""><span style="font-variant-ligatures:no-common-ligatures" class=""> </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">36</span><span style="font-variant-ligatures:no-common-ligatures" class="">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">31</span><span style="font-variant-ligatures:no-common-ligatures" class="">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">33</span><span style="font-variant-ligatures:no-common-ligatures" class="">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">18</span><span style="font-variant-ligatures:no-common-ligatures" class="">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">40</span><span style="font-variant-ligatures:no-common-ligatures" class="">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">37</span><span style="font-variant-ligatures:no-common-ligatures" class="">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">21</span><span style="font-variant-ligatures:no-common-ligatures" class="">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">43</span><span style="font-variant-ligatures:no-common-ligatures" class="">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">46</span><span style="font-variant-ligatures:no-common-ligatures" class="">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">38</span><span style="font-variant-ligatures:no-common-ligatures" class="">,</span></div><div style="margin:0px;font-size:18px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)" class=""><span style="font-variant-ligatures:no-common-ligatures" class=""> </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">18</span><span style="font-variant-ligatures:no-common-ligatures" class="">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">35</span><span style="font-variant-ligatures:no-common-ligatures" class="">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">23</span><span style="font-variant-ligatures:no-common-ligatures" class="">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">35</span><span style="font-variant-ligatures:no-common-ligatures" class="">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">35</span><span style="font-variant-ligatures:no-common-ligatures" class="">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">38</span><span style="font-variant-ligatures:no-common-ligatures" class="">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">29</span><span style="font-variant-ligatures:no-common-ligatures" class="">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">31</span><span style="font-variant-ligatures:no-common-ligatures" class="">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">43</span><span style="font-variant-ligatures:no-common-ligatures" class="">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720" class="">38</span><span style="font-variant-ligatures:no-common-ligatures" class="">,</span></div></div><div class=""><span style="font-variant-ligatures:no-common-ligatures" class="">The difference for JSword is that we use a doubly nested array:</span></div><div class=""><span style="font-variant-ligatures:no-common-ligatures" class=""><div style="margin:0px;font-size:18px;line-height:normal;font-family:Menlo;color:rgb(82,48,225);background-color:rgb(255,255,255)" class=""><div style="margin:0px;font-size:11px;line-height:normal;font-family:Monaco;color:rgb(78,144,114)" class=""><span style="" class=""> </span>/* protected */<span style="" class=""> </span><span style="color:#931a68" class="">static</span><span style="" class=""> </span><span style="color:#931a68" class="">final</span><span style="" class=""> </span><span style="color:#931a68" class="">int</span><span style="" class="">[][] </span><span style="color:#0326cc" class="">LAST_VERSE_OT</span><span style="" class=""> =</span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Monaco" class=""> {</div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Monaco;color:rgb(78,144,114)" class=""><span style="" class=""> </span>// Genesis</div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Monaco" class=""> {</div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Monaco" class=""> 31, 25, 24, 26, 32, 22, 24, 22, 29, 32,</div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Monaco" class=""> 32, 20, 18, 24, 21, 16, 27, 33, 38, 18,</div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Monaco" class=""> 34, 24, 20, 67, 34, 35, 46, 22, 35, 43,</div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Monaco" class=""> 55, 32, 20, 31, 29, 43, 36, 30, 23, 23,</div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Monaco" class=""> 57, 38, 34, 34, 28, 34, 31, 22, 33, 26,</div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Monaco" class=""> },</div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Monaco;color:rgb(78,144,114)" class=""><span style="" class=""> </span>// Exodus</div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Monaco" class=""> {</div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Monaco" class=""> 22, 25, 22, 31, 23, 30, 25, 32, 35, 29,</div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Monaco" class=""> 10, 51, 22, 31, 27, 36, 16, 27, 25, 26,</div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Monaco" class=""> 36, 31, 33, 18, 40, 37, 21, 43, 46, 38,</div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Monaco" class=""> 18, 35, 23, 35, 35, 38, 29, 31, 43, 38,</div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Monaco" class=""> },</div></div></span></div><div class=""><br class=""></div><div class="">We’ve maintained the comments as the same and the number of elements on a line the same, allowing us to diff the corresponding canon.h for verification.</div><div class=""><br class=""></div><div class="">The practical difference is that we use sizeof to get the chapter count rather than a lookup in a 2D book array.</div><div class=""><br class=""></div><div class="">Looking at Костя’s file his representation, while easy to generate from a module’s original OSIS xml is too verbose. It has one XML element per verse. We only need chapters/book and verses/chapter. The above representations are sufficiently compact. The python script that is used to generate the canon file can be adapted to create any format we choose.</div><div class=""><br class=""></div><div class="">The format we choose should be:</div><div class="">easy to read</div><div class="">easy to parse and convert into the internal format needed</div><div class="">compact</div><div class=""><br class=""></div><div class=""><div class="">The book names being standardized to OSIS is sufficient.</div><div class="">The array of chapters having 10 per line make it easy for people to read.</div><div class="">I’ve also spaced it so commas line up even for chapters with over 99 verses.</div></div><div class=""><br class=""></div><div class="">I’d suggest JSON over XML as it can represent arrays in a more compact form.</div><div class=""><div class=""><blockquote type="cite" class=""></blockquote></div></div><div class="">E.g. (off the top of my head, can be otherwise)</div><div class=""><font face="Courier" class="">KJV = [</font></div><div class=""><font face="Courier" class="">[</font></div><div class=""><font face="Courier" class=""> [ </font><span style="font-family:Courier" class="">"</span><font face="Courier" class="">Gen</font><span style="font-family:Courier" class="">"</span><font face="Courier" class="">, </font></div><div class=""><font face="Courier" class=""> [</font></div><div class=""><font face="Courier" class=""> 31, 25, 24, 26, 32, 22,<wbr class=""> 24, 22, 29, 32,<br class=""> 32, 20, 18, 24, 21, 16, <wbr class="">27, 33, 38, 18,<br class=""> 34, 24, 20, 67, 34, 35, <wbr class="">46, 22, 35, 43,<br class=""> 55, 32, 20, 31, 29, 43, <wbr class="">36, 30, 23, 23,<br class=""> 57, 38, 34, 34, 28, 34,<wbr class=""> 31, 22, 33, 26<br class=""></font></div><div class=""><font face="Courier" class=""> ]</font></div><div class=""><span style="font-family:Courier" class=""> ],</span></div><div class=""><span style="font-family:Courier" class=""> [ </span><span style="font-family:Courier" class="">"</span><span style="font-family:Courier" class="">Exod",</span></div><div class=""><span style="font-family:Courier" class=""> [</span></div><font face="Courier" class=""> 22, 25, 22, 31, 23, 30,<wbr class=""> 25, 32, 35, 29,<br class=""> 10, 51, 22, 31, 27, 36, <wbr class="">16, 27, 25, 26,<br class=""> 36, 31, 33, 18, 40, 37, <wbr class="">21, 43, 46, 38,<br class=""> 18, 35, 23, 35, 35, 38, <wbr class="">29, 31, 43, 38<br class=""></font><div class=""><span style="font-family:Courier" class=""> ]</span></div><div class=""><span style="font-family:Courier" class=""> ],</span></div><div class=""><span style="font-family:Courier" class="">... rest of OT ...</span></div><div class=""><span style="font-family:Courier" class="">],</span></div><div class=""><font face="Courier" class="">[</font></div><div class=""><font face="Courier" class="">... NT spec ...</font></div><div class=""><font face="Courier" class="">]</font></div><div class=""><font face="Courier" class="">]</font></div><div class=""><br class=""></div><div class="">Of course we could come up with a proprietary format. E.g.</div><div class=""><font face="Courier" class="">KJV 29 27</font></div><div class=""><font face="Courier" class="">Gen 50</font></div><div class=""><div class=""><font face="Courier" class=""> 31 25 24 26 32 22 24 22 29 32<br class=""> 32 20 18 24 21 16 27 33 38 18<br class=""> 34 24 20 67 34 35 46 22 35 43<br class=""> 55 32 20 31 29 43 36 30 23 23<br class=""> 57 38 34 34 28 34 31 22 33 26<br class=""></font></div></div><div class=""><font face="Courier" class="">Exod 40</font></div><div class=""><font face="Courier" class=""> 22 25 22 31 23 30 25 32 35 29<br class=""> 10 51 22 31 27 36 16 27 25 26<br class=""> 36 31 33 18 40 37 21 43 46 38<br class=""> 18 35 23 35 35 38 29 31 43 38<br class=""></font></div><div class=""><font face="Courier" class=""><br class=""></font></div><div class="">I favor a standard format over proprietary. For JSword, if standard, we'd use a 3rd-party parser. But writing a parser is fairly trivial.</div><div class=""><font face="Courier" class=""><br class=""></font></div><div class=""><font face="Courier" class="">Response on standardizing mapping file next.</font></div><div class=""><font face="Courier" class=""><br class=""></font></div><div class=""><font face="Courier" class="">In Him,</font></div><div class=""><font face="Courier" class="">DM</font></div><div class="elided-text"><div class=""><font face="Courier" class=""><br class=""></font></div><div class=""><div class=""><blockquote type="cite" class=""><div class="">On Oct 2, 2016, at 6:13 AM, Troy A. Griffitts <<a href="mailto:scribe@crosswire.org" target="_blank" class="">scribe@crosswire.org</a>> wrote:</div><br class="m_-9164856395227248652Apple-interchange-newline"><div class=""><div class="">Thanks for bringing this up Dominique. Костя, what do we need to move forward into this next release?<br class=""><br class="">I also, with you, would like to have one common format shared with JSword to store our mappings. Do you have any comments about their format? Is it something we should simply adopt and write a generator utility to our .h mappings? Does JSword's format include anything we don't support? or vice versa?<br class=""><br class="">Troy<br class=""><br class=""><br class=""><br class="">On 10/02/2016 09:08 AM, Dominique Corbex wrote:<br class=""><blockquote type="cite" class="">On Sun, 24 Jul 2016 01:45:00 +0300<br class="">Костя Маслюк <<a href="mailto:kostyamaslyuk@gmail.com" target="_blank" class="">kostyamaslyuk@gmail.com</a>> wrote:<br class=""><br class=""><blockquote type="cite" class="">It is still important to place all we have for av11n schemes and mappings<br class="">in one place.<br class=""></blockquote>I agree..<br class=""><br class=""><blockquote type="cite" class=""><blockquote type="cite" class="">At <a href="http://crosswire.org/~kalemas/work/v11nmapping" target="_blank" class="">http://crosswire.org/~kalemas/<wbr class="">work/v11nmapping</a> there are examples<br class=""></blockquote></blockquote>I'd like to submit sword mappings to these French versification schemes<br class="">before the next release of Sword.<br class=""><br class="">So, I just need to write 3 Bible xml files with all the <OsisIDs><br class="">related to these schemes and the mappings <refMap> at the end, and run:<br class="">$ python refMap2cpp.py Bible.<versification>.xml<br class=""><br class="">and then add the resulting code to the associated .h file.<br class=""><br class="">Am I right?<br class=""><br class="">In Christ<br class=""></blockquote><br class=""><br class="">______________________________<wbr class="">_________________<br class="">sword-devel mailing list: <a href="mailto:sword-devel@crosswire.org" target="_blank" class="">sword-devel@crosswire.org</a><br class=""><a href="http://www.crosswire.org/mailman/listinfo/sword-devel" target="_blank" class="">http://www.crosswire.org/<wbr class="">mailman/listinfo/sword-devel</a><br class="">Instructions to unsubscribe/change your settings at above page</div></div></blockquote></div><br class=""></div></div></div><br class="">______________________________<wbr class="">_________________<br class="">
sword-devel mailing list: <a href="mailto:sword-devel@crosswire.org" class="">sword-devel@crosswire.org</a><br class="">
<a href="http://www.crosswire.org/mailman/listinfo/sword-devel" rel="noreferrer" target="_blank" class="">http://www.crosswire.org/<wbr class="">mailman/listinfo/sword-devel</a><br class="">
Instructions to unsubscribe/change your settings at above page<br class=""></blockquote></div><br class=""></div></div></div>
_______________________________________________<br class="">sword-devel mailing list: <a href="mailto:sword-devel@crosswire.org" class="">sword-devel@crosswire.org</a><br class=""><a href="http://www.crosswire.org/mailman/listinfo/sword-devel" class="">http://www.crosswire.org/mailman/listinfo/sword-devel</a><br class="">Instructions to unsubscribe/change your settings at above page</div></blockquote></div><br class=""></div></body></html>