[osis-core] RE: Work Issue

Todd Tillinghast osis-core@bibletechnologieswg.org
Thu, 30 Jan 2003 17:43:49 -0700


Partick,

I don't think that more problems are created with the proposed solution,
only problems are eliminated.

The following seems VERY clean and straight forward.  Only values within
the THIS <work>-><refSystem>->id can be used as prefixes in osisIDs, and
can be used in addition to <work>->osisWork in osisRefs.

<osisText osisIDWork="kjv1612">
	<work>
		lots of metadata
		<refSystem id="kjv1612">Bible.KJV1612</refSystem>
		<refSystem
id="hebrewRefSystemThisDoc">Bible.Hebrew</refSystem>
	</work>    
	<header>
		<work osisWork="nrsv1988">
			lots of metadata
		</work>
		<work osisWork="hebrewRefSystem">
			no or metadata other than that of "kjv1612"
			<refSystem
id="hebrewRefSystem">Bible.Hebrew</refSystem>
		</work>
	</header>
	<div>
		<verse osisID="kjv1612:Ps.1.1
hebrewRefSystem:Ps.1.2">.</verse>

		<!-- equivalent, using the default prefix -->
		<verse osisID="Ps.1.1 hebrewRefSystem:Ps.1.2">.</verse> 

		....

		<reference osisRefs="hebrewRefSystemThisDoc:Ps.1.2"/>
		<reference osisRefs="Ps.1.1"/>
		<reference osisRefs="hebrewRefSystem:Ps.1.2"/>
		<reference osisRefs="nrsv1988:Ps.1.1"/>
	</div>
</osisText>


Alternatively, with the current schema, any <work>->osisWork value can
be used as a prefix in either an osisRef or an osisID.

<osisText osisIDWork="kjv1612">
	<header>
		<work osisWork="kjv1612">
			lots of metadata
			<refSystem>Bible.KJV1612</refSystem>
		</work>    
		<work osisWork="hebrewRefSystemThisDoc">
			repeat metadata in "kjv1612"
			<refSystem>Bible.Hebrew</refSystem>
		</work>
		<work osisWork="nrsv1988">
			lots of metadata
		</work>
		<work osisWork="hebrewRefSystem">
			no or metadata other than that of "kjv1612"
			<refSystem
id="hebrewRefSystem">Bible.Hebrew</refSystem>
		</work>
	</header>
	<div>
		<verse osisID="kjv1612:Ps.1.1
hebrewRefSystem:Ps.1.2">.</verse>

		<!-- equivalent, using the default prefix -->
		<verse osisID="Ps.1.1 hebrewRefSystem:Ps.1.2">.</verse> 

		....

		<reference osisRefs="hebrewRefSystemThisDoc:Ps.1.2"/>
		<reference osisRefs="Ps.1.1"/>
		<reference osisRefs="hebrewRefSystem:Ps.1.2"/>
		<reference osisRefs="nrsv1988:Ps.1.1"/>
	</div>
</osisText>

Pro: Only one place (<work>->osisWork) to find the prefix for either an
osisID or an osisRef

Pro: Current schema, no change

Con: osisIDs self-identify elements within THIS document.  As such, the
appropriate place for the reference systems used is within the THIS
<work> element.

Con: An osisID can be an identifier of a different document when it is
identifying the current document. 

Con: The non-default <work> element referenced by the prefix in osisIDs
should have exactly the same set of sub-elements as the THIS <work>
element, with the exception of the <refSystem> element.  This seems
prone to error.

Con: An osisRef might use the "osisWork" value of the non-default <work>
element for osisIDs and get inconsistent results, if the sub-elements
other than the <refSystem> element are not identical to those in the
THIS <work>.

Thoughts?

Todd