[jsword-devel] getOsis problem

Martin Denham mjdenham at gmail.com
Sat Apr 9 08:28:31 MST 2011


Do you get the same problem or is it something to do with my environment?

I was working in the area of index creation when I noticed this and it means
that any indexes created have no Strongs information.

Thanks
Martin

On 9 April 2011 14:27, DM Smith <dmsmith at crosswire.org> wrote:

> 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
>
>
> _______________________________________________
> 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/20110409/a0b61a71/attachment.html>


More information about the jsword-devel mailing list