[sword-devel] Getting Started - Primers and Such

Chris Little chrislit at crosswire.org
Mon Jun 16 15:07:04 MST 2008



Jerold Haas wrote:
> Those in the list:
> 
>     I have been using Windows version of sword project for quite a 
> while, and currently using v1.59. I have noticed what appears to be an 
> XML parsing issue (Psalms 82:2) that appears to have inappropriately 
> inserted raw XML in it. I'm using KJV module. Here's the snippet of XML 
> that I'm seeing:
> 
> *<w savlm="strong:H04210" wn="001">A Psalm</w> <w savlm="strong:H0623" 
> wn="002">of Asaph</w>.* /(full-stop or period included in the text of 
> the parsing error)/
> 
>     These XML mis-parsings are strife among the KJV module, and was 
> wondering if this was a feature not yet implemented in lower-level 
> parsing libs, or if the module itself was not created correctly.

I can't see any of these problems in the Windows frontend (using either 
1.5.11 or 1.5.9). To me, this looks like a .conf problem, so please 
check that you have the latest version of the module. (Using Install 
Manager should work fine to determine this.)

>     Additionally, I have very little of the structure of the SWORD 
> architecture, and would be elated to know if there is / are any 
> documentation or white-sheets on the architecture of the SWORD 
> framework. I realize that there are links on the crosswire website, but 
> haven't been able to find any information.

This might be the closest we have to what you're looking for: 
http://www.crosswire.org/sword/develop/swordapi/apiprimer.jsp

There's really not much, unfortunately.

>     I can read source code, but where can I get a version of 
> Windows-based Sword that I might compile with Visual Studio. Makefiles 
> and some other aspects of the project indicate that I cannot compile in 
> Visual Studio.

There are VC++ projects in \lib\vcppmake. I just updated the project 
file for VC++ 8/9, so you'll have to use the copy in SVN or add the 
missing teihtmlhref.cpp file if you're using the project that ships with 
1.5.11.

--Chris



More information about the sword-devel mailing list