DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=29596>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=29596 ------- Additional Comments From [EMAIL PROTECTED] 2006-04-11 17:54 ------- So the TraXLiaison is only called from XSLTProcess and if there is a defined classpath the contextclassloader is set and valid. But if there is no defined classpath i knew the contextclassloader must also be set but not if it is valid - in the current meaning. In my environment i only work with a defined classpath. So what about mixing the two options... first try to load in the original way and if not found try to load from contextloader. Then it should work as expected... Class clazz = null; try { clazz = Class.forName(factoryName); } catch(...) { try { clazz = Class.forName(factoryName, true, Thread.currentThread().getContextClassLoader()); } catch ... -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
