Documented OpenJDK 9 Xalan dependency in the README.
Project: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/commit/5a8752d3 Tree: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/tree/5a8752d3 Diff: http://git-wip-us.apache.org/repos/asf/incubator-freemarker/diff/5a8752d3 Branch: refs/heads/2.3 Commit: 5a8752d3471b59514a2403cdcee284d50c5f2022 Parents: 0310661 Author: ddekany <[email protected]> Authored: Sun Oct 15 22:29:29 2017 +0200 Committer: ddekany <[email protected]> Committed: Sun Oct 15 22:29:29 2017 +0200 ---------------------------------------------------------------------- README.md | 6 ++++++ 1 file changed, 6 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-freemarker/blob/5a8752d3/README.md ---------------------------------------------------------------------- diff --git a/README.md b/README.md index f191947..0337f86 100644 --- a/README.md +++ b/README.md @@ -78,6 +78,12 @@ dependencies, but usually you don't have to deal with them, because if you are using an optional feature that's certainly because your application already uses the related library. +Attention: If you upgrade to OpenJDK 9 or later, and you are using +XPath queries in templates, you will need to add Apache Xalan as a +dependency, as freemarker.ext.dom can't use the XPath support +included in OpenJDK anymore. It's not needed on Oracle Java 9, +or if FreeMarker is configured to use Jaxen for XPath. + The minimum required Java version is currently Java SE 5. (The presence of a later version may be detected on runtime and utilized by FreeMarker.)
