[xquery-talk] Type promotion (or URI promotion) in EBVcalculation?

Michael Kay mhk at mhk.me.uk
Tue Jan 24 09:33:38 PST 2006

> The use case because of which I got into this was a customer with a
> query as mentioned above, 'if (namespace-uri($x))' meaning if $x has a
> namespace URI. I think this should be legal if 'if (string($x))' is
> legal.

It's also needed for backwards compatibility with XSLT 1.0, since
namespace-uri() returned a string in 1.0.

Michael Kay

More information about the talk mailing list