mvnForum Homepage

Posted by ebgd7 at Feb 21, 2005 9:09:11 AM
confused   Strange behaviur of osis2mod with paragraphs.
Hi there!
Firs of all thank You for releasing osis2mod for windows. Ok, now back to the problem. I have the following osis file:

<?xml version="1.0" encoding="utf-8"?>
<osis xmlns="" xmlns:xsi=""
<osisText osisIDWork="NWT" osisRefWork="bible" xml:lang="en-US">
<work osisWork="NWT">
<title>New World Translation</title>
<type type="OSIS">Bible</type>
<identifier type="OSIS">Bible.en.NWT</identifier>
<work osisWork="Bible">
<type type="OSIS">Bible</type>
<div type="bookGroup" osisID="ot">
<div type="book" osisID="Gen">
<div type="chapter" osisID="Gen.1" >
<verse sID="Gen.1.1" osisID="Gen.1.1"/>
<verse eID="Gen.1.1"/>
<verse sID="Gen.1.2" osisID="Gen.1.2"/>
<verse eID="Gen.1.2"/>
<verse sID="Gen.1.3" osisID="Gen.1.3"/>
<verse eID="Gen.1.3"/>
<verse sID="Gen.1.4" osisID="Gen.1.4"/>
<verse eID="Gen.1.4"/>
<verse sID="Gen.1.5" osisID="Gen.1.5"/>
<verse eID="Gen.1.5"/>
<verse sID="Gen.1.6" osisID="Gen.1.6"/>
<verse eID="Gen.1.6"/>
</div> <!-- chapter-->

As You notice the paragraph marks are placed outside verses. From the OSIS point of view it should work fine, but it does not. There are three problems (possibly connected):
1) Looking at the resulting module at 'ot' file I can see that verses 2,3 and six are duplicated!
2) There are no closing paragraph tags (</p>)
3) finally, Sword for windows displays rubbish - some rtf formatting tags I do not understand...

I'm I doing something wrong here? Please help!