<div dir="auto"><div>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"><br></div><div dir="auto">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"><br></div><div dir="auto">As i realize convenience of readable formats my point is still the same. So i count on some sort of authoritative desision. </div><br><div class="gmail_extra"><br><div class="gmail_quote">10 июня 2017 г. 5:31 PM пользователь "DM Smith" <<a href="mailto:dmsmith@crosswire.org">dmsmith@crosswire.org</a>> написал:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Circling back around to this.<div>There are two parts to the problem:</div><div>1) AV11N</div><div>2) Mapping to KJV</div><div><br></div><div>AV11N:</div><div>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><br></div><div>In canon.h there is:</div><div><div style="margin:0px;font-size:18px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span style="font-variant-ligatures:no-common-ligatures;color:#34bc26">struct</span><span style="font-variant-ligatures:no-common-ligatures"> 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)"><span style="font-variant-ligatures:no-common-ligatures;color:#000000"> {</span><span style="font-variant-ligatures:no-common-ligatures">"Matthew"</span><span style="font-variant-ligatures:no-common-ligatures;color:#000000">, </span><span style="font-variant-ligatures:no-common-ligatures">"Matt"</span><span style="font-variant-ligatures:no-common-ligatures;color:#000000">, </span><span style="font-variant-ligatures:no-common-ligatures">"Matt"</span><span style="font-variant-ligatures:no-common-ligatures;color:#000000">, </span><span style="font-variant-ligatures:no-common-ligatures">28</span><span style="font-variant-ligatures:no-common-ligatures;color:#000000">},</span></div></div><div>JSword doesn’t have the chapter count, 28, present in its book order array.</div><div><br></div><div>The canon.h vm[] array is:</div><div><div style="margin:0px;font-size:18px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span style="font-variant-ligatures:no-common-ligatures;color:#34bc26">int</span><span style="font-variant-ligatures:no-common-ligatures"> 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)"><span style="font-variant-ligatures:no-common-ligatures;color:#000000"> </span><span style="font-variant-ligatures:no-common-ligatures">// Genesis</span></div><div style="margin:0px;font-size:18px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span style="font-variant-ligatures:no-common-ligatures"> </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">31</span><span style="font-variant-ligatures:no-common-ligatures">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">25</span><span style="font-variant-ligatures:no-common-ligatures">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">24</span><span style="font-variant-ligatures:no-common-ligatures">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">26</span><span style="font-variant-ligatures:no-common-ligatures">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">32</span><span style="font-variant-ligatures:no-common-ligatures">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">22</span><span style="font-variant-ligatures:no-common-ligatures">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">24</span><span style="font-variant-ligatures:no-common-ligatures">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">22</span><span style="font-variant-ligatures:no-common-ligatures">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">29</span><span style="font-variant-ligatures:no-common-ligatures">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">32</span><span style="font-variant-ligatures:no-common-ligatures">,</span></div><div style="margin:0px;font-size:18px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span style="font-variant-ligatures:no-common-ligatures"> </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">32</span><span style="font-variant-ligatures:no-common-ligatures">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">20</span><span style="font-variant-ligatures:no-common-ligatures">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">18</span><span style="font-variant-ligatures:no-common-ligatures">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">24</span><span style="font-variant-ligatures:no-common-ligatures">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">21</span><span style="font-variant-ligatures:no-common-ligatures">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">16</span><span style="font-variant-ligatures:no-common-ligatures">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">27</span><span style="font-variant-ligatures:no-common-ligatures">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">33</span><span style="font-variant-ligatures:no-common-ligatures">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">38</span><span style="font-variant-ligatures:no-common-ligatures">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">18</span><span style="font-variant-ligatures:no-common-ligatures">,</span></div><div style="margin:0px;font-size:18px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span style="font-variant-ligatures:no-common-ligatures"> </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">34</span><span style="font-variant-ligatures:no-common-ligatures">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">24</span><span style="font-variant-ligatures:no-common-ligatures">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">20</span><span style="font-variant-ligatures:no-common-ligatures">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">67</span><span style="font-variant-ligatures:no-common-ligatures">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">34</span><span style="font-variant-ligatures:no-common-ligatures">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">35</span><span style="font-variant-ligatures:no-common-ligatures">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">46</span><span style="font-variant-ligatures:no-common-ligatures">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">22</span><span style="font-variant-ligatures:no-common-ligatures">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">35</span><span style="font-variant-ligatures:no-common-ligatures">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">43</span><span style="font-variant-ligatures:no-common-ligatures">,</span></div><div style="margin:0px;font-size:18px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span style="font-variant-ligatures:no-common-ligatures"> </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">55</span><span style="font-variant-ligatures:no-common-ligatures">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">32</span><span style="font-variant-ligatures:no-common-ligatures">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">20</span><span style="font-variant-ligatures:no-common-ligatures">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">31</span><span style="font-variant-ligatures:no-common-ligatures">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">29</span><span style="font-variant-ligatures:no-common-ligatures">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">43</span><span style="font-variant-ligatures:no-common-ligatures">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">36</span><span style="font-variant-ligatures:no-common-ligatures">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">30</span><span style="font-variant-ligatures:no-common-ligatures">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">23</span><span style="font-variant-ligatures:no-common-ligatures">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">23</span><span style="font-variant-ligatures:no-common-ligatures">,</span></div><div style="margin:0px;font-size:18px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span style="font-variant-ligatures:no-common-ligatures"> </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">57</span><span style="font-variant-ligatures:no-common-ligatures">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">38</span><span style="font-variant-ligatures:no-common-ligatures">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">34</span><span style="font-variant-ligatures:no-common-ligatures">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">34</span><span style="font-variant-ligatures:no-common-ligatures">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">28</span><span style="font-variant-ligatures:no-common-ligatures">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">34</span><span style="font-variant-ligatures:no-common-ligatures">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">31</span><span style="font-variant-ligatures:no-common-ligatures">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">22</span><span style="font-variant-ligatures:no-common-ligatures">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">33</span><span style="font-variant-ligatures:no-common-ligatures">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">26</span><span style="font-variant-ligatures:no-common-ligatures">,</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)"><span style="font-variant-ligatures:no-common-ligatures;color:#000000"> </span><span style="font-variant-ligatures:no-common-ligatures">// Exodus</span></div><div style="margin:0px;font-size:18px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span style="font-variant-ligatures:no-common-ligatures"> </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">22</span><span style="font-variant-ligatures:no-common-ligatures">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">25</span><span style="font-variant-ligatures:no-common-ligatures">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">22</span><span style="font-variant-ligatures:no-common-ligatures">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">31</span><span style="font-variant-ligatures:no-common-ligatures">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">23</span><span style="font-variant-ligatures:no-common-ligatures">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">30</span><span style="font-variant-ligatures:no-common-ligatures">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">25</span><span style="font-variant-ligatures:no-common-ligatures">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">32</span><span style="font-variant-ligatures:no-common-ligatures">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">35</span><span style="font-variant-ligatures:no-common-ligatures">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">29</span><span style="font-variant-ligatures:no-common-ligatures">,</span></div><div style="margin:0px;font-size:18px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span style="font-variant-ligatures:no-common-ligatures"> </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">10</span><span style="font-variant-ligatures:no-common-ligatures">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">51</span><span style="font-variant-ligatures:no-common-ligatures">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">22</span><span style="font-variant-ligatures:no-common-ligatures">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">31</span><span style="font-variant-ligatures:no-common-ligatures">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">27</span><span style="font-variant-ligatures:no-common-ligatures">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">36</span><span style="font-variant-ligatures:no-common-ligatures">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">16</span><span style="font-variant-ligatures:no-common-ligatures">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">27</span><span style="font-variant-ligatures:no-common-ligatures">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">25</span><span style="font-variant-ligatures:no-common-ligatures">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">26</span><span style="font-variant-ligatures:no-common-ligatures">,</span></div><div style="margin:0px;font-size:18px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span style="font-variant-ligatures:no-common-ligatures"> </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">36</span><span style="font-variant-ligatures:no-common-ligatures">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">31</span><span style="font-variant-ligatures:no-common-ligatures">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">33</span><span style="font-variant-ligatures:no-common-ligatures">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">18</span><span style="font-variant-ligatures:no-common-ligatures">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">40</span><span style="font-variant-ligatures:no-common-ligatures">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">37</span><span style="font-variant-ligatures:no-common-ligatures">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">21</span><span style="font-variant-ligatures:no-common-ligatures">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">43</span><span style="font-variant-ligatures:no-common-ligatures">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">46</span><span style="font-variant-ligatures:no-common-ligatures">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">38</span><span style="font-variant-ligatures:no-common-ligatures">,</span></div><div style="margin:0px;font-size:18px;line-height:normal;font-family:Menlo;background-color:rgb(255,255,255)"><span style="font-variant-ligatures:no-common-ligatures"> </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">18</span><span style="font-variant-ligatures:no-common-ligatures">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">35</span><span style="font-variant-ligatures:no-common-ligatures">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">23</span><span style="font-variant-ligatures:no-common-ligatures">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">35</span><span style="font-variant-ligatures:no-common-ligatures">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">35</span><span style="font-variant-ligatures:no-common-ligatures">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">38</span><span style="font-variant-ligatures:no-common-ligatures">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">29</span><span style="font-variant-ligatures:no-common-ligatures">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">31</span><span style="font-variant-ligatures:no-common-ligatures">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">43</span><span style="font-variant-ligatures:no-common-ligatures">, </span><span style="font-variant-ligatures:no-common-ligatures;color:#c33720">38</span><span style="font-variant-ligatures:no-common-ligatures">,</span></div></div><div><span style="font-variant-ligatures:no-common-ligatures">The difference for JSword is that we use a doubly nested array:</span></div><div><span style="font-variant-ligatures:no-common-ligatures"><div style="margin:0px;font-size:18px;line-height:normal;font-family:Menlo;color:rgb(82,48,225);background-color:rgb(255,255,255)"><div style="margin:0px;font-size:11px;line-height:normal;font-family:Monaco;color:rgb(78,144,114)"><span style="color:#000000"> </span>/* protected */<span style="color:#000000"> </span><span style="color:#931a68">static</span><span style="color:#000000"> </span><span style="color:#931a68">final</span><span style="color:#000000"> </span><span style="color:#931a68">int</span><span style="color:#000000">[][] </span><span style="color:#0326cc">LAST_VERSE_OT</span><span style="color:#000000"> =</span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Monaco"> {</div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Monaco;color:rgb(78,144,114)"><span style="color:#000000"> </span>// Genesis</div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Monaco"> {</div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Monaco"> 31, 25, 24, 26, 32, 22, 24, 22, 29, 32,</div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Monaco"> 32, 20, 18, 24, 21, 16, 27, 33, 38, 18,</div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Monaco"> 34, 24, 20, 67, 34, 35, 46, 22, 35, 43,</div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Monaco"> 55, 32, 20, 31, 29, 43, 36, 30, 23, 23,</div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Monaco"> 57, 38, 34, 34, 28, 34, 31, 22, 33, 26,</div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Monaco"> },</div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Monaco;color:rgb(78,144,114)"><span style="color:#000000"> </span>// Exodus</div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Monaco"> {</div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Monaco"> 22, 25, 22, 31, 23, 30, 25, 32, 35, 29,</div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Monaco"> 10, 51, 22, 31, 27, 36, 16, 27, 25, 26,</div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Monaco"> 36, 31, 33, 18, 40, 37, 21, 43, 46, 38,</div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Monaco"> 18, 35, 23, 35, 35, 38, 29, 31, 43, 38,</div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Monaco"> },</div></div></span></div><div><br></div><div>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><br></div><div>The practical difference is that we use sizeof to get the chapter count rather than a lookup in a 2D book array.</div><div><br></div><div>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><br></div><div>The format we choose should be:</div><div>easy to read</div><div>easy to parse and convert into the internal format needed</div><div>compact</div><div><br></div><div><div>The book names being standardized to OSIS is sufficient.</div><div>The array of chapters having 10 per line make it easy for people to read.</div><div>I’ve also spaced it so commas line up even for chapters with over 99 verses.</div></div><div><br></div><div>I’d suggest JSON over XML as it can represent arrays in a more compact form.</div><div><div><blockquote type="cite"></blockquote></div></div><div>E.g. (off the top of my head, can be otherwise)</div><div><font face="Courier">KJV = [</font></div><div><font face="Courier">[</font></div><div><font face="Courier"> [ </font><span style="font-family:Courier">"</span><font face="Courier">Gen</font><span style="font-family:Courier">"</span><font face="Courier">, </font></div><div><font face="Courier"> [</font></div><div><font face="Courier"> 31, 25, 24, 26, 32, 22,<wbr> 24, 22, 29, 32,<br> 32, 20, 18, 24, 21, 16, <wbr>27, 33, 38, 18,<br> 34, 24, 20, 67, 34, 35, <wbr>46, 22, 35, 43,<br> 55, 32, 20, 31, 29, 43, <wbr>36, 30, 23, 23,<br> 57, 38, 34, 34, 28, 34,<wbr> 31, 22, 33, 26<br></font></div><div><font face="Courier"> ]</font></div><div><span style="font-family:Courier"> ],</span></div><div><span style="font-family:Courier"> [ </span><span style="font-family:Courier">"</span><span style="font-family:Courier">Exod",</span></div><div><span style="font-family:Courier"> [</span></div><font face="Courier"> 22, 25, 22, 31, 23, 30,<wbr> 25, 32, 35, 29,<br> 10, 51, 22, 31, 27, 36, <wbr>16, 27, 25, 26,<br> 36, 31, 33, 18, 40, 37, <wbr>21, 43, 46, 38,<br> 18, 35, 23, 35, 35, 38, <wbr>29, 31, 43, 38<br></font><div><span style="font-family:Courier"> ]</span></div><div><span style="font-family:Courier"> ],</span></div><div><span style="font-family:Courier">... rest of OT ...</span></div><div><span style="font-family:Courier">],</span></div><div><font face="Courier">[</font></div><div><font face="Courier">... NT spec ...</font></div><div><font face="Courier">]</font></div><div><font face="Courier">]</font></div><div><br></div><div>Of course we could come up with a proprietary format. E.g.</div><div><font face="Courier">KJV 29 27</font></div><div><font face="Courier">Gen 50</font></div><div><div><font face="Courier"> 31 25 24 26 32 22 24 22 29 32<br> 32 20 18 24 21 16 27 33 38 18<br> 34 24 20 67 34 35 46 22 35 43<br> 55 32 20 31 29 43 36 30 23 23<br> 57 38 34 34 28 34 31 22 33 26<br></font></div></div><div><font face="Courier">Exod 40</font></div><div><font face="Courier"> 22 25 22 31 23 30 25 32 35 29<br> 10 51 22 31 27 36 16 27 25 26<br> 36 31 33 18 40 37 21 43 46 38<br> 18 35 23 35 35 38 29 31 43 38<br></font></div><div><font face="Courier"><br></font></div><div>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><font face="Courier"><br></font></div><div><font face="Courier">Response on standardizing mapping file next.</font></div><div><font face="Courier"><br></font></div><div><font face="Courier">In Him,</font></div><div><font face="Courier">DM</font></div><div class="elided-text"><div><font face="Courier"><br></font></div><div><div><blockquote type="cite"><div>On Oct 2, 2016, at 6:13 AM, Troy A. Griffitts <<a href="mailto:scribe@crosswire.org" target="_blank">scribe@crosswire.org</a>> wrote:</div><br class="m_-9164856395227248652Apple-interchange-newline"><div><div>Thanks for bringing this up Dominique. Костя, what do we need to move forward into this next release?<br><br>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><br>Troy<br><br><br><br>On 10/02/2016 09:08 AM, Dominique Corbex wrote:<br><blockquote type="cite">On Sun, 24 Jul 2016 01:45:00 +0300<br>Костя Маслюк <<a href="mailto:kostyamaslyuk@gmail.com" target="_blank">kostyamaslyuk@gmail.com</a>> wrote:<br><br><blockquote type="cite">It is still important to place all we have for av11n schemes and mappings<br>in one place.<br></blockquote>I agree..<br><br><blockquote type="cite"><blockquote type="cite">At <a href="http://crosswire.org/~kalemas/work/v11nmapping" target="_blank">http://crosswire.org/~kalemas/<wbr>work/v11nmapping</a> there are examples<br></blockquote></blockquote>I'd like to submit sword mappings to these French versification schemes<br>before the next release of Sword.<br><br>So, I just need to write 3 Bible xml files with all the <OsisIDs><br>related to these schemes and the mappings <refMap> at the end, and run:<br>$ python refMap2cpp.py Bible.<versification>.xml<br><br>and then add the resulting code to the associated .h file.<br><br>Am I right?<br><br>In Christ<br></blockquote><br><br>______________________________<wbr>_________________<br>sword-devel mailing list: <a href="mailto:sword-devel@crosswire.org" target="_blank">sword-devel@crosswire.org</a><br><a href="http://www.crosswire.org/mailman/listinfo/sword-devel" target="_blank">http://www.crosswire.org/<wbr>mailman/listinfo/sword-devel</a><br>Instructions to unsubscribe/change your settings at above page</div></div></blockquote></div><br></div></div></div><br>______________________________<wbr>_________________<br>
sword-devel mailing list: <a href="mailto:sword-devel@crosswire.org">sword-devel@crosswire.org</a><br>
<a href="http://www.crosswire.org/mailman/listinfo/sword-devel" rel="noreferrer" target="_blank">http://www.crosswire.org/<wbr>mailman/listinfo/sword-devel</a><br>
Instructions to unsubscribe/change your settings at above page<br></blockquote></div><br></div></div></div>