You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by gr...@apache.org on 2003/05/20 22:30:35 UTC
cvs commit: xml-xalan/java/src/org/apache/xalan/templates ElemExsltFuncResult.java
grchiu 2003/05/20 13:30:35
Modified: java/src/org/apache/xalan/templates ElemExsltFuncResult.java
Log:
Adding missing trace events for the func:result element.
Revision Changes Path
1.6 +9 -1 xml-xalan/java/src/org/apache/xalan/templates/ElemExsltFuncResult.java
Index: ElemExsltFuncResult.java
===================================================================
RCS file: /home/cvs/xml-xalan/java/src/org/apache/xalan/templates/ElemExsltFuncResult.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- ElemExsltFuncResult.java 30 Jan 2003 18:45:50 -0000 1.5
+++ ElemExsltFuncResult.java 20 May 2003 20:30:35 -0000 1.6
@@ -77,6 +77,10 @@
{
XPathContext context = transformer.getXPathContext();
ElemExsltFunction owner = getOwnerFunction();
+
+ if (TransformerImpl.S_DEBUG)
+ transformer.getTraceManager().fireTraceEvent(this);
+
if (owner != null)
{
// Verify that result has not already been set by another result
@@ -89,7 +93,11 @@
// Set the return value;
XObject var = getValue(transformer, sourceNode);
owner.setResult(var);
- }
+ }
+
+ if (TransformerImpl.S_DEBUG)
+ transformer.getTraceManager().fireTraceEndEvent(this);
+
}
/**
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org