[osis-core] Inconsistent use of type on date

Patrick Durusau osis-core@bibletechnologieswg.org
Wed, 17 Sep 2003 07:31:13 -0400


Steve,

OK so proposed schema mod is:

Add to <dateCT>:

<xs:attribute name="event" type="eventType" use="optional"/>

Add <eventType>:

<xs:simpleType name="eventType">
		<xs:union memberTypes="osisEvents attributeExtension"/>
	</xs:simpleType>

Add <osisEvents>

<xs:simpleType name="osisEvents">
		<xs:restriction base="xs:string">
			<xs:enumeration value="edition"/>
			<xs:enumeration value="eversion"/>
			<xs:enumeration value="imprint"/>
			<xs:enumeration value="original"/>
		</xs:restriction>
	</xs:simpleType>

Does that work for everyone?

Hope everyone is having a great day!

Patrick

Steven J. DeRose wrote:
> At 12:49 PM -0400 9/16/03, Patrick Durusau wrote:
> 
>> Steve,
>>
>> OK, thus dateCT would have the following attributes:
>>
>> <xs:attribute name="type" type="calendar" use="optional" default="ISO"/>
>> <xs:attribute name="event" type="xs:string" use="optinal"/> (added)
>> <xs:attributeGroup ref="globalWithoutType"/>
>> <xs:attribute name="canonical" type="xs:boolean" use="optional"/>
>> <xs:attribute name="TEIform" fixed="date"/>
>>
>> And the docs suggests values for "event" or explain its usage?
> 
> 
> I was thinking we should define the basic types -- they're already in 
> the doc as
> 
> <list type='definition'>
>     <label>  original</label>
> 
>         <item>The original publication date of the first edition</item>
> 
>     <label>  edition</label>
> 
>         <item>  The date of publication of the referenced or source 
> edition</item>
> 
>     <label>  imprint</label>
> 
>         <item>  The printing date of the referenced or source 
> edition</item>
> 
>     <label>  eversion</label>
> 
>         <item>  The revision date of the present electronic edition</item>
> </list>
> 
> 


-- 
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!