[jsword-devel] References containing canonical text

Martin Denham mjdenham at gmail.com
Fri Nov 27 14:31:43 MST 2015


John has raised this issue <https://github.com/mjdenham/and-bible/issues/46>
regarding the content of reference tags being removed in And Bible under
certain circumstances and this has highlighted a possible flaw both in
JSword and And Bible code.

The full details are in this issue
<https://github.com/mjdenham/and-bible/issues/46> but are summarised
below.  I am not an OSIS expert so really would just like confirmation of
my understanding.

In the following extract from UZVL the reference content 'muqaddas' is
being excluded both by JSword's OSISUtil.getCanonicalText and by certain
And Bible code and I wish to confirm this is a bug:

<verse sID="Gen.2.3" osisID="Gen.2.3"/>Xudo yettinchi kuni barcha
> yaratish ishlaridan dam olgani uchun, bu kunni muborak qilib, <reference
> type="x-glossary" osisRef="UZDOTL:MUQADDAS
> UZDNTL:MUQADDAS">muqaddas</reference>, deb boshqa kunlardan
> ajratdi.</p><verse eID="Gen.2.3"/>


My current understanding is that a reference may or may not contain
canonical text.  If a reference is a child of a note element then it will
not be canonical, but if it has no specific parent then it will be
canonical.  Is that correct?

Martin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/jsword-devel/attachments/20151127/61392b1c/attachment.html>


More information about the jsword-devel mailing list