in progress
authorcmzmasek <cmzmasek@ca865154-3058-d1c3-3e42-d8f55a55bdbd>
Mon, 30 Sep 2013 04:40:31 +0000 (04:40 +0000)
committercmzmasek <cmzmasek@ca865154-3058-d1c3-3e42-d8f55a55bdbd>
Mon, 30 Sep 2013 04:40:31 +0000 (04:40 +0000)
forester/resources/phyloxml_schema/1.10/phyloxml.xsd

index 9f8d566..525bc69 100644 (file)
 <!--          or Ruby's License.                                 -->\r
 <!--          see: http://www.ruby-lang.org/en/about/license.txt -->\r
 <!--                                                             -->\r
-<!-- Copyright (c) 2008-2012 Christian M Zmasek                  -->\r
+<!-- Copyright (c) 2008-2013 Christian Zmasek                    -->\r
 <!--                                                             -->\r
 <!-- www.phyloxml.org                                            -->\r
-<!-- Version: 1.15                                               -->\r
-<!-- Last modified: 2012.06.26 by Christian M Zmasek             -->\r
+<!-- Version: 1.16                                               -->\r
+<!-- Last modified: 2013.09.29 by Christian M Zmasek             -->\r
 <!--                                                             -->\r
 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:phy="http://www.phyloxml.org"\r
    targetNamespace="http://www.phyloxml.org" elementFormDefault="qualified" attributeFormDefault="unqualified">\r
    <xs:complexType name="Sequence">\r
       <xs:annotation>\r
          <xs:documentation> Element Sequence is used to represent a molecular sequence (Protein, DNA, RNA) associated\r
-            with a node. 'symbol' is a short (maximal ten characters) symbol of the sequence (e.g. 'ACTM') whereas\r
+            with a node. 'symbol' is a short (maximal 30 characters) symbol of the sequence (e.g. 'ACTM') whereas\r
             'name' is used for the full name (e.g. 'muscle Actin'). 'location' is used for the location of a sequence on\r
             a genome/chromosome. The actual sequence can be stored with the 'mol_seq' element. Attribute 'type' is used\r
             to indicate the type of sequence ('dna', 'rna', or 'protein'). One intended use for 'id_ref' is to link a\r
          <xs:element name="mol_seq" type="phy:MolSeq" minOccurs="0"/>\r
          <xs:element name="uri" type="phy:Uri" minOccurs="0" maxOccurs="unbounded"/>\r
          <xs:element name="annotation" type="phy:Annotation" minOccurs="0" maxOccurs="unbounded"/>\r
+         <xs:element name="cross_references" type="phy:CrossReferences" minOccurs="0"/>\r
          <xs:element name="domain_architecture" type="phy:DomainArchitecture" minOccurs="0"/>\r
          <xs:any minOccurs="0" maxOccurs="unbounded" processContents="lax" namespace="##other"/>\r
       </xs:sequence>\r
    </xs:complexType>\r
    <xs:simpleType name="SequenceSymbol">\r
       <xs:restriction base="xs:token">\r
-         <xs:pattern value="\S{1,20}"/>\r
+         <xs:pattern value="\S{1,30}"/>\r
       </xs:restriction>\r
    </xs:simpleType>\r
    <xs:complexType name="MolSeq">\r
          </xs:extension>\r
       </xs:simpleContent>\r
    </xs:complexType>\r
+   <!-- CrossReferences: -->\r
+   <xs:complexType name="CrossReferences">\r
+      <xs:annotation>\r
+         <xs:documentation> Used to store accessions to additional resources. </xs:documentation>\r
+      </xs:annotation> \r
+      <xs:sequence>\r
+         <xs:element name="accession" type="phy:Accession" minOccurs="1" maxOccurs="unbounded"/>\r
+      </xs:sequence>\r
+   </xs:complexType> \r
    <!-- DomainArchitecture: -->\r
    <xs:complexType name="DomainArchitecture">\r
       <xs:annotation>\r