According to the stack dump, the exception is being triggered by an exception in java.util.jar.JarVerifier ... which looks to me as if either your jarfile is damaged, or the code you're using to read from it isn't working correctly.
Try just reading that stream, rather than feeding it into Xalan, and see if you can provoke the same error. If so, that's what you need to solve.
