This appears to be the same as,
which I have failed to reproduce. I've also created a unit test for it here:
Can you please see if you can modify the unit test to show the problem. We've looked at this one a few
times and have been unable to reproduce it. I suspect that the stylesheet is not enough, you need
something in your Java code (a specific Source and Result maybe) to reproduce the problem.
Also please try the latest JAXP RI available from this site to make sure it isn't actually fixed. As I said
above, the best approach at this point would be to modify the unit test to show the problem.