Re: [xml-dev] Resolution of XMLLocator in XNIBuilder

Petr Kuzel <[email protected]> Mon, 17 Feb 2003 10:47:31 +0100
Newsgroups gmane.comp.java.netbeans.modules.xml.devel
Organization Sun Microsystems
Message-ID <[email protected]>
Jesse Glick wrote:
> Petr Kuzel wrote:
> 
>> XML module uses at runtime a private isolating classloader
>> to access its private Xerces version. See the ParserLoader
>> class.
> 
> 
> Still?? This should not be necessary any more, with current core; try 
> just putting ext/my-xerces.jar in your Class-Path. So long as you do not 
> declare a package dependency on a Xerces impl package, any impls on the 
> app classpath should be hidden from you and you should be able to use 
> your own version without any special loader tricks. Just make sure your 
> OpenIDE-Module-Public-Packages does not include your Xerces impl - in 
> case anyone is depending on the XML module that bundles it, they should 
> not be permitted to "see" your private impl.

Jesse is it a part of public contract? Or is it just implementation
detail that can be broken at any time?

I plan to batch this change with porting to newer XNI API
(preferable latest one, but it requires latest Xerces in libs
project). I also have to reevaluate TAX availability as standalone
library. I also have to reevalute renaming TAX to MAX if
ported to MDR infrastructure. Etc.

   Cc.

-- 
<address>
<a href="mailto:[email protected]">Petr Kuzel</a> at Sun Microsystems :
<a href="http://performance.netbeans.org/">IDE performance</a></address>