Status: Resolved (View Workflow)
Windows 7 (x64): using osis2mod.exe: $Rev: 2562 $
During my work on the Hakha Version from Myanmar Bibles,
I encountered a very strange symptom even though the OSIS XML file is valid:
FATAL(NESTING): Rev.22.21: Expected osis found osisText
FATAL(NESTING): Rev.22.21: Expected osisText found osis
The lines at the end of the XML file are all correct, thus:
Using the debug option -d 256, I have traced the issue to the presence of a large number of XML comment lines.
After Rev.22.21, between the </chapter> tag and the above four lines, there were 13 XML comments.
Removing all 3775 comments from the XML file made the problem disappear.
This observation was made while making a rawtext module.
The source text file was validated using XML Copy Editor.