Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

XSLT Transformation error

 
vijaya lakshmi
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 20771
30
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have to agree, that doesn't look like a valid XSLT function to me either.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic