<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Found the bug (not the solution). When reading in the versification, which is OT only, it sets otMaxOrdinal to 0 and ntMaxOrdinal to 24182. This is wrong.<div><br></div><div>I can get to it in a few hours.<br><div><br></div><div>In Him,</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>DM<br><div><br></div><div><br><div><div>On Mar 12, 2013, at 4:01 PM, DM Smith <<a href="mailto:dmsmith@crosswire.org">dmsmith@crosswire.org</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Looks like a bug in the underlying code. (Your's looks fine.)<div><br><div><div>On Mar 12, 2013, at 3:53 PM, Chris Burrell <<a href="mailto:chris@burrell.me.uk">chris@burrell.me.uk</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">Hi All<div><br></div><div>I'm trying to get an alternate versification to work. For example, the JPS module that can be downloaded here: <a href="http://www.crosswire.org/wiki/Modules_in_the_av11n_repository">http://www.crosswire.org/wiki/Modules_in_the_av11n_repository</a></div>
<div><br></div><div style="">I'm using the following code, but getting an empty result out:</div><div style=""><br></div><div style=""><div><title type="x-gen">Psalms 51</title></div><br></div>
<div style=""><br></div><div style="">Code:</div><div style=""><br></div><div style=""><div>final String version = "JPS";</div><div> final String ref = "Ps.51";</div><div><br></div><div> final Book currentBook = Books.installed().getBook(version);</div>
<div><br></div><div> final BookData bookData = new BookData(currentBook, currentBook.getKey(ref));</div><div> final Element osisFragment = bookData.getOsisFragment();</div><div><br></div><div> final XMLOutputter xmlOutputter = new XMLOutputter(Format.getRawFormat());</div>
<div> LOGGER.debug(xmlOutputter.outputString(osisFragment));</div><div> xmlOutputter.outputString(osisFragment);</div><div><br></div><div style="">Any ideas what's wrong?</div><div style="">Chris</div><div style="">
<br></div></div></div>
_______________________________________________<br>jsword-devel mailing list<br><a href="mailto:jsword-devel@crosswire.org">jsword-devel@crosswire.org</a><br><a href="http://www.crosswire.org/mailman/listinfo/jsword-devel">http://www.crosswire.org/mailman/listinfo/jsword-devel</a><br></blockquote></div><br></div></div>_______________________________________________<br>jsword-devel mailing list<br><a href="mailto:jsword-devel@crosswire.org">jsword-devel@crosswire.org</a><br>http://www.crosswire.org/mailman/listinfo/jsword-devel<br></blockquote></div><br></div></div></div></body></html>