Check your text in a XML validator. Once all is good there go back to osis2mod.
Peter
Sent from my mobile. Please forgive shortness, typos and weird autocorrects.
-------- Original Message --------
Subject: [sword-devel] Issues with osis2mod
From: Eric Gillespie
To: SWORD Development
CC:
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">
<header>
<work osisWork="NKJV-r"/>
</header>
<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>
...
<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 day.
</verse>
</chapter>
<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.
_______________________________________________ sword-devel mailing list: sword-devel@crosswire.org http://www.crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page