[
https://issues.apache.org/jira/browse/CAMEL-7883?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14153928#comment-14153928
]
ASF GitHub Bot commented on CAMEL-7883:
---------------------------------------
GitHub user bonnetb opened a pull request:
https://github.com/apache/camel/pull/291
CAMEL-7883 : Validator XSD decoding issue with non UTF-8 imported XSD
Let SAX do a good guess for XSD encoding (it uses XSD prolog) instead of
using a converter that may not fit.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/bonnetb/camel xsdBadDecoding
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/camel/pull/291.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #291
----
commit cd5ae15b21762513f8242429f734113c301b08f8
Author: Benjamin BONNET <[email protected]>
Date: 2014-09-30T22:36:43Z
fix for CAMEL-7883
----
> XSD decoding bad guess in Validator
> -----------------------------------
>
> Key: CAMEL-7883
> URL: https://issues.apache.org/jira/browse/CAMEL-7883
> Project: Camel
> Issue Type: Bug
> Components: camel-core
> Affects Versions: 2.13.2, 2.15.0
> Reporter: Benjamin BONNET
>
> Validator component does not take imported XSD encoding into account when
> validating XML. That may lead to validation errors if an imported XSD is
> ISO-8859-1 encoded and containing non ASCII caracters, even though that XSD
> declares its encoding correctly in its XML prolog.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)