You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Tim Allison (JIRA)" <ji...@apache.org> on 2015/11/04 17:01:27 UTC

[jira] [Resolved] (TIKA-1786) Downgrade logging severity in FileResourceConsumer and fix handling of illegal xml characters

     [ https://issues.apache.org/jira/browse/TIKA-1786?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tim Allison resolved TIKA-1786.
-------------------------------
       Resolution: Fixed
    Fix Version/s: 1.12

r1712572

> Downgrade logging severity in FileResourceConsumer and fix handling of illegal xml characters
> ---------------------------------------------------------------------------------------------
>
>                 Key: TIKA-1786
>                 URL: https://issues.apache.org/jira/browse/TIKA-1786
>             Project: Tika
>          Issue Type: Improvement
>          Components: tika-batch
>            Reporter: Tim Allison
>            Assignee: Tim Allison
>            Priority: Trivial
>             Fix For: 1.12
>
>
> FileResourceConsumer logs an xmlified snippet to record problems encountered during parsing.  If a parser includes illegal xml characters in the ParseException, this exception is caught by the xmlification code and then logged as an error.
> The xmlification code should be robust against illegal characters and we should downgrade logging severity from error to warnings when there wasn't an actual error thrown by a parser.



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