tballison commented on code in PR #2553:
URL: https://github.com/apache/tika/pull/2553#discussion_r2729920436


##########
tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/java/org/apache/tika/parser/RecursiveParserWrapperTest.java:
##########
@@ -174,6 +174,16 @@ public void testTarball() throws Exception {
                 "/test-documents.tar"), actualEmbeddedPaths);
     }
 
+    @Test
+    public void testTarballWithoutGzipNameMetadata() throws Exception {
+        List<Metadata> list = 
getRecursiveMetadata("test-documents-no-name-metadata.tgz");
+        Metadata last = list.get(list.size() - 1);
+        String internalPath = last.get(TikaCoreProperties.INTERNAL_PATH);

Review Comment:
   The point of internal_path is to store what the file contained about the 
internal path of a resource. This metadata field should tell the user "this was 
the path that was literally stored in the container file. Tika did no guesswork 
here".



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to