Project

Profile

Help

Bug #4213

closed

net.sf.saxon.trans.XPathException: Errors were reported during stylesheet compilation

Added by Pranay Deshpande over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
-
Start date:
2019-05-07
Due date:
% Done:

0%

Estimated time:
Legacy ID:
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Platforms:

Description

Dear Colleagues,

This is Pranay from SAP Labs. We are using SaxonEE library for XSLT processing in our product and we are getting the following exception net.sf.saxon.trans.XPathException: Errors were reported during stylesheet compilation. Exception occurred during execution on the exchange: ExchangeId: ID-vsa6585629-1556884301644-7-1). Exhausted after delivery attempt: 1 caught: net.sf.saxon.trans.XPathException: Errors were reported during stylesheet compilation.

We started getting this issue in SaxonEE-9.8 version once we started using EnterpriseTransformerFactory, however, we don’t get any such exception if we don’t use EnterpriseTransformerFactory.

We are extending ExtensionFunctionDefinition class to create our own extension to set header and property (Code snippet attached). Sample XSL is also attached in the ticket. Can you please suggest if need to make any configuration changes for this extension to work with EnterpriseTransformerFactory as well?

In our stack, we have Apache Camel in our runtime, SaxonEE as XSLT processor with OSGI (Karaf and Equinox containers)

Thanks in advance. Best Regards, Pranay Deshpande SAP Labs


Files

saxonlogs.txt (4.14 KB) saxonlogs.txt stacktrace Pranay Deshpande, 2019-05-07 08:54
setheaderextensionDefinition.txt (2.25 KB) setheaderextensionDefinition.txt code snippet Pranay Deshpande, 2019-05-07 08:55
xsltmapping.xsl (2.1 KB) xsltmapping.xsl problematic xsl Pranay Deshpande, 2019-05-07 08:55

Please register to edit this issue

Also available in: Atom PDF