You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by Hadrian Zbarcea <hz...@gmail.com> on 2006/06/27 18:31:09 UTC

Patch for ValidateMediatorTest with Java5

Hi,

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