diff --git a/WHATSNEW b/WHATSNEW index 34a0c275b..215f8cb21 100644 --- a/WHATSNEW +++ b/WHATSNEW @@ -92,6 +92,12 @@ Other changes: * it is now possible to use references to Ant types and classloaders built around Ant s as values for TraX factory attributes. + * now enables the feature + http://www.oracle.com/xml/jaxp/properties/enableExtensionFunctions + when run on Java 9 so the redirect extension function can be used + if when a SecurityManager is active. + Bugzilla Report 60060 + Changes from Ant 1.9.6 TO Ant 1.9.7 =================================== diff --git a/manual/Tasks/style.html b/manual/Tasks/style.html index 5eda02667..81e7e6bd6 100644 --- a/manual/Tasks/style.html +++ b/manual/Tasks/style.html @@ -69,6 +69,22 @@ attribute) the implicit fileset formed by this task.

to an <xsl:param> declaration.

This task supports the use of a nested xmlcatalog element which is used to perform Entity and URI resolution.

+ +

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).

+

Parameters