// The following code fixes bug#16889
// Solution: Store away XPath in setSelect(Xath), and use it here.
// Pass m_xath, which the current node is associated with, onto the TraceManager.
Expression expr = m_xpath.getExpression();
org.apache.xpath.objects.XObject xObject = expr.execute(xctxt);
int current = xctxt.getCurrentNode();
transformer.getTraceManager().fireSelectedEvent(
current,
this,
"select",