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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.