[ 
https://issues.apache.org/jira/browse/TIKA-948?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13408300#comment-13408300
 ] 

Nick Burch commented on TIKA-948:
---------------------------------

I've had a go at fixing this in r1358404, using a slightly different method. 
Michael's suggested fix didn't seem to scale well to additional formats, and 
would've been a bit confusing for the extractors.

Instead, I've updated POIFSContainerDetector to report that a CompObj that 
isn't a known "native CompObj" has been found (older Works file, some older 
Star files etc are all natively stored). This is reported in a similar way to 
the OLE10Native stuff, which was slightly tweaked. I've then updated the 
AbstarctPOIFSExtractor to then pull the data out of the CompObj structure. 
Tika-App -z is then able to correctly extract the pdf out.

One remaining issue is with file extensions, a little bit more work is needed 
to do that cleanly I think
                
> Embedded PDF extracted incorrectly as MS Works file from Word 97-2003 doc
> -------------------------------------------------------------------------
>
>                 Key: TIKA-948
>                 URL: https://issues.apache.org/jira/browse/TIKA-948
>             Project: Tika
>          Issue Type: Bug
>          Components: parser
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>            Priority: Minor
>         Attachments: EmbeddedPDF.doc, TIKA-948.patch, TIKA-948.patch
>
>
> This is just like TIKA-704, except that issue was for an OOXML Word
> doc but this is for the older Word 97-2003 format.

--
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

        

Reply via email to