Details
-
Type: Bug
-
Status: Closed (View Workflow)
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.6.1
-
Fix Version/s: 1.6.1
-
Component/s: o.c.jsword.util
-
Labels:None
Description
On Apr 9, 2011, at 7:06 AM, Martin Denham wrote:
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);
The bug was in getStrongsNumbers, the second argument to getDeepContent was ...TITLE, but should have been ...W.
I'm pretty sure that this was introduced with the change of iteration to an enhanced for loop.
This was also a problem in OSISUtil.getNotes and OSISUtil.getReferences.