[jsword-devel] [JIRA] Updated: (JS-17) Add support for Bible, book and chapter introductions.

DM Smith (JIRA) jira at crosswire.org
Sun Feb 6 15:01:55 MST 2011


     [ http://www.crosswire.org/bugs/browse/JS-17?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

DM Smith updated JS-17:
-----------------------

        Summary: Add support for Bible, book and chapter introductions.  (was: Add support for Bible Intro.)
    Description: 
JSword and SWORD differ in their mapping of verse references to and from ordinal numbers. JSword needs to convert its ordinal number to SWORD's in order to find a verse in a module.

SWORD uses 0 to be the reference to an introduction.
A chapter introduction is verse 0.
A book introduction is chapter 0.
A testament introduction is book 0.
A module introduction is testament 0.

Where as JSword has Gen 1:1 as the ordinal number 1, SWORD has it as 5, with module, testament, book and chapter intros preceding it.

This effort needs to do the following:
Allow an explicit 0 in a reference for chapter or verse,
Allow chapter and testament introductions to be gotten (not sure what the syntax should be)
Replace JSword's ordinal mapping with that of SWORD's
It would also be good to:
Externalize/Serialize the mapping. (This will have to be done for JS-13)



  was:i.e. testament 0 in SWORD module speak

    Component/s: o.c.jsword.versification
                     (was: o.c.jsword.book)

> Add support for Bible, book and chapter introductions.
> ------------------------------------------------------
>
>                 Key: JS-17
>                 URL: http://www.crosswire.org/bugs/browse/JS-17
>             Project: JSword
>          Issue Type: New Feature
>          Components: o.c.jsword.versification
>    Affects Versions: 0.9.8
>            Reporter: Joe Walker
>             Fix For: 2.0
>
>
> JSword and SWORD differ in their mapping of verse references to and from ordinal numbers. JSword needs to convert its ordinal number to SWORD's in order to find a verse in a module.
> SWORD uses 0 to be the reference to an introduction.
> A chapter introduction is verse 0.
> A book introduction is chapter 0.
> A testament introduction is book 0.
> A module introduction is testament 0.
> Where as JSword has Gen 1:1 as the ordinal number 1, SWORD has it as 5, with module, testament, book and chapter intros preceding it.
> This effort needs to do the following:
> Allow an explicit 0 in a reference for chapter or verse,
> Allow chapter and testament introductions to be gotten (not sure what the syntax should be)
> Replace JSword's ordinal mapping with that of SWORD's
> It would also be good to:
> Externalize/Serialize the mapping. (This will have to be done for JS-13)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the jsword-devel mailing list