[sword-devel] OSIS milestones and the attribute n ?

DM Smith dmsmith at crosswire.org
Sat Nov 12 10:13:45 MST 2011


JSword fully supports the n attribute on verse elements, as well as notes, cross-references and other numbered things. If the verse element is not present, then it manufactures a verse number based upon which verse was requested. JSword does not handle the case where a verse is actually a range of verses. It will show the text for the range for each verse in the range.

-- DM

On Nov 12, 2011, at 9:44 AM, David Haslam wrote:

> Hi DM,
> You wrote: (numbers are mine)
> 1. Not really, but effectively. The verse begin and end tags, regular and
> milestoned, with all of its attributes are thrown away. The purpose of the n
> attribute is to provide what the verse number should be. 
> 2. Do you see a value in osis2mod reading/using the value? I'm not sure how
> osis2mod might use it to better build a module. 
> My detailed response:
> 1. Precisely!  Our front-end applications do not display verse range tags.
> Is this because (a) the n attribute has been effectively discarded during
> module build, and/or (b) because currently the SWORD engine does not provide
> a means to supply these to the front-end?
> 2. Whereas we might have engineered verse range tags from the original
> sID/eID attributes (if present & correct), the fact is that these are
> transformed by osis2mod to genX, where X is an integer. This makes such
> reverse engineering for existing modules impossible.
> If we wish to represent printed Bibles as faithfully and as accurately as we
> can, then verse range tags should be something supported by the SWORD API
> and the JSword API.  Otherwise, when one or more verse number has been
> omitted, how is the reader supposed to know whether (a) it's a case of
> linked verse text for a verse range, or (b) whether the verse is one of
> those commonly omitted in many modern translations, or (c) whether the
> source text was deficient by having accidental omissions?
> For (b) refer to
> http://en.wikipedia.org/wiki/List_of_Bible_verses_not_included_in_modern_translations
> In essence, I see an opportunity for a significant software improvement
> here.
> David
> --
> View this message in context: http://sword-dev.350566.n4.nabble.com/OSIS-milestones-and-the-attribute-n-tp4034128p4034567.html
> Sent from the SWORD Dev mailing list archive at Nabble.com.
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page

More information about the sword-devel mailing list