I was working on an OSGi packaging of velocity and decided to do it based on the sources of velocity and its dependencies.
The only place where I could find werken-xpath-0.9.4 sources is: https://launchpad.net/ubuntu/karmic/+source/werken.xpath/0.9.4-11
I have imported this as a project in eclipse and noticed that it did not compile against jdom-1.0
There were a couple of trivial changes to port werken to compile against jdom-1.0 and those changes are also necessary for jdom-1.1
For example werken uses the method Element#getMixedContent()
which need to be changed into Element#getContent()
and Element#getParent() and expect an Element to be returned.
This needs to be changed to return either a Parent or change the method getParentElement.