You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bo...@apache.org on 2016/09/21 17:15:51 UTC
[1/2] ant git commit: document how to use XSLT extension functions in
Java9
Repository: ant
Updated Branches:
refs/heads/master d37df73a8 -> 9a0fa3f5d
document how to use XSLT extension functions in Java9
https://bz.apache.org/bugzilla/show_bug.cgi?id=60060
Project: http://git-wip-us.apache.org/repos/asf/ant/repo
Commit: http://git-wip-us.apache.org/repos/asf/ant/commit/a3897d4e
Tree: http://git-wip-us.apache.org/repos/asf/ant/tree/a3897d4e
Diff: http://git-wip-us.apache.org/repos/asf/ant/diff/a3897d4e
Branch: refs/heads/master
Commit: a3897d4e9fd8a9f4aa2e32fdd5eb181e6441586d
Parents: 281d918
Author: Stefan Bodewig <bo...@apache.org>
Authored: Wed Sep 21 19:13:57 2016 +0200
Committer: Stefan Bodewig <bo...@apache.org>
Committed: Wed Sep 21 19:14:28 2016 +0200
----------------------------------------------------------------------
WHATSNEW | 6 ++++++
manual/Tasks/style.html | 16 ++++++++++++++++
2 files changed, 22 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ant/blob/a3897d4e/WHATSNEW
----------------------------------------------------------------------
diff --git a/WHATSNEW b/WHATSNEW
index 34a0c27..215f8cb 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 <path>s as values for TraX factory attributes.
+ * <junitreport> 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
===================================
http://git-wip-us.apache.org/repos/asf/ant/blob/a3897d4e/manual/Tasks/style.html
----------------------------------------------------------------------
diff --git a/manual/Tasks/style.html b/manual/Tasks/style.html
index 5eda026..81e7e6b 100644
--- a/manual/Tasks/style.html
+++ b/manual/Tasks/style.html
@@ -69,6 +69,22 @@ attribute) the implicit fileset formed by this task.</p>
to an <code><xsl:param></code> declaration.</p>
<p>This task supports the use of a nested <a href="../Types/xmlcatalog.html">xmlcatalog</a>
element which is used to perform Entity and URI resolution.</p>
+
+<p><b>Note on XSLT extension functions</b>: when using the default
+ TraX implementation of the Java class library and
+ a <code>SecurityManager</code> 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 <code>http://www.oracle.com/xml/jaxp/properties/enableExtensionFunctions</code>
+ in Java 9 and above. If you need to use an extension function not
+ provided by Java itself you can set the
+ attribute <code>jdk.xml.transform.extensionClassLoader</code> to a
+ classloader (reference to an Ant PATH-like structure).</p>
+
<h3>Parameters</h3>
<table border="1" cellpadding="2" cellspacing="0">
<tr>
[2/2] ant git commit: Merge branch '1.9.x'
Posted by bo...@apache.org.
Merge branch '1.9.x'
Project: http://git-wip-us.apache.org/repos/asf/ant/repo
Commit: http://git-wip-us.apache.org/repos/asf/ant/commit/9a0fa3f5
Tree: http://git-wip-us.apache.org/repos/asf/ant/tree/9a0fa3f5
Diff: http://git-wip-us.apache.org/repos/asf/ant/diff/9a0fa3f5
Branch: refs/heads/master
Commit: 9a0fa3f5d46b32385209a2bafb5fefeff234e977
Parents: d37df73 a3897d4
Author: Stefan Bodewig <bo...@apache.org>
Authored: Wed Sep 21 19:15:37 2016 +0200
Committer: Stefan Bodewig <bo...@apache.org>
Committed: Wed Sep 21 19:15:37 2016 +0200
----------------------------------------------------------------------
WHATSNEW | 7 +++++++
manual/Tasks/style.html | 16 ++++++++++++++++
2 files changed, 23 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ant/blob/9a0fa3f5/WHATSNEW
----------------------------------------------------------------------
diff --cc WHATSNEW
index a0acec8,215f8cb..0b232c3
--- a/WHATSNEW
+++ b/WHATSNEW
@@@ -109,9 -92,12 +109,16 @@@ Other changes
* it is now possible to use references to Ant types and classloaders
built around Ant <path>s as values for TraX factory attributes.
+ * AntClassLoader and its subclasses register themselves as parallel
+ capable.
+
+ * <junitreport> 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
++>>>>>>> 1.9.x
+
Changes from Ant 1.9.6 TO Ant 1.9.7
===================================