Community
Participate
Working Groups
Created attachment 205258 [details] patch 3. QName._expanded which is boolean value saying if namespace was set (also null if default). When qname is created by function with empty first argument: http://www.w3.org/TR/xquery-operators/#func-QName then ._expanded is ‘true’(we think it’s correct) but to compare it with qname from element will always return ‘false’ since Element.node_name() sets ._expanded to ‘false’ in case of null namespace (w3c.org representation of no-namespace situation is null). Removing if statement in constructor (QName:45) seems to solve the problem and do not affected other tests. However we are not sure about correct ._expanded parameter state. What is Your opinion?
Patch looks good ... Reviewing and testing against HEAD and maintenance branches!
Committed against HEAD and 3_3 maint.