JAL-3437 issue with
authorhansonr <hansonr@STO24954W.ad.stolaf.edu>
Tue, 1 Oct 2019 09:53:36 +0000 (11:53 +0200)
committerhansonr <hansonr@STO24954W.ad.stolaf.edu>
Tue, 1 Oct 2019 09:53:36 +0000 (11:53 +0200)
System.getProperty("javax.xml.datatype.DatatypeFactory")

1/2 ?

_j2sclasslist.txt
src/jalview/io/FileFormat.java
src/jalview/io/IdentifyFile.java
swingjs/SwingJS-site.zip
swingjs/timestamp
swingjs/ver/3.2.4/SwingJS-site.zip
swingjs/ver/3.2.4/timestamp

index f51640c..fde0115 100644 (file)
@@ -672,10 +672,12 @@ javax/xml/bind/annotation/adapters/CollapsedStringAdapter.js
 javax/xml/bind/annotation/adapters/XmlAdapter.js
 javax/xml/bind/helpers/AbstractUnmarshallerImpl.js
 javax/xml/bind/helpers/DefaultValidationEventHandler.js
+javax/xml/datatype/DatatypeFactory.js
 javax/xml/datatype/XMLGregorianCalendar.js
 javax/xml/namespace/QName.js
 javax/xml/stream/XMLInputFactory.js
 javax/xml/stream/XMLStreamReader.js
+org/apache/xerces/jaxp/datatype/DatatypeFactoryImpl.js
 org/apache/xerces/jaxp/datatype/XMLGregorianCalendarImpl.js
 org/json/simple/parser/JSONParser.js
 org/json/simple/parser/ParseException.js
@@ -810,6 +812,7 @@ swingjs/xml/JSJAXBField.js
 swingjs/xml/JSJAXBUnmarshaller.js
 swingjs/xml/JSSAXAttributes.js
 swingjs/xml/JSSAXParser.js
+swingjs/xml/JSXMLDatatypeFactoryImpl.js
 swingjs/xml/JSXMLGregorianCalendarImpl.js
 swingjs/xml/JSXMLInputFactory.js
 swingjs/xml/JSXMLStreamReader.js
index cb61740..df76c61 100644 (file)
@@ -29,6 +29,21 @@ import java.io.IOException;
 
 public enum FileFormat implements FileFormatI
 {
+  BSML("BSML", "bbb", true, false)
+  {
+    @Override
+    public AlignmentFileReaderI getReader(FileParse source)
+            throws IOException
+    {
+      return new BSMLFile(source);
+    }
+
+    @Override
+    public AlignmentFileWriterI getWriter(AlignmentI al)
+    {
+      return null;
+    }
+  },
   Fasta("Fasta", "fa, fasta, mfa, fastq", true, true)
   {
     @Override
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))
index 76474a0..72900a8 100644 (file)
Binary files a/swingjs/SwingJS-site.zip and b/swingjs/SwingJS-site.zip differ
index fccfaec..9b20eae 100644 (file)
@@ -1 +1 @@
-20190929051131 
+20191001111303 
index 76474a0..72900a8 100644 (file)
Binary files a/swingjs/ver/3.2.4/SwingJS-site.zip and b/swingjs/ver/3.2.4/SwingJS-site.zip differ
index fccfaec..9b20eae 100644 (file)
@@ -1 +1 @@
-20190929051131 
+20191001111303