[sword-devel] ERV issues in And Bible
David Haslam
dfhmch at googlemail.com
Thu Mar 9 12:18:02 MST 2017
The transformations made by *osis2mod* actually insert line break elements in
the form *<lb/>* in many places.
This aspect of the "under the hood" transformations is not documented in our
wiki page!
So even when I removed from the XML file all the line break elements in the
form *<lb />* before I rebuilt the module without them, the resulting
*mod2imp* output includes all the line break elements added by *osis2mod*.
The total number of <lb/> added thus and hence found the IMP file was 1342.
When I did a search of the IMP file for the following regexp, there were
exactly 103 matches.
^.+<div type="x-milestone" subType="x-preverse" sID="pv\d+"/><lb/>
The same count as the number of unequal counts in my Excel analysis.
These are for when the milestone div element is
(a) not at the start of a line, and
(b) immediately succeeded by an added *<lb/>* element
Moreover, there are simply no delinquent div elements that are not succeeded
by one of these.
These are the *duplicate* /preverse milestone/ div elements that should not
have been made during module build.
The proper ones that follow in a subsequent verse are all located at the
start of a line,
immediately after the IMP format $$$Reference line.
Best regards,
David
--
View this message in context: http://sword-dev.350566.n4.nabble.com/ERV-issues-in-And-Bible-tp4656923p4656946.html
Sent from the SWORD Dev mailing list archive at Nabble.com.
More information about the sword-devel
mailing list