refactored uri type to a link element and replaced type references with element refer...
authorjprocter <jprocter@compbio.dundee.ac.uk>
Mon, 22 May 2006 16:17:30 +0000 (16:17 +0000)
committerjprocter <jprocter@compbio.dundee.ac.uk>
Mon, 22 May 2006 16:17:30 +0000 (16:17 +0000)
git-svn-id: https://svn.lifesci.dundee.ac.uk/svn/repository/trunk@224 be28352e-c001-0410-b1a7-c7978e42abec

schemas/vamsas.xsd

index e735b8b..996c187 100644 (file)
                        </xs:simpleContent>
                </xs:complexType>
        </xs:element>
-       <xs:complexType name="uri">
+       <xs:element name="link">
+       <xs:complexType>
                <xs:annotation>
                        <xs:documentation>
                                Primitive labelled URI object
                        </xs:extension>
                </xs:simpleContent>
        </xs:complexType>
+       </xs:element>
        <xs:complexType name="rangeType" abstract="true">
                <xs:annotation>
                        <xs:documentation>
                                                        </xs:simpleContent>
                                                </xs:complexType>
                                        </xs:element>
-                                       <xs:element name="url" type="vamsas:uri"
-                                               minOccurs="0" maxOccurs="unbounded" />
+                                       <xs:element ref="vamsas:link" minOccurs="0" maxOccurs="unbounded" />
                                        <xs:element ref="vamsas:property" minOccurs="0"
                                                maxOccurs="unbounded">
                                                <xs:annotation>
                                                                                                                </xs:attribute>
                                                                                                        </xs:complexType>
                                                                                                </xs:element>
-                                                                                               <xs:element name="link" type="vamsas:uri" minOccurs="0" maxOccurs="unbounded"/>
+                                                                                               <xs:element ref="vamsas:link" minOccurs="0" maxOccurs="unbounded"/>
                                                                                                <xs:element
                                                                                                        ref="vamsas:property" minOccurs="0" maxOccurs="unbounded" />
                                                                                        </xs:sequence>