You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Justin Bertram (JIRA)" <ji...@apache.org> on 2016/09/27 16:43:22 UTC

[jira] [Resolved] (ARTEMIS-747) Multiple CDATA events during import fails

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

Justin Bertram resolved ARTEMIS-747.
------------------------------------
       Resolution: Fixed
    Fix Version/s: 1.5.0

> Multiple CDATA events during import fails
> -----------------------------------------
>
>                 Key: ARTEMIS-747
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-747
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>    Affects Versions: 1.4.0
>            Reporter: Justin Bertram
>            Assignee: Justin Bertram
>             Fix For: 1.5.0
>
>
> Message bodies are written to XML as Base64 encoded CDATA elements. Some parser implementations won't read the entire CDATA element at once (e.g. Woodstox) so it's possible for multiple CDATA events to be combined into a single Base64 encoded string.  You can't decode bits and pieces of each CDATA.  Each CDATA has to be decoded in its entirety.  The current importer doesn't deal with this properly.



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