<div dir="ltr">Great! It's not a biggie for us at the moment, as we're going to concentrate on KJV-versified modules, given the lack of patching between versifications (see separate thread on sword-devel).<div><br>
</div><div style>Chris</div><div style><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 12 March 2013 20:25, DM Smith <span dir="ltr"><<a href="mailto:dmsmith@crosswire.org" target="_blank">dmsmith@crosswire.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">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 style="white-space:pre-wrap">        </span>DM<br><div><br></div><div><br><div><div class="im"><div>On Mar 12, 2013, at 4:01 PM, DM Smith <<a href="mailto:dmsmith@crosswire.org" target="_blank">dmsmith@crosswire.org</a>> wrote:</div>
<br></div><div><div class="h5"><blockquote type="cite"><div style="word-wrap:break-word">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" target="_blank">chris@burrell.me.uk</a>> wrote:</div>
<br><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" target="_blank">http://www.crosswire.org/wiki/Modules_in_the_av11n_repository</a></div>
<div><br></div><div>I'm using the following code, but getting an empty result out:</div><div><br></div><div><div><title type="x-gen">Psalms 51</title></div><br></div>
<div><br></div><div>Code:</div><div><br></div><div><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>Any ideas what's wrong?</div><div>Chris</div><div>
<br></div></div></div>
_______________________________________________<br>jsword-devel mailing list<br><a href="mailto:jsword-devel@crosswire.org" target="_blank">jsword-devel@crosswire.org</a><br><a href="http://www.crosswire.org/mailman/listinfo/jsword-devel" target="_blank">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" target="_blank">jsword-devel@crosswire.org</a><br><a href="http://www.crosswire.org/mailman/listinfo/jsword-devel" target="_blank">http://www.crosswire.org/mailman/listinfo/jsword-devel</a><br>
</blockquote></div></div></div><br></div></div></div></div></blockquote></div><br></div>