This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 30093

Summary: Cannot load org.apache.xerces.xni from some XML module
Product: platform Reporter: Jesse Glick <jglick>
Component: Module SystemAssignee: Jesse Glick <jglick>
Status: VERIFIED FIXED    
Severity: blocker CC: issues
Priority: P2    
Version: 3.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 29834    
Attachments: Stack trace
Proposed patch

Description Jesse Glick 2003-01-14 19:01:36 UTC
[dev jan 13] Clicking "Generate Documentation" in
a DTD fails. Appears that the issue #29834 patch
has some problems - presumably because this
package appears both in the classpath and in an
autoload module which cannot access that classpath
package. (But why is the same not true for other
Xerces packages? Validation etc. works fine.)
Comment 1 Jesse Glick 2003-01-14 19:02:06 UTC
Created attachment 8563 [details]
Stack trace
Comment 2 Jesse Glick 2003-01-14 19:57:20 UTC
Created attachment 8566 [details]
Proposed patch
Comment 3 Jesse Glick 2003-01-14 19:57:37 UTC
Attached patch seems to correct the problem for me.
Comment 4 _ pkuzel 2003-01-15 10:39:49 UTC
XML module uses private XML parser loaded by ParserLoader class loader
for TAX model construction only.

For other, user level, actions it uses plugged in parser accessed via
JAXP.
Comment 5 Jesse Glick 2003-01-15 17:50:52 UTC
committed     Up-To-Date  1.7        
core/bootstrap/src/org/netbeans/ProxyClassLoader.java
Comment 6 Jesse Glick 2003-01-16 03:46:10 UTC
In QBE200301150100:

Checking in core/bootstrap/src/org/netbeans/ProxyClassLoader.java;
/cvs/core/bootstrap/src/org/netbeans/ProxyClassLoader.java,v  <-- 
ProxyClassLoader.java
new revision: 1.6.4.1; previous revision: 1.6
done

Someone please verify.
Comment 7 Martin Schovanek 2003-01-20 09:35:38 UTC
Verified in:
QB 20030116-1720,
Dev Build 200301300100
Comment 8 Jesse Glick 2003-01-29 14:40:05 UTC
See also issue #30456, a possible dupe (under investigation).