[sword-devel] Commentary module -- no text output
Christopher Adams
christopher.w.adams at gmail.com
Sat Apr 27 14:10:15 MST 2019
I'm trying to create a commentary module for Xiphos on Windows. I've
created a sample commentary for John chapter 1, with a sample .conf file,
and successfully used osis2xml on it. Xiphos recognizes the module as a
commentary, but when I turn to the verse, there is no output text. I've
gone back over the 'sworddevel' archives for the past 2 years but couldn't
find any related information. (I couldn't find any way to search the
archives, either; if there is relevant information further back, I would
appreciate it if someone could direct me to the right year & month.) Would
someone please look over the text (pasted below), and let me know if I'm
missing anything, or done anything wrong?
Thank-you,
Chris Adams
===========
XML File:
===========
<?xml version="1.0"?>
-<xml version="1.0" encoding="UTF-8">
<osis xmlns:xsischemaLocation="
http://www.bibletechnologies.net/2003/OSIS/namespace" xmlns:xsi="
http://www.w3.org/2001/XMLSchema-instance" xmlns:osis="
http://www.bibletechnologies.net/2003/OSIS/namespace" xmlns:ns="
http://www.bibletechnologies.net/2003/OSIS/namespace"/>
<header>{HEADER}</header>
<div type="section" annotateType="commentary"
annotateRef="JHN.1.1">TESTING</div>
<div type="section" annotateType="commentary"
annotateRef="JHN.1.2">TESTING</div>
<div type="section" annotateType="commentary"
annotateRef="JHN.1.3">TESTING</div>
...
</xml>
===========
.conf file:
===========
[testingxml.xml]
DataPath=.\modules\comments\RawCom\test\nt.vss
ModDrv=RawCom
SourceType=OSIS
Lang=en
Description=Test Commentary
About=Test Commentary on John 1
Books with commentary:\par \
John\par
Version=1.0
Encoding=UTF-8
LCSH=Bible--Commentaries.
GlobalOptionFilter=UTF8GreekAccents
DistributionLicense=Public Domain
TextSource=Sample
Category=Commentaries
OSISVersion=2.1.1
MinimumVersion=1.5.9
SwordVersionDate=2008-01-01
InstallSize=5
<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Virus-free.
www.avg.com
<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20190427/644767c9/attachment.html>
More information about the sword-devel
mailing list