The problem is, to refresh this thread: Using Xalan-J-2.2.0 with JDK1.3.1 on W2K, I'm getting NullPointer and/or StringArrayIndexOutOfBounds exceptions after transforming at least two documents and reusing the stylesheet. The number and order of documents transformed affects how many transformations succeed before the exceptions. Works OK with Xalan-J-2.0.1.
I've dug into this problem some more and have narrowed it down (without absolute certainty) to a combination of: Reuse stylesheet (with or without template) AND use document() to access a second input document AND use a recursive template (on the second input document) I noticed another post with recursive template problem. It didn't seem to match the problem I'm having, but there may be a remote connection. Sometimes I've seen other exceptions such as Unknown error in XPath or some DTM errors, while hacking the stylesheet to isolate the problem. I'll continue my sleuthing, but hope someone may have some info from running into a similar scenario.
