[sword-devel] Commentary module -- no text output

Troy A. Griffitts scribe at crosswire.org
Sat Apr 27 14:16:16 MST 2019


You datapath needs to use forward slashes.

On 4/27/19 2:10 PM, Christopher Adams wrote:
> 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>
>
>
>
> _______________________________________________
> 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/20190427/d42d222b/attachment-0001.html>


More information about the sword-devel mailing list