You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2013/09/04 11:03:55 UTC
[jira] [Commented] (CAMEL-6677) Allow customization of the JAXB
underlying XMLStreamWriter
[ https://issues.apache.org/jira/browse/CAMEL-6677?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13757575#comment-13757575 ]
Claus Ibsen commented on CAMEL-6677:
------------------------------------
We do not use the xxxRef options, but instead use the actual type it uses. As people can use #foo to lookup the bean from the registry if he needs a lookup. This allows people to configure it both ways.
> Allow customization of the JAXB underlying XMLStreamWriter
> ----------------------------------------------------------
>
> Key: CAMEL-6677
> URL: https://issues.apache.org/jira/browse/CAMEL-6677
> Project: Camel
> Issue Type: Improvement
> Components: camel-jaxb
> Affects Versions: 2.11.1
> Reporter: Christian Posta
> Priority: Minor
> Attachments: CAMEL-6677.patch
>
>
> Right now the jaxb component allows you to filter out non-xml characters. But there might be use cases where you'd want to do something other than just filter (maybe escape? http://blog.lesc.se/2009/03/escape-illegal-characters-with-jaxb-xml.html or replace with something else?) the non-xml characters. JAXB has a mechanism to allow pre-processing of the output of its marshaling and we should expose a way to customize that.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira