PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL BE LOST SOMEWHERE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2868 *** shadow/2868 Fri Jul 27 14:09:17 2001 --- shadow/2868.tmp.3135 Fri Jul 27 14:09:17 2001 *************** *** 0 **** --- 1,32 ---- + +============================================================================+ + | TracerEvent not fired for xsl:attribute template | + +----------------------------------------------------------------------------+ + | Bug #: 2868 Product: XalanJ2 | + | Status: NEW Version: 2.2.x | + | Resolution: Platform: PC | + | Severity: Minor OS/Version: Other | + | Priority: Other Component: org.apache.xalan.templa | + +----------------------------------------------------------------------------+ + | Assigned To: [EMAIL PROTECTED] | + | Reported By: [EMAIL PROTECTED] | + | CC list: Cc: | + +----------------------------------------------------------------------------+ + | URL: | + +============================================================================+ + | DESCRIPTION | + When executing a transformation in debug mode, a TracerEvent is not fired for + the xsl:attribute tag. The fix is very simple. I added the following code to + the ElemAttribute.constructNode method: + + if (TransformerImpl.S_DEBUG) + transformer.getTraceManager().fireTraceEvent(sourceNode, mode, this); + + I added that code just before this line: + String val = transformer.transformToString(this, sourceNode, mode); + + Not receiving a TracerEvent for an xsl:attribute tag is not a huge problem, but + the fix is very easy. + + Thanks, + + Joe Baysdon
