I've attached a patch for your consideration.
It sets javax.xml.validation.SchemaFactory:... system property to force the instantiation of the xerces SchemaFactory instead of the one from Java5 which does not support requiered feature. This makes copying of the xercesImpl.jar and xml-apis.jar in the lib/endorsed dir eliminating potiential impacts on other projects one might work on. The manual step of copying the above jars in lib/endorsed is no longer necessary when building with maven. I did not update BUILDING.txt as I wasn't sure if it provided instructions for building with maven or also for the samples in the distro.
My tests passed with Sun's JDKs 1.4.2_06 and 1.5.0_06.
I would appreciate if someone could take a look.
Thanks
Hadrian
synapse-java5.patch
Description: Binary data
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
