You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Robert Kaulbach (Jira)" <ji...@apache.org> on 2020/08/12 00:35:00 UTC
[jira] [Commented] (TIKA-3156) Missing content from .odt file with
hyperlinked image
[ https://issues.apache.org/jira/browse/TIKA-3156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17175903#comment-17175903 ]
Robert Kaulbach commented on TIKA-3156:
---------------------------------------
The issue seems to be happening in org/apache/tika/parser/odf/OpenDocumentContentParser.java. The "MAPPINGS" do not include this tag and it gets skipped.
> Missing content from .odt file with hyperlinked image
> -----------------------------------------------------
>
> Key: TIKA-3156
> URL: https://issues.apache.org/jira/browse/TIKA-3156
> Project: Tika
> Issue Type: Bug
> Components: parser
> Affects Versions: 1.24.1
> Reporter: Robert Kaulbach
> Priority: Minor
> Attachments: link-gdocs.odt
>
>
> The attached file was created in Google Docs with an image inside and saved as an .odt file. After saving, I opened the file with LibreOffice and added a hyperlink to the image.
>
> When I parse the file with Tika, neither LinkContentHandler or ToXMLContentHandler show any trace of the hyperlink.
>
> The link is clickable when I open the document, and inside content.xml as :
> _<draw:a xlink:type="simple" xlink:href="[http://example.test/]">_
>
> I tried enabling all options in OfficeParserConfig and OOXMLParser but the link is still not extracted.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)