From: Wolfgang M. <wol...@ex...> - 2012-07-13 14:41:46
|
> What I am worried about is that it is a common pattern for me to end my > queries with a typeswitch to return different formats of the results of the > query, I can work around this case easy enough, but now I'm worried about > the integrity of a considerable body of queries. 5 weeks ago I committed a fix for typeswitch (http://exist.svn.sourceforge.net/viewvc/exist?view=revision&revision=16601). The optimizer did not properly analyze the typeswitch. I assume this applies to your case. However, even if the analyzer did not descend into the typeswitch, the query should still return a correct result. So if you could create a test XQuery from your functions along with some data, I'll be happy to run the debugger on it. Wolfgang |