on 08-16-2011 5:50 PM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You should try
Transform.ContentType -
text/plain;charset=utf-8
that should take care of the error..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.