[osis-core] Use of line and verse.

Todd Tillinghast osis-core@bibletechnologieswg.org
Wed, 5 Jun 2002 00:54:14 -0500


It seem that <line> and <verse> overlap VERY frequently.  This is not some
strange case but more the norm than the exception.

This is what is currently allowed.
<lineGroup>
	<line><verse verseID="Book.1.1b" prev="Book.1.1a"
next="Book.1.1c">.....</verse></line>
	<line><verse verseID="Book.1.1c" prev="Book.1.1b">.....</verse><verse
verseID "Book.1.2">...</verse></line>
	<line><verse verseID="Book.1.3" next="Book.1.3b">.....</verse></line>
	<line><verse verseID="Book.1.3b" prev="Book.1.3"
next="Book.1.3c">.....</verse></line>
	<line><verse verseID="Book.1.3c" prev="Book.1.3b">.....</verse></line>
</lineGroup>

It would seem that there will always be at least one <verse> element in EACH
<line> elemtn  because a verse will always be partially or completely
contained within a line.

The only exception would be if the entire <lineGroup> where in a SINGLE
verse.  This seems unlikely.

The following is also a good possibility: (There don't seem to be many cases
where a line contains parts of two verses.  Correct me if I wrong on this
one.)
<lineGroup lineGroupID=Book.1.1b>
	<verse verseID="Book.1.1b" prev="Book.1.1a">
		<line>...</line>
		<line lineID="Book.1.1a" next="Book.1.1b">...</line>
	</verse>
	<verse verseID "Book.1.2">
		<line lineID="Book.1.1b" prev="Book.1.1a>...</line>
	</verse>
	<verse verseID "Book.1.3">
		<line>...</line>
		<line>...</line>
		<line>...</line>
	</verse>
</lineGroup>
This option would require that verse contain line which should only be
possible if the verse is contained by a lineGroup.


It seems UGLY to encode a lineGroup/line combination using our current
schema and alot of the poetry is largely lineGroup/line elements.

Todd