The line numbers in the errors won't map to the code below, but line #83 is the line that reads: resultDoc = saxBuilder.build(resultIn); Here are the relevant portions of my code:
Here is car.xml
I am XML clueless, so any help would be greatly appreciated. Thanks, Jason
[This message has been edited by Jason Menard (edited June 26, 2001).]
Joined: Nov 09, 2000
Guess I'll answer my own question. There was something wrong with the XML and/or XSL files. It was just a test so I grabbed some sample files from elsewhere. The other problem with the code was the Piped Streams. These can cause a thread deadlock if used in the same thread. The answer (without resorting to multithreading) was to use ByteArray Streams.