Hopefully fixed the build error in JDK<1.4. Now it adds the endorsed jars to the classpath, so it should use Xerces.