You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tika.apache.org by ju...@apache.org on 2009/11/16 16:14:45 UTC

svn commit: r880784 - in /lucene/tika/trunk/tika-core/src/test/resources/org/apache/tika/mime: test-difficult-rdf1.xml test-difficult-rdf2.xml

Author: jukka
Date: Mon Nov 16 15:14:43 2009
New Revision: 880784

URL: http://svn.apache.org/viewvc?rev=880784&view=rev
Log:
TIKA-309: Mime type application/rdf+xml not correctly detected

Move explanatory comments down in the test files to avoid interfering with the detection patterns.

Modified:
    lucene/tika/trunk/tika-core/src/test/resources/org/apache/tika/mime/test-difficult-rdf1.xml
    lucene/tika/trunk/tika-core/src/test/resources/org/apache/tika/mime/test-difficult-rdf2.xml

Modified: lucene/tika/trunk/tika-core/src/test/resources/org/apache/tika/mime/test-difficult-rdf1.xml
URL: http://svn.apache.org/viewvc/lucene/tika/trunk/tika-core/src/test/resources/org/apache/tika/mime/test-difficult-rdf1.xml?rev=880784&r1=880783&r2=880784&view=diff
==============================================================================
--- lucene/tika/trunk/tika-core/src/test/resources/org/apache/tika/mime/test-difficult-rdf1.xml (original)
+++ lucene/tika/trunk/tika-core/src/test/resources/org/apache/tika/mime/test-difficult-rdf1.xml Mon Nov 16 15:14:43 2009
@@ -1,11 +1,5 @@
 <?xml version='1.0' encoding='ISO-8859-1'?>
 
-<!--
-  TIKA-309: Mime type application/rdf+xml not correctly detected
-  Simplified test case based on the OWL document at
-  http://www.ai.sri.com/daml/services/owl-s/1.2/Process.owl
--->
-
 <!DOCTYPE uridef[
   <!ENTITY rdf "http://www.w3.org/1999/02/22-rdf-syntax-ns">
   <!ENTITY shadow-rdf "http://www.daml.org/services/owl-s/1.2/generic/ObjectList.owl">
@@ -36,6 +30,10 @@
   xmlns=        "&DEFAULT;#"
   xml:base="&process;">
 
-  <!-- ... -->
+<!--
+  TIKA-309: Mime type application/rdf+xml not correctly detected
+  Simplified test case based on the OWL document at
+  http://www.ai.sri.com/daml/services/owl-s/1.2/Process.owl
+-->
 
 </rdf:RDF>

Modified: lucene/tika/trunk/tika-core/src/test/resources/org/apache/tika/mime/test-difficult-rdf2.xml
URL: http://svn.apache.org/viewvc/lucene/tika/trunk/tika-core/src/test/resources/org/apache/tika/mime/test-difficult-rdf2.xml?rev=880784&r1=880783&r2=880784&view=diff
==============================================================================
--- lucene/tika/trunk/tika-core/src/test/resources/org/apache/tika/mime/test-difficult-rdf2.xml (original)
+++ lucene/tika/trunk/tika-core/src/test/resources/org/apache/tika/mime/test-difficult-rdf2.xml Mon Nov 16 15:14:43 2009
@@ -1,11 +1,5 @@
 <?xml version='1.0' encoding='ISO-8859-1'?>
 
-<!--
-  TIKA-309: Mime type application/rdf+xml not correctly detected
-  Simplified test case based on the OWL 2 Namespace Document at
-  http://www.w3.org/2002/07/owl#
--->
-
 <!-- This is the OWL 2 Namespace Document, sometimes
      called the "owl.owl" file.
 
@@ -43,5 +37,10 @@
     xmlns:grddl = "&grddl;"
     >
 
-  <!-- ... -->
+<!--
+  TIKA-309: Mime type application/rdf+xml not correctly detected
+  Simplified test case based on the OWL 2 Namespace Document at
+  http://www.w3.org/2002/07/owl#
+-->
+
 </rdf:RDF>
\ No newline at end of file