I'm afraid I didn't follow through on this one; distracted by other issues. This feels like one of those "easier to grok if I can watch it fail" kinds of questions.... Any suggestions on the easiest way of setting up a minimal test-bed for it, given that I haven't tried to run this code before and (AFAIK) don't have anything resembling a database currently installed?
Note that there's another issue lurking in the wings... As we move toward optimizing stylesheets, we've introduced common subexpression elimination. Depending on what those expressions are doing, I suspect this too may introduce some additional pre-scanning of documents, and may disrupt the assumptions behind the SQL extension's fragmentary-DTM implementation. The right answer may wind up being for the SQL extension to build a "real" DTM despite the loss of streaming efficiency, and for us to get back to work on the DTM Pruning code to improve streaming across the board. ______________________________________ Joe Kesselman / IBM Research
