refactored tree type to avoid conflicts.
authorjprocter <jprocter@compbio.dundee.ac.uk>
Tue, 20 Sep 2005 09:42:33 +0000 (09:42 +0000)
committerjprocter <jprocter@compbio.dundee.ac.uk>
Tue, 20 Sep 2005 09:42:33 +0000 (09:42 +0000)
git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@33 be28352e-c001-0410-b1a7-c7978e42abec

schemas/vamsas15_9.xsd

index 787a929..1a5ba63 100644 (file)
        </xs:complexType>
        <xs:complexType name="VAMSAS">
                <xs:sequence>
-                       <xs:element name="Dendro" type="vamsas:TreeType" minOccurs="0" maxOccurs="unbounded"/>
+                       <xs:element ref="vamsas:Tree" minOccurs="0" maxOccurs="unbounded"/>
                        <xs:element ref="vamsas:SequenceSet" minOccurs="0" maxOccurs="unbounded"/>
                </xs:sequence>
-               
-        <xs:attribute name="id" type="xs:ID"/>
+               <xs:attribute name="id" type="xs:ID"/>
     </xs:complexType>
+    <xs:element name="Tree">
+               <xs:complexType>
+               <xs:sequence>
+                       <xs:element name="newickFormat" type="xs:string" minOccurs="1" maxOccurs="unbounded"/>
+                       <xs:element ref="vamsas:Provenance" minOccurs="1" maxOccurs="1"/>
+                   </xs:sequence>
+               <xs:attribute name="id" type="xs:ID"/>
+       </xs:complexType>
+       </xs:element>
        <xs:element name="Provenance">
                <xs:complexType>
                        <xs:sequence maxOccurs="unbounded">
@@ -74,7 +82,7 @@
                                                                        <xs:attribute name="id" type="xs:ID"/>
                                                                </xs:complexType>
                                                        </xs:element>
-                                                       <xs:element name="tree" type="vamsas:TreeType" minOccurs="0" maxOccurs="unbounded"/>
+                                                       <xs:element ref="vamsas:Tree" minOccurs="0" maxOccurs="unbounded"/>
                                                        <xs:element name="alignmentSequence" minOccurs="2" maxOccurs="unbounded">
                                                                <xs:complexType>
                                                                        <xs:complexContent>
@@ -88,7 +96,7 @@
                                                </xs:sequence>
                                        </xs:complexType>
                                </xs:element>
-                               <xs:element name="tree" type="vamsas:TreeType"/>
+                               <xs:element ref="vamsas:Tree" minOccurs="0" maxOccurs="unbounded"/>
                                <xs:element ref="vamsas:Provenance"/>
                        </xs:sequence>
                        <xs:attribute name="gapChar" type="xs:string" use="required"/>
                <xs:attribute name="id" type="xs:ID"/>
        </xs:complexType>
        
-    <xs:complexType name="TreeType">
-        <xs:sequence>
-          <xs:element name="newickFormat" type="xs:string" minOccurs="1" maxOccurs="unbounded"/>
-          <xs:element ref="vamsas:Provenance" minOccurs="1" maxOccurs="1"/>
-        </xs:sequence>
-        <xs:attribute name="id" type="xs:ID"/>
-    </xs:complexType>
     <xs:complexType name="ApplicationData">
                <xs:sequence>
                        <xs:element name="Application">