[jsword-devel] Versification issues

Chris Burrell chris at burrell.me.uk
Tue Mar 12 13:26:58 MST 2013


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).

Chris



On 12 March 2013 20:25, DM Smith <dmsmith at crosswire.org> wrote:

> 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.
>
> I can get to it in a few hours.
>
> In Him,
> DM
>
>
> On Mar 12, 2013, at 4:01 PM, DM Smith <dmsmith at crosswire.org> wrote:
>
> Looks like a bug in the underlying code. (Your's looks fine.)
>
> On Mar 12, 2013, at 3:53 PM, Chris Burrell <chris at burrell.me.uk> wrote:
>
> Hi All
>
> I'm trying to get an alternate versification to work. For example, the JPS
> module that can be downloaded here:
> http://www.crosswire.org/wiki/Modules_in_the_av11n_repository
>
> I'm using the following code, but getting an empty result out:
>
> <div><title type="x-gen">Psalms 51</title></div>
>
> Code:
>
> final String version = "JPS";
>         final String ref = "Ps.51";
>
>         final Book currentBook = Books.installed().getBook(version);
>
>         final BookData bookData = new BookData(currentBook,
> currentBook.getKey(ref));
>         final Element osisFragment = bookData.getOsisFragment();
>
>         final XMLOutputter xmlOutputter = new
> XMLOutputter(Format.getRawFormat());
>         LOGGER.debug(xmlOutputter.outputString(osisFragment));
>         xmlOutputter.outputString(osisFragment);
>
> Any ideas what's wrong?
> Chris
>
> _______________________________________________
> 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/20130312/92a4605e/attachment.html>


More information about the jsword-devel mailing list