DenisIstomin opened a new issue #3503: URL: https://github.com/apache/camel-quarkus/issues/3503
Camel-xslt-quarkus uses hardcoded Xalan [org.apache.xalan.xsltc.trax.TransformerFactoryImpl](https://github.com/apache/camel-quarkus/blob/main/extensions-support/xalan/runtime/src/main/java/org/apache/camel/quarkus/support/xalan/XalanTransformerFactory.java#L47) to compile XSL at the build-time. Also feature [FEATURE_SECURE_PROCESSING](https://github.com/apache/camel-quarkus/blob/main/extensions-support/xalan/runtime/src/main/java/org/apache/camel/quarkus/support/xalan/XalanTransformerFactory.java#L50) is enabled by default. Which means that [Xalan extension functions](https://xml.apache.org/xalan-j/extensions.html) cannot be used. Related to **JVM** and **Native** modes. Proposal: 1. Add setting `quarkus.camel.xslt.transformerFactory` 2. Add setting `quarkus.camel.xslt.extensionFunctions` Example: ``` package my.extentionfunctions; public class Functions { public static XObject customFunc() throws Exception { return new XObject(...); } } ``` ``` <xsl:stylesheet version="1.0" ... xmlns:myfunc="xalan://my.extensionfunctions.Functions" ... > <node> <xsl:value-of select="myfunc:customFunc()"/> </node> </xsl:stylesheet> ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org