[osis-core] empty tag / milestone proposal
Troy A. Griffitts
osis-core@bibletechnologieswg.org
Tue, 18 Jun 2002 20:16:59 -0700
This is a multi-part message in MIME format.
--------------080808060603090401090807
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Attached is a proposal to allow some elements to be used as empty
milestones optionally. Please consider applying this patch.
I would also suggest removing the generic milestone element, but this
patch does not do this.
--------------080808060603090401090807
Content-Type: text/plain;
name="osisCore_1test12a.xsd.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="osisCore_1test12a.xsd.patch"
--- osisCore_1test12.xsd.orig Tue Jun 18 19:45:00 2002
+++ osisCore_1test12.xsd Tue Jun 18 20:13:05 2002
@@ -308,6 +308,7 @@
<xs:element ref="w"/>
</xs:choice>
<xs:attributeGroup ref="globalAttributes"/>
+ <xs:attributeGroup ref="milestoneAttributes"/>
</xs:complexType>
</xs:element>
@@ -765,6 +766,7 @@
<xs:element ref="w"/>
</xs:choice>
<xs:attributeGroup ref="globalAttributes"/>
+ <xs:attributeGroup ref="milestoneAttributes"/>
</xs:complexType>
</xs:element>
@@ -798,6 +800,7 @@
<xs:attribute name="next" type="xs:string" use="optional"/>
<xs:attribute name="prev" type="xs:string" use="optional"/>
<xs:attributeGroup ref="globalAttributes"/>
+ <xs:attributeGroup ref="milestoneAttributes"/>
</xs:complexType>
</xs:element>
@@ -895,6 +898,7 @@
<xs:attribute name="next" type="xs:string" use="optional"/>
<xs:attribute name="prev" type="xs:string" use="optional"/>
<xs:attributeGroup ref="globalAttributes"/>
+ <xs:attributeGroup ref="milestoneAttributes"/>
</xs:complexType>
</xs:element>
@@ -976,6 +980,7 @@
<xs:attribute name="prev" type="xs:string" use="optional"/>
<xs:attribute name="who" type="xs:string" use="optional"/>
<xs:attributeGroup ref="globalAttributes"/>
+ <xs:attributeGroup ref="milestoneAttributes"/>
</xs:complexType>
</xs:element>
@@ -1027,6 +1032,7 @@
</xs:choice>
<xs:attribute name="changeType" type="changeType" use="optional"/>
<xs:attributeGroup ref="globalAttributes"/>
+ <xs:attributeGroup ref="milestoneAttributes"/>
</xs:complexType>
</xs:element>
@@ -1059,6 +1065,7 @@
<xs:attribute name="next" type="xs:string" use="optional"/>
<xs:attribute name="prev" type="xs:string" use="optional"/>
<xs:attributeGroup ref="globalAttributes"/>
+ <xs:attributeGroup ref="milestoneAttributes"/>
</xs:complexType>
</xs:element>
@@ -1117,6 +1124,11 @@
<xs:attribute name="outCite" type="osisRef" use="optional"/>
</xs:attributeGroup>
+<!-- allow some container elements to be left empty and used as milestones. eg. either <verse verseID="jn.1.1">In the beginning...</verse> OR <verse verseID="jn.1.1" mStart="jn.1.1"/>In the beginning...<verse mEnd="jn.1.1"/> -->
+<xs:attributeGroup name="milestoneAttributes">
+ <xs:attribute name="mStart" type="xs:string" use="optional"/>
+ <xs:attribute name="mEnd" type="xs:string" use="optional"/>
+</xs:attributeGroup>
<!-- simple types -->
@@ -1369,4 +1381,4 @@
<xs:union memberTypes="roleOSIS attributeExtension"/>
</xs:simpleType>
-</xs:schema>
\ No newline at end of file
+</xs:schema>
--------------080808060603090401090807--