fix exception raised when JNet concise files with no sequence content are parsed...
[jalview.git] / resources / embl_mapping.xml
index 84ed647..2f3f046 100644 (file)
@@ -5,7 +5,7 @@
        -->
        \r
 <mapping xmlns="http://castor.exolab.org/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\r
-       xsi:schemaLocation="http://castor.exolab.org/ castor-mapping.xsd">\r
+       xsi:schemaLocation="http://castor.exolab.org/ ../schemas/castor-mapping.xsd">\r
        <!-- -->\r
        <class name="jalview.datamodel.xdb.embl.EmblFile">\r
                <map-to xml="EMBL_Services"/>\r
                <field name="Keywords" type="string" collection="vector">\r
                        <bind-xml name="keyword" node="element"/>\r
                </field>\r
-               <field name="sequence" type="jalview.datamodel.xdb.embl.EmblSequence">\r
-                       <bind-xml location="sequence" node="element"/>\r
-               </field>\r
                <field name="features" type="jalview.datamodel.xdb.embl.EmblFeature" collection="vector">\r
                        <bind-xml name="feature"/>
                </field>\r
                <field name="dbRefs" type="jalview.datamodel.DBRefEntry" collection="vector">\r
                        <bind-xml name="dbreference" />\r
                </field>\r
+               <field name="sequence" type="jalview.datamodel.xdb.embl.EmblSequence">\r
+                       <bind-xml name="sequence"/> <!-- location="sequence" node="element"/ -->\r
+               </field>\r
        </class>\r
        <class name="jalview.datamodel.xdb.embl.EmblSequence">
                <map-to xml="sequence"/>\r