adding Xalan's XSL 3 implementation within jdk
Joseph Kesselman
keshlam at alum.mit.edu
Wed Feb 26 21:46:46 UTC 2025
Note that many/most of the changes in the head branch are directory reshuffles, as we moved things around to conform to Maven's expectations. There are relatively few actual code changes, as can be confirmed by comparing files by package/class rather than by which subtree they are in. The git history shows that most of that was straightforward and occurred in a small number of commits as move actions.
--
/_ Joe Kesselman (he/him/his)
-/ _) My Alexa skill for New Music/New Sounds fans:
/ https://www.amazon.com/dp/B09WJ3H657/
Caveat: Opinionated old geezer with overcompensated writer's block. May be redundant, verbose, prolix, sesquipedalian, didactic, officious, or redundant.
________________________________
From: Mukul Gandhi <mukulg at apache.org>
Sent: Wednesday, 26 February 2025 10:59:13
To: Alan Bateman <alan.bateman at oracle.com>
Cc: core-libs-dev at openjdk.org <core-libs-dev at openjdk.org>; Joseph Kesselman <keshlam at alum.mit.edu>; Gary Gregory <garydgregory at gmail.com>
Subject: Re: adding Xalan's XSL 3 implementation within jdk
Hi Alan,
I've just seen this mail from you. Apologies for a delayed response.
My mail box has had few issues due to the volume of mails that I get
from mailing lists.
On Sun, Feb 2, 2025 at 9:38 PM Alan Bateman <alan.bateman at oracle.com> wrote:
> The stats for that branch suggest 5,845 changed files with 234,372 additions and 84,058 deletions. I can't easily tell how much of this would need to come into the jdk repo but this looks like a major update. If only 10% of this is applicable to the JDK then it still needs seems like a major update that would require a huge investment to audit and integrate this code. How much XML is in new applications developed in 2025? Only asking because it's an area that is surely much lower priority compared to all the other major investments right now. Maybe there are useful security or performance changes that would be useful to cherry pick instead? Finally, does this Xalan update work with the SPIs so that someone really looking for XSL 3 can just deploy it on the class path and module path?
Ofcourse, anyone could use Xalan-J's XSL 3 implementation with JDK by
placing Xalan jars on class path & module path.
Since Xalan-J's XSLT 1.0 & XPath 1.0 implementations are already
available within JDK, I thought its natural if JDK could pick
Xalan-J's XSL 3 implementation and include that within JDK. I can
imagine that this may surely be time consuming for someone from JDK
team to integrate with JDK. XSLT 1.0's use I think is very less these
days particularly for new XML projects, due to vast improvements in
language features offered by XSLT 3.0 and XPath 3.1.
IMHO, I wrote all the XSL 3 implementation code (and solved various
XSL 3 implementation bugs reported by community on Xalan-J's dev
forum) within Xalan-J's XSL 3 dev respos branch, enhancing upon
Xalan-J's XSLT 1.0 implementation. From my point of view, I'll be
happy if JDK could include Xalan-J's XSL 3 implementation.
I even wrote following two online articles on xml.com about few of XSL
3 language features, and how they're implemented within Xalan-J,
https://www.xml.com/articles/2024/07/22/string-analysis-with-analyze-string/
https://www.xml.com/articles/2023/12/05/xml-path-language-xpath-higher-order-functions/
Many thanks.
--
Regards,
Mukul Gandhi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/core-libs-dev/attachments/20250226/404144a7/attachment.htm>
More information about the core-libs-dev
mailing list