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 38355 - com.sun.resolver.** is long obsolete
Summary: com.sun.resolver.** is long obsolete
Status: VERIFIED DUPLICATE of bug 27930
Alias: None
Product: xml
Classification: Unclassified
Component: Catalog (show other bugs)
Version: 3.x
Hardware: All All
: P3 blocker (vote)
Assignee: Milan Kuchtiak
URL: http://mirrors.midco.net/pub/apache.o...
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-30 22:45 UTC by Jesse Glick
Modified: 2007-09-25 01:30 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2003-12-30 22:45:56 UTC
The contents of
xml/external/resolver-1_1_nb.jar.scrambled are at
least two years old. The com.sun.resolver.**
package prefix is obsolete. There is no apparent
documentation as to what the "_nb" suffix
represents here - what was patched, etc.

xml.apache.org/xmlcommons (see URL for download
link) has the most recent stable version of this
software under Apache license:
org.apache.xml.resolver 1.1. It is maintained by
norman.walsh@sun.com. Please upgrade to the
standard library.

Also note that Ant 1.6 expects to have
xml-commons-resolver-1.1.jar in its classpath in
order for the <catalog> data type to be fully
functional.
Comment 1 _ pkuzel 2004-01-05 10:28:54 UTC
It's patched because both com.sun.resolver and new
xml-commons-resolver-1.1.jar supports just one (static) instance and
writes directly down to serr and sout streams.

I cannot recall (and cannot find now) but patch should be available in
some CVS (may be old fortecvs server).
Comment 2 _ pkuzel 2004-01-05 10:30:23 UTC
There was also licensing problems with xml-commons (3 licences was
suspicious these times). Probably resolved now.
Comment 3 Jesse Glick 2004-01-05 16:23:55 UTC
Apache resolver.jar is covered only under Apache license. Other
licenses apply to DOM, SAX, and JAXP code, which is not included in
this JAR.

Version 1.1 supports more than one CatalogManager, if that is what you
are talking about.

Re. println's to System.{out,err} - suggest

1. Call CatalogManager.getStaticManager().debug = new Debug() {/*
override methods to use another stream */};

2. Use ExecutionEngine.execute to redirect I/O to the Output Window
automatically.

Anyway there should be an RFE filed on xml.apache.org so that this
gets fixed properly in 1.2, yes?
Comment 4 _ pkuzel 2004-01-05 19:05:42 UTC
The issue was
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9264>, currently
marked as resolved.
Comment 5 Jesse Glick 2004-05-14 14:18:16 UTC

*** This issue has been marked as a duplicate of 27930 ***
Comment 6 _ hong_lin 2007-08-15 20:11:40 UTC
Close "DUPLICATE" issue