#1193 Tracing of FLWOR expressions

Michael Kay

The new 9.4 implementation of FLWOR expressions does not allow fine-grained tracing/monitoring at the clause level, which is problem for tools that implement a debugger. A patch (rather extensive) to fix this deficiency is being placed in Subversion. The patch introduces a new kind of FLWOR clause, the TraceClause, and a new method on the CodeInjector allowing TraceClauses to be injectied into a FLWOR pipeline; the TraceClause notifies the TraceListener of each tuple at run time, whether the pipeline is run in pull or push mode.


  • Michael Kay

    Michael Kay - 2012-01-12

    A further patch has been added in Subversion revision 667 which makes namespace information available to a TraceListener when invoked at the level of a clause in a FLWOR expression. This is needed by one of the debuggers that operates with Saxon.

  • Michael Kay

    Michael Kay - 2012-01-23

    Fixed in

  • Michael Kay

    Michael Kay - 2012-01-26

    The second patch, to provide namespace information to the trace listener, is incomplete in the version issued with A new patch is therefore being raised which makes further changes to the TraceClause and ClauseInfo.


Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks