Details
-
Bug
-
Resolution: Won't Do
-
Major
-
None
-
JBossAS-3.2.6 Final
-
None
-
None
Description
SourceForge Submitter: skulawik .
Hello,
I have a lot of applications based on XPath, which uses
Jaxen for XPath processing. Through JBoss deliveres
within JBoss 3.2.4 and 4.0 JDom as library, also Jaxen
will be delivered in an incompatible version to the
Jaxen-Final. Also the delivered Jaxen version is not
complete, so generic XPath is no longer working because
of the classloader as well - Im currently using the
<lib> element in the applications.xml of my ear.
Here is a short snipped which will no longer work with
this versions:
import org.jaxen.BaseXPath;
import org.jaxen.dom.DOMXPath;
public static Iterator findNodes(Node node, String
xpathquery) {
Iterator it = null;
try
catch(Exception exe) { }
if(it==null)
return it;
}