DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6134>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6134 Include XSL code as debug information in generated bytecode Summary: Include XSL code as debug information in generated bytecode Product: XalanJ2 Version: 2.2.0 Platform: All OS/Version: All Status: NEW Severity: Enhancement Priority: Other Component: org.apache.xalan.xsltc AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] It would be nice if XSLT would include the part of the XSL file which belongs to a certain method in the generated bytecode as debug information (the same way the javac compiler includes the filename of a java source file and the line number). A stacktrace like: translet.applyTemplates( <xsl:templates match="blah"> <xsl:whatever/> </xsl:templates> ) at translet.transform() at org.apache.xalan.xsltc.runtime.AbstractTranslet.transform (AbstractTranslet.java:506) ... is much mor meaningful than: translet.applyTemplates() at translet.transform() at org.apache.xalan.xsltc.runtime.AbstractTranslet.transform (AbstractTranslet.java:506) ... I was searching if this kind of feature already exists, but I couldn't find something similar.
