[jsword-devel] Chapter references available in some versions but not all

Chris Burrell chris at burrell.me.uk
Thu Aug 23 04:47:44 MST 2012


Hi all

Just wondering why the following two modules act differently. I need to
check whether a key is valid. However, it looks like this is not possible
for some Bible modules.

returns true =>
Books.installed().getBook("ESV").contains(Books.installed().getBook("ESV").getKey("Genesis
1"))
returns false =>
Books.installed().getBook("OSMHB").contains(Books.installed().getBook("OSMHB").getKey("Genesis
1"))
returns false =>
Books.installed().getBook("OSMHB").contains(Books.installed().getBook("OSMHB").getValidKey("Genesis
1"))

In each case, the passage is correctly looked up and retrieved. Any ideas?

Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/jsword-devel/attachments/20120823/0115314f/attachment.html>


More information about the jsword-devel mailing list