I ran into some issues with compiling xml-commons with java 1.5. So I made the same changes that have been done to xml-commons-resolver (see bug #78352 for details). Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 50548 [details] dev-java/xml-commons-1.0_beta2-r1 The ebuild (only adds an epatch)
Created attachment 50549 [details, diff] xml-commons-java-1.5.patch The necessary patch (does not break downwards compatibility from what I can tell)
it's much easier to patch the buildfile and add source and target attributes to the javac nodes. i've done this, thanks a lot for your effort.