Bug 94317 - Let's delete xml-commons-dom-ranges-1.0.b2.jar
Let's delete xml-commons-dom-ranges-1.0.b2.jar
Status: RESOLVED FIXED
Product: ide
Classification: Unclassified
Component: libs
6.x
PC Windows XP
: P2 (vote)
: 6.x
Assigned To: issues@ide
issues@ide
: API_REVIEW_FAST
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-02-05 09:26 UTC by Jaroslav Tulach
Modified: 2007-02-08 20:21 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
:


Attachments
The diff of the removal (2.24 KB, patch)
2007-02-05 09:26 UTC, Jaroslav Tulach
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo