You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by Svante Schubert <sv...@apache.org> on 2024/09/13 21:30:33 UTC
Test & PsychoPath Problems and all the rest..
Dear maintainers,
I was curious about the latest updates of Xerces in the GitHub branches but
wondered if all tests of "xml-schema-1.1-tests" were green.
But there was no script to trigger the tests and all tests were in a
different branch than XercesImp, therefore I was tempted to bring them
together.
Usually, I work with Netbeans and IntelliJ IDE and love to open a project
directly from its directory, doing out-of-the-box builds, tests and
debugging with a mouse click.
The existing ANT build environment has its usability drawbacks here with my
IDEs.
It might help to embrace new developers when lowering the burden of
building & debugging, by switching to Maven and giving also a chance to
clean up the project a bit after some decades.
Therefore, I did this week an initial Prototype on a Maven project
structure (as stated on the user list) and also enabled the GitHub cloud
build and test on every push.
The project runs now the Maven build & test with JDK 8 and the bundled
PsychoPath XPath 2.0 processor
<https://github.com/svanteschubert/xerces-j/tree/maven-prototype_JDK8-PsychoPath1.2.1>
but test issues have been revealed: again the JDK Xerces is used for DOM
this time
<https://github.com/svanteschubert/xerces-j/actions/runs/10854425659/job/30124830967#step:4:462>.
I fixed in the past some similar issue, where a System property wasn't set.
My question: *In what state is the branch "xml-schema-1.1-tests", were all
tests green? Have some more System variables to be set ahead?*
*Perhaps someone with a background in the tests could take a look in the
IDE Maven environment
<https://github.com/svanteschubert/xerces-j/tree/maven-prototype_JDK8-PsychoPath1.2.1>?
All tests should run smoothly, shouldn't they?*
Another even bigger problem is the missing sources of PsychoPath and its
API changes, its Eclipse home
<https://wiki.eclipse.org/PsychoPathXPathProcessor/> seems abandoned - more
details are already stated on the user's list
<https://lists.apache.org/thread/5hfz73xnzjb6dzlq3rm4tjxvsn02gxt3>.
*It would be helpful if someone involved in XPath earlier might overtake
switching to the latest PsychoPath version (after the tests are running)* -
as there is a GitHub repo <https://github.com/xercesj/xpath20>, which
mentions:
"*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
as with the W3C XPath 2.0 test suite.*"
As Xerces depends on PsychoPath, *it would be nice to see how it runs with
the Test Suite*. *Where has Eclipse placed the sources?*
My work here was a bit time-boxed, unfortunately, I need to attend
to paid projects, but I am willing to assist in the transition to Maven and
give other reviews.
Meanwhile, I am awaiting your responses, esp. hope for assistance on the
"bold" tasks above and believe that all tests should be green before the
next release. ;-)
A nice week-end to all of you,
Svante
PS: It would be nice if there is again an ApacheCon in Europe and to talk
about some of the above face2face. I am located in Berlin, and currently, I
am near Hamburg.
Update on Eclipse PsychoPath
Posted by Svante Schubert <sv...@apache.org>.
Eclipse Management Office (emo@eclipse.org) provided information on the
PsychoPath project:
The latest sources can be found at:
https://github.com/eclipse-sourceediting/sourceediting/tree/master/xpath/bundles/org.eclipse.wst.xml.xpath2.processor
Likely the content is not published on Maven Central. The content is
published in p2 repositories for consumption by the Eclipse IDE.
At this GitHub project, new issues can be raised and contact with the
project team can be established.
Regards,
Svante
On Fri, 13 Sept 2024 at 23:30, Svante Schubert <sv...@apache.org>
wrote:
> Dear maintainers,
>
> I was curious about the latest updates of Xerces in the GitHub branches
> but wondered if all tests of "xml-schema-1.1-tests" were green.
> But there was no script to trigger the tests and all tests were in a
> different branch than XercesImp, therefore I was tempted to bring them
> together.
> Usually, I work with Netbeans and IntelliJ IDE and love to open a project
> directly from its directory, doing out-of-the-box builds, tests and
> debugging with a mouse click.
> The existing ANT build environment has its usability drawbacks here with
> my IDEs.
> It might help to embrace new developers when lowering the burden of
> building & debugging, by switching to Maven and giving also a chance to
> clean up the project a bit after some decades.
>
> Therefore, I did this week an initial Prototype on a Maven project
> structure (as stated on the user list) and also enabled the GitHub cloud
> build and test on every push.
> The project runs now the Maven build & test with JDK 8 and the bundled
> PsychoPath XPath 2.0 processor
> <https://github.com/svanteschubert/xerces-j/tree/maven-prototype_JDK8-PsychoPath1.2.1>
> but test issues have been revealed: again the JDK Xerces is used for DOM
> this time
> <https://github.com/svanteschubert/xerces-j/actions/runs/10854425659/job/30124830967#step:4:462>.
>
> I fixed in the past some similar issue, where a System property wasn't
> set.
> My question: *In what state is the branch "xml-schema-1.1-tests", were
> all tests green? Have some more System variables to be set ahead?*
> *Perhaps someone with a background in the tests could take a look in the
> IDE Maven environment
> <https://github.com/svanteschubert/xerces-j/tree/maven-prototype_JDK8-PsychoPath1.2.1>?
> All tests should run smoothly, shouldn't they?*
>
> Another even bigger problem is the missing sources of PsychoPath and its
> API changes, its Eclipse home
> <https://wiki.eclipse.org/PsychoPathXPathProcessor/> seems abandoned -
> more details are already stated on the user's list
> <https://lists.apache.org/thread/5hfz73xnzjb6dzlq3rm4tjxvsn02gxt3>.
> *It would be helpful if someone involved in XPath earlier might overtake
> switching to the latest PsychoPath version (after the tests are running)* -
> as there is a GitHub repo <https://github.com/xercesj/xpath20>, which
> mentions:
> "*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 as with the W3C XPath 2.0 test suite.*"
> As Xerces depends on PsychoPath, *it would be nice to see how it runs
> with the Test Suite*. *Where has Eclipse placed the sources?*
>
> My work here was a bit time-boxed, unfortunately, I need to attend
> to paid projects, but I am willing to assist in the transition to Maven and
> give other reviews.
> Meanwhile, I am awaiting your responses, esp. hope for assistance on the
> "bold" tasks above and believe that all tests should be green before the
> next release. ;-)
>
> A nice week-end to all of you,
> Svante
>
> PS: It would be nice if there is again an ApacheCon in Europe and to talk
> about some of the above face2face. I am located in Berlin, and currently, I
> am near Hamburg.
>