[sword-devel] Parse key question

DM Smith dmsmith555 at yahoo.com
Tue May 8 07:37:03 MST 2007

I'm running into a problem programmatically parsing cross references in 
a new module
I have references of the form:
Obad 2

That is a single chapter book with just a verse reference.

When using Sword C++ api to parse this I get:
Jonah 1:1 - Jonah 1:17
(I'm using svn/trunk/sword/tests/parsekey.cpp to get this.)

It appears that it is not taking the book into account when it is 
parsing the number, assuming that a number by itself is a chapter 

Is this a bug?

If not how should I work around it?

In Him,

More information about the sword-devel mailing list