Forum Discussion

sedge55's avatar
sedge55
New Contributor
13 years ago

SoapUI 4.5 escaped content changed to CDATA

I upgraded to 4.5 from 4.0.1 yesterday and the behaviour has changed.

I really like the new XML colour scheme.

We have a lot of XML that is generated with escaped values, like:
<DataEnclosed>&lt;?xml version="1.0" ?&gt;
&lt;VehiclePingReq schemaVersion="1" xmlns="http://webservices.domain.com.au/schema/vehicleping/2008/11/12/VehiclePing.xsd"&gt;&lt;DealerCode&gt;1234&lt;/DealerCode&gt;&lt;VIN&gt;XXXXX11A802405523&lt;/VIN&gt;&lt;/VehiclePingReq&gt;</DataEnclosed>

And SoapUI has respected the format for many years.

In version 4.5 the escaped format is being replaced by CDATA, like:
<DataEnclosed><![CDATA[<?xml version="1.0" ?>
<VehiclePingReq schemaVersion="2" xmlns="http://webservices.domain.com.au/schema/vehicleping/2011/08/22/VehiclePing.xsd"><DealerCode>1234</DealerCode><VIN>XXXXX56E401177489</VIN></VehiclePingReq>]]></DataEnclosed>

This is even being changed in the Source Window and has corrupted some of my source messages.

I realise that escaped formatting and CDATA are functionally equivalent to most XML processors, but this is not desireable behavoiur for us.

Is this:
- Intended? In which case I cannot use SoapUI 4.5. I've gone back to 4.0.1. How do I disable the upgrade reminder every time I start 4.0.1?
- An Optional setting? How can I change it back?
- A bug? When will a fix be released?

Thanks
Steve

Is this:
- Inten
No RepliesBe the first to reply