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.
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.
Created attachment 38019 [details] The diff of the removal
/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
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.
I filed Java bug #6523066 about the lack of documentation of this package.