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'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"><<a href="mailto:troypulk@yahoo.com">troypulk@yahoo.com</a>></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'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><?xml version="1.0" encoding="UTF-8" ?>
<br>
<br><osis xmlns=<a href="http://www.bibletechnologies.net/2003/OSIS/namespace" target="_blank">"http://www.bibletechnologies.net/2003/OSIS/namespace"</a>
xmlns:xsi=<a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank">"http://www.w3.org/2001/XMLSchema-instance"</a>
xsi:schemaLocation="<a href="http://www.bibletechnologies.net/2003/OSIS/namespace" target="_blank">http://www.bibletechnologies.net/2003/OSIS/namespace</a>
osisCore.2.5.xsd">
<br>
<br><osisText osisIDWork="EMTV" osisRefWork="defaultReferenceScheme"
xml:lang="en">
<br>
<br><header>
<br><work osisWork="EMTV">
<br><title>English Majority Text Version</title>
<br><identifier type="OSIS">Bible.EMTV</identifier>
<br><refSystem>Bible.KJV</refSystem>
<br></work>
<br><work osisWork="defaultReferenceScheme">
<br><refSystem>Bible.KJV</refSystem>
<br></work>
<br></header>
<br>
<br>Error reading ulBuffNum
<br>Error reading ulBuffNum
<br>Error reading ulBuffNum
<br><div type="x-testament">
<br><div type="book" osisID="Matt">
<br>
<br><chapter osisID="Matt.1">
<br><verse osisID="Matt.1.1"><verse osisID="Matt.1.1" sID="Matt.1.1"/>The
book<note><catchWord>book</catchWord> biblos, Gk.: (noun) <q>An inner
rind of papyrus used for paper. Originally, the cellular substance in
papyrus stems that the Egyptians turned into a kind of <q>paper</q>, by
fixing narrow strips vertically, and then sticking horizontal ones on
top. The English word Bible is derived from the plural biblion, the
books.</q></note> of the genealogy of Jesus Christ, the Son of David,
the Son of Abraham:<verse eID="Matt.1.1"/></verse>
<br>
<br><verse osisID="Matt.1.2"><verse osisID="Matt.1.2"
sID="Matt.1.2"/>Abraham begot Isaac, Isaac begot Jacob, and Jacob begot
Judah and his brothers.<verse eID="Matt.1.2"/></verse>
<br>
<br><verse osisID="Matt.1.3"><verse osisID="Matt.1.3" sID="Matt.1.3"/>Judah
begot Perez and Zerah by Tamar, Perez begot Hezron, and Hezron begot
Ram.<verse eID="Matt.1.3"/></verse>
<br>
<br><verse osisID="Matt.28.20"><verse osisID="Matt.28.20"
sID="Matt.28.20"/>teaching them to observe everything that I have
commanded you; and lo, I am with you always, even to the end of the
age.</q> Amen.<verse eID="Matt.28.20"/> </chapter></div></verse>
<br>
<br></chapter>
<br></div>
<br><div type="book" osisID="Mark">
<br>
<br><chapter osisID="Mark.1">
<br><verse osisID="Mark.1.1"><verse osisID="Mark.1.1" sID="Mark.1.1"/>THE
BEGINNING OF THE GOSPEL OF JESUS CHRIST, THE SON OF GOD.<verse
eID="Mark.1.1"/></verse>
<br>
<br><verse osisID="Rev.22.21"><verse osisID="Rev.22.21" sID="Rev.22.21"/>The
grace of the Lord Jesus Christ <hi type="italic">be</hi> with all the
saints. Amen.<verse eID="Rev.22.21"/> </chapter></div></verse>
<br>
<br></chapter>
<br></div>
<br></div>
<br></osisText>
<br></osis>
</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>