[xquery-talk] fn:in-scope-prefixes

Frans Englich frans.englich at telia.com
Fri Mar 2 09:46:12 PST 2007

On Thursday 15 February 2007 05:39, James A. Robinson wrote:
> > Why wouldn't the values be distinct? If two ancestors of the element
> > both have namespace declarations that use the same prefix, the
> > declaration that is closer to the element masks the declaration that is
> > closer to the root. Thus, there cannot be two in-scope namespaces that
> > use the same prefix.
> Yes, I assumed the values would be distinct. Until I ran into a case
> where I was getting duplicate prefix values. I thought it better to ask
> the list before I go off and file a bug report, since the text of the
> spec didn't seem all that clear to me.

Could you show the code that produced it, by any chance?



More information about the talk mailing list