Project

Profile

Help

Is JDOM2 supposed to be usable with Saxon HE 12?

Added by Martin Honnen 8 months ago

I thought the Saxon HE 12 source code contains an option folder with various packages for third party tree models, including JDOM2, that I thought you can just compile into your Java project and then use JDOM2 as the source or result of XSLT or XQuery with Saxon HE.

Trying to do that I find that https://saxonica.plan.io/projects/saxonmirrorhe/repository/he/revisions/he_mirror_saxon_12_3/entry/src/main/java/net/sf/saxon/option/jdom2/JDOM2DocumentWrapper.java#L50 does config.requireProfessionalLicense("JDOM2"); and running that code then tells me that a PE or EE license is required to use JDOM2.

Is that intended?

The code is under MPL 2 so I guess I can comment out that line and run the code but I am still wondering whether that is supposed to happen that way.


Replies (2)

RE: Is JDOM2 supposed to be usable with Saxon HE 12? - Added by Michael Kay 8 months ago

We publish the code for the third party object models as a courtesy to the developers who originally contributed the code (and to satisfy our possible obligations under the MPL), but we make no attempt to integrate it with Saxon-HE, we leave that as an exercise for the user.

RE: Is JDOM2 supposed to be usable with Saxon HE 12? - Added by Martin Honnen 8 months ago

Thanks for the clarification,

I will do the exercise then to comment out that line in my attempt to run Saxon HE against JDOM2.

    (1-2/2)

    Please register to reply