Saxon.NET only profiles functions
Bug reported by John Barstow:
After some investigation, the following two lines have been added to the
After adding these lines and re-compiling, the profiling of XSLT transform now correctly
works. The -TP flag modifies a default CompilerInfo
instance, but the .NET code always creates a new instance, thus losing
the code injector. The solution seemed to be the most surgical fix, but
it might be more correct to clone the default instance.
#2 Updated by O'Neil Delpratt almost 5 years ago
Bug has now been fixed and committed to subversion.
The fixed was applied to the Xslt.cs file: In the constructor of class XsltCompiler we have changed the call of the default constructor to:
this.info = new JCompilerInfo(config.getDefaultXsltCompilerInfo());.
Please register to edit this issue