JAL-3445 preliminary BSML reader
[jalview.git] / src / jalview / io / IdentifyFile.java
index 621cfac..fc9938f 100755 (executable)
@@ -179,6 +179,15 @@ public class IdentifyFile
             break;
           }
         }
+        if (data.startsWith("<?xml"))
+        {
+          data = source.nextLine();
+          if (data.startsWith("<Bsml>"))
+          {
+            reply = FileFormat.BSML;
+            break;
+          }
+        }
         data = data.toUpperCase();
 
         if (data.startsWith(ScoreMatrixFile.SCOREMATRIX))