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

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

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 11.1.0
    • Component/s: Camel Editor
    • Labels:
      None

      Description

      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>
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                aurelien.pupier Aurélien Pupier
                Reporter:
                rhn-support-aboucham Abel Bouchama
              • Votes:
                1 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: