How to set XMLConstants.FEATURE_SECURE_PROCESSING to false

Solution Verified - Updated -

Issue

We are using JBoss fuse 6.1 camel version 2.12.0.redhat-610379 and XALAN 2.7.1.

We are getting below exception when we try to refer a java class from XSLT. Can you please let us know how to disable FEATURE_SECURE_PROCESSING in our camel route?

javax.xml.transform.TransformerException: Extension function: '{com.mycompany.util.IncrementorUtil}setCallRequired' can not be invoked when the XMLConstants.FEATURE_SECURE_PROCESSING feature is set to true.

Environment

  • JBoss Fuse
    • 6.1
  • Camel
    • 2.12.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content