<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">It should. The filters are complete. But there is no guarantee that they'll produce valid OSIS. Only that it is well formed.<div><br></div><div>See org.crosswire.jsword.examples.<a href="http://crosswire.org/jsword/java2html/org/crosswire/jsword/examples/BibleToOsis.java.html">BibleToOsis</a>.java for an example.</div><div><br></div><div>This is a little dated. The form of the titles should be changed and verse elements should be milestoned.</div><div><br></div><div>There is no attempt to reverse the osis2mod transformations. But otherwise, it is good.</div><div><br></div><div>Just note, it is an example. It hard wires the KJV, which is already OSIS.</div><div><br></div><div>In Him,</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>DM</div><div><br><div><div>On Apr 17, 2010, at 4:23 AM, Manfred Bergmann wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Wouldn't maybe BibleDesktop produce better OSIS conversions?<br><br><br>Manfred<br><br><br>Am 15.04.2010 um 03:06 schrieb Chris Little:<br><br><blockquote type="cite">Could you post the exact command you used to produce this output?<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Also, please summarize what you see as problems in the output, if there are any other than the three I identify:<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">1) The schema identified is non-existent. (Easily rectified, and I'll attend to it when I get home.)<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">2) "Error reading ulBuffNum" This is an error message. It should be going to stderr, so I don't know why it is appearing in your output unless you piped both stdout &amp; stderr to a file. I'll hunt for the bug, if that isn't the cause.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">3) Double marking of verses (e.g. &lt;verse osisID="Matt.1.1"&gt;&lt;verse osisID="Matt.1.1" sID="Matt.1.1"/&gt;). I have some guesses as to why this is happening, especially if it occurs with some but not all modules, but it really shouldn't happen, either way.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">That said, mod2osis is as low priority as anything could possibly be. Its use is essentially for exporting our texts for use outside of Sword, which we don't support or encourage and which as often as not constitutes a license violation (of the content licenses). So, while I wouldn't mind seeing mod2osis work correctly, I'm not personally likely to expend much effort on it.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">--Chris<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">troypulk wrote:<br></blockquote><blockquote type="cite"><blockquote type="cite">Sorry about the attachment, it was only 1.8MB and I was not aware of the 90KB limit.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">But any way, It's obvious that mod2osis is inadequate to produce a proper formatted osis.xml file, here is an example.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Please advice on my options to correctly produce a osis.xml file from a module with our starting from scratch.<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Thanks for your help<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Troy<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&lt;?xml version="1.0" encoding="UTF-8" ?&gt;<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&lt;osis xmlns="<a href="http://www.bibletechnologies.net/2003/OSIS/namespace">http://www.bibletechnologies.net/2003/OSIS/namespace</a>" xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance">http://www.w3.org/2001/XMLSchema-instance</a>" xsi:schemaLocation="<a href="http://www.bibletechnologies.net/2003/OSIS/namespace">http://www.bibletechnologies.net/2003/OSIS/namespace</a> osisCore.2.5.xsd"&gt;<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&lt;osisText osisIDWork="EMTV" osisRefWork="defaultReferenceScheme" xml:lang="en"&gt;<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&lt;header&gt;<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&lt;work osisWork="EMTV"&gt;<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&lt;title&gt;English Majority Text Version&lt;/title&gt;<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&lt;identifier type="OSIS"&gt;Bible.EMTV&lt;/identifier&gt;<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&lt;refSystem&gt;Bible.KJV&lt;/refSystem&gt;<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&lt;/work&gt;<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&lt;work osisWork="defaultReferenceScheme"&gt;<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&lt;refSystem&gt;Bible.KJV&lt;/refSystem&gt;<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&lt;/work&gt;<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&lt;/header&gt;<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Error reading ulBuffNum<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Error reading ulBuffNum<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Error reading ulBuffNum<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&lt;div type="x-testament"&gt;<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&lt;div type="book" osisID="Matt"&gt;<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&lt;chapter osisID="Matt.1"&gt;<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&lt;verse osisID="Matt.1.1"&gt;&lt;verse osisID="Matt.1.1" sID="Matt.1.1"/&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="Matt.1.1"/&gt;&lt;/verse&gt;<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&lt;verse osisID="Matt.1.2"&gt;&lt;verse osisID="Matt.1.2" sID="Matt.1.2"/&gt;Abraham begot Isaac, Isaac begot Jacob, and Jacob begot Judah and his brothers.&lt;verse eID="Matt.1.2"/&gt;&lt;/verse&gt;<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&lt;verse osisID="Matt.1.3"&gt;&lt;verse osisID="Matt.1.3" sID="Matt.1.3"/&gt;Judah begot Perez and Zerah by Tamar, Perez begot Hezron, and Hezron begot Ram.&lt;verse eID="Matt.1.3"/&gt;&lt;/verse&gt;<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&lt;verse osisID="Matt.28.20"&gt;&lt;verse osisID="Matt.28.20" sID="Matt.28.20"/&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="Matt.28.20"/&gt; &lt;/chapter&gt;&lt;/div&gt;&lt;/verse&gt;<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&lt;/chapter&gt;<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&lt;/div&gt;<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&lt;div type="book" osisID="Mark"&gt;<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&lt;chapter osisID="Mark.1"&gt;<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&lt;verse osisID="Mark.1.1"&gt;&lt;verse osisID="Mark.1.1" sID="Mark.1.1"/&gt;THE BEGINNING OF THE GOSPEL OF JESUS CHRIST, THE SON OF GOD.&lt;verse eID="Mark.1.1"/&gt;&lt;/verse&gt;<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&lt;verse osisID="Rev.22.21"&gt;&lt;verse osisID="Rev.22.21" sID="Rev.22.21"/&gt;The grace of the Lord Jesus Christ &lt;hi type="italic"&gt;be&lt;/hi&gt; with all the saints. Amen.&lt;verse eID="Rev.22.21"/&gt; &lt;/chapter&gt;&lt;/div&gt;&lt;/verse&gt;<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&lt;/chapter&gt;<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&lt;/div&gt;<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&lt;/div&gt;<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&lt;/osisText&gt;<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">&lt;/osis&gt;<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">------------------------------------------------------------------------<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">_______________________________________________<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">sword-devel mailing list: <a href="mailto:sword-devel@crosswire.org">sword-devel@crosswire.org</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><a href="http://www.crosswire.org/mailman/listinfo/sword-devel">http://www.crosswire.org/mailman/listinfo/sword-devel</a><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">Instructions to unsubscribe/change your settings at above page<br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">_______________________________________________<br></blockquote><blockquote type="cite">sword-devel mailing list: <a href="mailto:sword-devel@crosswire.org">sword-devel@crosswire.org</a><br></blockquote><blockquote type="cite"><a href="http://www.crosswire.org/mailman/listinfo/sword-devel">http://www.crosswire.org/mailman/listinfo/sword-devel</a><br></blockquote><blockquote type="cite">Instructions to unsubscribe/change your settings at above page<br></blockquote><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">http://www.crosswire.org/mailman/listinfo/sword-devel</a><br>Instructions to unsubscribe/change your settings at above page<br></div></blockquote></div><br></div></body></html>