mvnForum Homepage


Posted by dmsmith at Aug 4, 2008 2:17:25 PM
Re: Need Help with Module Utilities
osis2mod.exe is complaining that a bunch of stuff is not well formed.


This complaint is issued for verses that are not well-formed. This typically happens when the milestoned version of the verse element is used as in:
<verse sID="xxxx" osisID="Gen.1.5"/>
....
</div>
<div type="section">
.....
<verse eID="xxxx" osisID="Gen.1.5"/>

The other thing that often happens is an improper encoding of osis where the container starts between verses and ends within a verse at the end. Or starts within a verse at the beginning and ends outside a verse. E.g.
<verse sID="xxxx" osisID="Gen.1.5"/>
....
</div>
<verse eID="xxxx" osisID="Gen.1.5"/>

This should be:
<verse sID="xxxx" osisID="Gen.1.5"/>
....
<verse eID="xxxx" osisID="Gen.1.5"/>
</div>

Likewise:
<verse sID="xxxx" osisID="Gen.1.5"/>
<div type="section">
.....
<verse eID="xxxx" osisID="Gen.1.5"/>

should be:
<div type="section">
<verse sID="xxxx" osisID="Gen.1.5"/>
.....
<verse eID="xxxx" osisID="Gen.1.5"/>


At the moment osis2mod expects a priority on Book/Chapter/Verse (BCV) and not on Book/Chapter/Section/Paragraph (BCSP). This is because most front-ends are geared toward BCV and cannot handle verses that are not self-contained. These warnings mean that there is one or more front-ends that cannot handle the problem verse as encoded.

We suggest that as a temporary work around that xslt be used to transform BCSP into milestoned versions of the elements. (You don't need to do that with paragraphs as osis2mod already handles those).

We will be improving osis2mod to normalize BCSP into BCV modules. At that time the warnings will go away.

(I don't have answers to your other comments.)