aspose file tools
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


Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "XSLT Transformation error" Watch "XSLT Transformation error" New topic
Author

XSLT Transformation error

vijaya lakshmi
Greenhorn

Joined: Oct 31, 2003
Posts: 7
HI,

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.

Thanks,
Vijaya.
Paul Clapham
Sheriff

Joined: Oct 14, 2005
Posts: 19553
    
  10

I have to agree, that doesn't look like a valid XSLT function to me either.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: XSLT Transformation error