http://www.w3.org/Bugs/Public/show_bug.cgi?id=4151
------- Comment #3 from chamberl@almaden.ibm.com 2007-03-19 22:31 -------
Michael,
The Query Working Group has discussed your comment and agreed to add a new rule
in Section 3.7.1.3, following the current Rule 1.e.ii.D, as follows:
An enclosed expression in the content of an element constructor
may cause one or more existing nodes to be copied. Type error XQTY0086
is raised if:
(a) An element node is copied, and the typed value of the element node
or one of its attributes is namespace-sensitive, and construction mode
is preserve, and copy-namespaces mode is no-preserve.
(b) An attribute node is copied but its parent element node is not
copied, and the typed value of the copied attribute node is
namespace-sensitive, and construction mode is preserve.
(NOTE: Explanation of XQTY0086: It is
not possible to preserve the type of a QName without also preserving
the namespace binding that defines the prefix of the QName.)
This new rule (and related editorial changes) will appear in a future XQuery
errata document.
Since you were present for the discussion of this bug report, I have marked the
report as Fixed and Closed.
Regards,
Don Chamberlin (for the Query Working Group)