Troy - mod2osis in the state that exists in the source tree will not even produce well-formed XML, and nothing even close to valid OSIS the last time I looked at it.  Some time back I produced a patch that would at least render valid OSIS for the KJV module and, I hoped, any other module that entered the system in OSIS.  I put together a somewhat extensive patch that you can download and read about at <a href="http://www.crosswire.org/~ghellings/mod2osis/">http://www.crosswire.org/~ghellings/mod2osis/</a> but that was well over a year ago.  I have offered it on this mailing list, but last I heard, it has never been incorporated into the tree.  Some parts of it may have been, since they patched filters in the library -- your mileage may vary greatly with the patch.<div>
<br></div><div>It seems that some others on the list are content to allow mod2osis remain incomplete and broken as it is, though I forget the reason for doing so.  It may simply have been time - and since I do not have SVN access to the library, I can&#39;t do the commits directly myself.  Good luck!</div>
<div><br></div><div>--Greg<br><br><div class="gmail_quote">On Wed, Apr 14, 2010 at 8:07 PM, troypulk <span dir="ltr">&lt;<a href="mailto:troypulk@yahoo.com">troypulk@yahoo.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<table cellspacing="0" cellpadding="0" border="0"><tbody><tr><td valign="top" style="font:inherit">Sorry about the attachment, it was only 1.8MB and I was not aware of the 
90KB limit.
<br>
<br>But any way, It&#39;s obvious that mod2osis is inadequate to produce a 
proper formatted osis.xml file, here is an example.
<br>
<br>Please advice on my options to correctly produce a osis.xml file from a 
module with our starting from scratch.
<br>
<br>Thanks for your help
<br>
<br>Troy<br>
<br>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; ?&gt;
<br>
<br>&lt;osis xmlns=<a href="http://www.bibletechnologies.net/2003/OSIS/namespace" target="_blank">&quot;http://www.bibletechnologies.net/2003/OSIS/namespace&quot;</a> 
xmlns:xsi=<a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank">&quot;http://www.w3.org/2001/XMLSchema-instance&quot;</a> 
xsi:schemaLocation=&quot;<a href="http://www.bibletechnologies.net/2003/OSIS/namespace" target="_blank">http://www.bibletechnologies.net/2003/OSIS/namespace</a> 
osisCore.2.5.xsd&quot;&gt;
<br>
<br>&lt;osisText osisIDWork=&quot;EMTV&quot; osisRefWork=&quot;defaultReferenceScheme&quot; 
xml:lang=&quot;en&quot;&gt;
<br>
<br>&lt;header&gt;
<br>&lt;work osisWork=&quot;EMTV&quot;&gt;
<br>&lt;title&gt;English Majority Text Version&lt;/title&gt;
<br>&lt;identifier type=&quot;OSIS&quot;&gt;Bible.EMTV&lt;/identifier&gt;
<br>&lt;refSystem&gt;Bible.KJV&lt;/refSystem&gt;
<br>&lt;/work&gt;
<br>&lt;work osisWork=&quot;defaultReferenceScheme&quot;&gt;
<br>&lt;refSystem&gt;Bible.KJV&lt;/refSystem&gt;
<br>&lt;/work&gt;
<br>&lt;/header&gt;
<br>
<br>Error reading ulBuffNum
<br>Error reading ulBuffNum
<br>Error reading ulBuffNum
<br>&lt;div type=&quot;x-testament&quot;&gt;
<br>&lt;div type=&quot;book&quot; osisID=&quot;Matt&quot;&gt;
<br>
<br>&lt;chapter osisID=&quot;Matt.1&quot;&gt;
<br>&lt;verse osisID=&quot;Matt.1.1&quot;&gt;&lt;verse osisID=&quot;Matt.1.1&quot; sID=&quot;Matt.1.1&quot;/&gt;The 
book&lt;note&gt;&lt;catchWord&gt;book&lt;/catchWord&gt; biblos, Gk.: (noun) &lt;q&gt;An inner 
rind of papyrus used for paper. Originally, the cellular substance in 
papyrus stems that the Egyptians turned into a kind of &lt;q&gt;paper&lt;/q&gt;, by 
fixing narrow strips vertically, and then sticking horizontal ones on 
top. The English word Bible is derived from the plural biblion, the 
books.&lt;/q&gt;&lt;/note&gt; of the genealogy of Jesus Christ, the Son of David, 
the Son of Abraham:&lt;verse eID=&quot;Matt.1.1&quot;/&gt;&lt;/verse&gt;
<br>
<br>&lt;verse osisID=&quot;Matt.1.2&quot;&gt;&lt;verse osisID=&quot;Matt.1.2&quot; 
sID=&quot;Matt.1.2&quot;/&gt;Abraham begot Isaac, Isaac begot Jacob, and Jacob begot 
Judah and his brothers.&lt;verse eID=&quot;Matt.1.2&quot;/&gt;&lt;/verse&gt;
<br>
<br>&lt;verse osisID=&quot;Matt.1.3&quot;&gt;&lt;verse osisID=&quot;Matt.1.3&quot; sID=&quot;Matt.1.3&quot;/&gt;Judah 
begot Perez and Zerah by Tamar, Perez begot Hezron, and Hezron begot 
Ram.&lt;verse eID=&quot;Matt.1.3&quot;/&gt;&lt;/verse&gt;
<br>
<br>&lt;verse osisID=&quot;Matt.28.20&quot;&gt;&lt;verse osisID=&quot;Matt.28.20&quot; 
sID=&quot;Matt.28.20&quot;/&gt;teaching them to observe everything that I have 
commanded you; and lo, I am with you always, even to the end of the 
age.&lt;/q&gt; Amen.&lt;verse eID=&quot;Matt.28.20&quot;/&gt; &lt;/chapter&gt;&lt;/div&gt;&lt;/verse&gt;
<br>
<br>&lt;/chapter&gt;
<br>&lt;/div&gt;
<br>&lt;div type=&quot;book&quot; osisID=&quot;Mark&quot;&gt;
<br>
<br>&lt;chapter osisID=&quot;Mark.1&quot;&gt;
<br>&lt;verse osisID=&quot;Mark.1.1&quot;&gt;&lt;verse osisID=&quot;Mark.1.1&quot; sID=&quot;Mark.1.1&quot;/&gt;THE 
BEGINNING OF THE GOSPEL OF JESUS CHRIST, THE SON OF GOD.&lt;verse 
eID=&quot;Mark.1.1&quot;/&gt;&lt;/verse&gt;
<br>
<br>&lt;verse osisID=&quot;Rev.22.21&quot;&gt;&lt;verse osisID=&quot;Rev.22.21&quot; sID=&quot;Rev.22.21&quot;/&gt;The 
grace of the Lord Jesus Christ &lt;hi type=&quot;italic&quot;&gt;be&lt;/hi&gt; with all the 
saints. Amen.&lt;verse eID=&quot;Rev.22.21&quot;/&gt; &lt;/chapter&gt;&lt;/div&gt;&lt;/verse&gt;
<br>
<br>&lt;/chapter&gt;
<br>&lt;/div&gt;
<br>&lt;/div&gt;
<br>&lt;/osisText&gt;
<br>&lt;/osis&gt;
</td></tr></tbody></table><br>







      <br>_______________________________________________<br>
sword-devel mailing list: <a href="mailto:sword-devel@crosswire.org">sword-devel@crosswire.org</a><br>
<a href="http://www.crosswire.org/mailman/listinfo/sword-devel" target="_blank">http://www.crosswire.org/mailman/listinfo/sword-devel</a><br>
Instructions to unsubscribe/change your settings at above page<br></blockquote></div><br></div>