Subject: causing XSLT processor to hang Author:Mark Eisenberg Date:05 Mar 2007 07:58 AM
I have been working on a fairly extensive stylesheet. Recently I started having problems with the XSLT processor hanging. The hang is independent of the processor used and of the XML data file used. It appears to hang when the processing is complete and the results are being read back in to the IDE. (I used ProcessMonitor to gain some visibility on what was happening before and during the hang.)
Through a fairly tedious process I was able to isolate the problem to the xsl:output statement. Changing the method to HTML, running the transformation and then changing it back to XML seems to clear the problem. As long as I don't switch to a different XML input file. I discovered this while trying to quantify some things for this post.
The symptom during the hang is Struzzo.exe is reading a proNNN.xml file in the Temp directory with successively longer times between read success events. It's odd, because in the non-hang situation it only seems to try to read the file once and then moves on. This would seem to indicate that SS is looking for something in the temp XML file. Finds it in the non-hang cases. Doesn't in the hang situation and keeps looking. Very slowly.
Subject: causing XSLT processor to hang Author:Mark Eisenberg Date:05 Mar 2007 10:44 PM Originally Posted: 05 Mar 2007 10:37 PM
Profiling is disabled
I have been running with the Preview Text window displayed.
I have not been able to pick up a discernable pattern. It appears that the processing is acutally done, but the last buffer does not get flushed to the Preview Window.