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 18777 - Eliminate private xerces2.jar file
Summary: Eliminate private xerces2.jar file
Alias: None
Product: xml
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@xml
Keywords: ARCH
Depends on: 26478 26863
Blocks: 31978
  Show dependency tree
Reported: 2001-12-18 14:38 UTC by _ lkramolis
Modified: 2007-09-25 01:31 UTC (History)
2 users (show)

See Also:
Issue Type: TASK
Exception Reporter:

XNI API JDiff (4.07 KB, application/octet-stream)
2003-07-22 17:09 UTC, _ pkuzel
libs module patch (2.41 KB, patch)
2003-07-24 10:40 UTC, _ pkuzel
Details | Diff
xml/tax module patch (24.57 KB, patch)
2003-07-24 10:41 UTC, _ pkuzel
Details | Diff
nbbuild module patch (702 bytes, patch)
2003-07-24 10:42 UTC, _ pkuzel
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description _ lkramolis 2001-12-18 14:38:19 UTC
It is not correct to declare xerces2.jar on TAX module CLASSPATH, but it cause
NoClassDefFoundError when it is not. Remove xerces2.jar from module CLASSPATH
and fix problem with XNIException, which is thrown to code, which is not loaded
by ParserLoader.

[Error report - issue 18736]
Comment 1 _ pkuzel 2002-06-03 12:27:31 UTC
Let these are considered while planning next release.
Comment 2 Marek Grummich 2002-07-19 16:17:19 UTC
Target milestone was changed from not determined to TBD
Comment 3 _ pkuzel 2002-08-13 18:48:22 UTC
Lowering to P3 because I expect that it get 
resolved as a part of redesigning model 
Comment 4 _ pkuzel 2003-07-22 17:08:28 UTC
There are to many Xerces copies. We use private copy because
XNIBuilder depends on certain XNI API versions.

Atteched diff shows that it could be easilly ported to recent XNI
version defined in Xerces 2.4.0. It supposes that Xerces 2.4.0 becomes
the version which wins (see libs project issue 26863).
Comment 5 _ pkuzel 2003-07-22 17:09:48 UTC
Created attachment 11068 [details]
Comment 6 Jesse Glick 2003-07-22 17:32:04 UTC
Note - the ZIP file was mostly empty, missing -r switch to zip probably.
Comment 7 _ pkuzel 2003-07-24 10:40:54 UTC
Created attachment 11111 [details]
libs module patch
Comment 8 _ pkuzel 2003-07-24 10:41:38 UTC
Created attachment 11112 [details]
xml/tax module patch
Comment 9 _ pkuzel 2003-07-24 10:42:10 UTC
Created attachment 11113 [details]
nbbuild module patch
Comment 10 _ pkuzel 2003-07-24 10:44:57 UTC
A couple of patches against nbbuild's and xml's prj40_prototype
branch; and libs trunk added.

Now I need to create a couple of unit tests, too.
Comment 11 Jesse Glick 2003-07-24 14:40:06 UTC
Probably this can be put right in the trunk and also merged to
prj_40_prototype, right? I don't see anything projects-specific here,
so there is no need to tie it to a branch.
Comment 12 _ pkuzel 2003-07-24 15:12:11 UTC
I develop in the branch exclusively. I hope I'll simplify the big
merge. Trunk is considered dead by module developers except the core
Comment 13 Petr Pisl 2004-05-14 09:30:20 UTC
Done in the trunk.