Repository: tika
Updated Branches:
  refs/heads/master c9639bd19 -> b9474f14b


TIKA-2238 -- add mime detection for embedded MSEquation files


Project: http://git-wip-us.apache.org/repos/asf/tika/repo
Commit: http://git-wip-us.apache.org/repos/asf/tika/commit/b9474f14
Tree: http://git-wip-us.apache.org/repos/asf/tika/tree/b9474f14
Diff: http://git-wip-us.apache.org/repos/asf/tika/diff/b9474f14

Branch: refs/heads/master
Commit: b9474f14b5af9b50b187028bac232b996543bbb3
Parents: c9639bd
Author: tballison <talli...@mitre.org>
Authored: Fri Jan 13 11:57:14 2017 -0500
Committer: tballison <talli...@mitre.org>
Committed: Fri Jan 13 11:57:14 2017 -0500

----------------------------------------------------------------------
 CHANGES.txt                                        |   2 ++
 .../microsoft/POIContainerExtractionTest.java      |   2 +-
 .../testMSEquation-govdocs-863534.doc              | Bin 0 -> 30720 bytes
 .../testMSEquation-govdos-863534.doc               | Bin 30720 -> 0 bytes
 4 files changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tika/blob/b9474f14/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index 32caa4e..a9338b4 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,5 +1,7 @@
 Release 1.15 - ??
 
+  * Add container detection for embedded MSEquation files (TIKA-2238).
+
   * Add parsing of JBIG2 and extraction of JBIG2 from PDFs when
     required dependencies are added to class path by user.
     Contributed by Pascal Essiembre (TIKA-2232).

http://git-wip-us.apache.org/repos/asf/tika/blob/b9474f14/tika-parsers/src/test/java/org/apache/tika/parser/microsoft/POIContainerExtractionTest.java
----------------------------------------------------------------------
diff --git 
a/tika-parsers/src/test/java/org/apache/tika/parser/microsoft/POIContainerExtractionTest.java
 
b/tika-parsers/src/test/java/org/apache/tika/parser/microsoft/POIContainerExtractionTest.java
index 1a40479..b3a230f 100644
--- 
a/tika-parsers/src/test/java/org/apache/tika/parser/microsoft/POIContainerExtractionTest.java
+++ 
b/tika-parsers/src/test/java/org/apache/tika/parser/microsoft/POIContainerExtractionTest.java
@@ -383,7 +383,7 @@ public class POIContainerExtractionTest extends 
AbstractPOIContainerExtractionTe
     @Test
     public void testEmbeddedEquation() throws Exception {
         //file derives from govdocs1 863534.doc
-        List<Metadata> metadataList = 
getRecursiveMetadata("testMSEquation-govdos-863534.doc");
+        List<Metadata> metadataList = 
getRecursiveMetadata("testMSEquation-govdocs-863534.doc");
         assertEquals(3, metadataList.size());
         assertEquals("application/vnd.ms-equation", 
metadataList.get(2).get(Metadata.CONTENT_TYPE));
     }

http://git-wip-us.apache.org/repos/asf/tika/blob/b9474f14/tika-parsers/src/test/resources/test-documents/testMSEquation-govdocs-863534.doc
----------------------------------------------------------------------
diff --git 
a/tika-parsers/src/test/resources/test-documents/testMSEquation-govdocs-863534.doc
 
b/tika-parsers/src/test/resources/test-documents/testMSEquation-govdocs-863534.doc
new file mode 100644
index 0000000..bede30e
Binary files /dev/null and 
b/tika-parsers/src/test/resources/test-documents/testMSEquation-govdocs-863534.doc
 differ

http://git-wip-us.apache.org/repos/asf/tika/blob/b9474f14/tika-parsers/src/test/resources/test-documents/testMSEquation-govdos-863534.doc
----------------------------------------------------------------------
diff --git 
a/tika-parsers/src/test/resources/test-documents/testMSEquation-govdos-863534.doc
 
b/tika-parsers/src/test/resources/test-documents/testMSEquation-govdos-863534.doc
deleted file mode 100644
index bede30e..0000000
Binary files 
a/tika-parsers/src/test/resources/test-documents/testMSEquation-govdos-863534.doc
 and /dev/null differ

Reply via email to