[osis-core] OSISScripture_01094 with new regex.

Patrick Durusau osis-core@bibletechnologieswg.org
Wed, 17 Apr 2002 06:48:01 -0400


This is a multi-part message in MIME format.
--------------060702050708040805020003
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Troy,

I will be calling Todd today about the regex problem on reference.

Troy A. Griffitts wrote:

>No!  My bad!  Your original assumption was correct:  attribute value +
>display text container, vs. Todd's syntax.  The ':' int the attribute
>value was accidental.  rev v.00002 below
>
><ref refID="Gen.1.20-22">Genesis 1:20-22</ref>
>
Thanks for catching this rather serious problem!

Try the attached revision and see if that fixes the problem. There 
should be NO validation of the string between the <ref refID=....> NO 
Validation here </ref>.

Patrick




>
>Patrick Durusau wrote:
>
>>Troy,
>>
>>Sorry, the question was the use of a ":" in the attribute value?
>>
>>If so, no, is it not allowed.
>>
>>Patrick
>>
>>Troy A. Griffitts wrote:
>>
>>>I LOVE examples, as I am not up on the current XML lingo.
>>>I don't understand the examples below.
>>>
>>>Are we saying that we're not having anything like:
>>>
>>><ref refID="Gen.1:20-22">Genesis 1:20-22</ref>
>>>
>>>??
>>>
>>>
>>>
>>>Todd Tillinghast wrote:
>>>
>>>>Following are valid:
>>>>
>>>><ref>Bible.KJV..Gen</ref>
>>>><ref>Bible.KJV.A..Gen.a-a.1.1-1</ref>
>>>><ref>Bible.B..Gen</ref>
>>>><ref>Gen.20.17-18</ref>
>>>><ref>Gen.20.17-18.Q-1</ref>
>>>><rWork>Bible.TEV</rWork>
>>>><rWork>Bible.XYZ</rWork>
>>>><rWork>Bible.h</rWork>
>>>><rWork>Bible.TEV.1998</rWork>
>>>><rWork>Bible.1</rWork>
>>>>
>>>>Following are NOT valid:
>>>>
>>>><ref>Bible.KJV..</ref> (A side of me thinks this should be valid as a
>>>>reference to the whole work.)
>>>><ref>Bible.KJV.A..Gen.-a</ref>
>>>><ref>Bible.TEV-1992..Gen</ref>
>>>><ref>Gen.20.-18</ref>
>>>><ref>Gen.20.17-18.-1</ref>
>>>><ref>Gen.20.17-18-1</ref>
>>>><ref>Gen 20:17</ref>
>>>><rWork>Bible.TEV-1998</rWork>
>>>><rWork>Bible.TEV 1998</rWork>
>>>><rWork>Bible TEV</rWork>
>>>><rWork>BIBLE.TEV</rWork>
>>>>
>>>>Todd
>>>>
>>>> ------------------------------------------------------------------------
>>>>                             Name: osisScripture_01094.xsd
>>>>  osisScripture_01094.xsd    Type: text/xml
>>>>                         Encoding: quoted-printable
>>>>
>>--
>>Patrick Durusau
>>Director of Research and Development
>>Society of Biblical Literature
>>pdurusau@emory.edu
>>

-- 
Patrick Durusau
Director of Research and Development
Society of Biblical Literature
pdurusau@emory.edu



--------------060702050708040805020003
Content-Type: text/plain;
 name="osisScripture_01096.xsd"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="osisScripture_01096.xsd"

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="unqualified">
	<xs:redefine schemaLocation="OSISCore_01096.xsd">
		<xs:simpleType name="refWorkType">
			<xs:restriction base="refWorkType">
				<xs:pattern value="(Bible\.Prot|Bible\.Cath|Bible\.NIV|Bible\.KJV|Bible\.TEV|Bible\.NSAB|(Bible((\.[\w]+){1,})))"/>
			</xs:restriction>
		</xs:simpleType>
		<xs:simpleType name="referenceType">
			<xs:restriction base="referenceType">
				<xs:pattern value="((Bible\.Prot|Bible\.Cath|Bible\.NIV|Bible\.KJV|Bible\.TEV|Bible\.NSAB|(Bible((\.[\w]+){1,})))\.\.((Gen|Exod|Lev|Num|Deut|Josh|Judg|Ruth|_1Sam|_2Sam|_1Kgs|_2Kgs|_1Chr|_2Chr|Ezra|Neh|Esth|Job|Ps|Prov|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)|(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))((\.([\w]+(\-[\w]+)?)){0,})?)"/>
				<xs:pattern value="((Gen|Exod|Lev|Num|Deut|Josh|Judg|Ruth|_1Sam|_2Sam|_1Kgs|_2Kgs|_1Chr|_2Chr|Ezra|Neh|Esth|Job|Ps|Prov|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)|(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))((\.([\w]+(\-[\w]+)?)){0,})?"/>
			</xs:restriction>
		</xs:simpleType>
		<xs:simpleType name="milestoneID">
			<xs:restriction base="milestoneID">
				<xs:pattern value="((Bible\.Prot|Bible\.Cath|Bible\.NIV|Bible\.KJV|Bible\.TEV|Bible\.NSAB|(Bible((\.[\w]+){1,})))\.\.((Gen|Exod|Lev|Num|Deut|Josh|Judg|Ruth|_1Sam|_2Sam|_1Kgs|_2Kgs|_1Chr|_2Chr|Ezra|Neh|Esth|Job|Ps|Prov|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)|(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))((\.([\w]+(\-[\w]+)?)){0,})?)"/>
				<xs:pattern value="((Gen|Exod|Lev|Num|Deut|Josh|Judg|Ruth|_1Sam|_2Sam|_1Kgs|_2Kgs|_1Chr|_2Chr|Ezra|Neh|Esth|Job|Ps|Prov|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)|(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))((\.([\w]+(\-[\w]+)?)){0,})?"/>
			</xs:restriction>
		</xs:simpleType>
		<xs:simpleType name="milestoneIDREF">
			<xs:restriction base="milestoneIDREF">
				<xs:pattern value="((Bible\.Prot|Bible\.Cath|Bible\.NIV|Bible\.KJV|Bible\.TEV|Bible\.NSAB|(Bible((\.[\w]+){1,})))\.\.((Gen|Exod|Lev|Num|Deut|Josh|Judg|Ruth|_1Sam|_2Sam|_1Kgs|_2Kgs|_1Chr|_2Chr|Ezra|Neh|Esth|Job|Ps|Prov|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)|(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))((\.([\w]+(\-[\w]+)?)){0,})?)"/>
				<xs:pattern value="((Gen|Exod|Lev|Num|Deut|Josh|Judg|Ruth|_1Sam|_2Sam|_1Kgs|_2Kgs|_1Chr|_2Chr|Ezra|Neh|Esth|Job|Ps|Prov|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)|(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))((\.([\w]+(\-[\w]+)?)){0,})?"/>
			</xs:restriction>
		</xs:simpleType>
	</xs:redefine>
</xs:schema>

--------------060702050708040805020003
Content-Type: text/plain;
 name="osiscore_01096.xsd"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline;
 filename="osiscore_01096.xsd"

<?xml version=3D"1.0" encoding=3D"UTF-8"?>
<!-- edited with XML Spy v4.3 U (http://www.xmlspy.com) by Patrick Durusa=
u (Society of Biblical Literature) -->
<xs:schema xmlns:xs=3D"http://www.w3.org/2001/XMLSchema" elementFormDefau=
lt=3D"unqualified">
	<xs:annotation>
		<xs:documentation> 		Revision History  	<p>
				<date>2002-01-31</date>
				<version>.01</version>
				<resp>PLD</resp>First draft of schema following Dallas meeting, 24-27=
 January 2002. Comments for drafters will be removed prior to public rele=
ase.</p>
			<p>
				<date>2002-02-06</date>
				<version>.02</version>
				<resp>PLD</resp>Added annotation/documentation to schema. Began const=
ructing with incremental validation using SchemaValidator from IBM. Began=
 using group elements for content models and attributes.</p>
			<p>
				<date>2002-02-08</date>s 				<version>.03</version>
				<resp>PLD</resp>Completed header except for &lt;refsDecl&gt; and poss=
ible elements for translation and version (both of which should be in the=
 &lt;refsDecl&gt; element? Note the notion of using &lt;title&gt; instead=
 of head and similar elements for other title like portions of the text.<=
/p>
			<p>
				<date>2002-02-10</date>
				<version>.04</version>
				<resp>PLD</resp>Work began in earnest on the body and related element=
s. Note the use of &lt;titleGroup&gt; within &lt;body&gt;, &lt;div&gt;, &=
lt;book&gt;, &lt;chapter&gt;. I am using that instead of a free floating =
&lt;head&gt; element. I think it will give authors the flexibility to add=
 whatever title/head like content to the text at any point without the co=
nfusion of &lt;head&gt;, plus &lt;title&gt;, plus whatever other header t=
ype structure we could invent.</p>
			<p>
				<date>2002-02-11</date>
				<version>.04</version>
				<resp>PLD</resp>Content models sans the reference materials. Should b=
e enough to start debugging the schema as a whole.</p>
			<p>
				<date>2002-02-14</date>
				<version>.05</version>
				<resp>PLD</resp>After much email correspondence over the last two day=
s, substantially reforming the content model to allow for recursive nesti=
ng of div elements. Also added enumerated types for divs, which should si=
mplify the content models by eliminating book, chapter and similar group =
elements. Note that lineGroup has been swallowed up  by div, where it act=
ually belongs.</p>
			<p>
				<date>2002-02-18</date>
				<version>.06</version>
				<resp>PLD</resp>Finished the revisions noted for version .05 and am w=
orking on validation. Note that the ID attribute on milestones are also u=
sed as keys for the key/keyRef mechanism. This means that all keys are un=
ique and all keyrefs are also declared to be unique. Should result in req=
uiring a matching keyref that is unique within the relevant div structure=
=2E</p>
			<p>
				<date>2002-03-01</date>
				<version>.07</version>
				<resp>PLD</resp>Major as well as minor changes: ID is now optional; c=
reated translationGroup for elements such as ampRead, changedTense, ntPro=
phecy, otProphecy, supplied, since they are all claims about the text; ne=
ed a reduced set on roles for this version and move to a separate file (e=
ventually), roles will also become 3-letter abbreviations and the explana=
tory text will be in documentation elements; new element, lineGroup to co=
ntain line; list (now an orphan) will be add to div element, name element=
 becomes mixed content to allow Mr., Dr., The Most Honored, Reverend, etc=
=2E; new element, divineName, with enumerated set (closed); attribute on =
name becomes human/nonhuman</p>
			<p>
				<date>2002-03-03</date>
				<version>.08</version>
				<resp>PLD</resp>Final cleanup before release of first public beta! Wi=
ll release with version number .10, since planning on one more revision f=
or general approval tomorrow before the public release. I think I have fi=
nally remembered all the orphans! Please check carefully, that would be a=
 very bad thing for the public release!</p>
			<p>
				<date>2002-03-06</date>
				<version>.095</version>
				<resp>PLD</resp>Opps! Skipped a version in the log. Will reconstruct.=
 New addtions as the separate includes for book names, one universal mile=
stone element, fixed title to remove mixed =3D true, minor typo fixes to =
the book names so they will be valid IDs.</p>
			<p>
				<date>2002-03-07</date>
				<version>.096</version>
				<resp>PLD</resp>Added Todd's reference schema and Protestant canon fo=
r reference testing. Added Chris's corrected set of book names. Cleaned u=
p the content model (some) to remove B-C-V as an alternative hierarchy. M=
akes the data model cleaner anyway. Set default value on calendar to ISO,=
 added other types as per Chris.</p>
			<p>
				<date>2002-03-10</date>
				<version>.097</version>
				<resp>PLD</resp>Cleaned up attribute names (case) and corrected the c=
ontent model on milestones (should be called allowing 0 or unbounded but =
within the group as xs:choice).</p>
			<p>
				<date>2002-03-11</date>
				<version>.098</version>
				<resp>PLD</resp>Added attachement to note, double ended pointing with=
 both ends optional. Included Catholic scripture reference as default sin=
ce it is the larger set of books. Due to the`reference validation I have =
not included the other works.</p>
			<p>
				<date>2002-03-12</date>
				<version>.099</version>
				<resp>PLD</resp>Corrected typo in reference "or" list (thanks to Chri=
s!), modified the naming on the cathScriptureReference.xsd to be compScri=
ptureReference.xsd. Move reference inside the main schema.</p>
			<p>
				<date>2002-03-16</date>
				<version>.0100</version>
				<resp>PLD</resp>Numerous corrections as submitted by Todd. Added note=
Part to make the note model more robust.</p>
			<p>
				<date>2002-03-18</date>
				<version>.0101</version>
				<resp>PLD</resp>Hopefully last version before public beta. More corre=
ctions from Todd. Suggested opening paragraph for documentation follows.<=
/p>
			<p>
				<date>2002-03-18</date>
				<version>.0101</version>
				<resp>PLD</resp>Welcome to the first beta release of the OSIS schema!=
 Comments, corrections, etc., should be directed to: osis-editors@biblete=
chnologies.org.</p>
			<p>The OSIS schema is an effort to build an extensible schema for Bibl=
e (primarily) encoding but can be used for other works related to the Bib=
le. This first schema does not have all the mechanisms that would be desi=
red by a publisher, translator or scholar. That is by design and and it i=
s intended to provide a reasonable learning curve for anyone wishing to u=
se markup to encode biblical texts. Later modules will build upon this ba=
sis so that users can leverage their knowledge of this schema in masterin=
g more advanced modules.</p>
			<p>This schema would not have been possible without the generous contr=
ibutions of time and resources by SIL, LOGOS, Hosanna Foundation, ABSi, A=
BS, SBL, as well as the following individuals; Dennis Drescher, Nathan Mi=
les, Alan Conner, Bob Pritchett, Mike Perez, John Walter, Trevon Gross, A=
dina Hamik, Robert Hogdson, Kees De Blois, Kent Richards, Troy Griffiths,=
 Chris Little, Todd Tillinghast, Steven DeRose and others. If poor memory=
 or records has caused your name to be omitted here, please excuse the ov=
ersight and contact the editors to have it added.</p>
			<p>The editorial team that has been doing almost daily iterations and =
testing of the beta release: Chris Little, chrislit@crosswire.org, Troy G=
riffiths, scribe@crosswire.org, Todd Tillinghast, todd@contentframeworks.=
com, Steven DeRose, sderose@speakeasy.net, and Patrick Durusau, pdurusau@=
emory.edu.</p>
			<p>
				<date>2002-03-21</date>
				<version>.0102</version>
				<resp>PLD</resp>Added derivations on &lt;divineName&gt;, &lt;foreign&=
gt;, &lt;inscription&gt;, &lt;name&gt;, &lt;speaker&gt;, and &lt;w&gt; as=
 per Todd (included test file as well, much appreciated!).</p>
			<p>
				<date>2002-03-27</date>
				<version>.0103</version>
				<resp>PLD</resp>Fixed content models (simpleContent) for foreName, he=
ad, item, head, orgName, pubPlace, publisher, reference, surName (all fro=
m Chris). Deleted groupLine and caption, plus fixed item to add annotatio=
nGroup, added attributes to referenceGroup, fixed titlePart (all from Tod=
d).</p>
			<p>
				<date>2002-04-02</date>
				<version>.0104</version>
				<resp>PLD</resp>Nearing the end of any substantial changes (hopefully=
!). Front matter: copyright, Todd proposes following XSEM's model. copyri=
ghtStmt/copyright(container for work, copyrightDate (container for year),=
 year, holder). Suggested model: keep current copyright, add elements for=
 work, copyrightDate, year, holder and place in the current copyright ele=
ment. </p>
			<p>
				<date>2002-04-08</date>
				<version>.0105</version>
				<resp>PLD</resp>Unfortunately a major revision due to uncaught syntax=
 errors by XMLSpy! Allowed multiple datatypes of ID on a single element! =
Bad joss! Numerous other tweaks and changes as well. Tried for better lin=
king model in milestones. Added some documentation inside the schema for =
various elements.</p>
			<p>
				<date>2002-04-09</date>
				<version>.0106</version>
				<resp>PLD</resp>Another major re-write, this time on attributes as we=
ll as the promised referencing scheme. Consolidated all global attributes=
, moving what were types under elements to elementType attribute names.</=
p>
			<p>
				<date>2002-04-10</date>
				<version>.0107</version>
				<resp>DTT</resp>Major architectural changes to make adaptation easier=
, core module now called by literature specific modules.</p>
			<p>
				<date>2002-04-11</date>
				<version>.0108</version>
				<resp>PLD</resp>Adaptation of architectural revision from .0107. Prim=
ary change was to incorporate types of lists into OSIS so future changes =
would only require one new driver file for changes.</p>
			<p>
				<date>2002-04-13</date>
				<version>.0109</version>
				<resp>PLD</resp>Major changes: added ID to all elements. added work a=
ttribute to text as NMTOKEN. added workReference as simpleType. have plac=
eholder for OSISID and OSISIDREF which are re-defined in driver file. OSI=
SID changed to NMTOKENS type for multiple references, Gen.1.17-18 in TEV =
problem. reformed Bible book names to allow leading digit. reformed regex=
 to take work out of regex. added refWork attribute to note. reformed att=
ributes to use uniform naming</p>
			<p>
				<date>2002-04-14</date>
				<version>.01091</version>
				<resp>PLD</resp>Changed back to ID/IDREF exclusively. Added target at=
tribute to reference only. Attachments (note) are by IDREF only. Note tha=
t going back to ID means book names that start with a number have the lea=
ding underscore character. Took out global attributes of reference and re=
ferenceEnd. If these are pointers outside the document, cannot validate w=
ith referenceType. Use new target attribute on reference for outside refe=
rences.</p>
			<p>
				<date>2002-04-15</date>
				<version>01092</version>
				<resp>DTT</resp>Modifications and error corrections from Todd</p>
			<p>
				<date>2002-04-15</date>
				<version>01093</version>
				<resp>PLD</resp>Further modifications and checking of error correctio=
ns.</p>
		</xs:documentation>
	</xs:annotation>
	<xs:simpleType name=3D"attributeExtension">
		<xs:annotation>
			<xs:documentation>
				<p>Where attribute values are declared, users can extend the allowed =
values by prepending the string &quot;x-&quot; to the values they desire =
to use. Attribute values are declared as the union of an enumerated set o=
f values and this attributeExtension type.</p>
			</xs:documentation>
		</xs:annotation>
		<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"divsOSIS">
		<xs:annotation>
			<xs:documentation>
				<p>Enumerated list of types of div elements in an OSIS text. Note tha=
t users can add types of divs using the x- extension prefix on their type=
 names.</p>
			</xs:documentation>
		</xs:annotation>
		<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:attributeGroup name=3D"globalAttributes">
		<xs:attribute name=3D"ID" type=3D"OSISID" use=3D"optional"/>
		<xs:attribute name=3D"lang" type=3D"languageType" use=3D"optional"/>
		<xs:attribute name=3D"type" type=3D"xs:string" use=3D"optional"/>
	</xs:attributeGroup>
	<xs:attributeGroup name=3D"referenceAttributes">
		<xs:attribute name=3D"refStart" type=3D"referenceType" use=3D"optional"=
/>
		<xs:attribute name=3D"refEnd" type=3D"referenceType" use=3D"optional"/>=

	</xs:attributeGroup>
	<xs:attributeGroup name=3D"startMilestoneAttributes">
		<xs:attribute name=3D"MID" type=3D"milestoneID" use=3D"required"/>
		<xs:attribute name=3D"MIDREF" type=3D"milestoneIDREF" use=3D"optional"/=
>
	</xs:attributeGroup>
	<xs:attributeGroup name=3D"endMilestoneAttributes">
		<xs:attribute name=3D"MID" type=3D"milestoneID" use=3D"optional"/>
		<xs:attribute name=3D"MIDREF" type=3D"milestoneIDREF" use=3D"required"/=
>
	</xs:attributeGroup>
	<xs:simpleType name=3D"languageType">
		<xs:annotation>
			<xs:documentation>
				<p>A regex to validate ISO and Ethnologue language codes.</p>
			</xs:documentation>
		</xs:annotation>
		<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=
>
			</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"notesOSIS">
		<xs:annotation>
			<xs:documentation>
				<p>Enumerated list of note types for biblical texts.</p>
			</xs:documentation>
		</xs:annotation>
		<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"role">
		<xs:annotation>
			<xs:documentation>
				<p>This is a selected set of the most common role names likely to be =
needed for basic encoding. Users who need the fuller set of role names sh=
ould modify the include statement to load: fullRoleNames.xsd. Note that o=
nly this file or fullRoleNames.xsd should be loaded in any one schema.</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 sto=
ries 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 con=
ceives, and perhaps also implements, an original graphic design or work o=
f 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 p=
rinted text.  This term may also be used when more than one person or bod=
y 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 particular=
ly in exhibition catalogs, collections of photographs, etc.</xs:documenta=
tion>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value=3D"aft">
				<xs:annotation>
					<xs:documentation>Author of afterword, colophon, etc.  : Use for a p=
erson 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 o=
r corporate body responsible for an introduction, preface, foreword, or o=
ther critical introductory matter, but who is not the chief author.</xs:d=
ocumentation>
				</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:documen=
tation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value=3D"bkd">
				<xs:annotation>
					<xs:documentation>Book designer: Use for the person or firm responsi=
ble for the entire graphic design of a book, including arrangement of typ=
e and illustration,choice of materials, and process used.</xs:documentati=
on>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value=3D"bkp">
				<xs:annotation>
					<xs:documentation>Book producer: Use for the person or firm responsi=
ble 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:docu=
mentation>
				</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 t=
hat takes a limited part in the elaboration of a work of another person o=
r 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 interpr=
etation, analysis,or a discussion of the subject matter on a recording, m=
otion 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 con=
tributed to a larger work, such as an anthology, serial publication, or o=
ther compilation of individual works. Do not use for someone whose sole f=
unction in relation to a work is as author, editor, compiler or translato=
r.</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value=3D"cre">
				<xs:annotation>
					<xs:documentation>Creator  : Use for a person or corporate body resp=
onsible for the intellectual or artistic content of a work.</xs:documenta=
tion>
				</xs:annotation>
			</xs:enumeration>
			<xs:enumeration value=3D"edt">
				<xs:annotation>
					<xs:documentation>Editor: Use for a person who prepares for publicat=
ion a work not primarily his/her own, such as by elucidating text, adding=
 introductory or other critical matter, or technically directing an edito=
rial 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 fr=
om one language into another, or from an older form of a language into th=
e modern form.</xs:documentation>
				</xs:annotation>
			</xs:enumeration>
		</xs:restriction>
	</xs:simpleType>
	<xs:element name=3D"text">
		<xs:complexType>
			<xs:annotation>
				<xs:documentation>
					<p>Front and body element are required and in that sequence. This is=
 implied by the sequence content model. Note that back is optional, but i=
f occurs, only once.</p>
				</xs:documentation>
			</xs:annotation>
			<xs:sequence>
				<xs:element ref=3D"front"/>
				<xs:element ref=3D"body"/>
				<xs:element ref=3D"back" minOccurs=3D"0"/>
			</xs:sequence>
			<xs:attribute name=3D"refWork" type=3D"refWorkType" use=3D"required"/>=

			<xs:attributeGroup ref=3D"globalAttributes"/>
		</xs:complexType>
	</xs:element>
	<xs:element name=3D"front">
		<xs:annotation>
			<xs:documentation>
				<p>Note to working group. To be removed before pubication. Note that =
this particular front matter model requires the initial sequence as shown=
=2E Once all these elements have occurred, you could have a variety of di=
vs for front matter. Question: should not only the sequence be required b=
ut the occurrences as well?</p>
			</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:group ref=3D"titleGroup"/>
				<xs:element ref=3D"author" maxOccurs=3D"unbounded"/>
				<xs:element ref=3D"date" maxOccurs=3D"unbounded"/>
				<xs:element ref=3D"copyright" maxOccurs=3D"unbounded"/>
				<xs:element ref=3D"publisher" maxOccurs=3D"unbounded"/>
				<xs:element ref=3D"pubPlace" maxOccurs=3D"unbounded"/>
				<xs:element ref=3D"revisionDesc" maxOccurs=3D"unbounded"/>
				<xs:element ref=3D"div" minOccurs=3D"0" maxOccurs=3D"unbounded"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:element name=3D"body">
		<xs:annotation>
			<xs:documentation>
				<p>Note the use of the xs:choice group between &lt;div&gt; and &lt;ch=
apter&gt;. In one sense I think we need to be clear that you can have &lt=
;chapter&gt; elements inside &lt;div&gt; elements but that you should not=
 mix them under the &lt;body&gt; element, at least at the same level. I c=
an imaging cases where OSIS will be applied to texts with only a single &=
lt;div&gt; element as understood in TEI semantics and it seems easier to =
let users to choose &lt;chapter&gt; for such works. Note that this allows=
 us to declare both the &lt;div&gt; and &lt;chapter&gt; elements elsewher=
e and use in this (as well as other) content models.</p>
				<p>Note that milestones are constrained with unique properties throug=
hout the &lt;body&gt;. The relevant content models also provide that eith=
er a container or milestone version of certain elements, such as &lt;vers=
e&gt;, &lt;line&gt;, &lt;p&gt;, and &lt;chapter&gt; can be chosen in appr=
opriate contexts.</p>
			</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:group ref=3D"titleGroup" 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:attributeGroup ref=3D"referenceAttributes"/>
		</xs:complexType>
	</xs:element>
	<xs:element name=3D"back">
		<xs:complexType>
			<xs:sequence>
				<xs:group ref=3D"titleGroup"/>
				<xs:element ref=3D"div" maxOccurs=3D"unbounded"/>
			</xs:sequence>
			<xs:attributeGroup ref=3D"globalAttributes"/>
			<xs:attribute name=3D"TEIform" fixed=3D"back"/>
			<xs:attributeGroup ref=3D"referenceAttributes"/>
		</xs:complexType>
	</xs:element>
	<xs:group name=3D"annotationGroup">
		<xs:annotation>
			<xs:documentation>
				<p>A group for common annotations recorded on a text.</p>
			</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element ref=3D"divineName" minOccurs=3D"0" maxOccurs=3D"unbounded"=
/>
			<xs:element ref=3D"foreign" minOccurs=3D"0" maxOccurs=3D"unbounded"/>
			<xs:element ref=3D"inscription" minOccurs=3D"0" maxOccurs=3D"unbounded=
"/>
			<xs:element ref=3D"name" minOccurs=3D"0" maxOccurs=3D"unbounded"/>
			<xs:element ref=3D"note" minOccurs=3D"0" maxOccurs=3D"unbounded"/>
			<xs:element ref=3D"q" minOccurs=3D"0" maxOccurs=3D"unbounded"/>
			<xs:element ref=3D"reference" minOccurs=3D"0" maxOccurs=3D"unbounded"/=
>
			<xs:element ref=3D"speaker" minOccurs=3D"0" maxOccurs=3D"unbounded"/>
			<xs:element ref=3D"w" minOccurs=3D"0" maxOccurs=3D"unbounded"/>
		</xs:sequence>
	</xs:group>
	<xs:group name=3D"milestones">
		<xs:annotation>
			<xs:documentation>
				<p>Milestones are used to mark the traditional book, chapter, verse d=
ivisions, which are the most likely to cross other divisions commonly use=
d in translations. In addition to these milestones, there is a generic mi=
lestone marker for cases not forseen by the encoding team. Note that the =
refStart and refEnd milestones are the generic form of the milestone mark=
er.</p>
				<p>The attributes of the milestone markers require some comment for p=
roper use. Note that all elements may, but are not required to bear an ID=
 attribute. The ID attribute answers the question of &quot;whoami?&quot; =
and not &quot;where am I pointing?&quot; That is an important distinction=
 since milestones will most often be used to indicate a division in the t=
ext that is composed of other parts of the text. For example, to mark Mat=
thew:1.2-6a (Abraham to David) it could be marked as &lt;refStart id=3D&q=
uot;div.003&quot; reference=3D&quot;Matt.1.2&quot; referenceEnd=3D&quot;M=
att.1.6a&quot; type=3D&quot;geneaology&quot; /&gt; text of Matthew here &=
lt;refEnd IDREF=3D&quot;div.003&quot;  Note that the ID on refStart was n=
ot required, but in order for the IDREF on refStop to validate, it must b=
e used. This is a good way to catch common typing mistakes. The reference=
 and referenceEnd point to the portions of the text that the milestone &q=
uot;surrounds&quot; in a very non-technical sense.</p>
			</xs:documentation>
		</xs:annotation>
		<xs:choice>
			<xs:element name=3D"bookStart">
				<xs:complexType>
					<xs:attributeGroup ref=3D"startMilestoneAttributes"/>
				</xs:complexType>
			</xs:element>
			<xs:element name=3D"bookEnd">
				<xs:complexType>
					<xs:attributeGroup ref=3D"endMilestoneAttributes"/>
				</xs:complexType>
			</xs:element>
			<xs:element name=3D"chapterStart">
				<xs:complexType>
					<xs:attributeGroup ref=3D"startMilestoneAttributes"/>
				</xs:complexType>
			</xs:element>
			<xs:element name=3D"chapterEnd">
				<xs:complexType>
					<xs:attributeGroup ref=3D"endMilestoneAttributes"/>
				</xs:complexType>
			</xs:element>
			<xs:element name=3D"lineStart">
				<xs:complexType>
					<xs:attributeGroup ref=3D"startMilestoneAttributes"/>
				</xs:complexType>
			</xs:element>
			<xs:element name=3D"lineEnd">
				<xs:complexType>
					<xs:attributeGroup ref=3D"endMilestoneAttributes"/>
				</xs:complexType>
			</xs:element>
			<xs:element name=3D"qStart">
				<xs:complexType>
					<xs:attributeGroup ref=3D"startMilestoneAttributes"/>
				</xs:complexType>
			</xs:element>
			<xs:element name=3D"qEnd">
				<xs:complexType>
					<xs:attributeGroup ref=3D"endMilestoneAttributes"/>
				</xs:complexType>
			</xs:element>
			<xs:element name=3D"seg">
				<xs:complexType>
					<xs:attributeGroup ref=3D"startMilestoneAttributes"/>
				</xs:complexType>
			</xs:element>
			<xs:element name=3D"segEnd">
				<xs:complexType>
					<xs:attributeGroup ref=3D"endMilestoneAttributes"/>
				</xs:complexType>
			</xs:element>
			<xs:element name=3D"speechStart">
				<xs:complexType>
					<xs:attributeGroup ref=3D"startMilestoneAttributes"/>
				</xs:complexType>
			</xs:element>
			<xs:element name=3D"speechEnd">
				<xs:complexType>
					<xs:attributeGroup ref=3D"endMilestoneAttributes"/>
				</xs:complexType>
			</xs:element>
			<xs:element name=3D"verseStart">
				<xs:complexType>
					<xs:attributeGroup ref=3D"startMilestoneAttributes"/>
				</xs:complexType>
			</xs:element>
			<xs:element name=3D"verseEnd">
				<xs:complexType>
					<xs:attributeGroup ref=3D"endMilestoneAttributes"/>
				</xs:complexType>
			</xs:element>
		</xs:choice>
	</xs:group>
	<xs:group name=3D"titleGroup">
		<xs:annotation>
			<xs:documentation>
				<p>The titleGroup provides title and titlePart models both for front =
matter (as traditionally understood in the sense of title pages) as well =
as heading such as appear in other divisions of the text. The use of head=
 and similar mechanisms seems to complicate the semantics of the markup w=
ith no real benefit to the user.Structurally, titles interrupt the flow o=
f the text for some purpose, such as the beginning of a new theme, sectio=
n, chapter or other division of the text.</p>
				<p>The &lt;title&gt; mixed attribute is set to true and &lt;titlePart=
&gt; element is optional to allow for use of the &lt;title&gt; element in=
 cases where &lt;titlePart&gt; is not desired. Thus the average user can =
simply input the title of a work without the added complexity of specifyi=
ng parts of the title. The &lt;titlePart&gt; element is not recursive, in=
 other words it cannot occur within &lt;titlePart&gt;.</p>
			</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element ref=3D"title" maxOccurs=3D"unbounded"/>
		</xs:sequence>
	</xs:group>
	<xs:group name=3D"translationGroup">
		<xs:annotation>
			<xs:documentation>
				<p>A group that gathers claims made about a text in the process of tr=
anslation.</p>
			</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element ref=3D"ampRead" minOccurs=3D"0" maxOccurs=3D"unbounded"/>
			<xs:element ref=3D"changedTense" minOccurs=3D"0" maxOccurs=3D"unbounde=
d"/>
			<xs:element ref=3D"ntProphecy" minOccurs=3D"0" maxOccurs=3D"unbounded"=
/>
			<xs:element ref=3D"otPassage" minOccurs=3D"0" maxOccurs=3D"unbounded"/=
>
			<xs:element ref=3D"supplied" minOccurs=3D"0" maxOccurs=3D"unbounded"/>=

		</xs:sequence>
	</xs:group>
	<xs:element name=3D"ampRead">
		<xs:complexType mixed=3D"true">
			<xs:sequence minOccurs=3D"0" maxOccurs=3D"unbounded">
				<xs:element ref=3D"note" minOccurs=3D"0" maxOccurs=3D"unbounded"/>
			</xs:sequence>
			<xs:attributeGroup ref=3D"globalAttributes"/>
		</xs:complexType>
	</xs:element>
	<xs:element name=3D"author">
		<xs:annotation>
			<xs:documentation>
				<p>The author element has been defined globally to allow its use in a=
 number of contexts. Users should note that the role of an author, i.e,, =
as editor, translator, etc., is required.</p>
			</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:choice>
				<xs:element ref=3D"persName"/>
				<xs:element ref=3D"orgName"/>
			</xs:choice>
			<xs:attributeGroup ref=3D"globalAttributes"/>
			<xs:attribute name=3D"role" type=3D"role" use=3D"required"/>
			<xs:attribute name=3D"TEIform" fixed=3D"author"/>
		</xs:complexType>
	</xs:element>
	<xs:element name=3D"changedTense">
		<xs:complexType>
			<xs:sequence minOccurs=3D"0" maxOccurs=3D"unbounded">
				<xs:element ref=3D"note" minOccurs=3D"0" maxOccurs=3D"unbounded"/>
			</xs:sequence>
			<xs:attributeGroup ref=3D"globalAttributes"/>
		</xs:complexType>
	</xs:element>
	<xs:element name=3D"copyright">
		<xs:annotation>
			<xs:documentation>
				<p>Not entirely happy with the content model requiring &lt;p&gt; for =
this element. Should I declare it mixed =3D yes? and make the &lt;p&gt; e=
lement optional?</p>
			</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element ref=3D"work"/>
				<xs:element ref=3D"copyrightDate"/>
				<xs:element ref=3D"holder"/>
			</xs:sequence>
			<xs:attributeGroup ref=3D"globalAttributes"/>
			<xs:attribute name=3D"status" type=3D"xs:string" use=3D"optional"/>
			<xs:attribute name=3D"TEIform" fixed=3D"availability"/>
		</xs:complexType>
	</xs:element>
	<xs:element name=3D"copyrightDate">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref=3D"year" maxOccurs=3D"unbounded"/>
			</xs:sequence>
			<xs:attributeGroup ref=3D"globalAttributes"/>
		</xs:complexType>
	</xs:element>
	<xs:element name=3D"date">
		<xs:complexType>
			<xs:attributeGroup ref=3D"globalAttributes"/>
			<xs:attribute name=3D"calendar" type=3D"calendar" use=3D"optional" def=
ault=3D"ISO"/>
			<xs:attribute name=3D"value" use=3D"optional"/>
			<xs:attribute name=3D"TEIform" fixed=3D"date"/>
		</xs:complexType>
	</xs:element>
	<xs:element name=3D"div">
		<xs:complexType>
			<xs:sequence maxOccurs=3D"unbounded">
				<xs:group ref=3D"titleGroup" minOccurs=3D"0"/>
				<xs:group ref=3D"milestones" minOccurs=3D"0" maxOccurs=3D"unbounded"/=
>
				<xs:element ref=3D"figure" minOccurs=3D"0" maxOccurs=3D"unbounded"/>
				<xs:element ref=3D"div" minOccurs=3D"0" maxOccurs=3D"unbounded"/>
				<xs:element ref=3D"lineGroup" minOccurs=3D"0" maxOccurs=3D"unbounded"=
/>
				<xs:element ref=3D"list" minOccurs=3D"0" maxOccurs=3D"unbounded"/>
				<xs:element ref=3D"note" minOccurs=3D"0" maxOccurs=3D"unbounded"/>
				<xs:element ref=3D"p" minOccurs=3D"0" maxOccurs=3D"unbounded"/>
				<xs:element ref=3D"reference" minOccurs=3D"0" maxOccurs=3D"unbounded"=
/>
			</xs:sequence>
			<xs:attribute name=3D"ID" type=3D"OSISID" use=3D"optional"/>
			<xs:attribute name=3D"lang" type=3D"languageType" use=3D"optional"/>
			<xs:attribute name=3D"type" type=3D"divType" use=3D"optional"/>
			<xs:attribute name=3D"divTitle" type=3D"xs:string" use=3D"optional"/>
			<xs:attributeGroup ref=3D"referenceAttributes"/>
			<xs:attribute name=3D"TEIform" fixed=3D"div"/>
		</xs:complexType>
	</xs:element>
	<xs:simpleType name=3D"divType">
		<xs:union memberTypes=3D"divsOSIS attributeExtension"/>
	</xs:simpleType>
	<xs:element name=3D"divineName">
		<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"figure">
		<xs:complexType>
			<xs:sequence>
				<xs:element name=3D"caption" minOccurs=3D"0"/>
			</xs:sequence>
			<xs:attribute name=3D"src" type=3D"xs:string" use=3D"required"/>
			<xs:attribute name=3D"figStart" type=3D"referenceType" use=3D"optional=
"/>
			<xs:attribute name=3D"figStop" type=3D"referenceType" use=3D"optional"=
/>
			<xs:attributeGroup ref=3D"globalAttributes"/>
		</xs:complexType>
	</xs:element>
	<xs:element name=3D"foreign">
		<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"foreName">
		<xs:complexType>
			<xs:simpleContent>
				<xs:extension base=3D"xs:string">
					<xs:attributeGroup ref=3D"globalAttributes"/>
					<xs:attribute name=3D"TEIform" fixed=3D"foreName"/>
				</xs:extension>
			</xs:simpleContent>
		</xs:complexType>
	</xs:element>
	<xs:element name=3D"head">
		<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"holder">
		<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"inscription">
		<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"item">
		<xs:complexType mixed=3D"true">
			<xs:sequence maxOccurs=3D"unbounded">
				<xs:group ref=3D"annotationGroup" minOccurs=3D"0" maxOccurs=3D"unboun=
ded"/>
				<xs:group ref=3D"milestones" minOccurs=3D"0" maxOccurs=3D"unbounded"/=
>
				<xs:group ref=3D"translationGroup" minOccurs=3D"0" maxOccurs=3D"unbou=
nded"/>
			</xs:sequence>
			<xs:attributeGroup ref=3D"globalAttributes"/>
			<xs:attributeGroup ref=3D"referenceAttributes"/>
		</xs:complexType>
	</xs:element>
	<xs:element name=3D"line">
		<xs:complexType mixed=3D"true">
			<xs:sequence maxOccurs=3D"unbounded">
				<xs:group ref=3D"annotationGroup" minOccurs=3D"0" maxOccurs=3D"unboun=
ded"/>
				<xs:group ref=3D"milestones" minOccurs=3D"0" maxOccurs=3D"unbounded"/=
>
				<xs:group ref=3D"translationGroup" minOccurs=3D"0" maxOccurs=3D"unbou=
nded"/>
			</xs:sequence>
			<xs:attributeGroup ref=3D"globalAttributes"/>
			<xs:attributeGroup ref=3D"referenceAttributes"/>
		</xs:complexType>
	</xs:element>
	<xs:element name=3D"lineGroup">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref=3D"line" maxOccurs=3D"unbounded"/>
			</xs:sequence>
			<xs:attributeGroup ref=3D"globalAttributes"/>
			<xs:attributeGroup ref=3D"referenceAttributes"/>
		</xs:complexType>
	</xs:element>
	<xs:element name=3D"list">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref=3D"head" minOccurs=3D"0"/>
				<xs:element ref=3D"item" maxOccurs=3D"unbounded"/>
			</xs:sequence>
			<xs:attributeGroup ref=3D"globalAttributes"/>
			<xs:attributeGroup ref=3D"referenceAttributes"/>
		</xs:complexType>
	</xs:element>
	<xs:element name=3D"name">
		<xs:annotation>
			<xs:documentation>
				<p>An element with an attribute simiar to role that allows a semi-ope=
n attribute for specifying what type of name is being recorded in the mar=
kup. Examples include person, geographic, etc. Note the general format fo=
r enumerated values: a list is declared as a simpleType and then followed=
 by a union statement combining that list with the attributeExtension sim=
pleType which contains a regular expression constraining additions to the=
 OSIS enumerated list to begin with the string &quot;x-&quot;. This allow=
s OSIS to speify a list of values and yet allow users to extend that list=
=2E</p>
			</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:simpleContent>
				<xs:extension base=3D"xs:string">
					<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:extension>
			</xs:simpleContent>
		</xs:complexType>
	</xs:element>
	<xs:simpleType name=3D"nameType">
		<xs:union memberTypes=3D"namesOSIS attributeExtension"/>
	</xs:simpleType>
	<xs:element name=3D"note">
		<xs:annotation>
			<xs:documentation>
				<p>Has enumerated list of note types and a fairly loose content model=
=2E Need to add reference mateirals. Should I add the placement attribute=
?</p>
			</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence maxOccurs=3D"unbounded">
				<xs:element ref=3D"p" minOccurs=3D"0" maxOccurs=3D"unbounded"/>
				<xs:element ref=3D"notePart" minOccurs=3D"0" maxOccurs=3D"unbounded"/=
>
			</xs:sequence>
			<xs:attribute name=3D"ID" type=3D"OSISID" use=3D"optional"/>
			<xs:attribute name=3D"lang" type=3D"languageType" use=3D"optional"/>
			<xs:attribute name=3D"noteStart" type=3D"referenceType" use=3D"optiona=
l"/>
			<xs:attribute name=3D"noteStop" type=3D"referenceType" use=3D"optional=
"/>
			<xs:attribute name=3D"type" type=3D"noteType" use=3D"required"/>
			<xs:attribute name=3D"TEIform" fixed=3D"note"/>
		</xs:complexType>
	</xs:element>
	<xs:element name=3D"notePart">
		<xs:annotation>
			<xs:documentation>
				<p/>
			</xs:documentation>
		</xs:annotation>
		<xs:complexType mixed=3D"true">
			<xs:sequence minOccurs=3D"0" maxOccurs=3D"unbounded">
				<xs:element ref=3D"p" minOccurs=3D"0" maxOccurs=3D"unbounded"/>
				<xs:element ref=3D"notePart" minOccurs=3D"0" maxOccurs=3D"unbounded"/=
>
				<xs:element ref=3D"reference" minOccurs=3D"0" maxOccurs=3D"unbounded"=
/>
			</xs:sequence>
			<xs:attribute name=3D"type" type=3D"noteTypePart" use=3D"required"/>
		</xs:complexType>
	</xs:element>
	<xs:simpleType name=3D"noteTypePart">
		<xs:union memberTypes=3D"notesOSIS attributeExtension"/>
	</xs:simpleType>
	<xs:simpleType name=3D"noteType">
		<xs:union memberTypes=3D"notesOSIS attributeExtension"/>
	</xs:simpleType>
	<xs:element name=3D"ntProphecy">
		<xs:complexType>
			<xs:sequence minOccurs=3D"0" maxOccurs=3D"unbounded">
				<xs:element ref=3D"note" minOccurs=3D"0" maxOccurs=3D"unbounded"/>
			</xs:sequence>
			<xs:attribute name=3D"target" type=3D"referenceType" use=3D"optional"/=
>
			<xs:attributeGroup ref=3D"globalAttributes"/>
		</xs:complexType>
	</xs:element>
	<xs:element name=3D"orgName">
		<xs:complexType>
			<xs:simpleContent>
				<xs:extension base=3D"xs:string">
					<xs:attributeGroup ref=3D"globalAttributes"/>
					<xs:attribute name=3D"TEIform" fixed=3D"orgName"/>
				</xs:extension>
			</xs:simpleContent>
		</xs:complexType>
	</xs:element>
	<xs:element name=3D"otPassage">
		<xs:complexType mixed=3D"true">
			<xs:sequence minOccurs=3D"0" maxOccurs=3D"unbounded">
				<xs:element ref=3D"note" minOccurs=3D"0" maxOccurs=3D"unbounded"/>
			</xs:sequence>
			<xs:attribute name=3D"target" type=3D"referenceType" use=3D"optional"/=
>
			<xs:attributeGroup ref=3D"globalAttributes"/>
		</xs:complexType>
	</xs:element>
	<xs:element name=3D"p">
		<xs:complexType mixed=3D"true">
			<xs:sequence minOccurs=3D"0" maxOccurs=3D"unbounded">
				<xs:group ref=3D"annotationGroup" minOccurs=3D"0" maxOccurs=3D"unboun=
ded"/>
				<xs:element ref=3D"figure" minOccurs=3D"0" maxOccurs=3D"unbounded"/>
				<xs:element ref=3D"lineGroup" minOccurs=3D"0" maxOccurs=3D"unbounded"=
/>
				<xs:element ref=3D"list" minOccurs=3D"0" maxOccurs=3D"unbounded"/>
				<xs:group ref=3D"milestones" minOccurs=3D"0" maxOccurs=3D"unbounded"/=
>
				<xs:group ref=3D"translationGroup" minOccurs=3D"0" maxOccurs=3D"unbou=
nded"/>
			</xs:sequence>
			<xs:attributeGroup ref=3D"globalAttributes"/>
			<xs:attributeGroup ref=3D"referenceAttributes"/>
		</xs:complexType>
	</xs:element>
	<xs:element name=3D"persName">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref=3D"foreName" minOccurs=3D"0"/>
				<xs:element ref=3D"surName" minOccurs=3D"0"/>
			</xs:sequence>
			<xs:attributeGroup ref=3D"globalAttributes"/>
			<xs:attribute name=3D"TEIform" fixed=3D"persName"/>
		</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:attribute name=3D"TEIform" fixed=3D"publisher"/>
				</xs:extension>
			</xs:simpleContent>
		</xs:complexType>
	</xs:element>
	<xs:element name=3D"pubPlace">
		<xs:complexType>
			<xs:simpleContent>
				<xs:extension base=3D"xs:string">
					<xs:attributeGroup ref=3D"globalAttributes"/>
					<xs:attribute name=3D"TEIform" fixed=3D"pubPlace"/>
				</xs:extension>
			</xs:simpleContent>
		</xs:complexType>
	</xs:element>
	<xs:element name=3D"q">
		<xs:complexType mixed=3D"true">
			<xs:sequence>
				<xs:element ref=3D"q" minOccurs=3D"0" maxOccurs=3D"unbounded"/>
			</xs:sequence>
			<xs:attributeGroup ref=3D"globalAttributes"/>
		</xs:complexType>
	</xs:element>
	<xs:element name=3D"reference">
		<xs:complexType>
			<xs:simpleContent>
				<xs:extension base=3D"xs:string">
					<xs:attributeGroup ref=3D"globalAttributes"/>
					<xs:attribute name=3D"targetStart" type=3D"referenceType" use=3D"req=
uired"/>
					<xs:attribute name=3D"targetEnd" type=3D"referenceType" use=3D"optio=
nal"/>
				</xs:extension>
			</xs:simpleContent>
		</xs:complexType>
	</xs:element>
	<xs:element name=3D"revisionDesc">
		<xs:complexType>
			<xs:sequence>
				<xs:element name=3D"p" maxOccurs=3D"unbounded">
					<xs:simpleType>
						<xs:restriction base=3D"xs:string"/>
					</xs:simpleType>
				</xs:element>
			</xs:sequence>
			<xs:attributeGroup ref=3D"globalAttributes"/>
			<xs:attribute name=3D"TEIform" fixed=3D"revisionDesc"/>
		</xs:complexType>
	</xs:element>
	<xs:element name=3D"speaker">
		<xs:complexType>
			<xs:simpleContent>
				<xs:extension base=3D"xs:string">
					<xs:attribute name=3D"who" type=3D"xs:string"/>
					<xs:attributeGroup ref=3D"globalAttributes"/>
				</xs:extension>
			</xs:simpleContent>
		</xs:complexType>
	</xs:element>
	<xs:element name=3D"supplied">
		<xs:complexType>
			<xs:sequence minOccurs=3D"0" maxOccurs=3D"unbounded">
				<xs:element ref=3D"note" minOccurs=3D"0" maxOccurs=3D"unbounded"/>
			</xs:sequence>
			<xs:attributeGroup ref=3D"globalAttributes"/>
		</xs:complexType>
	</xs:element>
	<xs:element name=3D"surName">
		<xs:complexType>
			<xs:simpleContent>
				<xs:extension base=3D"xs:string">
					<xs:attributeGroup ref=3D"globalAttributes"/>
					<xs:attribute name=3D"TEIform" fixed=3D"surName"/>
				</xs:extension>
			</xs:simpleContent>
		</xs:complexType>
	</xs:element>
	<xs:element name=3D"title">
		<xs:complexType>
			<xs:sequence maxOccurs=3D"unbounded">
				<xs:element ref=3D"titlePart"/>
			</xs:sequence>
			<xs:attributeGroup ref=3D"globalAttributes"/>
			<xs:attribute name=3D"TEIform" fixed=3D"title"/>
		</xs:complexType>
	</xs:element>
	<xs:element name=3D"titlePart">
		<xs:complexType mixed=3D"true">
			<xs:sequence minOccurs=3D"0" maxOccurs=3D"unbounded">
				<xs:group ref=3D"annotationGroup" minOccurs=3D"0" maxOccurs=3D"unboun=
ded"/>
			</xs:sequence>
			<xs:attributeGroup ref=3D"globalAttributes"/>
			<xs:attribute name=3D"TEIform" fixed=3D"title"/>
		</xs:complexType>
	</xs:element>
	<xs:element name=3D"w">
		<xs:complexType>
			<xs:simpleContent>
				<xs:extension base=3D"xs:string">
					<xs:attribute name=3D"POS" type=3D"attributeExtension" use=3D"option=
al"/>
					<xs:attribute name=3D"morph" type=3D"attributeExtension" use=3D"opti=
onal"/>
					<xs:attribute name=3D"lemma" type=3D"attributeExtension" use=3D"opti=
onal"/>
					<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:attribute name=3D"TEIform" fixed=3D"w"/>
					<xs:attributeGroup ref=3D"globalAttributes"/>
				</xs:extension>
			</xs:simpleContent>
		</xs:complexType>
	</xs:element>
	<xs:element name=3D"work">
		<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"year" type=3D"xs:gYear"/>
	<!-- Start of pieces that should be redefined -->
	<xs:simpleType name=3D"refWorkType">
		<xs:restriction base=3D"xs:string"/>
	</xs:simpleType>
	<xs:simpleType name=3D"referenceType">
		<xs:restriction base=3D"xs:string"/>
	</xs:simpleType>
	<xs:simpleType name=3D"milestoneID">
		<xs:restriction base=3D"xs:ID"/>
	</xs:simpleType>
	<xs:simpleType name=3D"milestoneIDREF">
		<xs:restriction base=3D"xs:IDREF"/>
	</xs:simpleType>
	<xs:simpleType name=3D"OSISID">
		<xs:restriction base=3D"xs:ID"/>
	</xs:simpleType>
	<xs:simpleType name=3D"OSISIDREF">
		<xs:restriction base=3D"xs:IDREF"/>
	</xs:simpleType>
	<!-- End of things that should be defined -->
</xs:schema>

--------------060702050708040805020003--