You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tika.apache.org by ta...@apache.org on 2020/11/19 13:49:44 UTC

[tika] branch main updated: fix for TIKA-3225 contributed by onozaty (#378)

This is an automated email from the ASF dual-hosted git repository.

tallison pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tika.git


The following commit(s) were added to refs/heads/main by this push:
     new 6cd1a4a  fix for TIKA-3225 contributed by onozaty (#378)
6cd1a4a is described below

commit 6cd1a4a5df54e44a0f17e2035ad9e83812edd613
Author: onozaty <on...@gmail.com>
AuthorDate: Thu Nov 19 22:34:51 2020 +0900

    fix for TIKA-3225 contributed by onozaty (#378)
    
    Added a namespace declaration because it may cause an error when processing XML because there is no namespace declaration.
---
 tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml b/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml
index 404e462..520483d 100644
--- a/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml
+++ b/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml
@@ -36,7 +36,7 @@
    * For logic too complex to be expressed in a magic match, do the best
      you can here, then provide a Custom Detector for the rest
 -->
-<mime-info>
+<mime-info xmlns:tika="https://tika.apache.org/">
 
   <mime-type type="application/activemessage"/>
   <mime-type type="application/andrew-inset">