You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2012/05/05 12:45:50 UTC

[jira] [Updated] (PDFBOX-1303) Tika's PDFParser fails to parse documents embedded in a PDF Package

     [ https://issues.apache.org/jira/browse/PDFBOX-1303?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael McCandless updated PDFBOX-1303:
---------------------------------------

    Attachment: testPDFPackage.pdf
                PDFBOX-1303.patch

Patch w/ test case.

The code to visit the embedded documents is basically the same as PDFBOX-1297, except I invoke Tika's EmbeddedDocumentExtractor (defaulting to ParsingEmbeddedDocumentExtractor) for each...
                
> Tika's PDFParser fails to parse documents embedded in a PDF Package
> -------------------------------------------------------------------
>
>                 Key: PDFBOX-1303
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1303
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Text extraction
>            Reporter: Michael McCandless
>             Fix For: 1.7.0
>
>         Attachments: PDFBOX-1303.patch, testPDFPackage.pdf
>
>
> In working on PDFBOX-1297, I realized Tika's PDFParser also doesn't
> visit documents embedded with a PDF document (ie a PDF package).
> Tika can actually handle this better than ExtractText since it can
> recurse on any embedded document type (not just PDFs) and parse them
> as well, vs ExtractText which only extracts when the embedded
> documents are also PDF.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira