<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 &lt;<a href="mailto:dmsmith@crosswire.org">dmsmith@crosswire.org</a>&gt; 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 &lt;<a href="mailto:chris@burrell.me.uk">chris@burrell.me.uk</a>&gt; 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:&nbsp;<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="">&lt;div&gt;&lt;title type="x-gen"&gt;Psalms 51&lt;/title&gt;&lt;/div&gt;<br></div>
<div style=""><br></div><div style="">Code:</div><div style=""><br></div><div style=""><div>final String version = "JPS";</div><div>&nbsp; &nbsp; &nbsp; &nbsp; final String ref = "Ps.51";</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; final Book currentBook = Books.installed().getBook(version);</div>
<div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; final BookData bookData = new BookData(currentBook, currentBook.getKey(ref));</div><div>&nbsp; &nbsp; &nbsp; &nbsp; final Element osisFragment = bookData.getOsisFragment();</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; final XMLOutputter xmlOutputter = new XMLOutputter(Format.getRawFormat());</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; LOGGER.debug(xmlOutputter.outputString(osisFragment));</div><div>&nbsp; &nbsp; &nbsp; &nbsp; 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>