[osis-core] Global attribute: new for osis_0106!
Patrick Durusau
osis-core@bibletechnologieswg.org
Mon, 08 Apr 2002 14:59:13 -0400
Guys,
For OSIS_0106, new global attribute:
<xs:attributeGroup name = "globalAttributes">
<xs:attribute name = "ID" type = "xs:ID" use = "optional" />
<xs:attribute name = "IDREF" type = "xs:IDREF" use = "optional" />
<xs:attribute name = "IDREFS" type = "xs:IDREFS" use = "optional" />
<xs:attribute name = "lang" type = "languageType" use = "optional" />
<xs:attribute name = "reference" type = "ReferenceType" use = "optional" />
<xs:attribute name = "referenceEnd" type = "ReferenceType" use = "optional" />
<xs:attribute name = "type" type = "xs:string" use = "optional" />
</xs:attributeGroup>
Note that globalAttributes replaces the globalAttributesWithType and
globalAttributesWithoutType, and milestone attributes. Also allows
removal of start/end/Element stuff from attributes.
Here's the skinny:
ID: who-am-i, just a string, must be unique. Can overload as verse
reference (for verse milestone) but probably should not try that for
other elements.
IDREF: where I point, mainly for closing milestones
IDREFS: space separate string of IDs, allows attachment of notes, etc.
(does mean that people have to use valid IDs for the notes to have
something to attach to, but that would be the case anyway)
lang: languages of the element
reference: where-am-i-pointing, note default is validation by
compScriptureRefType.xsd or x-
referenceEnd: where-do-i-stop-pointing, same as above
With reference and referenceEnd, any element can point outside the
document to another, but validation at this point is only for scripture.
As we define other reference schemes, should be unions of x- and the
scheme so that older materials validate.
type: just a string, whatever classification makes sense, probably
should require some sort of documentation on it.
Rocking and working!
Patrick
--
Patrick Durusau
Director of Research and Development
Society of Biblical Literature
pdurusau@emory.edu