[ 
https://issues.apache.org/jira/browse/ARTEMIS-747?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15515203#comment-15515203
 ] 

ASF GitHub Bot commented on ARTEMIS-747:
----------------------------------------

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

    https://github.com/apache/activemq-artemis/pull/791#discussion_r80174580
  
    --- Diff: 
artemis-cli/src/main/java/org/apache/activemq/artemis/cli/commands/tools/XmlDataImporter.java
 ---
    @@ -444,33 +444,59 @@ private void processMessageBody(Message message) 
throws XMLStreamException, IOEx
              }
           }
           reader.next();
    +      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
(v6.3.4#6332)

Reply via email to