[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

Oliver Hallam <oliver@cbcl.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CLOSED                      |REOPENED
                 CC|                            |oliver@cbcl.co.uk
         Resolution|FIXED                       |

--- Comment #4 from Oliver Hallam <oliver@cbcl.co.uk> 2011-01-10 12:17:32 UTC ---
I disagree with the original commenter, the initial space in the result should
be there, and is necessary; the test is now broken.

The first call to namespace-uri-for-prefix in the test takes the empty string
as the first argument.  The specification for the function says:

If $prefix is the zero-length string or the empty sequence, it returns the
namespace URI of the default (unnamed) namespace.

In this case, the default namespace is the empty string.

Thus the test returns the empty xs:anyURI followed by three more xs:anyURI
values.
These are seperated with spaces when the result is serialized.  Hence the
result requires a space at the start.

-- 
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 Monday, 10 January 2011 12:17:35 UTC