[sword-devel] usfm2osis.py

Greg Hellings greg.hellings at gmail.com
Wed Sep 26 15:15:19 MST 2012


I just tried to switch over to using usfm2osis.py and there are two
minor issues:

1) The script is giving me an output language on the container tag of
xml:lang="und". This should read xml:lang="tke" but I don't know if
it's possible to determine that. I'd like to be able to set that as a
command-line option if possible.

2) I'm getting a whole bunch of XML validation problems triggered by
<item type="x-indent-^A" subType="x-introduction">...

The ^A character (Displayed on the command line as [0d/01] missing
character box) is apparently invalid XML in that spot and causes the
file to be all garbled from later XML parsing documents. I'm not sure
how it's getting in there other than from seeing the instances of
x-indent in the script. I think you still have access to the files I'm
using if you want to see for yourself where it's coming from.


More information about the sword-devel mailing list