[osis-core] Issues related to child elements

Todd Tillinghast osis-core@bibletechnologieswg.org
Sat, 31 Aug 2002 11:44:00 -0600


This is a multi-part message in MIME format.

------=_NextPart_000_0005_01C250E3.B28034A0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

Attached is an analysis and questions regarding the set of possible child
elements for many elements in the schema.

Todd

------=_NextPart_000_0005_01C250E3.B28034A0
Content-Type: text/xml;
	name="t.xsd"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="t.xsd"

Patrick,

There are several cases where only A ABBR FOREIGN INDEX NOTE REFERENCE =
SEG W are present, I am not sure why if we have these we would not also =
want DIVINENAME NAME HI DATE?

I know that in most cases we don't want the an element to contain its =
same kind, so don't gather that I am implying other wise from below.

Not sure why we need milestones in many elements that seem to be single =
word elements.  I say we should put the milestone either just before or =
just after elements like <reference>, <transChange>, and a few others.

I grouped child elements into groups and put a "-" followed by lower =
case element name after the upper case list if an element in the =
UPPERCASE list was not a child in the current schema.

I am also not saying that the groups below should be formed into =
elementGroups.  I hope that the following groupings shed some light on =
where the commonalities are and where what seems like inconsistencies =
are.

GROUPED ELEMENTS
A ABBR FOREIGN INDEX NOTE REFERENCE SEG W + DIVINENAME NAME HI DATE + =
MILESTONE MILESTONE_START MILESTONE_END
	A ABBR FOREIGN INDEX NOTE REFERENCE SEG W
	DIVINENAME NAME HI DATE
	MILESTONE MILESTONE_START MILESTONE_END


MILESTONE MILESTONE_START MILESTONE_END
	<xs:element ref=3D"milestone"/>
	<xs:element ref=3D"milestone_End"/>
	<xs:element ref=3D"milestone_Start"/>

A ABBR FOREIGN INDEX NOTE REFERENCE SEG W
	<xs:element ref=3D"a"/>
	<xs:element ref=3D"abbr"/>
	<xs:element ref=3D"foreign"/>
	<xs:element ref=3D"index"/>
	<xs:element ref=3D"note"/>
	<xs:element ref=3D"reference"/>
	<xs:element ref=3D"seg"/>
	<xs:element ref=3D"w"/>

DIVINENAME NAME HI DATE
	<xs:element ref=3D"divineName"/>
	<xs:element ref=3D"hi"/>
	<xs:element ref=3D"name"/>
	<xs:element ref=3D"date

SPEAKER TRANSLATIONCHANGE MENTIONED
	<xs:element ref=3D"mentioned"/>
	<xs:element ref=3D"speaker"/>
	<xs:element ref=3D"transChange"/>
=09

LG LIST P Q VERSE
	<xs:element ref=3D"lg"/>
	<xs:element ref=3D"list"/>
	<xs:element ref=3D"p"/>
	<xs:element ref=3D"q"/>
	<xs:element ref=3D"verse"/>
=09
=09
FIGURE INSCRIPTION SALUTE SIGNED SPEECH TABLE TITLE=09
	<xs:element ref=3D"figure"/>
	<xs:element ref=3D"inscription"/>
	<xs:element ref=3D"salute"/>
	<xs:element ref=3D"signed"/>
	<xs:element ref=3D"speech"/>
	<xs:element ref=3D"table"/>
	<xs:element ref=3D"title"/>
=09

ELEMENTS IN THE SCHEMA
=09
	<xs:element name=3D"actor">
				A ABBR FOREIGN INDEX NOTE REFERENCE SEG W
	</xs:element>
	<xs:element name=3D"role">
				A ABBR FOREIGN INDEX NOTE REFERENCE SEG W
	</xs:element>
	<xs:element name=3D"roleDesc">
				A ABBR FOREIGN INDEX NOTE REFERENCE SEG W
	</xs:element>
	<xs:element name=3D"a">
				DIVINENAME NAME HI DATE
				(Not sure why we have these elements in <a>?)
				A ABBR FOREIGN INDEX NOTE REFERENCE SEG W -a -reference
				(Not sure why we have these elements in <a>?)
				MILESTONE MILESTONE_START MILESTONE_END
				(Not sure why we have milestones in <a>?)
				<xs:element ref=3D"title"/>
				(Not sure why we have this elements in <a>?)
	</xs:element>
	<xs:element name=3D"abbr">
				A ABBR FOREIGN INDEX NOTE REFERENCE SEG W -abbr -seg
				DIVINENAME NAME HI DATE -hi -date
				(If all of these other elements why not hi, date and q?)
	</xs:element>
	<xs:element name=3D"caption">
				A ABBR FOREIGN INDEX NOTE REFERENCE SEG W -seg
				DIVINENAME NAME HI DATE
				<xs:element ref=3D"q"/>
	</xs:element>
	<xs:element name=3D"catchWord">
			A ABBR FOREIGN INDEX NOTE REFERENCE SEG W
		</xs:element>
	<xs:element name=3D"cell">
				A ABBR FOREIGN INDEX NOTE REFERENCE SEG W + DIVINENAME NAME HI DATE =
+ MILESTONE MILESTONE_START MILESTONE_END
				SPEAKER TRANSLATIONCHANGE MENTIONED -mentioned
				(If all of these other elements why mentioned?)
				LG LIST P Q VERSE
				FIGURE INSCRIPTION SALUTE SIGNED SPEECH TABLE TITLE=09
	</xs:element>
	<xs:element name=3D"closer">
				A ABBR FOREIGN INDEX NOTE REFERENCE SEG W + DIVINENAME NAME HI DATE =
+ MILESTONE MILESTONE_START MILESTONE_END
				SPEAKER TRANSLATIONCHANGE MENTIONED -speaker
				(If all of these other elements why speaker?)
				LG LIST P Q VERSE
				<xs:element ref=3D"signed"/>
	</xs:element>
	<xs:element name=3D"div">
				A ABBR FOREIGN INDEX NOTE REFERENCE SEG W + DIVINENAME NAME HI DATE =
+ MILESTONE MILESTONE_START MILESTONE_END
				SPEAKER TRANSLATIONCHANGE MENTIONED -mentioned
				(If all of these other elements why mentioned?)
				LG LIST P Q VERSE
				FIGURE INSCRIPTION SALUTE SIGNED SPEECH TABLE TITLE=09
				<xs:element ref=3D"div"/>
	</xs:element>
	<xs:element name=3D"divineName">
				A ABBR FOREIGN INDEX NOTE REFERENCE SEG W
	</xs:element>
	<xs:element name=3D"foreign">
				A ABBR FOREIGN INDEX NOTE REFERENCE SEG W
				DIVINENAME NAME HI DATE
				<xs:element ref=3D"title"/>=20
				(Why title?)
	</xs:element>
	<xs:element name=3D"head">
				A ABBR FOREIGN INDEX NOTE REFERENCE SEG W + DIVINENAME NAME HI DATE =
+ MILESTONE MILESTONE_START MILESTONE_END
					<xs:element ref=3D"head"/>
					<xs:element ref=3D"q"/>
	</xs:element>
	<xs:element name=3D"hi">
				DIVINENAME NAME HI DATE -hi
				(Why not hi?)
				MILESTONE MILESTONE_START MILESTONE_END
				(Why milestones?)
				<xs:element ref=3D"abbr"/>
				<xs:element ref=3D"w"/>
	</xs:element>
	<xs:element name=3D"inscription">
				A ABBR FOREIGN INDEX NOTE REFERENCE SEG W + DIVINENAME NAME HI DATE =
+ MILESTONE MILESTONE_START MILESTONE_END
				(Why milestones?)
				<xs:element ref=3D"q"/>
				<xs:element ref=3D"speaker"/>
				<xs:element ref=3D"speech"/>
				<xs:element ref=3D"title"/>
	</xs:element>
	<xs:element name=3D"item">
				A ABBR FOREIGN INDEX NOTE REFERENCE SEG W + DIVINENAME NAME HI DATE =
+ MILESTONE MILESTONE_START MILESTONE_END
				LG LIST P Q VERSE -ls -list -verse
				<xs:element ref=3D"title"/>
				<xs:element ref=3D"transChange"/>
	</xs:element>
	<xs:element name=3D"label">
				A ABBR FOREIGN INDEX NOTE REFERENCE SEG W + DIVINENAME NAME HI DATE =
+ MILESTONE MILESTONE_START MILESTONE_END
				(Why milestones?)
				<xs:element ref=3D"q"/>
				<xs:element ref=3D"transChange"/>
	</xs:element>
	<xs:element name=3D"l">
				A ABBR FOREIGN INDEX NOTE REFERENCE SEG W + DIVINENAME NAME HI DATE =
+ MILESTONE MILESTONE_START MILESTONE_END
				SPEAKER TRANSLATIONCHANGE MENTIONED -mentioned
				<xs:element ref=3D"q"/>
				<xs:element ref=3D"verse"/>
	</xs:element>
	<xs:element name=3D"lg">
				MILESTONE MILESTONE_START MILESTONE_END
				<xs:element ref=3D"index"/>
				<xs:element ref=3D"l"/>
				<xs:element ref=3D"lg"/>
	</xs:element>
	<xs:element name=3D"list">
					MILESTONE MILESTONE_START MILESTONE_END
					<xs:element ref=3D"head"/>
					<xs:element ref=3D"index"/>
					<xs:element ref=3D"list"/>
					<xs:sequence minOccurs=3D"0" maxOccurs=3D"unbounded">
						<xs:element ref=3D"label" minOccurs=3D"0"/>
						<xs:element ref=3D"item"/>
					</xs:sequence>
	</xs:element>
	<xs:element name=3D"mentioned">
				A ABBR FOREIGN INDEX NOTE REFERENCE SEG W + DIVINENAME NAME HI DATE =
+ MILESTONE MILESTONE_START MILESTONE_END
				(Why milestones?)
				<xs:element ref=3D"q"/>
				<xs:element ref=3D"transChange"/>
	</xs:element>
	<xs:element name=3D"name">
				A ABBR FOREIGN INDEX NOTE REFERENCE SEG W
	</xs:element>
	<xs:element name=3D"note">
				A ABBR FOREIGN INDEX NOTE REFERENCE SEG W + DIVINENAME NAME HI DATE =
+ MILESTONE MILESTONE_START MILESTONE_END - note -date
				(Why not date?)
				LG LIST P Q VERSE
				<xs:element ref=3D"catchWord"/>
				<xs:element ref=3D"figure"/>
				<xs:element ref=3D"mentioned"/>
				<xs:element ref=3D"rdg"/>
				<xs:element ref=3D"title"/>
				(Why not table, inscription?)
	</xs:element>
	<xs:element name=3D"p">
				A ABBR FOREIGN INDEX NOTE REFERENCE SEG W + DIVINENAME NAME HI DATE =
+ MILESTONE MILESTONE_START MILESTONE_END
				SPEAKER TRANSLATIONCHANGE MENTIONED
				LG LIST P Q VERSE -p
				FIGURE INSCRIPTION SALUTE SIGNED SPEECH TABLE TITLE=09
				<xs:element ref=3D"catchWord"/>
				(Why do we see catchWord only used here and there? Not sure of its =
purpose.)
				<xs:element ref=3D"rdg"/>
	</xs:element>
	<xs:element name=3D"q">
				A ABBR FOREIGN INDEX NOTE REFERENCE SEG W + DIVINENAME NAME HI DATE =
+ MILESTONE MILESTONE_START MILESTONE_END -date
				(Why not date?)
				SPEAKER TRANSLATIONCHANGE MENTIONED
				LG LIST P Q VERSE
				FIGURE INSCRIPTION SALUTE SIGNED SPEECH TABLE TITLE -figure =
-inscription -table
				(Why not figure, inscription, and table?)
				<xs:element ref=3D"closer"/>
	</xs:element>
	<xs:element name=3D"rdg">
				A ABBR FOREIGN INDEX NOTE REFERENCE SEG W + DIVINENAME NAME HI DATE =
+ MILESTONE MILESTONE_START MILESTONE_END -date
				(Why not date?)
				LG LIST P Q VERSE -verse -lg -list
				(If we allow <p> and <q> why not <verse>, <lg>, and <list>)
				<xs:element ref=3D"transChange"/>
				(Why do we see transChange only used here and there? Not sure of its =
purpose.)
	</xs:element>
	<xs:element name=3D"reference">
				A ABBR FOREIGN INDEX NOTE REFERENCE SEG W + DIVINENAME NAME HI DATE =
+ MILESTONE MILESTONE_START MILESTONE_END -reference
				(Why milestones?)
				<xs:element ref=3D"title"/>
				(Why title?)
	</xs:element>
	<xs:element name=3D"salute">
				A ABBR FOREIGN INDEX NOTE REFERENCE SEG W + DIVINENAME NAME HI DATE =
+ MILESTONE MILESTONE_START MILESTONE_END
				SPEAKER TRANSLATIONCHANGE MENTIONED
				LG LIST P Q VERSE
	</xs:element>
	<xs:element name=3D"seg">
				A ABBR FOREIGN INDEX NOTE REFERENCE SEG W + DIVINENAME NAME HI DATE =
+ MILESTONE MILESTONE_START MILESTONE_END -seg
				<xs:element ref=3D"q"/>
				<xs:element ref=3D"transChange"/>
				(Why put transChange here and very few places other wise?)
	</xs:element>
	<xs:element name=3D"signed">
				A ABBR FOREIGN INDEX NOTE REFERENCE SEG W + DIVINENAME NAME HI DATE =
+ MILESTONE MILESTONE_START MILESTONE_END -note
	</xs:element>
	<xs:element name=3D"speaker">
				A ABBR FOREIGN INDEX NOTE REFERENCE SEG W -abbr -foreign -seg
				(Why a, index, note, reference, and w and not abbr, foreign, and =
seg?)
				DIVINENAME NAME HI DATE -date -hi (Makes sense to me)
	</xs:element>
	<xs:element name=3D"speech">
					A ABBR FOREIGN INDEX NOTE REFERENCE SEG W + DIVINENAME NAME HI DATE =
+ MILESTONE MILESTONE_START MILESTONE_END
					SPEAKER TRANSLATIONCHANGE MENTIONED
					LG LIST P Q VERSE -lg -list
					(Why not lg and list?)
					<xs:element ref=3D"inscription"/>
					<xs:element ref=3D"salute"/>
					<xs:element ref=3D"signed"/>
	</xs:element>
	<xs:element name=3D"title">
					A ABBR FOREIGN INDEX NOTE REFERENCE SEG W
					DIVINENAME NAME HI DATE -date
					(Why not date?)
					<xs:element ref=3D"q"/>
					<xs:element ref=3D"title"/>
	</xs:element>
	<xs:element name=3D"transChange">
				A ABBR FOREIGN INDEX NOTE REFERENCE SEG W + DIVINENAME NAME HI DATE =
+ MILESTONE MILESTONE_START MILESTONE_END
	</xs:element>
	<xs:element name=3D"verse">
				A ABBR FOREIGN INDEX NOTE REFERENCE SEG W + DIVINENAME NAME HI DATE =
+ MILESTONE MILESTONE_START MILESTONE_END
				SPEAKER TRANSLATIONCHANGE MENTIONED -mentioned
				(Why not mentioned?)
				(Why not other elements like catchWord, salute, signed, transchange, =
rdg, list, and title?)
				<xs:element ref=3D"inscription"/>
				<xs:element ref=3D"q"/>
	</xs:element>
	<xs:element name=3D"w">
				<xs:element ref=3D"index"/>
				<xs:element ref=3D"note"/>
				<xs:element ref=3D"seg"/>
	</xs:element>

------=_NextPart_000_0005_01C250E3.B28034A0--