activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Themel (JIRA)" <>
Subject [jira] [Created] (AMQ-3510) AjaxServlet: Breaks with messages that contain XML
Date Fri, 23 Sep 2011 10:24:26 GMT
AjaxServlet: Breaks with messages that contain XML

                 Key: AMQ-3510
             Project: ActiveMQ
          Issue Type: Bug
    Affects Versions: 5.5.0
            Reporter: Thomas Themel
            Priority: Minor

The XML format/code used by AjaxMessageServlet to encode text messages for HTTP transfer is
very brittle and easily breaks when e.g. a text message contains embedded XML data. The attached
patch slightly improves matters by wrapping the contents into a CDATA section to correctly
handle embedded XML to work around this. It is still far from perfect however (has to strip
out XML processing instructions) & should probably replaced by DOM code instead of String
manipulation for the long run.

This message is automatically generated by JIRA.
For more information on JIRA, see:


View raw message