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

Jesse Glick <[email protected]> Fri, 14 Feb 2003 17:21:42 -0500
Newsgroups gmane.comp.java.netbeans.modules.xml.devel
Organization Sun Microsystems / NetBeans
Message-ID <[email protected]>
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

-- 
Jesse Glick <mailto:[email protected]> x22801
NetBeans, Open APIs  <http://www.netbeans.org/>