[sword-devel] Issues with osis2mod

Eric Gillespie brickviking at gmail.com
Sat Jul 25 00:17:45 EDT 2020

Issue with osis2mod

I'm having a little trouble with some osis text, and I can't see what's
wrong. I'm hoping that someone can help out.

This snippet is from my nkjv file, and looks like the below:
<osisText osisRefWork="Bible" xml:lang="en" osisIDWork="NKJV-r">
<work osisWork="NKJV-r"/>
<div type="book" osisID="Gen">
<chapter osisID="Gen.1">
<verse osisID="Gen.1.1">
In the beginning God created the heavens and the earth.
<verse osisID="Gen.1.31">
Then God saw everything that He had made, and indeed <transChange
type="added"> it
was</transChange> very good. So the evening and the morning were the sixth
<chapter osisID="Gen.2">

When I run this through osis2mod, it complains that the XML is not
well-formed for Genesis 1:31 (and many other verses), but I can't see how
it's not. Am I missing something really simple here? My original source
came from a text file with some embedded control characters: {\cf15\I ....
} which I swapped out for <transChange type="added"> ....</transChange>
each time it occurred.

Thanks for your time. I hope the above lines don't get too badly butchered
by the 72-char line length.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20200725/3fd0dbc8/attachment.html>

More information about the sword-devel mailing list