Effective Xml Part 5: Something went really wrong OutOfMemoryException and StackOverflowException thrown when using XslCompiledTransform
Posted by: XmlTeams WebLog,
on 27 Sep 2011 |
View original | Bookmarked: 0 time(s)
So, your application is crashing and it is crashing in the bad way. After spending hours of debugging and trying different things you figured out that this is this Xslt stylesheet that causes all the problems. How come? XslCompiledTransform is a compiler. Its a bit different from C# or VB.NET compilers because it runs at runtime but the result of the compilation is basically the same IL (Intermediate Language) code. One of disadvantages of running compilation at runtime is that compilation issues...