camel-users mailing list archives

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

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
camel-core 
camel-spring
cxf-rt-transports-http
cxf-rt-frontend-jaxws
Saxon-HE (9.0.4)

Camel version is 2.12




--
View this message in context: http://camel.465427.n5.nabble.com/XSLT-transformation-produces-junk-charachters-tp5754357.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message