> Has anyone measured the limits of XML documents in terms of size and complexity which can be >queried using XPath API of Xalan?
There shouldn't be any hard limits... or at least, none you're likely to run into until long after you run out of JVM memory. Memory consumption is one of the things we're still working on; we're continuing to try to optimize data structures. In particular see the archives of this list for discussion of "pruning"; we've got that partly implemented (and partly buggy, which is what I'm working on now) for XSLT RTFs and hope to apply something derived from it to source documents once it's a bit more robust. >I was not sure of the way that complexity of the XPath could be set. I believe there are currently hard limits on the maximum complexity of an XPath. Known issue.
