You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Michael Greulich (Jira)" <ji...@apache.org> on 2020/04/01 11:50:00 UTC
[jira] [Updated] (CAMEL-14825) Bugfix for Bindy-Component
[ https://issues.apache.org/jira/browse/CAMEL-14825?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Greulich updated CAMEL-14825:
-------------------------------------
Description:
Hi,
unfortunately there is a bug in the code I donated for the Unicode support for the bindy component for fixed length files, which is not so obvious: The indexOf(..) method of Unicode Helper is returning the wrong index if the char searched for s also available as char with combining char. Sorry for that...
Additionally I turned the the default value for countGrapheme in the FixedLengthRecord annoation, since it is more likely, that the way chars are counted is compatible to XMLSchema.
See also: https://issues.apache.org/jira/browse/CAMEL-14521
Pull request: [https://github.com/apache/camel/pull/3702]
Michael
was:
Hi,
unfortunately there is a bug in the code I donated for the Unicode support for the bindy component for fixed length files, which is not so obvious: The indexOf(..) method of Unicode Helper is returning the wrong index if the char searched for s also available as char with combining char. Sorry for that...
Additionally I turned the the default value for countGrapheme in the FixedLengthRecord annoation, since it is more likely, that the way chars are counted is compatible to XMLSchema.
See also: https://issues.apache.org/jira/browse/CAMEL-14521
Pull request:
Michael
> Bugfix for Bindy-Component
> --------------------------
>
> Key: CAMEL-14825
> URL: https://issues.apache.org/jira/browse/CAMEL-14825
> Project: Camel
> Issue Type: Bug
> Components: camel-bindy
> Affects Versions: 3.1.0
> Environment: JDK: openjdk-8-jdk Version 8u242-b08-0ubuntu3~18.04 on Ubuntu 18.04 amd64
> The ICU4J library was used for processing Unicode correctly: See dependencies in POM
> Reporter: Michael Greulich
> Priority: Major
> Labels: pull-request-available
> Fix For: Future
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> Hi,
> unfortunately there is a bug in the code I donated for the Unicode support for the bindy component for fixed length files, which is not so obvious: The indexOf(..) method of Unicode Helper is returning the wrong index if the char searched for s also available as char with combining char. Sorry for that...
> Additionally I turned the the default value for countGrapheme in the FixedLengthRecord annoation, since it is more likely, that the way chars are counted is compatible to XMLSchema.
> See also: https://issues.apache.org/jira/browse/CAMEL-14521
> Pull request: [https://github.com/apache/camel/pull/3702]
> Michael
--
This message was sent by Atlassian Jira
(v8.3.4#803005)