Thanks DM. I'll keep an eye out for those changes. That's very helpful!<div><br></div><div>Chris<br><br><div class="gmail_quote">On 15 November 2010 20:36, DM Smith <span dir="ltr"><<a href="mailto:dmsmith@crosswire.org">dmsmith@crosswire.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On 11/15/2010 03:12 PM, Chris Burrell wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi<br>
<br>
Just wondering if there is an easy way to determine whether a passage reference refers to the Old Testament or the New Testament?<br>
</blockquote>
<br></div>
JSword does not have a clear idea of testament. I'd suggest Verse.compareTo(Verse), and use Matt.1.1 as the boundary. However, I don't know if all versifications start the NT with Matt.1.1.<br>
<br>
It might be problematic when we add introductory material. This will have verses of the form Matt.1.0, Matt.2.0, ... (for chapter introductions) and Matt.0.0 (for book introductions). There is some kind of notation for testament intro, but I'm not clear on what it is for SWORD.<br>
<br>
Hope this helps.<br>
<br>
In Him,<br>
DM<br>
<br>
_______________________________________________<br>
jsword-devel mailing list<br>
<a href="mailto:jsword-devel@crosswire.org" target="_blank">jsword-devel@crosswire.org</a><br>
<a href="http://www.crosswire.org/mailman/listinfo/jsword-devel" target="_blank">http://www.crosswire.org/mailman/listinfo/jsword-devel</a><br>
</blockquote></div><br></div>