[osis-core] Canonical best practice

Todd Tillinghast osis-core@bibletechnologieswg.org
Wed, 2 Jul 2003 10:45:31 -0600


I would like to clarify what is the best practice for the "canonical"
attribute.

Should it be:
<osisText osisIDWork="x">
<header>
	<work osisWork="x" type="content" subType="Bible"/>
</header>
<div type="introduction" canonical="false">
	...
</div>
<div type="bookGroup">
	<div type="book" canonical="true" osisID="Gen">
		<div type="introduction" canonical="false">
		</div>
		<div type="section">
			<p>
				<verse sID="Gen.1.1"
osisID="Gen.1.1"/>...<verse eID="Gen.1.1"/>
				<verse sID="Gen.1.1"
osisID="Gen.1.1"/>...<verse eID="Gen.1.1"/>
			</p>
		</div>
	</div>
	<div type="book" canonical="true">
		<div type="introduction" canonical="false"
osisID="Exod">
		</div>
		<div type="section">
			<p>
				<verse sID="Exod.1.1"
osisID="Exod.1.1"/>...<verse eID="Exod.1.1"/>
				<verse sID="Exod.1.1"
osisID="Exod.1.1"/>...<verse eID="Exod.1.1"/>
			</p>
		</div>
	</div>
</div>
</osisText>
</osis>


OR should there be <osisText canonical="true"> and only
canonical="false" only on <div type="introduction" canonical="false">
and canonical="true" no where else?

OR should we default canonical="true" based on PROSE and only put
canonical="false" on <div type="introduction" canonical="false">?

Todd

> -----Original Message-----
> From: osis-core-admin@bibletechnologieswg.org [mailto:osis-core-
> admin@bibletechnologieswg.org] On Behalf Of Patrick Durusau
> Sent: Wednesday, July 02, 2003 5:21 AM
> To: osis-core@bibletechnologieswg.org
> Subject: Re: [osis-core] CANONICAL MISSING!!!
> 
> Todd,
> 
> Todd Tillinghast wrote:
> > Patrick,
> >
> > YIPES!! How did we miss this one?
> >
> > We have canonical in <verse> and <note> but no where else.
> >
> 
> Not missed, perhaps poor implementation!
> 
> Problem was that we definitely wanted verse to default to canonical
and
> note to default to non-canonical. There is no global set of attributes
> that would catch one and not the other.
> 
> One very ugly hack would be to put canonical on both globalWithType
and
> globalWithoutType, with a default of true and for note (others?)
simply
> declare their attributes on the element.
> 
> See OSISCore.1.4.63 for an example of such an implementation. (Not
> saying I like it but it was the best I could come up with this
morning.)
> 
> Hope the day is off to a great start!
> 
> Patrick
> 
> 
> > Todd
> >
> >
> >>-----Original Message-----
> >>From: osis-core-admin@bibletechnologieswg.org [mailto:osis-core-
> >>admin@bibletechnologieswg.org] On Behalf Of Steven J. DeRose
> >>Sent: Tuesday, July 01, 2003 9:36 PM
> >>To: osis-core@bibletechnologieswg.org
> >>Subject: [osis-core] Counting cp grains
> >>Importance: High
> >>
> >>I have a note here that says
> >>
> >>
> >>>problem: what about embedded elements like notes, references, etc?
> >>>Content of all elements is included *Except* for any content within
> >>>a note, reference, figure, or caption (finegrain refs to the header
> >>>should never happen). The character content between matching
> >>>milestoneStart and milestoneEnd are counted just as if they were an
> >>>element.
> >>
> >>Is that what we ended up deciding?
> >>
> >>Or should it key off of the canonical attribute (which I don't see
in
> >>the schema currently)?
> >>
> >>Or should it just count everything?
> >>
> >>I remember we discussed it, but I don't remember the resolution.....
> >>
> >>s
> >>--
> >>
> >>Steve DeRose -- http://www.derose.net
> >>Chair, Bible Technologies Group -- http://www.bibletechnologies.net
> >>Email: sderose@acm.org  or  steve@derose.net
> >>_______________________________________________
> >>osis-core mailing list
> >>osis-core@bibletechnologieswg.org
> >>http://www.bibletechnologieswg.org/mailman/listinfo/osis-core
> >
> >
> > _______________________________________________
> > osis-core mailing list
> > osis-core@bibletechnologieswg.org
> > http://www.bibletechnologieswg.org/mailman/listinfo/osis-core
> >
> 
> 
> --
> Patrick Durusau
> Director of Research and Development
> Society of Biblical Literature
> Patrick.Durusau@sbl-site.org
> Chair, V1 - Text Processing: Office and Publishing Systems Interface
> Co-Editor, ISO 13250, Topic Maps -- Reference Model
> 
> Topic Maps: Human, not artificial, intelligence at work!
> 
> 
> _______________________________________________
> osis-core mailing list
> osis-core@bibletechnologieswg.org
> http://www.bibletechnologieswg.org/mailman/listinfo/osis-core