net.sf.saxon.Configuration.getClass() problem
Replies (1)
Please register to reply
Added by Anonymous almost 18 years ago
Legacy ID: #4068697 Legacy Poster: Werner Donné (wdonne)
Hi, This method considers the context class loader of the current thread before the class loader of its class. I think it should be the opposite, because there might be a class loader hierarchy between the latter and the former, which is ignored. Regards, Werner.
Legacy ID: #4068869 Legacy Poster: Michael Kay (mhkay)
There's been a lot of discussion and advice about different ways of organising the class loading in Saxon, and the current arrangement was not arrived at by chance. I'm very reluctant to change it now without sound evidence and without a process of consultation with users. I get the impression that anything I do to make one scenario work better will break something else. If you want to control what classLoader is used, you can call config.setClassLoader().
Please register to reply