camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vdhawan <>
Subject XSLT transformation produces junk charachters
Date Thu, 24 Jul 2014 10:17:04 GMT

In my camel context, i invoke a java bean (which does some processing) and
returns the body in the exchange. So far so good. 

<from uri:file://blablba>
<bean ref="myBean" />
<log message="${body}"></log>
<convertBodyTo type="String"/>
<to uri="xslt:Myxslt.xslt" />
<log message="${body}"></log>

The second log message prints shows the XSLT transformation results in some
junk charachters like </></></> and i can see an error in the logs
javax.xml.transform.TransformerException: Unexpected character ' ' (code 32)
in content after '<' (malformed start element?).

Running the transformation file a stand alone transformation produces
expected results, its only when running on OSGi, that it fails.

My pom includes the following
Saxon-HE (9.0.4)

Camel version is 2.12

View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message