Uploaded image for project: 'Fuse Tooling'
  1. Fuse Tooling
  2. FUSETOOLS-3084

Fuse IDE escapes CDATA blocks when switching between "Design" and "Source" view.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 11.1.0
    • None
    • Camel Editor
    • None

      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:

      <setBody id="setBody10">
      		                	<constant>
      		                	<![CDATA[
      		                	<v1:isAliveResponse xmlns:v1="http://model.ws.xxxx.com/global/v1">
               						<isAlive>true</isAlive>
            						</v1:isAliveResponse>
      		                	]]>
      		                	</constant>
      		                </setBody>
      

      ...but when we switch to the Design view and then back to the source view it looks like that:

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

              apupier@redhat.com Aurélien Pupier
              rhn-support-aboucham Abel Bouchama
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: