File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes XML and Related Technologies and the fly likes XSLT Transformation error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "XSLT Transformation error" Watch "XSLT Transformation error" New topic

XSLT Transformation error

vijaya lakshmi

Joined: Oct 31, 2003
Posts: 7

I am trying to transoform an XSL Sheet in WebLogic10.0.

War file is deployed perfectly .The below errors are coming for only weblogic 10.0. In Weblogic8.1 its working fine. Only problem with Weblogic10.0 at runtime.

1)TranformerFactory factory = TranformerFactory.newInstance();
2)StreamSource source = new StreamSource(new ByteArrayInputStream(byteArray));
3)Tranformer tranformer = facotry.newTransformer(source);

byteArray consists of xsl data.(I have read the xsl data in bytes and stored in byteArray);

XSL version is 1.0.
I am getting error at Line NO:3

Error: Error checking type of the expression 'funcall(text,[])'
FATAL ERROR: Could not compile style sheet'

javax.xml.transform.TransformerConfigurationException: Could not compile stylesheet.

Please help me how to resolve this issue.

Paul Clapham

Joined: Oct 14, 2005
Posts: 19973

I have to agree, that doesn't look like a valid XSLT function to me either.
I agree. Here's the link:
subject: XSLT Transformation error
It's not a secret anymore!