[ https://issues.apache.org/jira/browse/TIKA-1228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13890605#comment-13890605 ]
Tim Allison commented on TIKA-1228: ----------------------------------- Not sure I understand. Is this the snippet that you refer to in PDNameTreeNode: {noformat} public Map<String, COSObjectable> getNames() throws IOException { COSArray namesArray = (COSArray)node.getDictionaryObject( COSName.NAMES ); {noformat} The above throws a class cast exception, but the code that you show doesn't? Are you getting a class cast exception on the document that you submitted with this issue or is it a different document? Thank you, again. > 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)