[jsword-devel] getOsis problem

DM Smith dmsmith at crosswire.org
Sat Apr 9 08:34:39 MST 2011


On Apr 9, 2011, at 11:28 AM, Martin Denham wrote:

> Do you get the same problem or is it something to do with my environment?
I haven't seen the problem before, but it might just be that I never noticed it before. It might be your environment.

I think I know where the problem is. But I haven't figured it out yet. It's tax time here in the US and so I might be a little slow in finding it.

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

I'm working on adding your test to the suite of JUnit test cases.

In Him,
	DM

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


More information about the jsword-devel mailing list