Werner, I'll send a mail to Keith if he is in a position to review patch and comment on the failures.
Michele, to run the XML test suite you have to check out a fresh copy of Castor from SVN or download the source distribution of castor. Be aware that some resource files are missing at 1.0.1 source distribution. Therfore I suggest to use SVN or if that is not possible for you the 1.0 source distribution. Now the XML test suite can be executed as follows:
Without the hashCode() patch all tests sould pass except of one that randomly fails. If you apply the patch you will see 4 tests of MasterTestsuite in the sourcegenerator part failing (in addition to the one that fails by random).
Hope this helps.