<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">I’d have to look into this carefully to see why it is being dropped. I think the xslt expects references to be in a note. From memory, a reference that is not within a note is treated as inline text.<div class=""><div class=""><br class=""></div><div class="">Also there is no support for non-biblical references at this time. It should recognize the work part of the reference, what’s before the colon, as the module name. We’ve never supported types of x- that were not generated by JSword. If the type of the work needs to be communicated, it probably should be something like osisRef=“Dictionary.UZDOTL:….” In the absence of that we should look to see if there is a book with those Initials and determine the type from the MetaData.</div><div class=""><br class=""></div><div class="">In this example the osisRef is to 2 different works. Not sure how that should work. Two lookups?</div><div class=""><div class=""><br class=""></div><div class="">The other thing is that we have a toggle for references that merely toggles whether the reference is a link. Not sure how a reference can be to two different things.</div></div><div class=""><br class=""></div><div class="">My guess as to what is happening: It tries to parse the reference as a Bible reference, gets an exception and doesn’t show anything.</div><div class=""><br class=""></div><div class="">DM</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Nov 27, 2015, at 4:31 PM, Martin Denham &lt;<a href="mailto:mjdenham@gmail.com" class="">mjdenham@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">John has raised <a href="https://github.com/mjdenham/and-bible/issues/46" target="_blank" class="">this issue</a> 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.<div class=""><br class=""></div><div class="">The full details are in <a href="https://github.com/mjdenham/and-bible/issues/46" target="_blank" class="">this issue</a> but are summarised below.&nbsp; I am not an OSIS expert so really would just like confirmation of my understanding.</div><div class=""><br class=""></div><div class="">In the following extract from UZVL the reference&nbsp;content 'muqaddas' is being excluded both&nbsp;by JSword's OSISUtil.getCanonicalText and by certain And Bible code and I wish to confirm this is a bug:</div><div class=""><br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span style="color:rgb(51,51,51);font-family:'Helvetica Neue',Helvetica,'Segoe UI',Arial,freesans,sans-serif,'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol';font-size:14px;line-height:21px;white-space:pre-wrap" class="">&lt;verse sID="Gen.2.3" osisID="Gen.2.3"/&gt;Xudo yettinchi kuni barcha<br class=""></span><span style="color:rgb(51,51,51);font-family:'Helvetica Neue',Helvetica,'Segoe UI',Arial,freesans,sans-serif,'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol';font-size:14px;line-height:21px;white-space:pre-wrap" class="">yaratish ishlaridan dam olgani uchun, bu kunni muborak qilib, &lt;reference<br class=""></span><span style="color:rgb(51,51,51);font-family:'Helvetica Neue',Helvetica,'Segoe UI',Arial,freesans,sans-serif,'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol';font-size:14px;line-height:21px;white-space:pre-wrap" class="">type="x-glossary" osisRef="UZDOTL:MUQADDAS<br class=""></span><span style="color:rgb(51,51,51);font-family:'Helvetica Neue',Helvetica,'Segoe UI',Arial,freesans,sans-serif,'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol';font-size:14px;line-height:21px;white-space:pre-wrap" class="">UZDNTL:MUQADDAS"&gt;muqaddas&lt;/reference&gt;, deb boshqa kunlardan<br class=""></span><span style="color:rgb(51,51,51);font-family:'Helvetica Neue',Helvetica,'Segoe UI',Arial,freesans,sans-serif,'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol';font-size:14px;line-height:21px;white-space:pre-wrap" class="">ajratdi.&lt;/p&gt;&lt;verse eID="Gen.2.3"/&gt;</span></blockquote><div class=""><br class=""></div><div class="">My current understanding is that a reference may or may not contain canonical text.&nbsp; 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.&nbsp; Is that correct?</div><div class=""><br class=""></div><div class="">Martin</div></div>
_______________________________________________<br class="">jsword-devel mailing list<br class=""><a href="mailto:jsword-devel@crosswire.org" class="">jsword-devel@crosswire.org</a><br class="">http://www.crosswire.org/mailman/listinfo/jsword-devel<br class=""></div></blockquote></div><br class=""></div></div></body></html>