https://bz.apache.org/bugzilla/show_bug.cgi?id=61389

--- Comment #2 from Stefan Bodewig <bode...@apache.org> ---
We had a similar problem with our own unit tests, see bug 60060

http://ant.apache.org/manual/Tasks/style.html says:

> Note on XSLT extension functions: when using the default TraX implementation 
> of the Java class library and a SecurityManager is active - e.g. when running 
> from within an IDE - XSLT extension functions cannot be used as "secure 
> processing" is active in Java 7 and above. Ant contains a special "hack" that 
> allows XSLT extensions to be used in Java 7 and 8, but this hack fails for 
> Java 9. If you want to use extensions like the redirect extension that are 
> provided by the Java class library itself, you can allow them by enabling the 
> feature http://www.oracle.com/xml/jaxp/properties/enableExtensionFunctions in 
> Java 9 and above. If you need to use an extension function not provided by 
> Java itself you can set the attribute jdk.xml.transform.extensionClassLoader 
> to a classloader (reference to an Ant PATH-like structure).

Have you tried setting
http://www.oracle.com/xml/jaxp/properties/enableExtensionFunctions  to true?

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to