[sword-devel] osis2mod and NT heading?

David Haslam dfhmch at googlemail.com
Fri Dec 3 09:20:07 MST 2010

Is there a bug perhaps in the way that osis2mod processes the bookGroup title
for the New Testament?

I have a valid OSIS XML file which uses BCV structure, with the body content
modeled according to the example shown 
http://crosswire.org/wiki/OSIS_Bibles#Body here  in the wiki.

The start of the NT division is coded like this<div type="bookGroup">
<title>El Nuevo Testamento</title>
<div type="book" osisID="Matt">
<title type="main">El Santo Evangelio según Mateo</title>
<chapter osisID="Matt.1">
<title type="chapter">Mateo 1</title>
<verse osisID="Matt.1.1">
El libro de la generación de Jesucristo, hijo de David, hijo de Abraham.
</verse>When displayed in Xiphos, the title El Nuevo Testamento is appended
to the last verse of Malachi 4.

Running mod2imp on the module that I made outputs a raw IMP file containing
the following lines: $$$Malachi 4:6
Él convertirá el corazón de los padres hacia los hijos, y el corazón de los
hijos hacia los padres; no sea que yo venga y hiera la tierra con maldición. 
<chapter eID="gen24108" osisID="Mal.4"/> <div eID="gen24055" osisID="Mal"
type="book"/> <div eID="gen1" type="bookGroup"/> <div sID="gen24115"
type="bookGroup"/> <title>El Nuevo Testamento</title>
$$$[ Testament 2 Heading ]
<milestone type="x-importer" subType="x-osis2mod" n="$Rev: 2562 $"/>
$$$Matthew 0:0
<div osisID="Matt" sID="gen24116" type="book"/> <title type="main">El Santo
Evangelio según Mateo</title>
$$$Matthew 1:0
<chapter osisID="Matt.1" sID="gen24117"/> <title type="chapter">Mateo
$$$Matthew 1:1
El libro de la generación de Jesucristo, hijo de David, hijo de Abraham.
Observe that 
$$$[ Testament 2 Heading ]
occurs AFTER the second bookGroup title rather than BEFORE, which strongly
suggests that the module was made incorrectly.

I was running osis2mod: $Rev: 2562 $ 
downloaded from 

Has this been observed by anyone else? 
Is this a known bug that has already been fixed by a later version?

Best regards,
View this message in context: http://sword-dev.350566.n4.nabble.com/osis2mod-and-NT-heading-tp3071316p3071316.html
Sent from the SWORD Dev mailing list archive at Nabble.com.

More information about the sword-devel mailing list