[Bug 5723] CVS: K2-ComputeConAttr-54 Incorrect expected result


Tim Mills <tim@cbcl.co.uk> changed:

           What    |Removed                     |Added
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |

--- Comment #2 from Tim Mills <tim@cbcl.co.uk>  2008-06-24 15:04:20 ---
I've queried the resolution to Bug 4443 in light of Bug 4463.

I came across this error while trying to write a test case to hit (from Bug

"(4) Section (Computed Attribute Constructors)
Replace the paragraph following the first numbered list as follows:
A dynamic error [XQDY0044] is raised if the node-name of the constructed 
attribute node has any of the following properties:

(b) It has no namespace prefix and its local name is xmlns"

How can this be hit?  With 4443 implemented, the following:

attribute { fn:QName('xmlns', 'http://www.example.com/') } { 'foo' }

would create an attribute with an implementation-defined prefix, as if the user
had written:

attribute { fn:QName('xmlns', 'http://www.example.com/') } { 'foo' }

Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Tuesday, 24 June 2008 15:04:53 UTC