[osis-core] almost got a text ready

Troy A. Griffitts osis-core@bibletechnologieswg.org
Mon, 09 Sep 2002 17:46:41 -0700


ok, I'm getting a strange error from Sun's validator and have a few 
final questions before finalizing my first OSIS text to send ABS to use 
as an example.


1) Seems I don't know where in the xml file to specify that I'm using 
osisCore.1.1.xsd

2) title doesn't seem to like living in work

3) what booknames should I use?  I've still got the "_2cor" type names 
and I'm pretty sure we've changed them to something like "2Cor"

4) I couldn't use spaces to separate my list of attribute values on some 
of <w>'s attributes, so I've '|' separated them.  Not sure if this is 
ok, but it validates :)

5) Actually, I NEED spaces for some of <w>'s attributes, eg. were an 
english gloss might be 2 words.


I have an entire KJV module with footnotes, lemmas, and morphology about 
ready to go except for these things.  Here's my session from sun's 
validator, and the first few lines of the file follow.





[scribe@troyslaptop osis]$ java -jar msv.jar osisCore.1.1.xsd kjv.xml
start parsing a grammar.
validating kjv.xml
Error at line:3, column:113 of file:///space/home/scribe/osis/kjv.xml
   unexpected attribute "xsi:noNamespaceSchemaLocation"

Error at line:10, column:11 of file:///space/home/scribe/osis/kjv.xml
   tag name "title" is not allowed. Possible tag names are: 
<coverage>,<identifier>,<language>,<refSystem>,<relation>,<source>

the document is NOT valid.
[scribe@troyslaptop osis]$
[scribe@troyslaptop osis]$ head -25 kjv.xml
<?xml version="1.0" encoding="UTF-8" ?>

<osis xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance" 
xsi:noNamespaceSchemaLocation="osisCore.1.1.xsd">

<osisText osisIDWork="KJV" osisRefWork="defaultReferenceScheme">

	<header>
		<work osisWork="KJV">
			<identifier type="OSIS">KJV</identifier>
			<title>King James Version of 1769 with Strongs Numbers</title>
			<language>en</language>
			<refSystem>Bible.KJV</refSystem>
		</work>
		<work osisWork="defaultReferenceScheme">
			<identifier type="OSIS">Bible.KJV</identifier>
		</work>
	</header>

	<div type="testament">

	<div type="book" osisID="Gen">

	<div type="chapter" osisID="Gen.1">
		<verse osisID="Gen.1.1"><w lemma="x-Strong:H07225">In the 
beginning</w> <w lemma="x-Strong:H0430">God</w> <w 
morph="x-StrongsMorph:TH8804" 
lemma="x-Strong:H0853|x-Strong:H01254">created</w> <w 
lemma="x-Strong:H08064">the heaven</w> <w lemma="x-Strong:H0853">and</w> 
<w lemma="x-Strong:H0776">the earth</w>.</verse>
		<verse osisID="Gen.1.2"><w lemma="x-Strong:H0776">And the earth</w> <w 
morph="x-StrongsMorph:TH8804" lemma="x-Strong:H01961">was</w> <w 
lemma="x-Strong:H08414">without form</w>, <w lemma="x-Strong:H0922">and 
void</w>; <w lemma="x-Strong:H02822">and darkness</w> was <w 
lemma="x-Strong:H06440">upon the face</w> <w lemma="x-Strong:H08415">of 
the deep</w>. <w lemma="x-Strong:H07307">And the Spirit</w> <w 
lemma="x-Strong:H0430">of God</w> <w morph="x-StrongsMorph:TH8764" 
lemma="x-Strong:H07363">moved</w> <w lemma="x-Strong:H05921">upon</w> <w 
lemma="x-Strong:H06440">the face</w> <w lemma="x-Strong:H04325">of the 
waters</w>.</verse>[scribe@troyslaptop osis]$