[jsword-devel] Non Bible/OSIS Key.getOsisID endless loop until StackOverflow

Tonny Kohar tonny.kohar at gmail.com
Mon Jun 9 20:24:47 MST 2008


Hi,

On Tue, Jun 10, 2008 at 8:54 AM, DM Smith <dmsmith555 at yahoo.com> wrote:
>
> On May 22, 2008, at 2:57 AM, Tonny Kohar wrote:
>
>> Hi,
>>
>> Non Bible/OSIS (eg: General Book) key.getOsisID endless loop until
>> StackOverflow is this the correct behaviour or it should be just
>> return null or empty string if it is really not OSIS stuff ?
> Tonny,
>        Is this still a problem? I'm going back through old emails from when
> I was on vacation and I don't recall if we addressed this.
> In Him

Yes, it is still a problem, I workaround it by checking whether the
key is Verse or not, if it is verse then call getOsisID, if it is not
instance of verses, then do not call getOsisID.

Cheers
Tonny Kohar
-- 
Alkitab Bible Study
imagine, design, create ...
http://www.kiyut.com



More information about the jsword-devel mailing list