[sword-devel] Release 1.5.8 and the NASB

Chris Little chrislit at crosswire.org
Mon Apr 4 22:25:35 MST 2005

Uh... this isn't OSIS--not by a long shot. The points you raise are 
entirely correct.

It's my sincere hope that this is from an old version of the module or 

DM Smith wrote:
> According to the conf for NASB, the words of Christ can be in red. But I 
> don't see it and I think I know why. I am not sure whether this is a 
> problem with NASB or with 1.5.8. I think it is a module problem, but 
> perhaps 1.5.8 should be made to accommodate.
> Take Matthew 5.5. It is encoded:
> <title subType="x-Section" subtype="x-preverse" type="section">Disciples 
> and the World</title><milestone type="x-RS"/>“<w lemma="strong:G217">You 
> are the salt</w> <w lemma="strong:G1093">of the earth</w>; but <note 
> type="crossReference" osisID="Matt.5.13.xref.A" n="A"><reference 
> osisRef="Mark.9.50">Mark 9:50</reference>; <reference 
> osisRef="Luke.14.34">Luke 14:34f</reference></note><w 
> lemma="strong:G1437">if</w> <w lemma="strong:G217">the salt</w> <w 
> lemma="strong:G3471">has become</w> <w 
> lemma="strong:G3471">tasteless</w>, <w lemma="strong:G1722 
> strong:G5101">how</w> <note type="explanation" osisID="Matt.5.13.note.1" 
> n="1">Lit <hi type="italic">will</hi></note><w lemma="strong:G233">can 
> it be made</w> <w lemma="strong:G233">salty</w> <transChange 
> type="added">again</transChange>? <w lemma="strong:G3762">It is no</w> 
> <w lemma="strong:G2089">longer</w> <w lemma="strong:G2480">good</w> <w 
> lemma="strong:G3762">for anything</w>, <w 
> lemma="strong:G1508">except</w> <w lemma="strong:G906">to be thrown</w> 
> <w lemma="strong:G2662">out and trampled</w> <w 
> lemma="strong:G2662">under</w> <w lemma="strong:G2662">foot</w> <w 
> lemma="strong:G444">by men</w>.<milestone type="x-RT"/><milestone 
> type="line" subType="x-PM"/>
> In this you will note the following:
> 1) Quotes are not tagged, but literal characters. If I remember 
> correctly, OSIS 2.0 postulates that quotes should not be in the text, 
> but in the markup. (I'm not trying to start the "How should quotes be 
> encoded" flame wars again.)

<q who="Jesus">....</q> is used to mark words of Christ. (The <q> part 
is standard. The "Jesus" part is basically ad hoc, but it's used by Sword.)

> 2) While milestone-start and milestone-end were deprecated a while ago 
> and have been removed from OSIS, the NASB has creatively gone around 
> this: It is using the type attribute as a way of marking the start and 
> the end of Red Letter text: type="x-RS" for the start and type="x-RT" 
> for the end.

Yeah. If you want to horribly abuse OSIS, you should at least use <seg> 
to do it. :)

> Also, unrelated to the Red Letter problem, the NASB uses <milestone 
> type="line" subType="x-XX"/> for line breaks that should show up in the 
> display of the text. According to OSIS milestone of type="line" are to 
> represent line breaks in the original manuscript and should not be used 
> to mark up poetry. It appears that is what is going on here. This can 
> also be seen in the Psalms with a frequent subType of x-PO.
> The reason I bring this up: Should Sword change to accommodate NASB? Or 
> should NASB (possibly as it is encoded into a module) change?

Sword should change to accomodate OSIS, and the NASB (module) should 
change to conform to OSIS. Again... the above is not OSIS. You can 
encode documents that validate against the OSIS schema using only <div> 
and <seg>, but that doesn't make them OSIS.

> Earlier today the NASB was provided as an example of how to encode OSIS. 
> Does this still hold?

It should not. Not if it's the source document of the above markup.


More information about the sword-devel mailing list