<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV>I have created a listing of the references in the Sword modules, except GenBook. These are from GBF, ThML and OSIS. My purpose in creating the list is to create a full test case to use in fixing a bug in JSword.<DIV><BR class="khtml-block-placeholder"><DIV>You can get it here: <A href="http://www.crosswire.org/~dmsmith/passages.zip">www.crosswire.org/~dmsmith/passages.zip</A> (3M)</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>See below for a response.</DIV><DIV><BR><DIV><DIV>On Nov 14, 2006, at 9:50 PM, Daniel Hilton wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><B class="gmail_sendername">DM Smith</B> wrote:<DIV><SPAN class="gmail_quote"></SPAN><BLOCKQUOTE class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><DIV style=""> <BR><DIV>It works for the most part in Bibles because they are mostly used for cross references and it works in commentaries because they are mostly referring to bibles.</DIV><DIV><BR></DIV><DIV>The difficulty is more a question of how to move forward. </DIV></DIV></BLOCKQUOTE><DIV><BR>I'll agree with you that it works *mostly*, and that the difficutly moving forward is to make it work *always.*<BR><BR></DIV><BLOCKQUOTE class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <DIV style=""><SPAN class="q"></SPAN><DIV>While an original OSIS document may refer to a particular version of the Bible, I think that Sword will continue to allow the user to pick the Bible they want to use. For example, a commentary may be based on the RSV, which is not available as a Sword module, but the user, being German, may want to read the verses in German from their favorite German Sword module. </DIV></DIV></BLOCKQUOTE><DIV><BR>I also agree with you here, that in most cases bible references should be linked to the user's preferred bible module. My specific concern is for the rare instances of non-biblical modules referencing each other, or bibles referencing non-biblical modules. <BR><BR>BTW, DM also wrote in a previous message "If I am not mistaken, Sword currently assumes that all osisRefs are to a<BR>bible of the user's choice."<BR>I'm pretty new to Sword, and I'm having a difficult time finding the line-of-demarcation between Sword and the various frontends. In analyzing BibleTime's source code, it seemed that BibleTime was handling almost everything to do with cross-references, and that BibleTime was making assumptions... but I can't see where or how Sword could make an assumption about an osisRef. <BR></DIV></DIV></BLOCKQUOTE><DIV><BR class="khtml-block-placeholder"></DIV>I confuse the line too.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Ultimately the SWORD Engine should have *all* the non-GUI behavior that is common to all applications. The philosophy is that when a GnomeSword, SWORD Project for Windows, MacSword, BibleTime, .... programmer puts such code into the SWORD api it can used consistently by all. But that's the ideal.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>My presupposition is that a user will activate a reference (click, hover, ..., show) a reference, whether GBF, ThML or OSIS, the application will present that to the SWORD engine to obtain the text for that reference.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>The application will tell the SWORD engine which is the current book to get references from. I think all the applications allow the user to set which Bible that is. Some allow the user to set more than one for parallel viewing.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>So there is a bit of collaboration going on.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>In JSword (a loose Java port of Sword) it would be a call:</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">        </SPAN>String data = book.getRawData(key);</DIV><DIV>If the key is not in the book then a KeyNotFoundException is thrown.</DIV><DIV><BR><BLOCKQUOTE type="cite"><DIV><DIV><BR>Any clarification?<BR><BR>Thanks<BR></DIV></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_______________________________________________</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">sword-devel mailing list: <A href="mailto:sword-devel@crosswire.org">sword-devel@crosswire.org</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="http://www.crosswire.org/mailman/listinfo/sword-devel">http://www.crosswire.org/mailman/listinfo/sword-devel</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Instructions to unsubscribe/change your settings at above page</DIV> </BLOCKQUOTE></DIV><BR></DIV></DIV></BODY></HTML>