Hi all. I've got problems with Sword 1.5.11, which seem not to be present with 1.5.9.
[EMAIL PROTECTED]:/home/dev/sword/examples/cmdline$ ./lookup ESV "3Joh 1:1" ==Raw=Entry=============== III John 1:1: <title subType="x-preverse" type="section">Greeting</title><note n="a" osisID="3John.1.1!crossReference.a" osisRef="3John.1.1" type="crossReference"><reference osisRef="2John.1.1">2 John 1</reference></note>The elder to the beloved Gaius, <note n="b" osisID="3John.1.1!crossReference.b" osisRef="3John.1.1" type="crossReference"><reference osisRef="1John.3.18">1 John 3:18</reference>; <reference osisRef="2John.1.1">2 John 1</reference></note>whom I love in truth. <lb type="x-end-paragraph"/> <lb type="x-begin-paragraph"/> ==Render=Entry============ <a href="passagestudy.jsp?action=showNote&type=x&value=1&module=ESV&passage=III+John+1%3A1"><small><sup>*x</sup></small></a>The elder to the beloved Gaius, <a href="passagestudy.jsp?action=showNote&type=x&value=2&module=ESV&passage=III+John+1%3A1"><small><sup>*x</sup></small></a>whom I love in truth. <br /><br /> ========================== (Output from Sword SVN, seems to be same behaviour as 1.5.11) Please look at how the <reference> tags inside the <note> tag disappear in the rendered output. At BibleTime, we use an OSISHTMLHREF descendant class for the filtering of some tags. Now it seems that handleToken() does not even get called for the <reference> and </reference> tags. One call is for <note>, and the next already for </note>. Their content is skipped. This does not seem to be the case with Sword 1.5.9, but I could not find out what causes this. Can somebody please help? And should this be a bug, can a maintenance version be released fixing it? Thanks, mg _______________________________________________ sword-devel mailing list: sword-devel@crosswire.org http://www.crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page