You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Mukul Gandhi <mu...@apache.org> on 2024/03/13 16:58:14 UTC
xsl 4.0 draft specs, and xalan implementation
Hi all,
As we know, we've done little implementation work within XalanJ's
xslt 3.0 dev branch.
These days, there's an XSL 4.0 specs development work going on, within
QT4 community group (ref, https://qt4cg.org/).
These days, within the XSL 4.0 set of QT4 specs, specs related to XSLT
4.0 and related languages are getting specified. At the bottom of page
https://qt4cg.org/, links to latest drafts of XSLT 4.0 and related
specs are available.
Can we, create an codebase dev branch on XalanJ dev repos for XSLT 4.0
implementation work, and try to implement few useful features from
latest drafts of the XSLT 4.0 and related specs?
Any thoughts please?
--
Regards,
Mukul Gandhi
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xalan.apache.org
For additional commands, e-mail: dev-help@xalan.apache.org
Re: xsl 4.0 draft specs, and xalan implementation
Posted by Mukul Gandhi <ga...@gmail.com>.
Hi Joseph,
On Mon, 18 Mar, 2024, 23:45 Joseph Kesselman, <ke...@alum.mit.edu> wrote:
> Ideally, *if* you can structure these as clean extensions with only
> minimal/safe changes to Xalan core
>
I kindly request, you to please try start looking at XSLT and XPath
implementation changes I've done (I think those are large volume of code
changes I've done wrt the XalanJ's original 1.0 code) on XalanJ dev repos
branch xalan-j_xslt3.0.
I then request you to please, provide on this mail list, one or two sample
code changes (representative of XalanJ general high level design changes
you've suggested within your previous mail to which this mail is my reply)
that you wish me to do on XalanJ dev repos branch xalan-j_xslt3.0.
All of the steps that I've requested you to do within previous paragraph,
shall help me perhaps avoid little bit of rework.
I think that, we should wait, for you to provide us the above mentioned
code change examples that I've requested, even if this takes few days for
you to provide these requested details on this mail list.
> See Xalan's docs for how to write plug-in extensions, of course.
>
I'm unable to, find within Xalan's docs (I've just quickly tried to view
Xalan docs online on Xalan site) exactly to which documentation link you're
referring to. Requesting you to please, write on this mail list, the exact
Xalan docs link that you're referring.
> I can open a task for that.
>
That shall be great. Please feel free to open Xalan jira task for this
work, and perhaps make me the person responsible for that task. I shall try
my best to complete that jira task at earliest.
Many thanks.
regards,
Mukul
Mail sent from, my phone
>
Re: xsl 4.0 draft specs, and xalan implementation
Posted by Joseph Kesselman <ke...@alum.mit.edu>.
Ideally, *if* you can structure these as clean extensions with only minimal/safe changes to Xalan core, we should be able to then pull them into the main branch with minimal, if any, conflicts, documenting them clearly as experimental with explanations of their known differences from the 3.0 Recommendation and a section explaining the rebinding-the-namespace trick for migrating these to/from a real 3.0 implementation.
You could then continue work as pull requests against the main branch, rather than having to maintain your own except as a transient development space.
See Xalan's docs for how to write plug-in extensions, of course.
I can open a task for that.
--
/_ 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 <ga...@gmail.com>
Sent: Monday, March 18, 2024 2:32:38 AM
To: dev@xalan.apache.org <de...@xalan.apache.org>
Subject: Re: xsl 4.0 draft specs, and xalan implementation
Hi Joseph,
> On Fri, Mar 15, 2024 at 9:19 PM Joseph Kesselman <ke...@alum.mit.edu> wrote:
> > Mukul: I haven't looked at the 3.0 prototypes in any detail yet. Would it be possible to restructure them as an extension set? Would you be willing to do so? If you want to make these available for folks to start playing with, I think that would be the best path forward for them, and for early 4.0 experimentation too.
Is it possible, that you may please create XalanJ jira issue
describing how you wish to have XalanJ's current XSLT 3.0 and XPath
3.1 implementations modified for these modification descriptions that
you've mentioned? That shall be nice.
I've following question as well, please.
Do you wish to have these XalanJ implementation code modified in-place
on the dev branch xalan-j_xslt3.0, or any other way you wish to have
these implementation changes implemented?
Please feel free to assign me to these mentioned tasks, if you'd like
and I shall be happy to make those XalanJ implementation changes.
Many thanks.
--
Regards,
Mukul Gandhi
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xalan.apache.org
For additional commands, e-mail: dev-help@xalan.apache.org
Re: xsl 4.0 draft specs, and xalan implementation
Posted by Mukul Gandhi <ga...@gmail.com>.
Hi Joseph,
> On Fri, Mar 15, 2024 at 9:19 PM Joseph Kesselman <ke...@alum.mit.edu> wrote:
> > Mukul: I haven't looked at the 3.0 prototypes in any detail yet. Would it be possible to restructure them as an extension set? Would you be willing to do so? If you want to make these available for folks to start playing with, I think that would be the best path forward for them, and for early 4.0 experimentation too.
Is it possible, that you may please create XalanJ jira issue
describing how you wish to have XalanJ's current XSLT 3.0 and XPath
3.1 implementations modified for these modification descriptions that
you've mentioned? That shall be nice.
I've following question as well, please.
Do you wish to have these XalanJ implementation code modified in-place
on the dev branch xalan-j_xslt3.0, or any other way you wish to have
these implementation changes implemented?
Please feel free to assign me to these mentioned tasks, if you'd like
and I shall be happy to make those XalanJ implementation changes.
Many thanks.
--
Regards,
Mukul Gandhi
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xalan.apache.org
For additional commands, e-mail: dev-help@xalan.apache.org
Re: xsl 4.0 draft specs, and xalan implementation
Posted by Mukul Gandhi <ga...@gmail.com>.
Hi Joseph,
On Fri, Mar 15, 2024 at 9:19 PM Joseph Kesselman <ke...@alum.mit.edu> wrote:
> Mukul: I haven't looked at the 3.0 prototypes in any detail yet. Would it be possible to restructure them as an extension set? Would you be willing to do so? If you want to make these available for folks to start playing with, I think that would be the best path forward for them, and for early 4.0 experimentation too.
Yes sure please, and I think that's a nice idea.
I'd prefer to create 'new XalanJ dev repos branch [1]' from an
existing XalanJ dev repos branch that's currently there (I think, we
should retain that work within its existing dev repos branch, as its
currently there, since that code implementation has been written to
progress it to a complete XSLT 3.0 processor) for XSL 3.0 work.
When this new XalanJ dev repos branch ([1]) gets created, we (myself
to start with perhaps, as you're querying whether I'm willing to do
so) can move all new XPath 3.x functions that we've implemented to a
new XalanJ XML extensions functions namespace. I also think that, we
should stop immediately further dev work on current XalanJ dev repos
branch for 3.0 spec implementation, and instead start the XPath 3.x
functions refactoring to the new XML extensions namespace as you've
suggested which I think is ok as well.
--
Regards,
Mukul Gandhi
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xalan.apache.org
For additional commands, e-mail: dev-help@xalan.apache.org
Re: xsl 4.0 draft specs, and xalan implementation
Posted by Joseph Kesselman <ke...@alum.mit.edu>.
On the one hand, I like the idea of doing test implementations of XSLT4 features to confirm that they *can* be implemented cleanly and to let people play with them.
On the other hand, I'm not sure running them against an XSLT2 dataset fully/correctly exercises them.
My preference -- as with the 3.0 stuff, actually -- would be that if core changes to Xalan *aren't* required, we should release these as extension functions under a separate namespace. That's how the EXSLT extensions were introduced, before some of them were folded into XSLT3. It makes the line between core xalan and stuff that may not work on other processors much clearer. And (assuming a full implementation) it could still permit easily migrating a stylesheet to a true XSLT 3 or 4 processor just by changing the namespace binding to the official one.
I'd be a lot happier with the idea of actually releasing these partial/prototype/experimental stubs as part of Xalan's product as extensions rather than as a forked version. That could also be easier for Mukul to maintain, isolating the extension set from the main body of the code except where core Xalan needs to expose a new API to support it. It also makes documenting what is and isn't 2.0 easier, and clarifies that our support priorities are likely to be focused mostly on 2.0 for now and that missing 3.0 features and incompatibilities with strict 3.0 behavior of these may be unavoidable until we can commit to a full upgrade.
Mukul: I haven't looked at the 3.0 prototypes in any detail yet. Would it be possible to restructure them as an extension set? Would you be willing to do so? If you want to make these available for folks to start playing with, I think that would be the best path forward for them, and for early 4.0 experimentation too.
--
/_ 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 <ga...@gmail.com>
Sent: Friday, March 15, 2024 5:13:25 AM
To: dev@xalan.apache.org <de...@xalan.apache.org>
Subject: Re: xsl 4.0 draft specs, and xalan implementation
Hi Gary,
An w3c XSLT 4.0 community group home page introduces its work
objectives as follows,
"The group aims to agree extensions to the XSLT 3.0 Recommendation ..."
And as per, the same XSLT 4.0 community group home page, its mentioned
their that, the new XSL specifications shall be named with version
number 4.0.
We already have much (i.e, many of useful features) of XSLT 3.0
basic-conformance (there's little bit of [xml] schema aware
implementation as well) related implementation available on, XalanJ's
xslt 3.0 dev branch.
I agree with your following statement, 'I imagine that best way to
build a 4.0 processor is on top of a 3.0 processor'.
The points that I've mentioned within my original mail within this
mail thread, were my naive observations about XalanJ's current XSLT
3.0 implementation status.
@IMHO, as can be seen I've also changed my mail subscription address
to Xalan lists.
On Thu, Mar 14, 2024 at 1:59 AM Gary Gregory <ga...@gmail.com> wrote:
>
> I agree with Joe's concerns on architecture and resouces.
>
> I imagine that best way to build a 4.0 processor is on top of a 3.0 processor and we don't have that out yet.
>
> It might be possible to cherry-pick some 4.0 features on top of our 2.x code base like some new XPath functions for example, but I'm not sure that wouldn't be confusing for our users (but it might be helpful).
>
> I would like us to be in the position to release 2.x at will in a maintenance mode as we gear up for a 3.0, but that's just a personal preference.
--
Regards,
Mukul Gandhi
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xalan.apache.org
For additional commands, e-mail: dev-help@xalan.apache.org
Re: xsl 4.0 draft specs, and xalan implementation
Posted by Mukul Gandhi <ga...@gmail.com>.
Hi Gary,
An w3c XSLT 4.0 community group home page introduces its work
objectives as follows,
"The group aims to agree extensions to the XSLT 3.0 Recommendation ..."
And as per, the same XSLT 4.0 community group home page, its mentioned
their that, the new XSL specifications shall be named with version
number 4.0.
We already have much (i.e, many of useful features) of XSLT 3.0
basic-conformance (there's little bit of [xml] schema aware
implementation as well) related implementation available on, XalanJ's
xslt 3.0 dev branch.
I agree with your following statement, 'I imagine that best way to
build a 4.0 processor is on top of a 3.0 processor'.
The points that I've mentioned within my original mail within this
mail thread, were my naive observations about XalanJ's current XSLT
3.0 implementation status.
@IMHO, as can be seen I've also changed my mail subscription address
to Xalan lists.
On Thu, Mar 14, 2024 at 1:59 AM Gary Gregory <ga...@gmail.com> wrote:
>
> I agree with Joe's concerns on architecture and resouces.
>
> I imagine that best way to build a 4.0 processor is on top of a 3.0 processor and we don't have that out yet.
>
> It might be possible to cherry-pick some 4.0 features on top of our 2.x code base like some new XPath functions for example, but I'm not sure that wouldn't be confusing for our users (but it might be helpful).
>
> I would like us to be in the position to release 2.x at will in a maintenance mode as we gear up for a 3.0, but that's just a personal preference.
--
Regards,
Mukul Gandhi
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xalan.apache.org
For additional commands, e-mail: dev-help@xalan.apache.org
Re: xsl 4.0 draft specs, and xalan implementation
Posted by Gary Gregory <ga...@gmail.com>.
I agree with Joe's concerns on architecture and resouces.
I imagine that best way to build a 4.0 processor is on top of a 3.0
processor and we don't have that out yet.
It might be possible to cherry-pick some 4.0 features on top of our 2.x
code base like some new XPath functions for example, but I'm not sure that
wouldn't be confusing for our users (but it might be helpful).
I would like us to be in the position to release 2.x at will in a
maintenance mode as we gear up for a 3.0, but that's just a personal
preference.
Gary
On Wed, Mar 13, 2024, 4:18 PM Joseph Kesselman <ke...@alum.mit.edu> wrote:
> I'm not convinced that retrofitting 4.0 features into an essentially 2.0
> processor is the best way to progress toward 4.0. I'd need to look at the
> spec to see whether, as in 3.0, some basic changes to the data model and
> processing were introduced. As your experience playing with a 3.0 subset
> has shown, that isn't always simple, or even possible, without breaking 2.0
> semantics.
>
> Would working from the Xalan codebase, with its legacy warts, really be
> easier than building a new processor based on what we learned in Xalan? I
> don't currently have a strong opinion.
>
> Do we really have the resources to tackle this? If we still had the kind
> of man-hours that built Xalan originally I'd say it was worth trying to
> lead the pack again, but...
>
>
> --
> /_ 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 <mu...@apache.org>
> *Sent:* Wednesday, March 13, 2024 12:58:14 PM
> *To:* dev@xalan.apache.org <de...@xalan.apache.org>
> *Subject:* xsl 4.0 draft specs, and xalan implementation
>
> Hi all,
> As we know, we've done little implementation work within XalanJ's
> xslt 3.0 dev branch.
>
> These days, there's an XSL 4.0 specs development work going on, within
> QT4 community group (ref, https://qt4cg.org/).
>
> These days, within the XSL 4.0 set of QT4 specs, specs related to XSLT
> 4.0 and related languages are getting specified. At the bottom of page
> https://qt4cg.org/, links to latest drafts of XSLT 4.0 and related
> specs are available.
>
> Can we, create an codebase dev branch on XalanJ dev repos for XSLT 4.0
> implementation work, and try to implement few useful features from
> latest drafts of the XSLT 4.0 and related specs?
>
> Any thoughts please?
>
>
> --
> Regards,
> Mukul Gandhi
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@xalan.apache.org
> For additional commands, e-mail: dev-help@xalan.apache.org
>
>
Re: xsl 4.0 draft specs, and xalan implementation
Posted by Joseph Kesselman <ke...@alum.mit.edu>.
I'm not convinced that retrofitting 4.0 features into an essentially 2.0 processor is the best way to progress toward 4.0. I'd need to look at the spec to see whether, as in 3.0, some basic changes to the data model and processing were introduced. As your experience playing with a 3.0 subset has shown, that isn't always simple, or even possible, without breaking 2.0 semantics.
Would working from the Xalan codebase, with its legacy warts, really be easier than building a new processor based on what we learned in Xalan? I don't currently have a strong opinion.
Do we really have the resources to tackle this? If we still had the kind of man-hours that built Xalan originally I'd say it was worth trying to lead the pack again, but...
--
/_ 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 <mu...@apache.org>
Sent: Wednesday, March 13, 2024 12:58:14 PM
To: dev@xalan.apache.org <de...@xalan.apache.org>
Subject: xsl 4.0 draft specs, and xalan implementation
Hi all,
As we know, we've done little implementation work within XalanJ's
xslt 3.0 dev branch.
These days, there's an XSL 4.0 specs development work going on, within
QT4 community group (ref, https://qt4cg.org/).
These days, within the XSL 4.0 set of QT4 specs, specs related to XSLT
4.0 and related languages are getting specified. At the bottom of page
https://qt4cg.org/, links to latest drafts of XSLT 4.0 and related
specs are available.
Can we, create an codebase dev branch on XalanJ dev repos for XSLT 4.0
implementation work, and try to implement few useful features from
latest drafts of the XSLT 4.0 and related specs?
Any thoughts please?
--
Regards,
Mukul Gandhi
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xalan.apache.org
For additional commands, e-mail: dev-help@xalan.apache.org