Enhancement Request: Include template mode when tracing templates (-TT).
------------------------------------------------------------------------

                 Key: XALANJ-2391
                 URL: https://issues.apache.org/jira/browse/XALANJ-2391
             Project: XalanJ2
          Issue Type: Improvement
          Components: Trace-facility
    Affects Versions: 2.7, The Latest Development Code
            Reporter: Johnson Earls
            Priority: Minor


When tracing a stylesheet that makes heavy use of modes, it's frustrating to 
have to go cross-reference the source files to verify which mode a trace event 
is being generated for.

Patch against revision 468644:
*** PrintTraceListener.java.r468644     Tue Jul 31 17:14:43 2007
--- PrintTraceListener.java.dfp Tue Jul 31 17:15:40 2007
***************
*** 126,131 ****
--- 126,136 ----
            m_pw.print("name='" + et.getName() + "' ");
          }
  
+         if (null != et.getMode())
+         {
+           m_pw.print("mode='" + et.getMode() + "' ");
+         }
+ 
          m_pw.println();
        }
        break;


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to