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 94317

Summary: Let's delete xml-commons-dom-ranges-1.0.b2.jar
Product: ide Reporter: Jaroslav Tulach <jtulach>
Component: libsAssignee: issues@ide <issues>
Status: RESOLVED FIXED    
Severity: blocker CC: apireviews
Priority: P2 Keywords: API_REVIEW_FAST
Version: 6.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Attachments: The diff of the removal

Description Jaroslav Tulach 2007-02-05 09:26:21 UTC
While thinking about 3rd party libraries I have found out that there is 
modules/ext/xml-commons-dom-ranges-1.0.b2.jar
and I do not understand the need for it. It contains three classes:
  org/w3c/dom/ranges/DocumentRange.class
  org/w3c/dom/ranges/Range.class
  org/w3c/dom/ranges/RangeException.class
however these classes do not seem to be needed by anyone. The xerces-2.8.0 
does not require them. The JDK6 javadoc does not have such package at all: 
http://java.sun.com/javase/6/docs/api/index.html

That is why I think this package is a just a relict of a past and can be 
deleted. If nobody objects, I'll delete it on Thursday, Feb 8, 2007.
Comment 1 Jaroslav Tulach 2007-02-05 09:26:55 UTC
Created attachment 38019 [details]
The diff of the removal
Comment 2 Jaroslav Tulach 2007-02-08 17:32:17 UTC
/shared/data/ccvs/repository/libs/xerces/build.xml,v  <--  build.xml
new revision: 1.24; previous revision: 1.23
done
Checking in libs/xerces/nbproject/project.properties;
/shared/data/ccvs/repository/libs/xerces/nbproject/project.properties,v  <--  
project.properties
new revision: 1.5; previous revision: 1.4
done
Checking in ide/golden/files-layout.txt;
/shared/data/ccvs/repository/ide/golden/files-layout.txt,v  <--  
files-layout.txt
new revision: 1.207; previous revision: 1.206
done
Checking in ide/golden/public-packages.txt;
/shared/data/ccvs/repository/ide/golden/public-packages.txt,v  <--  
public-packages.txt
new revision: 1.86; previous revision: 1.85
Comment 3 Jesse Glick 2007-02-08 20:07:35 UTC
It's true the JDK Javadoc doesn't list that package, but JDK 5 and 6 include it
nonetheless. (I will file a bug about that.) We used to bundle this JAR because
Xerces links against it (org.apache.xerces.dom.DocumentImpl implements it) but
JDK 1.4 does not include it. I guess this dependency is safe to remove now;
currently libs/xerces/build.xml#verify-class-linkage reports only

Warning: org.apache.xerces.util.XMLCatalogResolver cannot access
org.apache.xml.resolver.CatalogManager
Warning: org.apache.xerces.util.XMLCatalogResolver cannot access
org.apache.xml.resolver.Catalog
Warning: org.apache.xerces.util.XMLCatalogResolver cannot access
org.apache.xml.resolver.readers.SAXCatalogReader

which is probably OK.

BTW you forgot to actually delete libs/external/xml-commons-dom-ranges-1.0.b2*,
could you do that please?

I should mention that Xerces 2.9.0 is the current release, we should really
upgrade to it.
Comment 4 Jesse Glick 2007-02-08 20:21:55 UTC
I filed Java bug #6523066 about the lack of documentation of this package.