Skip to main content

XSLT extension functions with a security manager

Please note these forums are being decommissioned and use the new and improved forums at
No replies
Joined: 2007-05-14

Is it still possible to use XSLT java extension functions when a security manager is set ?

According to the JAXP documentation,, and my experimentations with OpenJDK 6 and Oracle's JDK 7 when a security manager is set the FEATURE_SECURE_PROCESSING is automatically set to true and it is no longer possible to use extension functions nor to reset FEATURE_SECURE_PROCESSING to false.

This behaviour breaks my application since it relies on a security manager and uses java extension functions. How can I re-enable the extension functions feature ? Since I'm only using my own xslt files and not user provided files I don't see why I could not use the extension functions feature.