<p dir="ltr">Zero verses indicate pre verse content. So in particular for psalms it is required.</p>
<p dir="ltr">In terms of the flag I'll have to look. I think it's to do with wanting to leave proper verse 0 unmapped. Will have to look at code to remember exactly why. It was done ages ago. <br>
Chris</p>
<div class="gmail_quote">On 24 Jan 2014 13:00, "Martin Denham" <<a href="mailto:mjdenham@gmail.com">mjdenham@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div>What is the thinking behind the "zerosUnmapped" flag in all the mapping files? <br></div><div><br></div><div>I would expect </div><div> [KJV:Gen 2:0] -> [German:Gen 2:0]</div><div>but with zerosUnmapped being set in all v11n mapping files what I get is</div>
<div><div> [KJV:Gen 2:0] -> [German:]</div></div><div>which later causes an IndexOutOfBoundsException in KeyUtil when I pass in the empty Passage.</div><div><br></div><div>If I delete zerosUnmapped then what I get is:</div>
<div><div> [KJV:Gen 2:0] -> [German:Gen 2:0]</div></div><div>which is what I initially expected.</div><div><br></div><div>Martin<br></div></div>
<br>_______________________________________________<br>
jsword-devel mailing list<br>
<a href="mailto:jsword-devel@crosswire.org">jsword-devel@crosswire.org</a><br>
<a href="http://www.crosswire.org/mailman/listinfo/jsword-devel" target="_blank">http://www.crosswire.org/mailman/listinfo/jsword-devel</a><br>
<br></blockquote></div>