Hi Joseph,

Joseph Kesselman wrote:



Are you aware that JDK 1.3 and 1.4 come with relatively ancient versions of Xerces, and have you remembered to override that with the current code before running your tests? It isn't just a matter of setting the classpath, unfortunately.

Well, yeah, congratulations to sun for using the same namespace when they imported xerces into their class library. That's bound to cause exactly this type of problems. They should have chucked it in into sun.external.* or something like that.


I wouldn't recommend fiddling with the bootclasspath, unless you're debugging a VM. It's an unsupported option, basically, and not guaranteed to function between VM releases, like all -X options. It probably doesn't work on gcj, and other free runtimes, as well.

Can't Xerces fix this type of problems by allowing the user to specify what class loader to use to load itself? An jaxp.classloader option would be great, so that jaxp.classloader="" uses the default class loader, and jaxp.classloader="myXercesLoader" instantiates my xerces loader as the Thread's contextLoader. Would taht work?

cheers,
dalibor topic


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to