You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Funbit (JIRA)" <ji...@apache.org> on 2018/04/12 06:19:00 UTC
[jira] [Commented] (TIKA-2601) Invalid XHTML output for some WORD
documents
[ https://issues.apache.org/jira/browse/TIKA-2601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16434996#comment-16434996 ]
Funbit commented on TIKA-2601:
------------------------------
We are experiencing the same issue.
Just in case, here is another doc file that produces invalid XML output.
[^Invalid-XML.doc]
> Invalid XHTML output for some WORD documents
> --------------------------------------------
>
> Key: TIKA-2601
> URL: https://issues.apache.org/jira/browse/TIKA-2601
> Project: Tika
> Issue Type: Bug
> Components: parser
> Affects Versions: 1.17
> Environment: Linked is a sample document with its corresponding output.
> Reporter: Filip
> Priority: Major
> Attachments: Invalid-XML.doc, Test.doc, test.html
>
>
> In some WORD (.doc, .docx) documents the XHTML elements are not closed properly. This usually happens when there are link elements (<a>) as well as italic or bold elements (<b><i>).
>
> Fix should be done in [https://github.com/apache/tika/blob/master/tika-parsers/src/main/java/org/apache/tika/parser/microsoft/WordExtractor.java]
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)