As you could see in the url, the new xalan consists of two jars: xalan and serializer, but the ebuild in portage will install only xalan. As a result some other packages will fail to build for example xdoclet fails on the xslt tasks, because it could not find the classes from the serializer.jar. netbeans also fails with similiar errors. Adding the following line src_install() { java-pkg_dojar build/xalan.jar + java-pkg_dojar build/serializer.jar use doc && java-pkg_dohtml -r build/docs/* use source && java-pkg_dosrc src/* } resolves the problem.
Fixed in CVS. Thanks for reporting!
Made a new revision so that users will get the missing jar.