[承前]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
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
相关文章推荐
- Saxon中的XQuery的查询语句示例,如何清除global variable??
- switch语句中在case块里声明变量会遇到提示“Expected expression before..."的问题
- switch语句中在case块里声明变量会遇到提示“Expected expression before..."的问题
- [Database] SqlServer: 使用带参数sql时"@必须声明"问题
- Oracle11gR2在Windows7下出现的"TNS-01190: 用户无权执行所请求的监听程序命令"问题解决
- ADO.NET参数化查询时问题, 变量名"@telNum"已声明。变量名在批查询或存储过程内部必须唯一
- "Str2$"变量未定义(学生信息管理系统问题之一)
- C语言变量声明问题——变量定义一定要放在所有执行语句/语句块的最前面吗?
- 遇到“拒绝了对对象的 EXECUTE 权限”和“无法作为数据库主体执行,因为主体 "dbo" 不存在、无法模拟这种类型的主体,或您没有所需的权限”的问题
- python unittest不执行"if __name__ == '__main__' "问题(Pycharm)
- ipv6设置 -----"eth0: duplicate address detected!" 检测到重复地址问题
- "执行字符串"的存储过程中字符串的声明
- ipv6设置 -----"eth0: duplicate address detected!" 检测到重复地址问题
- C语言变量声明问题——变量定义一定要放在所有执行语句/语句块的最前面吗?
- 嵌入式C编程中的全局变量重复声明问题
- 对"for循环中尽量减少对变量的重复计算"提出质疑
- 微信开发之js声明变量用"var"与不用"var"的区别
- 如何解决 "This function or variable may be unsafe" 的问题
- 关于"中文变量"与"VB与C#"混写的问题
- 评playerc网友的"求比指定数大且最小的“不重复数”问题"