Dear Michael,

As the PMC Chair of Xerces, I believe you have insight into the environment
in which your project can run the tests successfully without encountering
exceptions.

Nowadays the latest sources of Xerces can be found on the GitHub branches

There are three kinds of tests:

   1. The former Xerces tests, run via build.bat test (likely after
   building with build.bat all), can be found here:
   a) https://github.com/apache/xerces-j/tree/main/tests
       or with a single bit of refactoring on the latest branch
   xml-schema-1.1-dev
   b) https://github.com/apache/xerces-j/tree/xml-schema-1.1-dev/tests
       With JDK 8 on W10 the fail with:
   *    Provider org.apache.xerces.impl.xs.XMLSchemaValidator could not be
   instantiated: java.lang.IllegalAccessException: Class
   org.apache.xerces.dom.ObjectFactory can not access a member of class
   org.apache.xerces.impl.xs.XMLSchemaValidator with modifiers
   "protected"*
   2. The new Xerces Tests from Mukul within

   
https://github.com/apache/xerces-j/tree/xml-schema-1.1-tests/src/org/apache/xerces/tests
   3. The W3C XSD conformance tests

   
https://github.com/apache/xerces-j/tree/xml-schema-1.1-tests/w3c_xmlschema11-testsuite
   There is no runner for the tests, nor a description of where to get them
   and execute the tests, but there have been tests results:

   
https://www.linkedin.com/pulse/apache-xercesj-w3c-xml-schema-test-suite-reports-mukul-gandhi/
   (even if I check out the Xerces-J being used:
   svn checkout -r 1920842
   https://svn.apache.org/repos/asf/xerces/java/trunk/
   I got with JDK8 .\build.bat test
   [java] Tests run: 72,  Failures: 7,  Errors: 0

It would be particularly helpful if you could provide guidance on running
the W3C test suite, especially with respect to the test runner for loading
and saving the suite.

I am unsure if there is a misconfiguration on my part—whether it be related
to the JDK, platform, or other settings—or if Xerces-J has been
encountering test failures for some time.
Additionally, considering that the W3C XSD 1.1 spec mentions compatibility
with XSD 1.0, would it not be beneficial to merge everything into a single
branch to avoid data duplication?

I trust that, as the PMC Chair, you can provide answers to these questions.


Thank you in advance for your assistance.

Best regards,
Svante

Reply via email to