[sword-devel] ERV issues in And Bible

Martin Denham mjdenham at gmail.com
Tue Mar 14 13:48:08 MST 2017


There also seems to be unusual formatting in 1 Chronicles 1 of ERV which
even Xiphos struggles with.

1 Chronicles 1 issues were first reported to me as affecting the HIN2010
module but not the HindiERV module although they 'appear' to have the same
source text.  If we know how these 2 similar modules were generated, and
yet only one has issues, it might help us solve the issues in the ERV, and
also HIN2010.

Martin

On 9 March 2017 at 19:18, David Haslam <dfhmch at googlemail.com> wrote:

> 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.
>
> _______________________________________________
> sword-devel mailing list: sword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20170314/e19cc917/attachment.html>


More information about the sword-devel mailing list