You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "cheehoo (JIRA)" <ji...@apache.org> on 2015/05/28 17:31:17 UTC

[jira] [Commented] (TIKA-1641) Extra whitespace produced while extracting bodycontent in tika gui

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

cheehoo commented on TIKA-1641:
-------------------------------

The newline/extra whitespace causing problem to me is the CAPITALIZED.EMA IL@address.com as shown in  tika-whitespace.png. The original value suppose to be CAPITALIZED.EMAIL@address.com however after parsed by tika it produced CAPITALIZED.EMA IL@address.com in the main content. Due to i have a program that checking the email address using some regex therefore with the extra newline/whitespace in the email address will cause the matching pattern fail. This problem also occurred in some of the domain name (eg : http://WWW.DOMAIN17. COM ) in the file.

> Extra whitespace produced while extracting bodycontent in tika gui
> ------------------------------------------------------------------
>
>                 Key: TIKA-1641
>                 URL: https://issues.apache.org/jira/browse/TIKA-1641
>             Project: Tika
>          Issue Type: Bug
>          Components: gui, handler
>    Affects Versions: 1.6
>            Reporter: cheehoo
>         Attachments: File1.pdf, test_ws_tika_pdfbox.txt, test_ws_tika_tika.txt, tika-whitespace.png
>
>
> PDF import into tika gui added extra whitespace/newline in the main content.



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