[Bug 11590] Correct the expected result of test functx-fn-namespace-uri-for-prefix-all

http://www.w3.org/Bugs/Public/show_bug.cgi?id=11590

--- Comment #16 from Michael Kay <mike@saxonica.com> 2011-07-19 11:28:33 UTC ---
The current specification of fn:namespace-uri-for-prefix() at

http://www.w3.org/TR/xpath-functions-30/#func-namespace-uri-for-prefix

states: "If $prefix is the zero-length string or the empty sequence, then if
$element has a default namespace (that is, a namespace node with no name), the
function returns the namespace URI of the default namespace."

In test fn-namespace-uri-for-prefix-4 I believe that the <anElement> element
does have a default namespace, whose namespace URI is
"http://www.example.com/defaultspace", and that this is therefore the correct
result of the query.

-- 
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, 19 July 2011 11:28:35 UTC