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

Solution Verified - Updated -

Issue

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

e.g;

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

Environment

  • Red Hat Developer Studio
    • 12.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content