[osis-core] Trial encoding of TEV version of Matthew 13. Please read questions and issues.

Todd Tillinghast osis-core@bibletechnologieswg.org
Wed, 5 Jun 2002 01:16:29 -0500


This is a multi-part message in MIME format.

------=_NextPart_000_002D_01C20C2E.9ECCDC50
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit



I have attempted encoding the TEV version of Matt.13 which has a fair amount
of overlapping.  The sample encoded file and a modified schema are attached.
Here are some issues. (NOTE: the attached schema is NOT an official release
but is needed for the attached file to be valid

Issue 1) How do we state the verseID of a partial verse?  Do we use the
grain?
Not that I used grain.  Comments?  Is style required?


Issue 2) We have accounted for overlapping hierarchies between verse and
other elements as long as the VERSE gets split when there is a conflict.  If
the verse element is kept UNSPLIT, then elements like paragraph need to be
split and paragraph would need to be a child of verse.  This option seems
ugly but will likely be preferred to the BCV oriented users.  (Same thing
would be true for an other elements that a verse spans including div!  Do we
want div as a child of verse?  If the answer is NO then it would seem that
we should say that verse always gets split. Which is not complimentary to
the BCV orientation.)

Must the verse element always be split when there are conflicting
hierarchies?
Are there similar cases for <div> elements as chapters?


Issue 3) Overlapping hierarchies that do not involve a BCV hierarchy
conflict.
Sub Issue 3a) Block quote overlapping with both div and paragraph.
Option 1: Break up the Div and Paragraph at the start of the BlockQuote and
have only one break.
Option 2: Break the BlockQuote up into Paragraph size pieces.  (This makes
the most sense to  me.)
Trouble with both options:  What do we put in the next/prev?

Sub Issue 3b) LineGroup, BlockQuote, Line, and Verse.
Break Verse Up Strategy: Break up the verse into line size pieces and the
hierarchy works  nicely.
Maintain Verse integrity strategy: Break the LineGroup into two verse driven
pieces.  (This  seems a little uglier.) (See prev post)

Issue 4) What value should be in next/prev for elements that are not verse?
(BlockQuote, p, lineGroup, line, div, etc...)

(I created a block illustration of the various elements/hierarchies in
Matthew 13 in Visio. If anyone is interested I could send it or create a
JPEG version.)

Todd

------=_NextPart_000_002D_01C20C2E.9ECCDC50
Content-Type: text/xml;
	name="Matt13NewB.xml"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="Matt13NewB.xml"

<?xml version=3D"1.0" encoding=3D"UTF-8"?>
<!-- edited with XML Spy v4.3 U (http://www.xmlspy.com) by Todd =
Tillinghast (private) -->
<osis xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance" =
xsi:noNamespaceSchemaLocation=3D"osisCore_1test10a.xsd">
	<header/>
	<osisCorpus>
		<osisText>
			<body>
				<div>
					<title>The Gospel according to Matthew</title>
					<div cite=3D"Matt.13">
						<div cite=3D"Matt.13.1-Matt.13.9">
							<title>The Parable of the Sower<reference =
cite=3D"Mark.4.1-Mark.4.9"/>
								<reference cite=3D"Luke.8.4-Luke.8.8"/>
							</title>
							<p cite=3D"Matt.13.1-Matt.13.3">
								<verse verseID=3D"Matt.13.1">That same day Jesus left the house =
and went to the lakeside, where he sat down to teach.</verse>
								<verse verseID=3D"Matt.13.2">
									<note type=3D"x-xref" cite=3D"Matt.13.2-Matt.13.2">
										<note type=3D"x-link">
											<reference cite=3D"Luke.5.1-Luke.5.3"/>
										</note>
									</note> The crowd that gathered around him was so large that he =
got into a boat and sat in it, while the crowd stood on the =
shore.</verse>
								<verse verseID=3D"Matt.13.3" next=3D"Matt.13.3@char:43(Once)">He =
used parables to tell them many things.</verse>
							</p>
							<p cite=3D"Matt.13.3@char:43:(Once)-Matt.13.8">
								<blockQuote>
									<verse verseID=3D"Matt.13.3@char:43(Once)" =
prev=3D"Matt.13.3">Once there was a man who went out to sow =
grain.</verse>
									<verse verseID=3D"Matt.13.4">As he scattered the seed in the =
field, some of it fell along the path, and the birds came and ate it =
up.</verse>
									<verse verseID=3D"Matt.13.5">Some of it fell on rocky ground, =
where there was little soil. The seeds soon sprouted, because the soil =
wasn't deep.</verse>
									<verse verseID=3D"Matt.13.6">But when the sun came up, it =
burned the young plants; and because the roots had not grown deep =
enough, the plants soon dried up.</verse>
									<verse verseID=3D"Matt.13.7">Some of the seed fell among thorn =
bushes, which grew up and choked the plants.</verse>
									<verse verseID=3D"Matt.13.8">But some seeds fell in good soil, =
and the plants bore grain: some had one hundred grains, others sixty, =
and others thirty.
								</verse>
								</blockQuote>
							</p>
							<p cite=3D"Matt.13.9">
								<verse verseID=3D"Matt.13.9">And Jesus concluded,=20
<q>Listen, then, if you have ears!</q>
								</verse>
							</p>
						</div>
						<div cite=3D"Matt.13.10-Matt.13.17">
							<title>
								<title>The Purpose of the Parables</title>
							</title>
							<reference cite=3D"Mark.4.10-Mark.4.12"/>
							<reference cite=3D"Luke.8.9"/>
							<reference cite=3D"Luke.8.10"/>
							<p cite=3D"Matt.13.10">
								<verse verseID=3D"Matt.13.10">Then the disciples came to Jesus =
and asked him,=20
<q>Why do you use parables when you talk to the people?</q>
								</verse>
							</p>
							<p cite=3D"Matt.13.11-Matt.13.13">
								<verse verseID=3D"Matt.13.11" =
next=3D"Matt.13.11@char:17(The)">Jesus answered, </verse>
								<blockQuote blockQuoteID=3D"Matt.13.11@char:17(The)" =
next=3D"Matt.13.14@char:44(This)">
									<verse verseID=3D"Matt.13.11@char:17(The)" =
prev=3D"Matt.13.11">The knowledge about the secrets of the Kingdom of =
heaven has been given to you, but not to them.</verse>
									<verse verseID=3D"Matt.13.12">
										<note type=3D"x-xref" cite=3D"Matt.13.12-Matt.13.12">
											<note type=3D"x-link">
												<reference cite=3D"Matt.25.29"/>
												<reference cite=3D"Mark.4.25"/>
												<reference cite=3D"Luke.8.18"/>
												<reference cite=3D"Luke.19.26"/>
											</note>
										</note> For the person who has something will be given more, =
so that he will have more than enough; but the person who has nothing =
will have taken away from him even the little he has.</verse>
									<verse verseID=3D"Matt.13.13">The reason I use parables in =
talking to them is that they look, but do not see, and they listen, but =
do not hear or understand.</verse>
									<verse verseID=3D"Matt.13.14" =
next=3D"Matt.13.14@char:44(This)">
										<note type=3D"x-xref" cite=3D"Matt.13.14-Matt.13.14">
											<note type=3D"x-link">
												<reference cite=3D"Isa.6.9"/>
												<reference cite=3D"Isa.6.10"/>
											</note>
										</note>So the prophecy of Isaiah applies to them:
</verse>
								</blockQuote>
							</p>
							<blockQuote blockQuoteID=3D"Matt.13.14@char:44(This)" =
prev=3D"Matt.13.11@char:17(The)" next=3D"Matt.13.16">
								<blockQuote>
									<lineGroup>
										<line>
											<verse verseID=3D"Matt.13.14@char:44(This)" =
prev=3D"Matt.13.14" next=3D"Matt.13.14@char:105(they)">This people will =
listen and listen, but not understand;</verse>
										</line>
										<line>
											<verse verseID=3D"Matt.13.14@char:105(they)" =
prev=3D"Matt.13.14@char:44(This)">they will look and look, but not =
see,</verse>
										</line>
										<line>
											<verse verseID=3D"Matt.13.15" =
next=3D"Matt.13.15@char:10(and)">because their minds are dull,</verse>
										</line>
										<line>
											<verse verseID=3D"Matt.13.15@char:10(and)" =
prev=3D"Matt.13.15" next=3D"Matt.13.15@char:20(and)">and they have =
stopped up their ears</verse>
										</line>
										<line>
											<verse verseID=3D"Matt.13.15@char:20(and)" =
prev=3D"Matt.13.15@char:10(and)" =
next=3D"Matt.13.15@char:30(Otherwise)">and have closed their =
eyes.</verse>
										</line>
										<line>
											<verse verseID=3D"Matt.13.15@char:30(Otherwise)" =
prev=3D"Matt.13.15@char:20(and)" =
next=3D"Matt.13.15@char:40(their)">Otherwise, their eyes would =
see,</verse>
										</line>
										<line>
											<verse verseID=3D"Matt.13.15@char:40(their)" =
prev=3D"Matt.13.15@char:30(Otherwise)" =
next=3D"Matt.13.15@char:50(their)">their ears would hear,</verse>
										</line>
										<line>
											<verse verseID=3D"Matt.13.15@char:50(their)" =
prev=3D"Matt.13.15@char:40(their)" =
next=3D"Matt.13.15@char:60(and)">their minds would understand,</verse>
										</line>
										<line>
											<verse verseID=3D"Matt.13.15@char:60(and)" =
prev=3D"Matt.13.15@char:50(their)" next=3D"Matt.13.15@char:70(and)">and =
they would turn to me, says God,</verse>
										</line>
										<line>
											<verse verseID=3D"Matt.13.15@char:70(and)" =
prev=3D"Matt.13.15@char:60(and)">and I would heal them.</verse>
										</line>
									</lineGroup>
								</blockQuote>
							</blockQuote>
							<p cite=3D"Matt.13.16-Matt.13.17">
								<blockQuote blockQuoteID=3D"Matt.13.16" =
prev=3D"Matt.13.14@char:44(This)" next=3D"Matt.13.18">
									<verse verseID=3D"Matt.13.16">
										<note type=3D"x-xref" cite=3D"Matt.13.16-Matt.13.16">
											<note type=3D"x-link">
												<reference cite=3D"Luke.10.23"/>
												<reference cite=3D"Luke.10.24"/>
											</note>
										</note> As for you, how fortunate you are! Your eyes see and =
your ears hear.</verse>
									<verse verseID=3D"Matt.13.17">I assure you that many prophets =
and many of God's people wanted very much to see what you see, but they =
could not, and to hear what you hear, but they did not.</verse>
								</blockQuote>
							</p>
						</div>
						<div cite=3D"Matt.13.18-Matt.13.23">
							<title>
								<title>Jesus Explains the Parable of the Sower</title>
							</title>
							<reference cite=3D"Mark.4.13-Mark.4.20"/>
							<reference cite=3D"Luke.8.11-Luke.8.15"/>
							<p cite=3D"Matt.13.18-Matt.13.23">
								<blockQuote blockQuoteID=3D"Matt.13.18" prev=3D"Matt.13.16">
									<verse verseID=3D"Matt.13.18">Listen, then, and learn what the =
parable of the sower means.</verse>
									<verse verseID=3D"Matt.13.19">Those who hear the message about =
the Kingdom but do not understand it are like the seeds that fell along =
the path. The Evil One comes and snatches away what was sown in =
them.</verse>
									<verse verseID=3D"Matt.13.20">The seeds that fell on rocky =
ground stand for those who receive the message gladly as soon as they =
hear it.</verse>
									<verse verseID=3D"Matt.13.21">But it does not sink deep into =
them, and they don't last long. So when trouble or persecution comes =
because of the message, they give up at once.</verse>
									<verse verseID=3D"Matt.13.22">The seeds that fell among thorn =
bushes stand for those who hear the message; but the worries about this =
life and the love for riches choke the message, and they don't bear =
fruit.</verse>
									<verse verseID=3D"Matt.13.23">And the seeds sown in the good =
soil stand for those who hear the message and understand it: they bear =
fruit, some as much as one hundred, others sixty, and others thirty.
									</verse>
								</blockQuote>
							</p>
						</div>
					</div>
				</div>
			</body>
		</osisText>
	</osisCorpus>
</osis>

------=_NextPart_000_002D_01C20C2E.9ECCDC50
Content-Type: text/xml;
	name="osisCore_1test10a.xsd"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="osisCore_1test10a.xsd"

<?xml version=3D"1.0" encoding=3D"UTF-8"?>
<!-- edited with XML Spy v4.3 U (http://www.xmlspy.com) by Todd =
Tillinghast (private) -->
<xs:schema xmlns:xs=3D"http://www.w3.org/2001/XMLSchema" =
elementFormDefault=3D"unqualified">
	<!-- note that I have added a higher level root element so we can have =
collections of independent texts for a collection -->
	<!-- added header as required element of osis, made header optional =
under osisText, 23 May 2002, pld -->
	<xs:element name=3D"osis">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref=3D"header"/>
				<xs:choice>
					<xs:element ref=3D"osisCorpus"/>
					<xs:element ref=3D"osisText"/>
				</xs:choice>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name=3D"osisCorpus">
		<xs:complexType>
			<xs:sequence maxOccurs=3D"unbounded">
				<xs:element ref=3D"osisText"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<!-- made header optional, but now required under osis, 23 May 2002, =
pld -->
	<!-- changed type on work attribute to osisWork, removed refSys since =
now carried in osisRef, 31 May 2002, pld -->
	<xs:element name=3D"osisText">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref=3D"header" minOccurs=3D"0"/>
				<xs:element ref=3D"front" minOccurs=3D"0"/>
				<xs:element ref=3D"body"/>
				<xs:element ref=3D"back" minOccurs=3D"0"/>
			</xs:sequence>
			<xs:attribute name=3D"work" type=3D"osisWork" use=3D"optional"/>
			<xs:attributeGroup ref=3D"globalAttributes"/>
		</xs:complexType>
	</xs:element>
	<!-- added date, but using our content model, 24 May 2002, pld -->
	<!-- fixed name to ref in header, 24 May 2002, pld -->
	<xs:element name=3D"header">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref=3D"title" minOccurs=3D"0"/>
				<xs:element ref=3D"contributor" minOccurs=3D"0" =
maxOccurs=3D"unbounded"/>
				<xs:element ref=3D"creator" minOccurs=3D"0" =
maxOccurs=3D"unbounded"/>
				<xs:element ref=3D"subject" minOccurs=3D"0" =
maxOccurs=3D"unbounded"/>
				<xs:element ref=3D"date" minOccurs=3D"0" maxOccurs=3D"unbounded"/>
				<xs:element ref=3D"description" minOccurs=3D"0" =
maxOccurs=3D"unbounded"/>
				<xs:element ref=3D"publisher" minOccurs=3D"0" =
maxOccurs=3D"unbounded"/>
				<xs:element ref=3D"type" minOccurs=3D"0" maxOccurs=3D"unbounded"/>
				<xs:element ref=3D"format" minOccurs=3D"0" maxOccurs=3D"unbounded"/>
				<xs:element ref=3D"identifier" minOccurs=3D"0" =
maxOccurs=3D"unbounded"/>
				<xs:element ref=3D"source" minOccurs=3D"0" maxOccurs=3D"unbounded"/>
				<xs:element ref=3D"language" minOccurs=3D"0" =
maxOccurs=3D"unbounded"/>
				<xs:element ref=3D"relation" minOccurs=3D"0" =
maxOccurs=3D"unbounded"/>
				<xs:element ref=3D"coverage" minOccurs=3D"0" =
maxOccurs=3D"unbounded"/>
				<xs:element ref=3D"rights" minOccurs=3D"0" maxOccurs=3D"unbounded"/>
				<xs:element ref=3D"revisionDesc" minOccurs=3D"0" =
maxOccurs=3D"unbounded"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<!-- elements for header, with exception of title -->
	<xs:element name=3D"contributor">
		<xs:complexType>
			<xs:simpleContent>
				<xs:extension base=3D"xs:string">
					<xs:attributeGroup ref=3D"globalAttributes"/>
				</xs:extension>
			</xs:simpleContent>
		</xs:complexType>
	</xs:element>
	<xs:element name=3D"creator">
		<xs:complexType>
			<xs:simpleContent>
				<xs:extension base=3D"xs:string">
					<xs:attribute name=3D"role" type=3D"roleType" use=3D"optional"/>
					<xs:attributeGroup ref=3D"globalAttributes"/>
				</xs:extension>
			</xs:simpleContent>
		</xs:complexType>
	</xs:element>
	<xs:element name=3D"subject">
		<xs:complexType>
			<xs:simpleContent>
				<xs:extension base=3D"xs:string">
					<xs:attributeGroup ref=3D"globalAttributes"/>
				</xs:extension>
			</xs:simpleContent>
		</xs:complexType>
	</xs:element>
	<xs:element name=3D"description">
		<xs:complexType>
			<xs:simpleContent>
				<xs:extension base=3D"xs:string">
					<xs:attributeGroup ref=3D"globalAttributes"/>
				</xs:extension>
			</xs:simpleContent>
		</xs:complexType>
	</xs:element>
	<xs:element name=3D"publisher">
		<xs:complexType>
			<xs:simpleContent>
				<xs:extension base=3D"xs:string">
					<xs:attributeGroup ref=3D"globalAttributes"/>
				</xs:extension>
			</xs:simpleContent>
		</xs:complexType>
	</xs:element>
	<xs:element name=3D"type">
		<xs:complexType>
			<xs:simpleContent>
				<xs:extension base=3D"xs:string">
					<xs:attributeGroup ref=3D"globalAttributes"/>
				</xs:extension>
			</xs:simpleContent>
		</xs:complexType>
	</xs:element>
	<xs:element name=3D"format">
		<xs:complexType>
			<xs:simpleContent>
				<xs:extension base=3D"xs:string">
					<xs:attributeGroup ref=3D"globalAttributes"/>
				</xs:extension>
			</xs:simpleContent>
		</xs:complexType>
	</xs:element>
	<xs:element name=3D"identifier">
		<xs:complexType>
			<xs:simpleContent>
				<xs:extension base=3D"xs:string">
					<xs:attributeGroup ref=3D"globalAttributes"/>
				</xs:extension>
			</xs:simpleContent>
		</xs:complexType>
	</xs:element>
	<xs:element name=3D"source">
		<xs:complexType>
			<xs:simpleContent>
				<xs:extension base=3D"xs:string">
					<xs:attributeGroup ref=3D"globalAttributes"/>
				</xs:extension>
			</xs:simpleContent>
		</xs:complexType>
	</xs:element>
	<xs:element name=3D"language">
		<xs:complexType>
			<xs:simpleContent>
				<xs:extension base=3D"xs:string">
					<xs:attributeGroup ref=3D"globalAttributes"/>
				</xs:extension>
			</xs:simpleContent>
		</xs:complexType>
	</xs:element>
	<xs:element name=3D"relation">
		<xs:complexType>
			<xs:simpleContent>
				<xs:extension base=3D"xs:string">
					<xs:attributeGroup ref=3D"globalAttributes"/>
				</xs:extension>
			</xs:simpleContent>
		</xs:complexType>
	</xs:element>
	<xs:element name=3D"coverage">
		<xs:complexType>
			<xs:simpleContent>
				<xs:extension base=3D"xs:string">
					<xs:attributeGroup ref=3D"globalAttributes"/>
				</xs:extension>
			</xs:simpleContent>
		</xs:complexType>
	</xs:element>
	<xs:element name=3D"rights">
		<xs:complexType>
			<xs:simpleContent>
				<xs:extension base=3D"xs:string">
					<xs:attributeGroup ref=3D"globalAttributes"/>
				</xs:extension>
			</xs:simpleContent>
		</xs:complexType>
	</xs:element>
	<xs:element name=3D"revisionDesc">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref=3D"date"/>
				<xs:element ref=3D"p" maxOccurs=3D"unbounded"/>
			</xs:sequence>
			<xs:attributeGroup ref=3D"globalAttributes"/>
			<xs:attribute name=3D"TEIform" fixed=3D"revisionDesc"/>
		</xs:complexType>
	</xs:element>
	<!-- end of header elements -->
	<!-- major structural elements -->
	<!-- note that title recurs (within title) so even though only one =
title element, can have as many subtitles as desired -->
	<!-- Todd has noted that since the content models for front, body and =
back are the same that we could handle these with a common element with =
an attribute for those divisions. I tend to agree but suspect it will be =
easier to explain if we retain the semantics of having different =
elements names for these divisions. -->
	<xs:element name=3D"front">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref=3D"title" minOccurs=3D"0"/>
				<xs:element ref=3D"div" maxOccurs=3D"unbounded"/>
			</xs:sequence>
			<xs:attributeGroup ref=3D"globalAttributes"/>
		</xs:complexType>
	</xs:element>
	<xs:element name=3D"body">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref=3D"title" minOccurs=3D"0"/>
				<xs:element ref=3D"div" maxOccurs=3D"unbounded"/>
			</xs:sequence>
			<xs:attributeGroup ref=3D"globalAttributes"/>
			<xs:attribute name=3D"TEIform" fixed=3D"body"/>
		</xs:complexType>
	</xs:element>
	<xs:element name=3D"back">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref=3D"title" minOccurs=3D"0"/>
				<xs:element ref=3D"div" maxOccurs=3D"unbounded"/>
			</xs:sequence>
			<xs:attributeGroup ref=3D"globalAttributes"/>
			<xs:attribute name=3D"TEIform" fixed=3D"back"/>
		</xs:complexType>
	</xs:element>
	<!-- end of major structural elements -->
	<!-- abbr element contains abbreviations and expansion of abbreviations =
is carried in the expansion attribute. Note allowed since people may =
want to annotate the abbreviation with other information. Have allowed =
unbounded number of notes, probably should be the general case for notes =
as there is no way to anticipate how many notes any text may have at a =
given point. Can be changed for validation in particular production =
environments -->
	<xs:element name=3D"abbr">
		<xs:complexType mixed=3D"true">
			<xs:sequence minOccurs=3D"0" maxOccurs=3D"unbounded">
				<xs:element ref=3D"note"/>
			</xs:sequence>
			<xs:attribute name=3D"expansion" type=3D"xs:string"/>
			<xs:attributeGroup ref=3D"globalAttributes"/>
		</xs:complexType>
	</xs:element>
	<!-- blockQuote is a child of blockQuote, div and p. Can contain p =
which form part of the blockQuote. If used to surround verses for =
denoting blockQuote, use next/prev attributes on verses to span the =
close of the blockQuote element -->
	<!-- restored seg as an element, 31 May 2002, pld -->
	<xs:element name=3D"blockQuote">
		<xs:complexType mixed=3D"true">
			<xs:choice minOccurs=3D"0" maxOccurs=3D"unbounded">
				<xs:element ref=3D"abbr"/>
				<xs:element ref=3D"close"/>
				<xs:element ref=3D"foreign"/>
				<xs:element ref=3D"lineGroup"/>
				<xs:element ref=3D"milestone"/>
				<xs:element ref=3D"name"/>
				<xs:element ref=3D"note"/>
				<xs:element ref=3D"p"/>
				<xs:element ref=3D"q"/>
				<xs:element ref=3D"reference"/>
				<xs:element ref=3D"salute"/>
				<xs:element ref=3D"seg"/>
				<xs:element ref=3D"speaker"/>
				<xs:element ref=3D"speech"/>
				<xs:element ref=3D"transChange"/>
				<xs:element ref=3D"verse"/>
				<xs:element ref=3D"blockQuote"/>
			</xs:choice>
			<xs:attribute name=3D"blockQuoteID" type=3D"xs:string"/>
			<xs:attribute name=3D"next" type=3D"xs:string"/>
			<xs:attribute name=3D"prev" type=3D"xs:string"/>
			<xs:attributeGroup ref=3D"globalAttributes"/>
			<xs:attributeGroup ref=3D"outReferenceAttributes"/>
		</xs:complexType>
	</xs:element>
	<!-- caption is used within figure to contain short descriptive =
information that may appear with an illustration, photo or other =
illustration - caption is allowed to contain abbr, foreign, name, note, =
q, reference -->
	<xs:element name=3D"caption">
		<xs:complexType mixed=3D"true">
			<xs:choice minOccurs=3D"0" maxOccurs=3D"unbounded">
				<xs:element ref=3D"abbr"/>
				<xs:element ref=3D"foreign"/>
				<xs:element ref=3D"name"/>
				<xs:element ref=3D"note"/>
				<xs:element ref=3D"q"/>
				<xs:element ref=3D"reference"/>
			</xs:choice>
			<xs:attributeGroup ref=3D"globalAttributes"/>
		</xs:complexType>
	</xs:element>
	<!-- catchWord is used to contain text in a note that is part of the =
main text and used to alert the reader to the materila from the main =
text that is under discussion. may contain PCDATA and note. -->
	<!-- dropped expansion attribute that was included by bad copying of =
element model, 24 May 2002, pld -->
	<xs:element name=3D"catchWord">
		<xs:complexType mixed=3D"true">
			<xs:sequence minOccurs=3D"0" maxOccurs=3D"unbounded">
				<xs:element ref=3D"note"/>
			</xs:sequence>
			<xs:attributeGroup ref=3D"globalAttributes"/>
		</xs:complexType>
	</xs:element>
	<!-- close is a child of div and blockQuote, meant to deal with close =
of letters (Pauline for example) -->
	<!-- dropped expansion attribute that was included by bad copying of =
element model, 24 May 2002, pld -->
	<!-- restored seg as an element, 31 May 2002, pld -->
	<xs:element name=3D"close">
		<xs:complexType mixed=3D"true">
			<xs:choice minOccurs=3D"0" maxOccurs=3D"unbounded">
				<xs:element ref=3D"abbr"/>
				<xs:element ref=3D"divineName"/>
				<xs:element ref=3D"foreign"/>
				<xs:element ref=3D"milestone"/>
				<xs:element ref=3D"name"/>
				<xs:element ref=3D"note"/>
				<xs:element ref=3D"p"/>
				<xs:element ref=3D"q"/>
				<xs:element ref=3D"reference"/>
				<xs:element ref=3D"seg"/>
				<xs:element ref=3D"verse"/>
				<xs:element ref=3D"w"/>
			</xs:choice>
			<xs:attributeGroup ref=3D"globalAttributes"/>
		</xs:complexType>
	</xs:element>
	<!-- date includes note for cases where in addition to recording the =
calendar type, the encoder wishes to make some other claim about the =
date -->
	<xs:element name=3D"date">
		<xs:complexType mixed=3D"true">
			<xs:sequence minOccurs=3D"0" maxOccurs=3D"unbounded">
				<xs:element ref=3D"note"/>
			</xs:sequence>
			<xs:attribute name=3D"calendarType" type=3D"calendar" =
use=3D"optional" default=3D"ISO"/>
			<xs:attributeGroup ref=3D"globalAttributes"/>
		</xs:complexType>
	</xs:element>
	<!-- div is the largest generic container below the main structural =
elements - should be used for subsections in commentaries and the like =
-->
	<!-- removed seg as child of div, 23 May 2002, pld -->
	<!-- added speech as child of div, 23 May 2002, pld -->
	<!-- added seg as an element, 31 May 2002, pld -->
	<xs:element name=3D"div">
		<xs:complexType mixed=3D"true">
			<xs:choice maxOccurs=3D"unbounded">
				<xs:element ref=3D"div" minOccurs=3D"0" maxOccurs=3D"unbounded"/>
				<xs:choice minOccurs=3D"0" maxOccurs=3D"unbounded">
					<xs:element ref=3D"blockQuote"/>
					<xs:element ref=3D"figure"/>
					<xs:element ref=3D"lineGroup"/>
					<xs:element ref=3D"list"/>
					<xs:element ref=3D"milestone"/>
					<xs:element ref=3D"p"/>
					<xs:element ref=3D"q"/>
					<xs:element ref=3D"seg"/>
					<xs:element ref=3D"speech"/>
					<xs:element ref=3D"title"/>
					<xs:element ref=3D"verse"/>
					<xs:element ref=3D"reference"/>
				</xs:choice>
			</xs:choice>
			<xs:attribute name=3D"divType" type=3D"divType" use=3D"optional"/>
			<xs:attribute name=3D"divTitle" type=3D"xs:string" use=3D"optional"/>
			<xs:attributeGroup ref=3D"inReferenceAttributes"/>
			<xs:attributeGroup ref=3D"globalAttributes"/>
			<xs:attribute name=3D"TEIform" fixed=3D"div"/>
		</xs:complexType>
	</xs:element>
	<!-- used to mark occurrences of the divine name, the treatment of =
which varies from tradtional to tradition. The type attribute should be =
used if the encoder wishes to create a typology of of the divine name as =
found or translated in the text. -->
	<xs:element name=3D"divineName">
		<xs:complexType mixed=3D"true">
			<xs:sequence minOccurs=3D"0" maxOccurs=3D"unbounded">
				<xs:element ref=3D"note"/>
			</xs:sequence>
			<xs:attributeGroup ref=3D"globalAttributes"/>
		</xs:complexType>
	</xs:element>
	<!-- figure contains only an optional caption element - the source for =
the figure should be specified using the src attribute -->
	<xs:element name=3D"figure">
		<xs:complexType>
			<xs:sequence minOccurs=3D"0">
				<xs:element ref=3D"caption"/>
			</xs:sequence>
			<xs:attribute name=3D"src" type=3D"xs:string"/>
			<xs:attributeGroup ref=3D"globalAttributes"/>
		</xs:complexType>
	</xs:element>
	<!-- added seg as an element, changed content model to choice, 31 May =
2002, pld -->
	<!-- foreign is used to mark foreign words or phrases that occur in a =
text. such words are usually offset from the main text by quotes or =
italics but that is a function of styling and not reflected in the =
attributes to this element, i.e., no rend, sorry Chris! -->
	<xs:element name=3D"foreign">
		<xs:complexType mixed=3D"true">
			<xs:choice minOccurs=3D"0" maxOccurs=3D"unbounded">
				<xs:element ref=3D"note"/>
				<xs:element ref=3D"seg"/>
			</xs:choice>
			<xs:attributeGroup ref=3D"globalAttributes"/>
		</xs:complexType>
	</xs:element>
	<!-- head, allowed in list only, does recur so can have multiple level =
of headings for a list, note that list recurs as well -->
	<!-- fixed content model to allow recursion, 24 May 2002, pld -->
	<!-- added seg as element, changed content model to choice, 31 May =
2002, pld -->
	<xs:element name=3D"head">
		<xs:complexType mixed=3D"true">
			<xs:sequence>
				<xs:element ref=3D"head" minOccurs=3D"0" maxOccurs=3D"unbounded"/>
				<xs:choice minOccurs=3D"0" maxOccurs=3D"unbounded">
					<xs:element ref=3D"note"/>
					<xs:element ref=3D"seg"/>
				</xs:choice>
			</xs:sequence>
			<xs:attributeGroup ref=3D"globalAttributes"/>
		</xs:complexType>
	</xs:element>
	<!-- inscription, fairly low level element to record short =
inscriptions, should not be used for quotes -->
	<!-- added seg as element, 31 May 2002, pld -->
	<xs:element name=3D"inscription">
		<xs:complexType mixed=3D"true">
			<xs:choice minOccurs=3D"0" maxOccurs=3D"unbounded">
				<xs:element ref=3D"note"/>
				<xs:element ref=3D"seg"/>
				<xs:element ref=3D"w"/>
			</xs:choice>
			<xs:attributeGroup ref=3D"globalAttributes"/>
		</xs:complexType>
	</xs:element>
	<!-- item is solely a child of list and contains mixed content, note =
and w -->
	<!-- added seg as element, 31 May 2002, pld -->
	<xs:element name=3D"item">
		<xs:complexType mixed=3D"true">
			<xs:choice minOccurs=3D"0" maxOccurs=3D"unbounded">
				<xs:element ref=3D"note"/>
				<xs:element ref=3D"seg"/>
				<xs:element ref=3D"w"/>
			</xs:choice>
			<xs:attributeGroup ref=3D"globalAttributes"/>
		</xs:complexType>
	</xs:element>
	<!-- label, optional element in list -->
	<xs:element name=3D"label">
		<xs:complexType mixed=3D"true">
			<xs:choice minOccurs=3D"0" maxOccurs=3D"unbounded">
				<xs:element ref=3D"note"/>
				<xs:element ref=3D"w"/>
			</xs:choice>
			<xs:attributeGroup ref=3D"globalAttributes"/>
		</xs:complexType>
	</xs:element>
	<!-- line is a member of lineGroup and should be used for poetic =
sections, not the recording of orthographic lines, such as when encoding =
a manuscript witness. markup for recording original mss. will be =
included in the scholarly module. Note that line can include a verse and =
this is the most likely place for crossing boundaries where verses will =
need to be split to cross line boundaries. -->
	<!-- restored seg as an element, 31 May 2002, pld -->
	<xs:element name=3D"line">
		<xs:complexType mixed=3D"true">
			<xs:choice minOccurs=3D"0" maxOccurs=3D"unbounded">
				<xs:element ref=3D"abbr"/>
				<xs:element ref=3D"foreign"/>
				<xs:element ref=3D"milestone"/>
				<xs:element ref=3D"name"/>
				<xs:element ref=3D"note"/>
				<xs:element ref=3D"reference"/>
				<xs:element ref=3D"seg"/>
				<xs:element ref=3D"speaker"/>
				<xs:element ref=3D"transChange"/>
				<xs:element ref=3D"verse"/>
			</xs:choice>
			<xs:attributeGroup ref=3D"globalAttributes"/>
		</xs:complexType>
	</xs:element>
	<!-- lineGroup is a container element for line. use for poetic texts =
and embed verses, by splitting them, into the line elements -->
	<xs:element name=3D"lineGroup">
		<xs:complexType>
			<xs:choice minOccurs=3D"0" maxOccurs=3D"unbounded">
				<xs:element ref=3D"line"/>
				<xs:element ref=3D"milestone"/>
			</xs:choice>
			<xs:attributeGroup ref=3D"globalAttributes"/>
		</xs:complexType>
	</xs:element>
	<!-- list, allowed to recur for embedded lists -->
	<!-- fixed to allow recusion, 24 May 2002, pld -->
	<xs:element name=3D"list">
		<xs:complexType mixed=3D"true">
			<xs:sequence>
				<xs:element ref=3D"list" minOccurs=3D"0" maxOccurs=3D"unbounded"/>
				<xs:choice minOccurs=3D"0" maxOccurs=3D"unbounded">
					<xs:element ref=3D"milestone"/>
					<xs:sequence minOccurs=3D"0" maxOccurs=3D"unbounded">
						<xs:element ref=3D"label" minOccurs=3D"0"/>
						<xs:element ref=3D"item"/>
					</xs:sequence>
				</xs:choice>
			</xs:sequence>
			<xs:attributeGroup ref=3D"globalAttributes"/>
		</xs:complexType>
	</xs:element>
	<!-- mentioned -->
	<!-- restored seg as element, 31 May 2002, pld -->
	<xs:element name=3D"mentioned">
		<xs:complexType mixed=3D"true">
			<xs:choice minOccurs=3D"0" maxOccurs=3D"unbounded">
				<xs:element ref=3D"abbr"/>
				<xs:element ref=3D"date"/>
				<xs:element ref=3D"divineName"/>
				<xs:element ref=3D"foreign"/>
				<xs:element ref=3D"name"/>
				<xs:element ref=3D"note"/>
				<xs:element ref=3D"q"/>
				<xs:element ref=3D"reference"/>
				<xs:element ref=3D"seg"/>
			</xs:choice>
			<xs:attributeGroup ref=3D"globalAttributes"/>
		</xs:complexType>
	</xs:element>
	<!-- milestone, true milestone so no begin/end -->
	<xs:element name=3D"milestone">
		<xs:complexType>
			<xs:attributeGroup ref=3D"inReferenceAttributes"/>
			<xs:attributeGroup ref=3D"globalAttributes"/>
		</xs:complexType>
	</xs:element>
	<!-- name is used to mark any variety of names, such as person, =
geographic, festival, etc. -->
	<xs:element name=3D"name">
		<xs:complexType mixed=3D"true">
			<xs:choice minOccurs=3D"0" maxOccurs=3D"unbounded">
				<xs:element ref=3D"note"/>
				<xs:element ref=3D"w"/>
			</xs:choice>
			<xs:attribute name=3D"nameType" type=3D"nameType" use=3D"required"/>
			<xs:attribute name=3D"regular" type=3D"xs:string" use=3D"optional"/>
			<xs:attributeGroup ref=3D"globalAttributes"/>
		</xs:complexType>
	</xs:element>
	<!-- note is used inline to record notes about a particular text - note =
has attributes that allow the attachment of the note to a particular =
place or passage in the text -->
	<!-- added recusion to note, 24 May 2002, pld -->
	<!-- restored seg as an element, 31 May 2002, pld -->
	<!-- added figure, lineGroup and list, as per Chris, 31 May, 2002, pld =
-->
	<xs:element name=3D"note">
		<xs:complexType mixed=3D"true">
			<xs:sequence>
				<xs:element ref=3D"note" minOccurs=3D"0" maxOccurs=3D"unbounded"/>
				<xs:choice minOccurs=3D"0" maxOccurs=3D"unbounded">
					<xs:element ref=3D"abbr"/>
					<xs:element ref=3D"figure"/>
					<xs:element ref=3D"foreign"/>
					<xs:element ref=3D"lineGroup"/>
					<xs:element ref=3D"list"/>
					<xs:element ref=3D"milestone"/>
					<xs:element ref=3D"name"/>
					<xs:element ref=3D"p"/>
					<xs:element ref=3D"q"/>
					<xs:element ref=3D"reading"/>
					<xs:element ref=3D"reference"/>
					<xs:element ref=3D"seg"/>
					<xs:element ref=3D"verse"/>
					<xs:element ref=3D"w"/>
				</xs:choice>
			</xs:sequence>
			<xs:attributeGroup ref=3D"globalAttributes"/>
		</xs:complexType>
	</xs:element>
	<!-- the standard paragraph container element -->
	<!-- restored seg as an element, 31 May 2002, pld -->
	<xs:element name=3D"p">
		<xs:complexType mixed=3D"true">
			<xs:choice minOccurs=3D"0" maxOccurs=3D"unbounded">
				<xs:element ref=3D"abbr"/>
				<xs:element ref=3D"blockQuote"/>
				<xs:element ref=3D"foreign"/>
				<xs:element ref=3D"inscription"/>
				<xs:element ref=3D"list"/>
				<xs:element ref=3D"mentioned"/>
				<xs:element ref=3D"milestone"/>
				<xs:element ref=3D"name"/>
				<xs:element ref=3D"note"/>
				<xs:element ref=3D"q"/>
				<xs:element ref=3D"reference"/>
				<xs:element ref=3D"salute"/>
				<xs:element ref=3D"seg"/>
				<xs:element ref=3D"speaker"/>
				<xs:element ref=3D"speech"/>
				<xs:element ref=3D"verse"/>
				<xs:element ref=3D"w"/>
			</xs:choice>
			<xs:attributeGroup ref=3D"globalAttributes"/>
		</xs:complexType>
	</xs:element>
	<!-- note that q does not allow verse. In secondary materials where a =
verse is being quoted by a speaker, for example, it whould be encoded as =
a reference with the appropriate attributes -->
	<!-- fixed content model to allow recursion, 24 May 2002, pld -->
	<!-- tenatively have dropped key, keyRef as not buying us anything, =
gets cheap validation but only at the cost of always requiring the key =
attribute or element content, comments? -->
	<!-- restored seg as an element, 31 May 2002, pld -->
	<xs:element name=3D"q">
		<xs:complexType mixed=3D"true">
			<xs:sequence>
				<xs:element ref=3D"q" minOccurs=3D"0" maxOccurs=3D"unbounded"/>
				<xs:choice minOccurs=3D"0" maxOccurs=3D"unbounded">
					<xs:element ref=3D"abbr"/>
					<xs:element ref=3D"foreign"/>
					<xs:element ref=3D"milestone"/>
					<xs:element ref=3D"name"/>
					<xs:element ref=3D"note"/>
					<xs:element ref=3D"reference"/>
					<xs:element ref=3D"seg"/>
					<xs:element ref=3D"w"/>
				</xs:choice>
			</xs:sequence>
			<xs:attribute name=3D"qID" type=3D"xs:string"/>
			<xs:attribute name=3D"next" type=3D"xs:string" use=3D"optional"/>
			<xs:attribute name=3D"prev" type=3D"xs:string" use=3D"optional"/>
			<xs:attributeGroup ref=3D"globalAttributes"/>
		</xs:complexType>
	</xs:element>
	<!-- reading occurs only in note, records alternative readings -->
	<!-- restored seg as an element, 31 May 2002, pld -->
	<xs:element name=3D"reading">
		<xs:complexType mixed=3D"true">
			<xs:choice minOccurs=3D"0" maxOccurs=3D"unbounded">
				<xs:element ref=3D"foreign"/>
				<xs:element ref=3D"milestone"/>
				<xs:element ref=3D"name"/>
				<xs:element ref=3D"reference"/>
				<xs:element ref=3D"seg"/>
				<xs:element ref=3D"w"/>
			</xs:choice>
			<xs:attributeGroup ref=3D"globalAttributes"/>
		</xs:complexType>
	</xs:element>
	<!-- reference is used to mark any reference in a text to another, =
whether direct or an allusion. The type of reference being should be =
classified by the encoder. References from the NT to passages in the OT =
would be examples of a reference. -->
	<!-- restored seg as an element, 31 May 2002, pld -->
	<xs:element name=3D"reference">
		<xs:complexType mixed=3D"true">
			<xs:choice minOccurs=3D"0" maxOccurs=3D"unbounded">
				<xs:element ref=3D"abbr"/>
				<xs:element ref=3D"foreign"/>
				<xs:element ref=3D"milestone"/>
				<xs:element ref=3D"name"/>
				<xs:element ref=3D"seg"/>
				<xs:element ref=3D"w"/>
			</xs:choice>
			<xs:attributeGroup ref=3D"globalAttributes"/>
		</xs:complexType>
	</xs:element>
	<!-- salute occurs in both blockQuote as well as p since encoders may =
choose to use different mechanisms contain material where a salute =
occurs -->
	<!-- restored seg as an element, 31 May 2002, pld -->
	<xs:element name=3D"salute">
		<xs:complexType mixed=3D"true">
			<xs:choice minOccurs=3D"0" maxOccurs=3D"unbounded">
				<xs:element ref=3D"abbr"/>
				<xs:element ref=3D"foreign"/>
				<xs:element ref=3D"milestone"/>
				<xs:element ref=3D"name"/>
				<xs:element ref=3D"reference"/>
				<xs:element ref=3D"seg"/>
				<xs:element ref=3D"w"/>
			</xs:choice>
			<xs:attributeGroup ref=3D"globalAttributes"/>
		</xs:complexType>
	</xs:element>
	<!-- seg is a generic container element that can contain phrase level =
elements -->
	<!-- since must include warning with seg, dropped for this test =
version, if re-added, will drop key/keyRef, comments? 24 May 2002, pld =
-->
	<!-- restored seg as an element, removed key/keyRef stuff, 31 May 2002, =
pld -->
	<xs:element name=3D"seg">
		<xs:complexType mixed=3D"true">
			<xs:choice minOccurs=3D"0" maxOccurs=3D"unbounded">
				<xs:element ref=3D"abbr"/>
				<xs:element ref=3D"foreign"/>
				<xs:element ref=3D"milestone"/>
				<xs:element ref=3D"name"/>
				<xs:element ref=3D"reference"/>
				<xs:element ref=3D"w"/>
			</xs:choice>
			<xs:attribute name=3D"segID" type=3D"xs:string"/>
			<xs:attribute name=3D"next" type=3D"xs:string" use=3D"optional"/>
			<xs:attribute name=3D"prev" type=3D"xs:string" use=3D"optional"/>
			<xs:attributeGroup ref=3D"globalAttributes"/>
		</xs:complexType>
	</xs:element>
	<!-- signed is used to record the ending of a text where the author =
indicates that they have issued a particular work -->
	<!-- restored seg as an element, 31 May 2002, pld -->
	<xs:element name=3D"signed">
		<xs:complexType mixed=3D"true">
			<xs:choice minOccurs=3D"0" maxOccurs=3D"unbounded">
				<xs:element ref=3D"abbr"/>
				<xs:element ref=3D"foreign"/>
				<xs:element ref=3D"milestone"/>
				<xs:element ref=3D"name"/>
				<xs:element ref=3D"reference"/>
				<xs:element ref=3D"seg"/>
				<xs:element ref=3D"w"/>
			</xs:choice>
			<xs:attributeGroup ref=3D"globalAttributes"/>
		</xs:complexType>
	</xs:element>
	<!-- speaker will usually have content but is not required to do so, =
shifts in the character in poetic dialogue may not be explicitly marked =
in a text but the encoder wishes to make a claim about such speakers -->
	<xs:element name=3D"speaker">
		<xs:complexType mixed=3D"true">
			<xs:choice minOccurs=3D"0" maxOccurs=3D"unbounded">
				<xs:element ref=3D"name"/>
				<xs:element ref=3D"note"/>
				<xs:element ref=3D"reference"/>
			</xs:choice>
			<xs:attributeGroup ref=3D"globalAttributes"/>
		</xs:complexType>
	</xs:element>
	<!-- speech is used to mark direct speeches, reported speeches should =
be recorded using the q element -->
	<!-- content model fixed to allow recursion, 24 May 2002, pld -->
	<!-- commented out the key/keyRef for speech, 24 May 2002, pld -->
	<!-- add who as attribute -->
	<!-- restored seg as an element, add who as attribute, 31 May 2002, pld =
-->
	<xs:element name=3D"speech">
		<xs:complexType mixed=3D"true">
			<xs:sequence>
				<xs:element ref=3D"speech" minOccurs=3D"0" maxOccurs=3D"unbounded"/>
				<xs:choice minOccurs=3D"0" maxOccurs=3D"unbounded">
					<xs:element ref=3D"abbr"/>
					<xs:element ref=3D"blockQuote"/>
					<xs:element ref=3D"foreign"/>
					<xs:element ref=3D"inscription"/>
					<xs:element ref=3D"mentioned"/>
					<xs:element ref=3D"milestone"/>
					<xs:element ref=3D"name"/>
					<xs:element ref=3D"note"/>
					<xs:element ref=3D"q"/>
					<xs:element ref=3D"reference"/>
					<xs:element ref=3D"salute"/>
					<xs:element ref=3D"seg"/>
					<xs:element ref=3D"speaker"/>
					<xs:element ref=3D"verse"/>
					<xs:element ref=3D"w"/>
				</xs:choice>
			</xs:sequence>
			<xs:attribute name=3D"speechID" type=3D"xs:string"/>
			<xs:attribute name=3D"next" type=3D"xs:string" use=3D"optional"/>
			<xs:attribute name=3D"prev" type=3D"xs:string" use=3D"optional"/>
			<xs:attribute name=3D"who" type=3D"xs:string" use=3D"optional"/>
			<xs:attributeGroup ref=3D"globalAttributes"/>
		</xs:complexType>
	</xs:element>
	<!-- title occurs as child of div only - recurs so can use for =
subtitles - some smaller elements for common parts of title -->
	<!-- fixed content model to allow recursion, 24 May 2002, pld -->
	<!-- restored seg as an element, 31 May 2002, pld -->
	<xs:element name=3D"title">
		<xs:complexType mixed=3D"true">
			<xs:sequence>
				<xs:element ref=3D"title" minOccurs=3D"0" maxOccurs=3D"unbounded"/>
				<xs:choice minOccurs=3D"0" maxOccurs=3D"unbounded">
					<xs:element ref=3D"abbr"/>
					<xs:element ref=3D"foreign"/>
					<xs:element ref=3D"name"/>
					<xs:element ref=3D"note"/>
					<xs:element ref=3D"q"/>
					<xs:element ref=3D"reference"/>
					<xs:element ref=3D"seg"/>
					<xs:element ref=3D"w"/>
				</xs:choice>
			</xs:sequence>
			<xs:attributeGroup ref=3D"globalAttributes"/>
			<xs:attribute name=3D"TEIform" fixed=3D"title"/>
		</xs:complexType>
	</xs:element>
	<!-- transChange is used to encode material not thought to be part of =
the original language in a translation - use attributes to indicate a =
typology of the change -->
	<!-- restored seg as an element, 31 May 2002, pld -->
	<xs:element name=3D"transChange">
		<xs:complexType mixed=3D"true">
			<xs:choice minOccurs=3D"0" maxOccurs=3D"unbounded">
				<xs:element ref=3D"abbr"/>
				<xs:element ref=3D"foreign"/>
				<xs:element ref=3D"name"/>
				<xs:element ref=3D"note"/>
				<xs:element ref=3D"reference"/>
				<xs:element ref=3D"seg"/>
				<xs:element ref=3D"w"/>
			</xs:choice>
			<xs:attribute name=3D"changeType" type=3D"changeType" =
use=3D"optional"/>
			<xs:attributeGroup ref=3D"globalAttributes"/>
		</xs:complexType>
	</xs:element>
	<!-- note that I have added the key/keyRef to allow the spliting of a =
verse across boundaries where necessary. The key/keyRef mechanism =
requires that the key be non-nillable, in other words required. Rather =
than make another attribute group for global attributes or require IDs =
everywhere, I simply added the verseID attribute and it is required on =
all elements. Note that the next attribute has only an informative =
function. -->
	<!-- commented out the key/keyRef mechanism, 24 May 2002, pld -->
	<!-- removed key/keyRef mechanism, 31 May 2002, pld -->
	<!-- restored seg as an element, 31 May 2002, pld -->
	<xs:element name=3D"verse">
		<xs:complexType mixed=3D"true">
			<xs:choice minOccurs=3D"0" maxOccurs=3D"unbounded">
				<xs:element ref=3D"abbr"/>
				<xs:element ref=3D"foreign"/>
				<xs:element ref=3D"inscription"/>
				<xs:element ref=3D"milestone"/>
				<xs:element ref=3D"name"/>
				<xs:element ref=3D"note"/>
				<xs:element ref=3D"q"/>
				<xs:element ref=3D"reference"/>
				<xs:element ref=3D"seg"/>
				<xs:element ref=3D"speaker"/>
				<xs:element ref=3D"w"/>
			</xs:choice>
			<xs:attribute name=3D"verseID" type=3D"xs:string"/>
			<xs:attribute name=3D"next" type=3D"xs:string" use=3D"optional"/>
			<xs:attribute name=3D"prev" type=3D"xs:string" use=3D"optional"/>
			<xs:attributeGroup ref=3D"globalAttributes"/>
		</xs:complexType>
	</xs:element>
	<!-- word is used to mark the smallest unit of text, generally in =
Western literature seen as a token separated by white space - has =
attributes to carry Strong's numbers. -->
	<!-- restored seg as an element, 31 May 2002, pld -->
	<xs:element name=3D"w">
		<xs:complexType mixed=3D"true">
			<xs:choice minOccurs=3D"0" maxOccurs=3D"unbounded">
				<xs:element ref=3D"note"/>
				<xs:element ref=3D"seg"/>
			</xs:choice>
			<xs:attribute name=3D"POS" type=3D"attributeExtension" =
use=3D"optional"/>
			<xs:attribute name=3D"morph" type=3D"attributeExtension" =
use=3D"optional"/>
			<xs:attribute name=3D"lemma" type=3D"attributeExtension" =
use=3D"optional"/>
			<xs:attribute name=3D"gloss" type=3D"xs:string" use=3D"optional"/>
			<xs:attribute name=3D"xlit" type=3D"xs:string" use=3D"optional"/>
			<xs:attributeGroup ref=3D"globalAttributes"/>
		</xs:complexType>
	</xs:element>
	<!-- attributes -->
	<!-- changed type on lang to languageType, from xs:string, 24 May 2002, =
pld -->
	<!-- created commonAttribute group to hold the common attributes and =
just call attribute groups from here, 24 May 2002, pld -->
	<xs:attributeGroup name=3D"globalAttributes">
		<xs:attributeGroup ref=3D"commonAttributes"/>
		<xs:attributeGroup ref=3D"inReferenceAttributes"/>
		<xs:attributeGroup ref=3D"outReferenceAttributes"/>
	</xs:attributeGroup>
	<!-- note that for the various simple types I have only defined the =
regexes as suggested by Steve. For further validation, those values, =
particulary osisWork and osisRef should be overidden by additional =
declarations. avoids trying to solve the referce system question based =
upon inadequate information -->
	<xs:attributeGroup name=3D"commonAttributes">
		<xs:attribute name=3D"ews" type=3D"xs:string" use=3D"optional"/>
		<xs:attribute name=3D"ID" type=3D"xs:ID" use=3D"optional"/>
		<xs:attribute name=3D"lang" type=3D"languageType" use=3D"optional"/>
		<xs:attribute name=3D"resp" type=3D"xs:string" use=3D"optional"/>
		<xs:attribute name=3D"type" type=3D"xs:string" use=3D"optional"/>
		<xs:attribute name=3D"n" type=3D"xs:string" use=3D"optional"/>
	</xs:attributeGroup>
	<!-- change to osisWork and osisRef, rename simple type for osisWork =
-->
	<!-- combined osisRef and osisGrain to make citation easier, both in =
inReferrenceAttributes and outReferenceAttributes -->
	<xs:attributeGroup name=3D"inReferenceAttributes">
		<xs:attribute name=3D"work" type=3D"osisRef" use=3D"optional"/>
		<xs:attribute name=3D"cite" type=3D"osisRef" use=3D"optional"/>
	</xs:attributeGroup>
	<xs:attributeGroup name=3D"outReferenceAttributes">
		<xs:attribute name=3D"outWork" type=3D"osisRef" use=3D"optional"/>
		<xs:attribute name=3D"outCite" type=3D"osisRef" use=3D"optional"/>
	</xs:attributeGroup>
	<!-- simple types -->
	<xs:simpleType name=3D"attributeExtension">
		<xs:restriction base=3D"xs:string">
			<xs:pattern value=3D"x-([^\s]+)"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name=3D"calendar">
		<xs:restriction base=3D"xs:string">
			<xs:enumeration value=3D"Chinese"/>
			<xs:enumeration value=3D"Gregorian"/>
			<xs:enumeration value=3D"Islamic"/>
			<xs:enumeration value=3D"ISO"/>
			<xs:enumeration value=3D"Jewish"/>
			<xs:enumeration value=3D"Julian"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name=3D"changesOSIS">
		<xs:restriction base=3D"xs:string">
			<xs:enumeration value=3D"added"/>
			<xs:enumeration value=3D"amplified"/>
			<xs:enumeration value=3D"changed"/>
			<xs:enumeration value=3D"deleted"/>
			<xs:enumeration value=3D"moved"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name=3D"changeType">
		<xs:union memberTypes=3D"changesOSIS attributeExtension"/>
	</xs:simpleType>
	<xs:simpleType name=3D"divsOSIS">
		<xs:restriction base=3D"xs:string">
			<xs:enumeration value=3D"appendix"/>
			<xs:enumeration value=3D"book"/>
			<xs:enumeration value=3D"chapter"/>
			<xs:enumeration value=3D"concordance"/>
			<xs:enumeration value=3D"glossary"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name=3D"divType">
		<xs:union memberTypes=3D"divsOSIS attributeExtension"/>
	</xs:simpleType>
	<xs:simpleType name=3D"languageType">
		<xs:restriction base=3D"xs:string">
			<xs:pattern value=3D"(x|i|[A-Za-z]{2,3})(-[A-Za-z0-9]{2,8}){0,}"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name=3D"namesOSIS">
		<xs:annotation>
			<xs:documentation>
				<p>Enumerated list of name types commonly found in biblical =
texts.</p>
				<p>The attribute nonhuman was inserted to allow the marking of names =
that are not encoded with the element divineName. The divineName element =
was introduced to treat name occurences that are treated differently, =
i.e., the setting of Lord in small caps, to represent a name in the =
original text. Rather than attempt to enumerate all the varying =
traditions for such practices, the divineName element simply recognizes =
it and allows encoders to follow that practice (or not) as they =
desire.</p>
			</xs:documentation>
		</xs:annotation>
		<xs:restriction base=3D"xs:string">
			<xs:enumeration value=3D"geographic"/>
			<xs:enumeration value=3D"holiday"/>
			<xs:enumeration value=3D"nonhuman"/>
			<xs:enumeration value=3D"person"/>
			<xs:enumeration value=3D"ritual"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name=3D"nameType">
		<xs:union memberTypes=3D"namesOSIS attributeExtension"/>
	</xs:simpleType>
	<xs:simpleType name=3D"notesOSIS">
		<xs:restriction base=3D"xs:string">
			<xs:enumeration value=3D"allusion"/>
			<xs:enumeration value=3D"alternative"/>
			<xs:enumeration value=3D"background"/>
			<xs:enumeration value=3D"citation"/>
			<xs:enumeration value=3D"devotional"/>
			<xs:enumeration value=3D"exegesis"/>
			<xs:enumeration value=3D"explanation"/>
			<xs:enumeration value=3D"study"/>
			<xs:enumeration value=3D"translation"/>
			<xs:enumeration value=3D"variant"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name=3D"noteType">
		<xs:union memberTypes=3D"notesOSIS attributeExtension"/>
	</xs:simpleType>
	<!-- query to Steve, shouldn't grain do the duty of range? Can be =
character count but also other meaningful (in the reference system) =
grain? -->
	<!-- combine osisGrain and osisRef into one attribute, =
ref1@grain-ref2@grain, 29 May 2002, pld -->
	<xs:simpleType name=3D"osisWork">
		<xs:restriction base=3D"xs:string">
			<xs:pattern value=3D"(([^\s]*\.){0,6}([^\s]*))"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name=3D"osisRef">
		<xs:restriction base=3D"xs:string">
			<xs:pattern =
value=3D"(([^\s]*\.){0,6}([^\s]*))(@((char:(\d*)\+(\d*)\((.*)\))|((x-(\c*=
):)(.*)\((.*)\))))?((-(([^\s]*\.){0,6}([^\s]*)))?|(-(([^\s]*\.){0,6}([^\s=
]*)))(@((char:(\d*)\+(\d*)\((.*)\))|((x-(\c*):)(.*)\((.*)\))))?)?"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name=3D"roleOSIS">
		<xs:annotation>
			<xs:documentation>
				<p>This is a selected set of the most common role names likely to be =
needed for basic encoding. The full set of relator codes on which this =
listing (and the descriptions are based, was taken from: MARC Code List: =
Relator Codes -- Term Sequence =
(http://lcweb.loc.gov/marc/relators/re0002r1.html). This listing will be =
followed for later OSIS modules.</p>
			</xs:documentation>
		</xs:annotation>
		<xs:restriction base=3D"xs:string">
			<xs:enumeration value=3D"adp">
				<xs:annotation>
					<xs:documentation>Adapter: Use for a person who 1) reworks a =
musical composition,usually for a different medium, or 2) rewrites =
novels or stories for motionpictures or other audiovisual =
medium.</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value=3D"ann">
				<xs:annotation>
					<xs:documentation>Annotator: Use for a person who writes manuscript =
annotations on a printed item.</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value=3D"art">
				<xs:annotation>
					<xs:documentation>Artist: Use for a person (e.g., a painter) who =
conceives, and perhaps also implements, an original graphic design or =
work of art, </xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value=3D"aut">
				<xs:annotation>
					<xs:documentation>Author: Use for a person or corporate body =
chiefly responsiblefor the intellectual or artistic content of a work, =
usually printed text.  This term may also be used when more than one =
person or body bears such responsibility.</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value=3D"aqt">
				<xs:annotation>
					<xs:documentation>Author in quotations or text extracts: Use for a =
person whose work is largely quoted or extracted in a works to which he =
or she did not contribute directly.  Such quotations are found =
particularly in exhibition catalogs, collections of photographs, =
etc.</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value=3D"aft">
				<xs:annotation>
					<xs:documentation>Author of afterword, colophon, etc.: Use for a =
person or corporate body responsible for an afterword, postface, =
colophon, etc. but who isnot the chief author of a =
work.</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value=3D"aui">
				<xs:annotation>
					<xs:documentation>Author of introduction, etc.: Use for a person or =
corporate body responsible for an introduction, preface, foreword, or =
other critical introductory matter, but who is not the chief =
author.</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value=3D"bnd">
				<xs:annotation>
					<xs:documentation>Binder: </xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value=3D"bdd">
				<xs:annotation>
					<xs:documentation>Binding designer:  Designer of =
binding</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value=3D"bkd">
				<xs:annotation>
					<xs:documentation>Book designer: Use for the person or firm =
responsible for the entire graphic design of a book, including =
arrangement of type and illustration,choice of materials, and process =
used.</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value=3D"bkp">
				<xs:annotation>
					<xs:documentation>Book producer: Use for the person or firm =
responsible for the production of books and other print media, if =
specific codes</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value=3D"bjd">
				<xs:annotation>
					<xs:documentation>Bookjacket designer:  Designer of =
bookjacket</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value=3D"bpd">
				<xs:annotation>
					<xs:documentation>Bookplate designer: Designer of =
bookplate</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value=3D"ctg">
				<xs:annotation>
					<xs:documentation>Cartographer: </xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value=3D"clb">
				<xs:annotation>
					<xs:documentation>Collaborator: Use for a person or corporate body =
that takes a limited part in the elaboration of a work of another person =
or corporate body that brings complements (e.g., appendices, notes) to =
the work.</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value=3D"cmm">
				<xs:annotation>
					<xs:documentation>Commentator: Use for a person who provides =
interpretation, analysis,or a discussion of the subject matter on a =
recording, motion picture, or other audiovisual =
medium.</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value=3D"cwt">
				<xs:annotation>
					<xs:documentation>Commentator for written text: Use for a person or =
corporate body responsible for the commentary or explanatory notes about =
a text.  For the writer of manuscript annotations in a printed book, use =
Annotator</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value=3D"com">
				<xs:annotation>
					<xs:documentation>Compiler: Use for a person who produces a work or =
publication by selecting and putting together material from the works of =
various persons or bodies.</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value=3D"ctb">
				<xs:annotation>
					<xs:documentation>Contributor: Use for one whose work has been =
contributed to a larger work, such as an anthology, serial publication, =
or other compilation of individual works. Do not use for someone whose =
sole function in relation to a work is as author, editor, compiler or =
translator.</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value=3D"cre">
				<xs:annotation>
					<xs:documentation>Creator: Use for a person or corporate body =
responsible for the intellectual or artistic content of a =
work.</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value=3D"edt">
				<xs:annotation>
					<xs:documentation>Editor: Use for a person who prepares for =
publication a work not primarily his/her own, such as by elucidating =
text, adding introductory or other critical matter, or technically =
directing an editorial staff.</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value=3D"ilu">
				<xs:annotation>
					<xs:documentation>Illuminator: </xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value=3D"ill">
				<xs:annotation>
					<xs:documentation>Illustrator: Use for the person who conceives, =
and perhaps also implements, a design or illustration, usually to =
accompany a written text.</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value=3D"pbl">
				<xs:annotation>
					<xs:documentation>Publisher: </xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value=3D"trl">
				<xs:annotation>
					<xs:documentation>Translator: Use for a person who renders a text =
from one language into another, or from an older form of a language into =
the modern form.</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name=3D"roleType">
		<xs:union memberTypes=3D"roleOSIS attributeExtension"/>
	</xs:simpleType>
</xs:schema>

------=_NextPart_000_002D_01C20C2E.9ECCDC50--