[
https://issues.apache.org/jira/browse/DAFFODIL-350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mike Beckerle closed DAFFODIL-350.
----------------------------------
Resolution: Duplicate
DAFFODIL-935
Is the feature for encodingErrorPolicy="error" which subsumes this issue.
> Parser should provide a more meaningful error when decoding fails
> -----------------------------------------------------------------
>
> Key: DAFFODIL-350
> URL: https://issues.apache.org/jira/browse/DAFFODIL-350
> Project: Daffodil
> Issue Type: Bug
> Components: Back End, Diagnostics, Usability
> Reporter: Jessie Chab
> Priority: Minor
>
> Currently, if the parser is given UTF-16 data to decode, and the encoding
> provided is UTF-8, the parser will attempt to parse the data, resulting in a
> junk interpretation of the document. Instead of this, the parser should
> return a more meaningful error, stating it failed to decode the document.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)