[jbosstools-issues] [JBoss JIRA] (JBTIS-1237) Fuse IDE escapes CDATA blocks when switching between "Design" and "Source" view.

Abel BOUCHAMA (JIRA) issues at jboss.org
Mon Sep 10 08:08:01 EDT 2018


Abel BOUCHAMA created JBTIS-1237:
------------------------------------

             Summary: Fuse IDE escapes CDATA blocks when switching between "Design" and "Source" view.
                 Key: JBTIS-1237
                 URL: https://issues.jboss.org/browse/JBTIS-1237
             Project: JBoss Tools Integration Stack
          Issue Type: Bug
          Components: Fuse IDE
            Reporter: Abel BOUCHAMA


The Fuse Tooling Route Editor for the Camel XML DSL automatically escapes *CDATA* blocks when switching between "*Design*" and "*Source*" view.

In some of our Routes we use hardcoded bodies like this:
{code:XML}
<setBody id="setBody10">
		                	<constant>
		                	<![CDATA[
		                	<v1:isAliveResponse xmlns:v1="http://model.ws.xxxx.com/global/v1">
         						<isAlive>true</isAlive>
      						</v1:isAliveResponse>
		                	]]>
		                	</constant>
		                </setBody>
{code}

...but when we switch to the Design view and then back to the source view it looks like that:
{code:XML}
<setBody id="setBody10">
                            <constant>
		                	
		                	&lt;v1:isAliveResponse xmlns:v1="http://model.ws.xxxx.com/global/v1"&gt;
         						&lt;isAlive&gt;true&lt;/isAlive&gt;
      						&lt;/v1:isAliveResponse&gt;
		                	
		                	</constant>
                        </setBody>
{code}



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jbosstools-issues mailing list