You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tika.apache.org by ni...@apache.org on 2015/11/10 17:58:05 UTC

svn commit: r1713697 - /tika/trunk/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml

Author: nick
Date: Tue Nov 10 16:58:04 2015
New Revision: 1713697

URL: http://svn.apache.org/viewvc?rev=1713697&view=rev
Log:
Tweak ASiC comment and priority based on feedback from the spec

Modified:
    tika/trunk/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml

Modified: tika/trunk/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml
URL: http://svn.apache.org/viewvc/tika/trunk/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml?rev=1713697&r1=1713696&r2=1713697&view=diff
==============================================================================
--- tika/trunk/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml (original)
+++ tika/trunk/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml Tue Nov 10 16:58:04 2015
@@ -997,8 +997,8 @@
     <acronym>ASiC-E</acronym>
     <_comment>Extended Associated Signature Container</_comment>
     <sub-class-of type="application/zip"/>
-    <!-- Only works if the mimetype file is the first zip entry -->
-    <magic priority="50">
+    <!-- Spec says the Mimetype entry should be the first in the zip -->
+    <magic priority="60">
       <match value="PK\003\004" type="string" offset="0">
         <match value="mimetypeapplication/vnd.etsi.asic-e+zip" type="string" offset="30" />
       </match>
@@ -1010,8 +1010,8 @@
     <acronym>ASiC-S</acronym>
     <_comment>Simple Associated Signature Container</_comment>
     <sub-class-of type="application/zip"/>
-    <!-- Only works if the mimetype file is the first zip entry -->
-    <magic priority="50">
+    <!-- Spec says the Mimetype entry should be the first in the zip -->
+    <magic priority="60">
       <match value="PK\003\004" type="string" offset="0">
         <match value="mimetypeapplication/vnd.etsi.asic-s+zip" type="string" offset="30" />
       </match>