[osis-core] OsisRef problem

Troy A. Griffitts osis-core@bibletechnologieswg.org
Thu, 26 Sep 2002 13:11:13 -0700


Here's what we are using, taken from SBL handbook, and modified to our 
agreed-upon syntax of 'numbered' books.  Please excuse the code snippet:

      static char *osisotbooks[] = {
 
"Gen","Exod","Lev","Num","Deut","Josh","Judg","Ruth","1Sam","2Sam",
                "1Kgs","2Kgs","1Chr","2Chr","Ezra","Neh","Esth","Job","Ps",
                "Prov",        // added this.  Was not in OSIS spec
                "Eccl",
 
"Song","Isa","Jer","Lam","Ezek","Dan","Hos","Joel","Amos","Obad",
 
"Jonah","Mic","Nah","Hab","Zeph","Hag","Zech","Mal","Bar","PrAzar",
 
"Bel","Sus","1Esd","2Esd","AddEsth","EpJer","Jdt","1Macc","2Macc","3Macc",
                "4Macc","PrMan","Ps151","Sir","Tob","Wis"};
      static char *osisntbooks[] = {
 
"Matt","Mark","Luke","John","Acts","Rom","1Cor","2Cor","Gal","Eph",
 
"Phil","Col","1Thess","2Thess","1Tim","2Tim","Titus","Phlm","Heb","Jas",
                "1Pet","2Pet","1John","2John","3John","Jude","Rev"};


Todd Tillinghast wrote:
> Patrick and/or Chris,
> 
> Do you have a list of the Bible book names?  It would be good for at
> least documents created by OSIS core working group members to use the
> "recommended" Bible book names.
> 
> I can dig them out of an old schema, but there were a couple of
> corrections made to the list over time and was hoping you had a
> "corrected" and up to date list.  
> 
> Todd
> 
> 
> 
>>-----Original Message-----
>>From: owner-osis-core@bibletechnologieswg.org [mailto:owner-osis-
>>core@bibletechnologieswg.org] On Behalf Of Harry Plantinga
>>Sent: Thursday, September 26, 2002 12:03 PM
>>To: osis-core@bibletechnologieswg.org
>>Subject: RE: [osis-core] OsisRef problem
>>
>>One document that exhibits such problems is
>>
>>http://www.ccel.org/ccel/baxter/pastor.osis
>>
>>You can open the URL directly in XML spy.  By the way,
>>we tested it in the (30-day free trial version of) XML
>>Spy Pro.
>>
>>An offending element:
>>
>><reference osisRef="Bible:Galatians.2.11
> 
> Bible:Galatians.2.14">Galatians
> 
>>2.11,14</reference>
>>
>>[Note that I don't yet have a list of approved book abbreviation
>>names; I'm just using full names.]
>>
>>-Harry
>>
>>
>>
>>>-----Original Message-----
>>>From: owner-osis-core@bibletechnologieswg.org
>>>[mailto:owner-osis-core@bibletechnologieswg.org] On Behalf Of
>>>Patrick Durusau
>>>Sent: Thursday, September 26, 2002 1:35 PM
>>>To: osis-core@bibletechnologieswg.org
>>>Subject: Re: [osis-core] OsisRef problem
>>>
>>>
>>>Harry,
>>>
>>>Can you forward just a snippet sufficient to duplicate the
>>>problem? Not
>>>sure why XML Spy would be choking on the attribute value.
>>>
>>>Will probably be upgrading to the "Professional" version this
>>>weekend so
>>>I can let  you know if it is a version specific problem. (I
>>>will try to
>>>duplicate the problem before and after I upgrade.)
>>>
>>>Patrick
>>>
>>>Harry Plantinga wrote:
>>>
>>>
>>>>We're just about there in creating valid OSIS documents in
>>>
>>>conversion
>>>>from ThML documents.
>>>
>>>>The problem we are still having is in creating osisRefs that
>>>
>>>the schema
>>>
>>>>will accept.  We're doing something like this:
>>>>
>>>>osisRef="Bible:Matt.1.3 Bible:Matt.1.4"
>>>>
>>>>The XML Spy parser seems to choke on such things.
>>>>
>>>>What should I be doing?
>>>>
>>>>-Harry
>>>>
>>>
>>>--
>>>Patrick Durusau
>>>Director of Research and Development
>>>Society of Biblical Literature
>>>pdurusau@emory.edu
>>>
>>>
>>>
>>
>