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.
The dependency on Xalan had to be added since in JDK1.5 the compilation/runtime were broken. See the issue 47575. This is due to XPath class, which has been moved from org.apache.xpath to javax.xml.xpath package. It is desirable to get rid of the dependency on Xalan to make IDE more effective.
Definitely. Xalan is a big library and it would be much nicer not to have to maintain our own copy of it. Out of curiosity, what are we using XPath for? From grepping, it looks like just for code completion on XPath expressions in XSL scripts. If so, this is probably not a strong enough justification by itself to bundle all of Xalan. (You could instead bundle an independent XPathAPI impl; or try to use the JDK's copy by reflection on well-known class names, and skip the feature quietly if not found.)
Moreover, that code completion was based on XSL scenarios that have been most likely removed from IDE (not accessible through UI). It seems that we can simply comment out that part of code and remove the dependency on Xalan.
Done. Removing also Xalan from builds. See the diffs : nbbuild: http://nbbuild.netbeans.org/source/browse/nbbuild/build.properties.diff?r1=1.204&r2=1.205 http://nbbuild.netbeans.org/source/browse/nbbuild/build.xml.diff?r1=1.549&r2=1.550 http://nbbuild.netbeans.org/source/browse/nbbuild/cluster.properties.diff?r1=1.55&r2=1.56 xml/xsl : http://xml.netbeans.org/source/browse/xml/xsl/build.xml.diff?r1=1.29&r2=1.30 http://xml.netbeans.org/source/browse/xml/xsl/manifest.mf.diff?r1=1.19&r2=1.20 http://xml.netbeans.org/source/browse/xml/xsl/src/org/netbeans/modules/xsl/grammar/XSLGrammarQuery.java.diff?r1=1.41&r2=1.42
mkuchtiak, This issue submitted by you is marked as resolved. Since it relates to some source code specifics, QA is unable to verify it. Could you please verify this issue and mark it as verified or reopen it?