Project

Profile

Help

Will Saxon 12 have a HE version of SaxonCS?

Added by Martin Honnen over 1 year ago

I am curious to know whether the HE version of SaxonCS that was mentioned I think in the Saxon user meeting at XML Prague as planned but not having high priority will or will not appear as part of the next Saxon (i.e. Saxon 12) major release?

I understand you don't usually like to give details about future releases as releases and their details are kind of a moving target but perhaps you at this stage already know and are able to share whether Saxon 12 will be released with some HE version of SaxonCS.

I primarily ask because I am wondering whether I should spend more time on trying to improve the .NET integration my IKVM cross compilation of Saxon HE Java 11 to .NET core; if there will be an official HE SaxonCS 12 in what I understand will be some months from now I think I can save my effort and be content with the existing results.


Replies (18)

Please register to reply

RE: Will Saxon 12 have a HE version of SaxonCS? - Added by Michael Kay over 1 year ago

We haven't made a decision yet, but I'm leaning that way.

RE: Will Saxon 12 have a HE version of SaxonCS? - Added by Emanuel Wlaschitz over 1 year ago

We just stumbled over this as well, as one of my coworkers made the innocent mistake of creating a .NET 6 application, referencing Saxon-HE and getting various exceptions since they weren't really made for each other. After replacing it with SaxonCS, we were greeted with license exceptions, and setting licensedEdition: false in the Processor ctor produced yet another one (where even the parameter documentation hinted at "this only supports true at this point").

The obvious follow-up question was: So how do we use this when we don't have a license? And I didn't have an answer for it (which led me here).

So, hoping that we see a "HE" edition soon. Our journey to .NET 6 and beyond is still a few years in the future (due to a lot of .NET Framework specific baggage that we have to figure out first), so "soon" can also mean in 6-12 months (or even longer) for us specifically, as long as it does happen. But I'm confident it will happen sooner or later anyways, since Saxon is the defacto standard out there and a lot of both commercial and open source projects/products use it.

RE: Will Saxon 12 have a HE version of SaxonCS? - Added by Martin Honnen over 1 year ago

There is so far no release from Saxonica for .NET Core/.NET 3.1/.NET 5/.NET 6 that doesn't require a license.

I have, on my own, however, managed to IKVM cross compile both Saxon HE 10.8 as well as Saxon HE 11.4 to .NET Core (10.8 to .NET 3.1, 11.4 to .NET 6), see https://www.nuget.org/packages/SaxonHE11NetXslt/, https://www.nuget.org/packages/SaxonHE11s9apiExtensions/ and https://github.com/martin-honnen/SaxonHE11IKVMNet6SaxonCSSamplesAdapted for the Saxon HE 11.4 and the various packages https://www.nuget.org/packages/SaxonHE10Net31/, https://www.nuget.org/packages/SaxonHE10Net31Api/ and https://www.nuget.org/packages/SaxonHE10Net31Xslt/ for 10.8.

RE: Will Saxon 12 have a HE version of SaxonCS? - Added by Michael Kay over 1 year ago

Thanks for the feedback.

You might like to try out Martin Honnen's build of Saxon-HE 11.4 for .NET 6 using IKVM.

https://www.nuget.org/packages/SaxonHE11NetXslt/

It's not tested or supported by Saxonica. It relies on a fork of IKVM which we tested at one stage and found wanting, but it may well have improved sufficiently by now to make it viable - you'll have to assess that yourselves.

RE: Will Saxon 12 have a HE version of SaxonCS? - Added by Emanuel Wlaschitz over 1 year ago

Thanks for those links, Martin; I'll keep those at hand in case we need em!

RE: Will Saxon 12 have a HE version of SaxonCS? - Added by Sam Bishop about 1 year ago

Now that its been a few months and that SaxonCS 12 is out, are we any closer to a HE release?

As an Apple Silicon .Net dev, trying to use modern tech (including recent XML standards) not having a HE edition to use when developing prototypes or personal project work, all the stuff where an Enterprise license just isn't warranted, is getting... kind of painful.

The other day I genuinely looked at how hard it would be to use Python.Net (http://pythonnet.github.io/) to use the HE edition SaxonC Python wrapper library from my .Net code. I'd love to know if hacks like this are a waste of time because a HE release is on the plan for 12 once it is considered stable (which is obviously not a specific length of time away, just an indication that it is a nearer term goal than it was before 12 was released), or if its going to be some time away and I should continue with such workarounds.

RE: Will Saxon 12 have a HE version of SaxonCS? - Added by Michael Kay about 1 year ago

We haven't made any progress on this because we're now moving the product line forward on such a broad collection of platforms, but it is still on our TODO list.

Note that it won't be "open source" in the accepted sense, because we're not planning to productise the transpiler used to build the product.

RE: Will Saxon 12 have a HE version of SaxonCS? - Added by O'Neil Delpratt about 1 year ago

Not heard of Python.Net before, but might be worth exploring. One idea might be to have a look at using the C++ API in SaxonC, which should work with the .NET framework.

RE: Will Saxon 12 have a HE version of SaxonCS? - Added by Martin Honnen about 1 year ago

Pythonnet and SaxonC sounded interesting so I have built a sample .NET 6 project (under Windows):

https://github.com/martin-honnen/PythonNETSaxonCTest1

RE: Will Saxon 12 have a HE version of SaxonCS? - Added by Dave Dezinski about 1 year ago

Any updates? Is there a timeframe as to when we might see something? Just trying to get a better idea for planning on our end. We're currently using Saxon-HE 10.8 on .NET Framework, evaluating SaxonCS 12.0 on .NET 6.0 and exploring other options. It would be good to know what Saxonica's plan is and whether there really will be an "HE" version available or not.

Thanks

RE: Will Saxon 12 have a HE version of SaxonCS? - Added by Michael Kay about 1 year ago

It's our intent to do this, but we don't have resources allocated to the project right now.

RE: Will Saxon 12 have a HE version of SaxonCS? - Added by Dave Dezinski about 1 year ago

Thanks for the quick reply, this answer helps with our planning. Would the functionality be similar to what is currently available with the HE version compared to the EE version where a license would be needed?

Thanks

RE: Will Saxon 12 have a HE version of SaxonCS? - Added by Norm Tovey-Walsh about 1 year ago

Thanks for the quick reply, this answer helps with our planning. Would the functionality be
similar to what is currently available with the HE version compared to the EE version
where a license would be needed?

I think that’s a reasonable expectation, but we won’t really know all
the details until we start to plan the work.

Be seeing you,
norm

--
Norm Tovey-Walsh
Saxonica

RE: Will Saxon 12 have a HE version of SaxonCS? - Added by Michael Kay about 1 year ago

I've started giving this some thought, e.g. whether to include the DOM and LINQ integration, and catalog resolution, and "integrated extension functions", and some optimisations, but no decisions yet. There are some things that are available in SaxonJ-HE more for legacy reasons than anything else. The aim is basically to offer conformant and usable XSLT 3.0 and XQuery 3.1 processors with minimum bells and whistles.

RE: Will Saxon 12 have a HE version of SaxonCS? - Added by Dave Dezinski about 1 year ago

Thanks for sharing, I understand that nothing is finalized at this point but this information does help. Looking forward to the day when we can be free of both the .NET Framework and the IKVM version of Saxon. :-)

RE: Will Saxon 12 have a HE version of SaxonCS? - Added by Sam Bishop about 1 year ago

As much as they are excellent and logical ways to differentiate the product tiers. I'd personally like to advocate for not excluding specifically the LINQ functionality from the HE version.

The universality of the LINQ approach in the .Net world means a lot of people will tend to eschew things without it (at least this is what I see when I look around) in favour of libraries and tools that do. If having LINQ + XML is only an option with Microsoft's old XML libraries, then they will be likely to continue to use the old libraries in order to keep using LINQ with XML for free, which reduces the need to have libraries that support newer XML standards... if the HE edition is available and supports the Saxon powered equivalent to LINQ to XML, then that's one less barrier to entry for people already using Microsoft's LINQ to XML who unfortunately need to be convinced new XML standards are worth using.

RE: Will Saxon 12 have a HE version of SaxonCS? - Added by Martin Honnen 8 months ago

Is SaxonCS HE part of the plan for Saxon 13?

RE: Will Saxon 12 have a HE version of SaxonCS? - Added by Michael Kay 8 months ago

It remains our intent to do this eventually, but we haven't yet scheduled the work and we have lots of other things on our plate.

    (1-18/18)

    Please register to reply