您的位置:首页 > 产品设计 > UI/UE

[承前]Saxon执行XQuery时的"重复变量(duplicate global variable)"声明问题

2004-10-26 09:15 666 查看
作者Michael Kay的一句话惊醒梦中人:

I don't think that reusing the QueryProcessor should be a problem, but you possibly need to make sure that each query has its own StaticContext.
 
The change you've made to the code seems way out, I think you've misdiagnosed the problem. 
 
所以,每次执行查询的时候都必须新生成StaticQueryContext和DynamicQueryContext
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  query each
相关文章推荐