You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by sachin2008 <es...@gmail.com> on 2008/06/25 09:11:49 UTC

Re: Problems with CDATA content in servicemix-http

Can anyone please put light on this particular issue..



sachin2008 wrote:
> 
> Hi , 
> I need to send an XML data which have CDATA section as a response from a
> http component. 
> But the response XML is being altered by the HTTP comonent. CDATA tags are
> being removed automatically. 
> 
> My actual response xml  contains  tags like 
> 
> <DATA><![CDATA[<CHARTFX><COLUMNS><COLUMN NAME="SERIES1"
> TYPE="LONG"/></COLUMNS><ROW SERIES1="820000"/><ROW SERIES1="820000"/><ROW
> SERIES1="880000"/><ROW SERIES1="3672000"/><ROW
> SERIES1="4280000"/></CHARTFX>]]></DATA>
> 
> But from the http component i am receiving the response as 
> 
> <DATA>&lt;CHARTFX>&lt;COLUMNS>&lt;COLUMN NAME="SERIES1"
> TYPE="LONG"/>&lt;/COLUMNS>&lt;ROW SERIES1="266000"/>&lt;ROW
> SERIES1="676000"/>&lt;ROW SERIES1="496000"/>&lt;ROW
> SERIES1="-2959000"/>&lt;ROW SERIES1="-664000"/>&lt;/CHARTFX></DATA>
> 
> Why the content is being altered in the http component and how can i fix
> this? 
> I am using default servicemix-http component of  Servicemix 3 .1 -
> incubating version . 
> Do i need to upgrade to higher version to fix this or is thre any
> alternate way?
> 
> 


-----
Cheers
Praveen Oruganti
"Think before you act and act on what you believe"
-- 
View this message in context: http://www.nabble.com/Problems-with-CDATA-content-in--servicemix-http-tp17142570p18106349.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.