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

Jesse Glick <[email protected]> Mon, 17 Feb 2003 11:41:22 -0500
Newsgroups gmane.comp.java.netbeans.modules.xml.devel
Organization Sun Microsystems / NetBeans
Message-ID <[email protected]>
Petr Kuzel wrote:
>> 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 think this is contract - considered it a bug that the Xerces impl was 
visible to modules before. It is a little hazy in the particular case of 
the Crimson and Xalan impl, since JDK 1.4 ships with then, but for 
Xerces there is no reason why it should be visible to modules.

-J.

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