ASF GitHub Bot commented on ARTEMIS-747:

Github user clebertsuconic commented on a diff in the pull request:

    --- Diff: 
    @@ -444,33 +444,59 @@ private void processMessageBody(Message message) 
throws XMLStreamException, IOEx
    +      ActiveMQServerLogger.LOGGER.debug("XMLStreamReader impl: " + reader);
    --- End diff --
    use  if (log.isDebug()) log.debug(...)
    And get a logger for this class.
    This is change I have made in all the longer not long ago.

> 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

Reply via email to