[sword-devel] imp2vs linking problems

Daniel Adams sword-devel@crosswire.org
Fri, 13 Dec 2002 11:26:55 -0700

Now that I follow what this post is about, this is the Bug that I
mentioned in an e-mail. I have also noticed this occurs for other books
if you specify a chapter above the true chapter limit. I would say that
it might make sense for the library to interpret the idea of Jude 5-7 as
Jude 1:5-7 but to only do this when a book only contains one chapter. I
have seen references such as Genesis 5-7 or so, which would be incorrect
to interpret as Genesis 1:5-7 because it is intended Genesis 5 - Genesis

By the Grace of God,

-----Original Message-----
From: owner-sword-devel@crosswire.org
[mailto:owner-sword-devel@crosswire.org] On Behalf Of Chris Little
Sent: Friday, December 13, 2002 11:29 AM
To: Sword Dev (E-mail)
Subject: Re: [sword-devel] imp2vs linking problems

On Fri, 13 Dec 2002, Dave Hall wrote:

> imp2vs has verse linking problems.
> 1) It does not understand single-chapter-book refs like "Jude 20-25":

Correct.  This is a Sword thing, that looks like Jude chapters 20-25 (in

their entirety) which apparently get's interepreted as Rev 19-26 due to 
normalization of the reference.

You should use Jude 1:20-25.

> 2) For whatever reason when it links to the last chapter of a book it 
> then continues to link the text to the next book refs for Next-Book 
> 0:0 and Next-Book 1:0 which I, as well as others (MHC), use for 
> additional info:

I thought this was fixed but I will look into it.  It may have been 
unfixed or you might have your hands on an old binary (possibly because 
binaries haven't been updated recently).

It's not as simple as parsekey because it must visit each verse
to create the link.