Jaxen XPath integration bug - Example Included - Certain expressions cause ClassCastException
I included a simple test file which will test a XML document and a XPath expression. First it will call Jaxen directly and output the expected result, next it will invoke via XmlBeans and fail with a ClassCastException. *Note I have run simple XPath expressions with no failures, so this may just be an untested case.
This has not been tested on v2.0 codebase, but code seems to be the same at first glance.