[jsword-devel] Versifications and key absence

Chris Burrell chris at burrell.me.uk
Mon Aug 5 09:42:15 MST 2013


Hi

I'm having a strange behaviour due to how our versifications are
implemented.

If I'm looking at the OSMHB module, then looking up Mat 1 gives me
a NoSuchKeyException
If I'm looking at the TR module, then looking up Gen.1 gives me an empty
passage.

STEP shows a message saying the module doesn't cover the passage in the
latter case. The former case is tricky, since the reference could be
anything at all...

What are your thoughts? Ideally, I'd want to say "invalid" when the
reference is something completely unparseable. However if it's simply not
present in the versification, then I'd probably want to say that module
doesn't cover the passage.

We get similar issues for Apocryphal books. Any thoughts?
Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/jsword-devel/attachments/20130805/7dd3983b/attachment.html>


More information about the jsword-devel mailing list