Content is not allowed in prolog
I have the next osb process
incoming message -> replace (xsl) -> database adapter request
database adapter response -> replace (xsl) and this output i send back as the response of the osb process.
but...for some reason the xsl transformation fails with the next error message :
OSB Replace action failed updating variable "body": javax.xml.transform.TransformerException: com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: Content is not allowed in prolog.
i have checked the xsl for any problems but couldn't find any, also when i test the xsl in the console it tranforms the xml into a correct xml document
things i checked
any whitespaces before the '<?xml version='1.0' encoding='UTF-8' ?>' element
any weird characters in the payload xml
any other things i could check ?