#623 XQuery element constructor writes wrong namespace

v8.8
closed
Michael Kay
5
2012-10-08
2006-11-24
Michael Kay
No

Under concurrent evaluation of a query in multiple threads, an XQuery element constructor using the format

element { node-name(xxx) } { .... }

(or any other form where the element name is computed at run-time as a QName value)

may write elements with the wrong namespace URI. This is likely to be a namespace that was used by a previous execution of the same instruction.

A patch is in Subversion.

Discussion