[Bug 27736] K2-ComputeConAttr-37


--- Comment #3 from Michael Kay <mike@saxonica.com> ---
No, that's not how it works.

Data model,6.1: "A Namespace Node must not have the name xmlns nor the
string-value http://www.w3.org/2000/xmlns/".

XQUery 4.13: The namespace prefix specified in a namespace declaration must not
be xml or xmlns [err:XQST0070]. The namespace URI specified in a namespace
declaration must not be http://www.w3.org/XML/1998/namespace or
http://www.w3.org/2000/xmlns/ [err:XQST0070].

And closer to home for this test, XQuery A dynamic error is raised
[err:XQDY0044] if the node-name of the constructed attribute node has any of
the following properties:

Its namespace prefix is xmlns....
Its namespace URI is http://www.w3.org/2000/xmlns/.

In XDM, the prefix "xmlns" and the URI "http://www.w3.org/2000/xmlns/" are both
reserved, but they are not bound to each other in a namespace binding.

You are receiving this mail because:
You are the QA Contact for the bug.

Received on Saturday, 3 January 2015 20:01:51 UTC