I have to use attached diff to successfully merge. Maybe it's needed only with newer xerces (2.8.0) or something. It's adding functions from org.w3c.dom interfaces to solve "abstract class" issues. Please check it before using it.
Created attachment 90140 [details, diff] add missing functions to non-abstract classes extended from abstract ascendant
This can also be solved by version bumping to jaxen-1.1 that compiles just fine with >=sun-jdk-1.5. According to their homepage it should be almost API compatible with 1.0 so we should be able to put it to the same slot. Sorry that no-one has responded so far to this bug.
I just noticed that nothing in the tree needs slot 0 of jaxen so we can just remove those ebuilds after bug 173207 is done.
1.0 is gone.