[ 
https://issues.apache.org/jira/browse/CAMEL-13136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16835499#comment-16835499
 ] 

Tadayoshi Sato edited comment on CAMEL-13136 at 5/8/19 10:35 AM:
-----------------------------------------------------------------

[~davsclaus] It appears that this regression has been introduced along with 
CAMEL-13112, where 
[EncodingInputStream|https://github.com/apache/camel/blob/camel-3.0.0-M2/components/camel-file/src/main/java/org/apache/camel/component/file/GenericFileConverter.java#L259-L301]
 has been cloned into {{GenericFileConverter}} and thus [this 
condition|https://github.com/apache/camel/blob/camel-3.0.0-M2/core/camel-base/src/main/java/org/apache/camel/converter/jaxp/XmlConverter.java#L695]
 never becomes true in {{XmlConverter}}. I understand that {{camel-file}} can 
only depend on {{camel-support}}, so what do you think would be the best way to 
fix it?

Can we make {{camel-file}} depend also on {{camel-util}}?  Or should we instead 
move {{EncodingInputStream}} out of {{IOHelper}} in {{camel-util}} and into 
{{camel-support}}?


was (Author: tadayosi):
[~davsclaus] It appears that this regression has been introduced along with 
CAMEL-13112, where 
[EncodingInputStream|https://github.com/apache/camel/blob/camel-3.0.0-M2/components/camel-file/src/main/java/org/apache/camel/component/file/GenericFileConverter.java#L259-L301]
 has been cloned into {{GenericFileConverter}} and thus [this 
condition|https://github.com/apache/camel/blob/camel-3.0.0-M2/core/camel-base/src/main/java/org/apache/camel/converter/jaxp/XmlConverter.java#L695]
 never becomes true in {{XmlConverter}}. I understand that {{camel-file}} can 
only depend on {{camel-support}}, so what do you think would be the best way to 
fix it?

> File consumer with charset doesn't parse XML
> --------------------------------------------
>
>                 Key: CAMEL-13136
>                 URL: https://issues.apache.org/jira/browse/CAMEL-13136
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 3.0.0-M1
>            Reporter: Thomas Diesler
>            Assignee: Tadayoshi Sato
>            Priority: Major
>             Fix For: 3.0.0
>
>
> This now shows on camel-3.0
> https://issues.jboss.org/browse/ENTESB-10033



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to