You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2009/01/14 08:44:59 UTC
[jira] Resolved: (CAMEL-924) Xml factory in camel-xstream
[ https://issues.apache.org/activemq/browse/CAMEL-924?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-924.
-------------------------------
Resolution: Working as Designed
Updated wiki
http://cwiki.apache.org/confluence/display/CAMEL/XStream
> Xml factory in camel-xstream
> ----------------------------
>
> Key: CAMEL-924
> URL: https://issues.apache.org/activemq/browse/CAMEL-924
> Project: Apache Camel
> Issue Type: Bug
> Components: camel-xstream
> Affects Versions: 1.4.0
> Reporter: Vadim Chekan
> Assignee: Willem Jiang
>
> Related nabble:
> http://www.nabble.com/xstream-marshalling-td19542712s22882.html
> We need to fixate the xml writer created in camel-xstream via javax.xml.stream.XMLOutputFactory
> (we need xstream component in Jira).
> Otherwise factory falls into unpredictable writer and in case of com.sun.xml.internal.stream.XMLOutputFactoryImpl it refuses to work if file.encoding is set to something different then UTF-8.
> May be propert implementation would be to attempt to use com.ctc.wstx.stax.WstxOutputFactory and if it fails, then produce a warning and use whatever is available.
> Also for those who know what they are doing we can provide a setting in camel context which factory to use.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.