OOps, the second expression is not "next-sibling::value", but of course "following-sibling::value"... Sorry for the typo, even though I still have this problem to solve...
I have the same problem... Whenever I try to use a xpath function that needs parent(), it throws this exception...
ex: //metric/type[text() = 'Lines of Code'] works fine,
but
//metric/type[text() = 'Lines of Code']/next-sibling::value
throws the parent exception because internally, jdom uses...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.