Details
-
Type:
Bug
-
Status:
Open
(View Workflow)
-
Priority:
Major
-
Resolution: Unresolved
-
Component/s: Module creation
-
Labels:None
-
Environment:
N/A
Description
The recently released Turkish Bible module TurNTB has numerous misplaced titles.
In every case, the titles are shifted to before the verse previous to where they should appear.
The root cause lies in the CrossWire hosted script used for pre-processing from USFM to OSIS and the subsequent script to fix the titles by adding the the attribute subType="x=preverse".
Because usfm2osis.pl locates the title elements before the eID milestone of the previous verse, the subsequent addition of the x-preverse attribute then causes them to be handled by SWORD or JSword for display before that verse.
The solution would be to fix the usfm2osis.pl script such that after conversion of USFM title tags to OSIS, the XML title elements are also shifted to be located after the sID milestone for the verse they properly belong to. That would ensure that the subsequent addition of the x-preverse attribute would cause them to be displayed in the correct location.
The simplest example that illustrates this issue is in Psalm 119, where all but one of the acrostic titles are misplaced.
The worst example is for Psalm 18, which has multiple titles in the USFM file. These are all misplaced such that they appear before the last verse of Psalm 17.
Seeing as the cause of this issue lies in the preprocessing scripts, it's conceivable that it also affects other modules that were prepared using the same tools.
Psalm 119 in Xiphos