[Bug 14342] [QT3TS] functx-fn-namespace-uri-for-prefix-all

https://www.w3.org/Bugs/Public/show_bug.cgi?id=14342

Michael Kay <mike@saxonica.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mike@saxonica.com

--- Comment #4 from Michael Kay <mike@saxonica.com> 2012-05-22 19:23:09 UTC ---
I agree, the result is wrong.

It hinges on the first function call:

namespace-uri-for-prefix('', $in-xml)

The spec says:

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. If $element has no default
namespace, the function returns the empty sequence.

The discussion on bug 11590 confirmed that the expected result here was an
empty sequence, and therefore the expected result should not have the leading
space. (There were many oscillations before we reached that conclusion, and
it's quite likely that a change was made to the XQTS result after we did the
conversion.)

-- 
Configure bugmail: https://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, 22 May 2012 19:23:32 UTC