You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Akitoshi Yoshida (JIRA)" <ji...@apache.org> on 2016/03/30 10:56:25 UTC

[jira] [Updated] (CAMEL-9774) CXFPayload may lose CDATA sections under stream caching

     [ https://issues.apache.org/jira/browse/CAMEL-9774?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Akitoshi Yoshida updated CAMEL-9774:
------------------------------------
    Fix Version/s: 2.17.1

> CXFPayload may lose CDATA sections under stream caching
> -------------------------------------------------------
>
>                 Key: CAMEL-9774
>                 URL: https://issues.apache.org/jira/browse/CAMEL-9774
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-cxf
>    Affects Versions: 2.16.2
>            Reporter: Akitoshi Yoshida
>            Assignee: Akitoshi Yoshida
>             Fix For: 2.16.3, 2.17.1
>
>
> CAMEL-8410 introduced CachedCXFPayload to add stream-caching support to CXFPayload. This may use during its sequence of conversions the default java.xml.transform.Transformer to convert javax.xml.transform.stax.StAXSource to SAX, which will then drop CDATA sections because its CDATA handling is empty.
> http://grepcode.com/file/repository.grepcode.com/java/root/jdk/openjdk/7u40-b43/com/sun/org/apache/xalan/internal/xsltc/trax/StAXStream2SAX.java#StAXStream2SAX.handleCDATA%28%29
> To avoid this, CachedCXFPayload can use the conversion utility already included in CXF.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)