[
https://issues.apache.org/jira/browse/TIKA-1376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14075304#comment-14075304
]
Hudson commented on TIKA-1376:
------------------------------
SUCCESS: Integrated in tika-trunk-jdk1.6 #116 (See
[https://builds.apache.org/job/tika-trunk-jdk1.6/116/])
TIKA-1376: improve embedded file name extraction in PDFParser (tallison:
http://svn.apache.org/viewvc/tika/trunk/?view=rev&rev=1613444)
*
/tika/trunk/tika-parsers/src/main/java/org/apache/tika/parser/pdf/PDF2XHTML.java
*
/tika/trunk/tika-parsers/src/test/java/org/apache/tika/parser/pdf/PDFParserTest.java
*
/tika/trunk/tika-parsers/src/test/resources/test-documents/testPDF_multiFormatEmbFiles.pdf
> Improve embedded file name extraction in PDFParser
> --------------------------------------------------
>
> Key: TIKA-1376
> URL: https://issues.apache.org/jira/browse/TIKA-1376
> Project: Tika
> Issue Type: Improvement
> Components: parser
> Reporter: Tim Allison
> Assignee: Tim Allison
> Priority: Trivial
> Fix For: 1.6
>
>
> When we extract embedded files from PDFs, we are currently using the key in
> the PDEmbeddedFilesNameTreeNode as the file name that we store as the value
> of Metadata.RESOURCE_NAME_KEY in the embedded document's metadata.
> I think we should try to get the file name from PDComplexFileSpecification's
> getFilename() first. If that is null, then we should fall back to the key
> value.
--
This message was sent by Atlassian JIRA
(v6.2#6252)