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/22 20:04:22 UTC

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

Justin Bertram created ARTEMIS-747:
--------------------------------------

             Summary: 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


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)