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

Tim Allison edited comment on PDFBOX-3058 at 10/26/15 7:54 PM:
---------------------------------------------------------------

Will do.  

The cause of the problem is that I was using the ToTextContentHandler (which 
includes the "dc:title" field as a header in the content).  -There was a 
problem with the metadata in 2.0 so there was no dc:title field-  I need to 
figure out why we didn't extract anything for dc:title in 2.0.

Let me switch over to using the BodyContentHandler for the content (this will 
only capture text in the "body" of the document), and then I'll add a separate 
comparison table for metadata contents.

Thank you for catching this!


was (Author: [email protected]):
Will do.  

The cause of the problem is that I was using the ToTextContentHandler (which 
includes the "dc:title" field as a header in the content).  There was a problem 
with the metadata in 2.0 so there was no dc:title field.

Let me switch over to using the BodyContentHandler for the content (this will 
only capture text in the "body" of the document), and then I'll add a separate 
comparison table for metadata contents.

Thank you for catching this!

> Support TIKA Migration to PDFBox 2.0
> ------------------------------------
>
>                 Key: PDFBOX-3058
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3058
>             Project: PDFBox
>          Issue Type: Bug
>    Affects Versions: 2.0.0
>            Reporter: Maruan Sahyoun
>         Attachments: NZAZKTQYKDD2HSBCSJJN6XSEA4KJEONU_1_8_10.json, 
> NZAZKTQYKDD2HSBCSJJN6XSEA4KJEONU_2_0.json, content_diffs-1.8-to-2.0.xlsx
>
>
> This issue is to track fixing issues which came up as part of TIKA-1285 
> (Upgrade to PDFBox 2.0.0 when available) mainly
> - new exceptions compared to PDFBox 1.8.x
> - regressions in text extraction
> - lower quality text extraction
> There should be individual issues to track tasks/bugs arising from that.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to