[osis-core] castList Suggested syntax, request for low level content models
Patrick Durusau
osis-core@bibletechnologieswg.org
Tue, 02 Jul 2002 15:59:53 -0400
Steve,
Steve DeRose wrote:
> At 06:04 PM -0400 06/30/02, Patrick Durusau wrote:
>
>> Greetings,
>>
>> Steve notes:
>>
>> C-061: Add castList to header (was accepted).
>>
>> Yes, dropped the ball on that one.
>>
>> Suggested content model (something simple please!)
>>
>> TEI example:
>>
>> <castList>
>> <castGroup>
>> <head rend="braced">Mendicants</head>
>> <castItem>
>> <role>Aafaa</role>
>> <actor>Femi Johnson</actor>
>> </castItem>
>
>
> That should suffice, shouldn't it? maybe roleDesc as well; and actor
> is optional, I trust.
>
Should pointing to any of these be by traditional ID/IDREF?
Be sure to notice request for content models on role, actor, roleDesc
(lets avoid the TEI lead here, <measure> is permitted in role, some
interesting application pop to mind but not sure they would be necessary
in our context. Hmmm, perhaps those TEI folks do have interesting
meetings. ;-)
Suggested syntax:
<xs:element name="castList">
<xs:annotation>
<xs:documentation>
<p>The <castList> element and its children are used to document roles in
the biblical text.</p>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbound">
<xs:element ref="castGroup"/>
</xs:choice>
<xs:attributeGroup ref="globalAttributes"/>
<xs:attribute name="TEIform" fixed="castList"/>
</xs:complexType>
</xs:element>
<xs:element name="castGroup">
<xs:annotation>
<xs:documentation>
<p></p>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbound">
<xs:element ref="head"/>
<xs:element ref="castItem"/>
</xs:choice>
<xs:attributeGroup ref="globalAttributes"/>
<xs:attribute name="TEIform" fixed="castGroup"/>
</xs:complexType>
</xs:element>
<xs:element name="castItem">
<xs:annotation>
<xs:documentation>
<p></p>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbound">
<xs:element ref="actor"/>
<xs:element ref="role"/>
<xs:element ref="roleDesc"/>
</xs:choice>
<xs:attributeGroup ref="globalAttributes"/>
<xs:attribute name="TEIform" fixed="castItem"/>
</xs:complexType>
</xs:element>
<xs:element name="actor">
<xs:annotation>
<xs:documentation>
<p></p>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbound">
***Suggestions for content*** (name, etc)
</xs:choice>
<xs:attributeGroup ref="globalAttributes"/>
<xs:attribute name="TEIform" fixed="actor"/>
</xs:complexType>
</xs:element>
<xs:element name="role">
<xs:annotation>
<xs:documentation>
<p></p>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbound">
***Suggestions for content***
</xs:choice>
<xs:attributeGroup ref="globalAttributes"/>
<xs:attribute name="TEIform" fixed="role"/>
</xs:complexType>
</xs:element>
<xs:element name="roleDesc">
<xs:annotation>
<xs:documentation>
<p></p>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbound">
***Suggestions for content***
</xs:choice>
<xs:attributeGroup ref="globalAttributes"/>
<xs:attribute name="TEIform" fixed="roleDesc"/>
</xs:complexType>
</xs:element>
Patrick
--
Patrick Durusau
Director of Research and Development
Society of Biblical Literature
pdurusau@emory.edu