My apologies if this is not the correct forum, but I was directed to it by a Moderator in the Visual Studio Debugger forum.
When working in Visual Studio 2012 Professional, I receive the following error when trying to debug XSLT:
XsltException
-------------
The stylesheet is too complex.
If I disable (i.e. comment out) enough of my main XSLT template, I do not get the error. I should also note thatI do not receive the error when I run the XSLT without debugging (Ctrl+Alt+F5), and the transform performs admirably and as expected.
I've also tried to overcome the error by refactoring my XSLT to put some of the processing loops (e.g. for-each) into templates that are called from my main document by way of <xsl:call-template>. This refactoring does not seem to help; I still receive the error, which makes me think that Visual Studio is evaluating the "complexity" of the stylesheet as a sum of all called templates.
Is there some sort of complexity limit for XSLT in Visual Studio? Is there any way around this, like a setting buried in the registry somewhere?
Unfortunately, I've been forced to look into other XSLT processors (e.g. Altova), because I just cannot afford the giant waste of time to comment/uncomment sections of code in order to debug newly added sections.
Any help or pointers would be greatly appreciated.