Earlier there was an extensive thread on what the OSIS purpose of the 
divineName tag. It was stated that type="x-yhwh" was redundant as all 
uses were only for replacing the tetragammon with God, El, Lord, ....

For this reason the KJV does not use the type attribute.

Also, the form of the content of the <divineName> tag should be the word 
in Title case not ALL CAPS. It should be up to the filter to render it 
appropriately. In HTML this could be small-caps. BibleDesktop uses all 
caps. BibleCS converts it to a pseudo small-caps, converting it all to 
caps and changing the font size for the second and following letters.

Eeli Kaikkonen wrote:
> On Mon, 19 Mar 2007, Barry Drake wrote:
>
>   
>> Hi there ........
>>
>> Someone just reported a problem on NETtext as displayed in BibleTime.
>> The example they gave was the <DivineName> markup not being
>> appropriately interpreted - Psalm 103:6 was their example.  The same
>> thing seems to happen in BibleCS.  Is this a backend problem as it
>> doesn't occur in BibleDesktop?
>>     
>
> The problem is in osis -> html translator, in BibleTime it's
> bt_osishtml.cpp. There is:
>
> addTokenSubstitute("divineName", "<span
> class=\"name\"><span class=\"divine\">");
>       addTokenSubstitute("/divineName", "</span></span>");
>
> It should be addTokenSubstitute("divineName type=\"x-yhwh\"", "<span
> etc.
>
> However, that is a more general problem with Sword swbasicfilter. It
> doesn't take into account different attributes but uses the given tag
> string literally. If there is a tag which may have different attributes,
> you have to expicitly add them all with addTokenSubstitute. Maybe a new
> method would be good idea. It would substitue all similar tags
> regardless of attributes. Or, if it is clear that all markup variants or
> modules have only tags with limited attributes, then the osis -> html
> filter has to substitute them all.
>
>
>   Yours,
>       Eeli Kaikkonen (Mr.), Oulu, Finland
>       e-mail: [EMAIL PROTECTED] (with no x)
>
> _______________________________________________
> 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
>
>   


_______________________________________________
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

Reply via email to