[jsword-devel] SimpleOsisParser - parsing whole chapter refs
Martin Denham
mjdenham at gmail.com
Sat Aug 30 07:23:05 MST 2014
Hi,
Are there any plans to extend the SimpleOsisParser to be able to parse
chapter references like "Gen.1" instead of just verse references e.g.
"Gen.1.1" or verse range references e.g. "Gen.1.1-Gen.1.3"?
The following fails so I can't parse a reference to the whole of Genesis 1
easily:
assertEquals("Gen.1", SimpleOsisParser.parseOsisRef(testV11n,
"Gen.1").getOsisRef());
other than by entering "Gen.1.1-Gen.1.31" which, funnily enough, returns
the Osis I originally tried to enter "Gen.1".
Martin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/jsword-devel/attachments/20140830/bb350d44/attachment.html>
More information about the jsword-devel
mailing list