XSLT issue in OSB

In one of my proxies message flow, I have come across the following error with one of the assign activities, when I use the XSLT to do some processing on the payload.

javax.xml.transform.TransformerException: com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: Content is not allowed in prolog.

When I add/delete a single character in the payload, the XSLT will work without any problem. I observed this issue in OSB on Linux platform.

On searching the internet, found several workarounds:

         – Adding <?xml version=’1.0′ encoding=’utf-8′?> to the payload

         – Verifying for malformed characters at the beginning of XML payload

         – Rewriting the XSLT etc..etc..

None of the above options had really worked for my case. Finally found a patch#10086559 in oracle support site and applying this patch resolved the issue.

Have seen the same issue in OSB and resolved after the patch application. Have not verified this issue in recently released OSB


2 Responses to “XSLT issue in OSB”

  1. 1 jaykyadav August 23, 2011 at 2:24 AM

    Hi Siva,

    I am facing same error “Content is not allowed in prolog.”
    Can you advise where can i find details about patch#10086559 in oracle support site.


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.


Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 379 other subscribers

Enter your email address to follow this blog and receive notifications of new posts by email.

%d bloggers like this: