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:31:00 UTC

[jira] [Created] (TIKA-3156) Missing content from .odt file with hyperlinked image

Robert Kaulbach created TIKA-3156:
-------------------------------------

             Summary: 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
         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)