[
https://issues.apache.org/jira/browse/TIKA-1228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13889889#comment-13889889
]
Jason Sherman edited comment on TIKA-1228 at 2/3/14 8:36 PM:
-------------------------------------------------------------
Thanks for the help. Another possibly related issue is:
When I was stepping through the pdfbox code, line 286 in PDNameTreeNode throws
an exception when running, but processes properly in my evaluation dialog
(Intellij 13)
namesArray =
(COSArray)((COSDictionary)((COSArray)node.getDictionaryObject(COSName.KIDS)).get(0)).getDictionaryObject(COSName.NAMES);
Throws:
org.apache.pdfbox.cos.COSObject cannot be cast to
org.apache.pdfbox.cos.COSDictionary
Do you want to pass that on to the pdfbox folks, or should I report it
separately?
was (Author: agi20dla):
Thanks for the help. Another possibly related issue is:
When I was stepping through the pdfbox code, line 286 throws an exception when
running, but processes properly in my evaluation dialog (Intellij 13)
namesArray =
(COSArray)((COSDictionary)((COSArray)node.getDictionaryObject(COSName.KIDS)).get(0)).getDictionaryObject(COSName.NAMES);
Throws:
org.apache.pdfbox.cos.COSObject cannot be cast to
org.apache.pdfbox.cos.COSDictionary
Do you want to pass that on to the pdfbox folks, or should I report it
separately?
> Embedded files not extracted properly from PDF
> ----------------------------------------------
>
> Key: TIKA-1228
> URL: https://issues.apache.org/jira/browse/TIKA-1228
> Project: Tika
> Issue Type: Bug
> Components: parser
> Affects Versions: 1.4
> Environment: CentOS 6.5 VM
> Reporter: Jason Sherman
> Labels: easyfix
> Fix For: 1.5
>
> Attachments: pdf_with_doc_and_text_attached.pdf
>
>
> IAW pdfbox example here:
> http://svn.apache.org/repos/asf/pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/pdmodel/ExtractEmbeddedFiles.java
> the PDF parser does not check for additional entries under Kids node when
> Names node does not exist.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)