[jsword-devel] getOsis problem

DM Smith dmsmith at crosswire.org
Sat Apr 9 06:27:54 MST 2011


I'm looking. Haven't found it yet. What you are doing should work.

In Him,
	DM
On Apr 9, 2011, at 7:06 AM, Martin Denham wrote:

> Hi,
> 
> Am I doing something wrong here.  I can't seem to get any Strongs numbers from the KJV.  This fails on the last assert:
> 
>         Book book = Books.installed().getBook("KJV");
>         assertTrue("Should have Strongs", book.getBookMetaData().hasFeature(FeatureType.STRONGS_NUMBERS));
>         
>         Key key = book.getKey("Gen 1:1");
>         BookData data = new BookData(book, key);
>         Element osis = data.getOsisFragment();
>         
>         String strongsNumbers = OSISUtil.getStrongsNumbers(osis);
>         assertTrue("No Strongs in KJV", strongsNumbers.length()>0);
> 
> Thanks
> Martin
> 
> _______________________________________________
> jsword-devel mailing list
> jsword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/jsword-devel




More information about the jsword-devel mailing list