[osis-core] Corrected minimalist OSIS document

Kirk Lowery osis-core@bibletechnologieswg.org
Thu, 30 Oct 2003 13:57:20 -0500


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

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Attached is a corrected version of the test.xml document posted earlier
today.

We've established that jedit uses a nonvalidating parser.

Topologi still complains about two errors; Patrick has suggested that it
may be due to Topologi choking on the monster regexes that the schema has...

Here are the error messages:

Error: Invalid content starting with element 'scope'. The content should
match
'((((((((((((((((((("http://www.bibletechnologies.net/2003/OSIS/namespace":title){0-1},
("http://www.bibletechnologies.net/2003/OSIS/namespace":contributor){0-UNBOUNDED}),
("http://www.bibletechnologies.net/2003/OSIS/namespace":creator){0-UNBOUNDED}),
("http://www.bibletechnologies.net/2003/OSIS/namespace":subject){0-UNBOUNDED}),
("http://www.bibletechnologies.net/2003/OSIS/namespace":date){0-UNBOUNDED}),
("http://www.bibletechnologies.net/2003/OSIS/namespace":description){0-UNBOUNDED}),
("http://www.bibletechnologies.net/2003/OSIS/namespace":publisher){0-UNBOUNDED}),
("http://www.bibletechnologies.net/2003/OSIS/namespace":type){0-UNBOUNDED}),
("http://www.bibletechnologies.net/2003/OSIS/namespace":format){0-UNBOUNDED}),
("http://www.bibletechnologies.net/2003/OSIS/namespace":identifier){0-UNBOUNDED}),
("http://www.bibletechnologies.net/2003/OSIS/namespace":source){0-UNBOUNDED}),
("http://www.bibletechnologies.net/2003/OSIS/namespace":language){0-UNBOUNDED}),
("http://www.bibletechnologies.net/2003/OSIS/namespace":relation){0-UNBOUNDED}),
("http://www.bibletechnologies.net/2003/OSIS/namespace":coverage){0-UNBOUNDED}),
("http://www.bibletechnologies.net/2003/OSIS/namespace":rights){0-UNBOUNDED}),
("http://www.bibletechnologies.net/2003/OSIS/namespace":scope){0-UNBOUNDED}),
("http://www.bibletechnologies.net/2003/OSIS/namespace":castList){0-UNBOUNDED}),
("http://www.bibletechnologies.net/2003/OSIS/namespace":teiHeader){0-1}),
("http://www.bibletechnologies.net/2003/OSIS/namespace":refSystem){0-UNBOUNDED})'.

Error: Invalid content starting with element 'v'. The content should
match
'(((((((((((((((((((((((((((((((("http://www.bibletechnologies.net/2003/OSIS/namespace":a)|
("http://www.bibletechnologies.net/2003/OSIS/namespace":abbr))|
("http://www.bibletechnologies.net/2003/OSIS/namespace":date))|
("http://www.bibletechnologies.net/2003/OSIS/namespace":div))|
("http://www.bibletechnologies.net/2003/OSIS/namespace":divineName))|
("http://www.bibletechnologies.net/2003/OSIS/namespace":figure))|
("http://www.bibletechnologies.net/2003/OSIS/namespace":foreign))|
("http://www.bibletechnologies.net/2003/OSIS/namespace":hi))|
("http://www.bibletechnologies.net/2003/OSIS/namespace":index))|
("http://www.bibletechnologies.net/2003/OSIS/namespace":inscription))|
("http://www.bibletechnologies.net/2003/OSIS/namespace":lb))|
("http://www.bibletechnologies.net/2003/OSIS/namespace":lg))|
("http://www.bibletechnologies.net/2003/OSIS/namespace":list))|
("http://www.bibletechnologies.net/2003/OSIS/namespace":mentioned))|
("http://www.bibletechnologies.net/2003/OSIS/namespace":milestone))|
("http://www.bibletechnologies.net/2003/OSIS/namespace":milestoneEnd))|
("http://www.bibletechnologies.net/2003/OSIS/namespace":milestoneStart))|
("http://www.bibletechnologies.net/2003/OSIS/namespace":name))|
("http://www.bibletechnologies.net/2003/OSIS/namespace":note))|
("http://www.bibletechnologies.net/2003/OSIS/namespace":p))|
("http://www.bibletechnologies.net/2003/OSIS/namespace":q))|
("http://www.bibletechnologies.net/2003/OSIS/namespace":reference))|
("http://www.bibletechnologies.net/2003/OSIS/namespace":salute))|
("http://www.bibletechnologies.net/2003/OSIS/namespace":seg))|
("http://www.bibletechnologies.net/2003/OSIS/namespace":signed))|
("http://www.bibletechnologies.net/2003/OSIS/namespace":speaker))|
("http://www.bibletechnologies.net/2003/OSIS/namespace":speech))|
("http://www.bibletechnologies.net/2003/OSIS/namespace":table))|
("http://www.bibletechnologies.net/2003/OSIS/namespace":title))|
("http://www.bibletechnologies.net/2003/OSIS/namespace":transChange))|
("http://www.bibletechnologies.net/2003/OSIS/namespace":verse))|
("http://www.bibletechnologies.net/2003/OSIS/namespace":w)){0-UNBOUNDED}'.

- --
Kirk E. Lowery, Ph.D.
Director, Westminster Hebrew Institute
Adjunct Professor of Old Testament
Westminster Theological Seminary, Philadelphia

Theorie ist, wenn man alles weiss und nichts klappt.
Praxis ist, wenn alles klappt und keiner weiss warum.
Bei uns sind Theorie und Praxis vereint:
nichts klappt und keiner weiss warum!


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQE/oV8PfUA6+Yl7duERAicEAKDTAXiP3nngGyFpOKPp0rcKw53G0wCg/tRP
1C014yH2xETJQDCt++bLgWY=
=NjJx
-----END PGP SIGNATURE-----

--------------010505070709060508050705
Content-Type: text/xml;
 name="test.xml"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="test.xml"

<?xml version="1.0" encoding="UTF-8"?>
<osis:osis xmlns:osis="http://www.bibletechnologies.net/2003/OSIS/namespace" 
	xmlns:="http://www.bibletechnologies.net/2003/OSIS/namespace"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
	xsi:schemaLocation="http://www.bibletechnologies.net/2003/OSIS/namespace osisCore.1.9.9.7.xsd">
<!--
	<osis xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:noNamespaceSchemaLocation
   ="file:///osisCore.1.9.9.7.xsd"
   xmlns:osis="http://www.bibletechnologies.net/2003/OSIS/namespace"
   xmlns:="http://www.bibletechnologies.net/2003/OSIS/namespace">
  -->	
  <osisText osisIDWork="CEV" osisRefWork="Bible" xml:lang="en">
		<header>
			<work osisWork="CEV">
				<title>Contemporary English Version</title>
				<identifier type="ISBN">1585160555</identifier>
				<rights type="x-copyright">Copyright 1995, 2003
					American Bible Society</rights>
				<refSystem>Bible</refSystem>
				<scope>John.1.1</scope>
			</work>
			<work osisWork="Bible">
				<refSystem>Bible</refSystem>
			</work>
		</header>
		<div type="book" osisID="John">
			<title>John</title>
			<chapter osisID="John.1">
				<title>Chapter 1</title>
				<v osisID="John.1.1">In the beginning was the one who is called the Word. The Word was with God and
						was truly God.</v>
			</chapter>
		</div>
	</osisText>
</osis:osis>
--------------010505070709060508050705--