cancel
Showing results for 
Search instead for 
Did you mean: 

Special Characters as text in output file

Former Member
0 Kudos

Hi ,

We have Message mapping followed by XSLT mapping in BPM.

We have greater than symbol ( > ) as one of the character of the value.

In XSLT this value is produced using following:


<xsl:text disable-output-escaping="yes">
<![CDATA[xmlns:xsd="http://www.w3.org/2001/XMLSchema">

]]>

In output, it is as below:


xmlns:xsd="http://www.w3.org/2001/XMLSchema">

But, if I put the same sequence of mapping outside of BPM, I am getting output with Ampersand(&) gt ;


xmlns:xsd="http://www.w3.org/2001/XMLSchema"(Ampersand)gt;

I am using File adapter with FTP protocol to write this file.In communication channel monitoring I see greater than ( > )symbol. But not in the file

Does any body knows what could be the reason and how this can be fixed.

I am trying to use MessageTransform Bean with ContentType..but not sure what value I should be putting for charset.

Any help is really appreciated.

Regards,

Ramesh

Accepted Solutions (0)

Answers (2)

Answers (2)

stefan_grube
Active Contributor
0 Kudos

Any CDATA section is treated as text, not as markup.

I wonder why you try to assign a namespace declaration as CDATA section.

If you want it as namespce, so use the namespace declaration of XSLT.

And it is not an encoding issue and has nothing to do with UTF-8.

Former Member
0 Kudos

You should try

Transform.ContentType -


text/plain;charset=utf-8

that should take care of the error..

Former Member
0 Kudos

Thanks for the response. I already tried text/plain;charset=utf-8 and I had same problem.

Regards,

Ramesh