{
"Example": "Sample\u008c\u0003Data"
}
%dw 2.0
output application/xml
---
a:{
"Example": payload.Example
}
"org.mule.weave.v2.exception.WriterExecutionException: Invalid white space character (0x3) in text to output (in xml 1.1, could output as a character entity), while writing Xml at . "This is how the issue will look like:
%dw 2.0
output application/xml
---
a:{
"Example": payload.Example as CData
}
This will give a successful output as shown below:
<?xml version='1.0' encoding='UTF-8'?> <a> <Example><![CDATA[SampleŒData]]></Example> </a>This is a successful output:
001116196

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.