[sword-devel] OSIS importer & sample docs available

Chris Little sword-devel@crosswire.org
Sat, 15 Feb 2003 12:50:07 -0700 (MST)

On Sat, 15 Feb 2003, Mike R wrote:

> I tried Donne's Devotions.  None of the h1, h2, h3, h4, or h5's showed up (it 
> uses <title type="x-hX" osisID="blah"> </title> for the headings, where 1 <= 
> X <= 5).  Perhaps the reason why I saw nothing was because, as you said, the 
> markup isn't filtered yet, hehe :)

Yeah, it's just because it isn't filtered yet.  However, when it is 
filtered, the "x-hX" part will be ignored.  The x- indicates a 
non-standard value.  These are just XHTML tags retained in OSIS and have 
no semantic value in OSIS.  Sword will probably not recognize any 
non-standard uses of OSIS unless they've been discussed by BTG as 
preferred ways of expressing things in lieu of an official form.  A lot of 
the ThML->OSIS conversion might become more standardized once OSIS 
develops a publication/display markup module.

> So is SWORD going to support OSIS better than ThML?  Because I have to do 
> extensive editing to a stock ThML file from CCEL to get SWORD and BibleTime 
> to display it correctly...

We will probably handle everything in OSIS, in one way or another, as well
as we can.  Nothing works currently.  If you test modules at the moment in
BibleTime, it won't filter anything, so any tags that happen to coincide
with HTML tags will appear to work.  Once a filter is in place, these will
either be handled or stripped.  So if you do any editing of OSIS
documents, adding <H*> tags, etc., you may be making invalid OSIS that
will just be stripped by the filters later on.