[jsword-devel] Versification Mapping - Verse 0 mapping

Chris Burrell chris at burrell.me.uk
Fri Jan 24 05:56:33 MST 2014


Zero verses indicate pre verse content.  So in particular for psalms it is
required.

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.
Chris
On 24 Jan 2014 13:00, "Martin Denham" <mjdenham at gmail.com> wrote:

> What is the thinking behind the "zerosUnmapped" flag in all the mapping
> files?
>
> I would expect
>       [KJV:Gen 2:0] -> [German:Gen 2:0]
> but with zerosUnmapped being set in all v11n mapping files what I get is
>       [KJV:Gen 2:0] -> [German:]
> which later causes an IndexOutOfBoundsException in KeyUtil when I pass in
> the empty Passage.
>
> If I delete zerosUnmapped then what I get is:
>       [KJV:Gen 2:0] -> [German:Gen 2:0]
> which is what I initially expected.
>
> Martin
>
> _______________________________________________
> jsword-devel mailing list
> jsword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/jsword-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/jsword-devel/attachments/20140124/3fd02b45/attachment.html>


More information about the jsword-devel mailing list