Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [wtp-dev] PsychoPath XPath 2.0 processor

HI again Svante

Mukul clarified this:
- The 1.x branch is maintained by Mukul at the GitHub repos https://github.com/xercesj/xpath20. This is also documented on Xerces-J site at https://xerces.apache.org/xerces2-j/source-repository.html. The 1.x-branch contains a number of bug fixes and features. The branch requires Java 1.7 now, in line with Xerces-Java requirments.

- The current 2.x branch is at the Eclipse repo, but not very actively maintained, and it looks as if the 1.x fixes have not made it into master. Actually, there is an active fork/repackaging being maintained by Polish company Fingo, for use in their products, as I understand it - https://github.com/fingo/xactus.

Since your concern is primarily with Xerces-J build, I would likely recommend working with Mukuls branch. It looks an Ant build…

-Jesper

On 21 Sep 2024, at 15.42, Jesper Steen Møller <jesper@xxxxxxxxxxxxx> wrote:

Hi again Svante

I just remembered that Xerces uses a variation on the 1.x versions, which Mukul Ghandi has maintained. I don’t know where. The main problem is that the 2.0 used newer Java (1.5 :-) ) whereas the 1.x series still worked under JDK 1.2.

-Jesper

On 18 Sep 2024, at 13.10, Svante Schubert via wtp-dev <wtp-dev@xxxxxxxxxxx> wrote:

Dear developers,

Recently I started a prototype branch on Apache Xerces-J - a Java processor that was donated 25 years ago to the Apache Foundation - to change the build from Ant (with bundled JAR files in the repo) with Maven, to be able to download the latest JAR versions transparently from the Internet and have an out of the box build, test & debug experience with Java IDEs.

During this task, I stumbled over a PsychoPath XPath 2.0 processor dependency, a JAR file of version 1.1.0 was bundled to the repo, apparently only classes without sources and caused troubles when trying to use recent JDK versions. 
This XPath 2.0 processor, was originally designed and developed by Andrea Bittau, which he donated to Eclipse Foundation. The XPath 2.0 processor, was later somewhat improved at Eclipse Foundation, to bring its compliance with the W3C XPath 2.0 test suite.
Your PsychoPath Wiki page did not show any sources, but your Eclipse Management Office (EMO) kindly guided me to this list and the repo:
I was not able to build the repo with Maven on Windows 10 and the last build (#3249 - 18.09.2024, 01:42:07) is labelled "instabil" for the master branch failing with 178 tests, of which 162 tests have the PsychoPath package name within. The last green build was a few years ago: https://ci.eclipse.org/webtools/job/webtools-sourceediting_master/1423/ but making a diff between these revisions just shows 3 changes. Two are cosmetic changes, being for error prevention and one regarding the XML name declaration (at the beginning of an XML file), which might cause trouble but would be easy to fix if this is the case...

Therefore, my questions:
  1. What is the trick to building the latest sources without test errors? Sorry, I could not find the manual :-)
  2. How would I be able to reference the latest Maven artefacts (sources/binaries/docs) for PsychoPath to be able to test the latest version with Xerces-J?
A thousand thanks in advance, for any help allowing me to proceed on my journey...
Svante

PS: I am sorry, in case you have received this email before, this is my 2nd try using my correct/subscribed email...
_______________________________________________
wtp-dev mailing list
wtp-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/wtp-dev



Back to the top