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 http://www.crosswire.org/~ghellings/mod2osis/ 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.
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! --Greg On Wed, Apr 14, 2010 at 8:07 PM, troypulk <troyp...@yahoo.com> wrote: > Sorry about the attachment, it was only 1.8MB and I was not aware of the > 90KB limit. > > But any way, It's obvious that mod2osis is inadequate to produce a proper > formatted osis.xml file, here is an example. > > Please advice on my options to correctly produce a osis.xml file from a > module with our starting from scratch. > > Thanks for your help > > Troy > > <?xml version="1.0" encoding="UTF-8" ?> > > <osis > xmlns="http://www.bibletechnologies.net/2003/OSIS/namespace"<http://www.bibletechnologies.net/2003/OSIS/namespace>xmlns:xsi= > "http://www.w3.org/2001/XMLSchema-instance"<http://www.w3.org/2001/XMLSchema-instance>xsi:schemaLocation=" > http://www.bibletechnologies.net/2003/OSIS/namespace osisCore.2.5.xsd"> > > <osisText osisIDWork="EMTV" osisRefWork="defaultReferenceScheme" > xml:lang="en"> > > <header> > <work osisWork="EMTV"> > <title>English Majority Text Version</title> > <identifier type="OSIS">Bible.EMTV</identifier> > <refSystem>Bible.KJV</refSystem> > </work> > <work osisWork="defaultReferenceScheme"> > <refSystem>Bible.KJV</refSystem> > </work> > </header> > > Error reading ulBuffNum > Error reading ulBuffNum > Error reading ulBuffNum > <div type="x-testament"> > <div type="book" osisID="Matt"> > > <chapter osisID="Matt.1"> > <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> > > <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> > > <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> > > <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> > > </chapter> > </div> > <div type="book" osisID="Mark"> > > <chapter osisID="Mark.1"> > <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> > > <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> > > </chapter> > </div> > </div> > </osisText> > </osis> > > _______________________________________________ > 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 >
_______________________________________________ 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