adding Xalan's XSL 3 implementation within jdk
Mukul Gandhi
mukulg at apache.org
Sun Mar 2 06:19:34 UTC 2025
Hi Joe,
Thanks for nice thoughts.
On Fri, 28 Feb, 2025, 00:06 Joe Wang, <huizhe.wang at oracle.com> wrote:
> What's your assessment on the readiness for a formal release (or how
> much additional work is needed)? What are the conformance test results?
>
The link here, https://github.com/apache/xalan-java/tree/xalan-j_xslt3.0_mvn
has a pdf link at bottom of that page which is Xalan-J XSL 3
implementation's latest development status. This link also has
documentation about how to run Xalan-J's XSL 3 conformance test suite,
which currently has 900+ odd tests supported by Xalan-J covering wide areas
of XSLT 3.0 and XPath 3.1 language features.
>
> Also, do you have data showing how the Xalan-J's XSL 3 implementation is
> used in user applications? What are the feedback (or bug reports) from
> developers?
>
I know of few people, particularly
https://x.com/XSLT_knowmad?t=ZKJE2bkeVyceZTxTmy1sPg&s=09 and probably
others who've been using Xalan-J's XSL 3 implementation. Gary Gregory
(Apache Xalan's PMC chair) has also rigorously tested Xalan-J's XSL 3
implementation and reported it to be ok and useful.
Many thanks.
Regards,
Mukul
> On 2/26/25 7:59 AM, Mukul Gandhi wrote:
> > 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.
> >
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/core-libs-dev/attachments/20250302/361f4f69/attachment.htm>
More information about the core-libs-dev
mailing list